Skip to content

Commit 0a062d5

Browse files
committed
Improve readme a bit
1 parent 9f1abd8 commit 0a062d5

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎readme.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Stunts essentially implements the [proxy pattern](https://en.wikipedia.org/wiki/
3838

3939
Stunts is a .NET Standard 2.0 library and runs on any runtime that supports that.
4040

41-
Compile-time proxy generation leverages [Roslyn source generators](https://github.com/dotnet/roslyn/blob/master/docs/features/source-generators.cookbook.md) and therefore requires C# 9.0, which at this time is included in Visual Studio 16.8 (preview or later) and the .NET 5.0 SDK (RC or later). Compile-time generated proxies support the broadest possible run-time platforms since they don't require any Reflection.Emit, and also don't pay that performance cost either.
41+
Compile-time proxy generation leverages [Roslyn source generators](https://github.com/dotnet/roslyn/blob/master/docs/features/source-generators.cookbook.md) and therefore support the broadest possible run-time platforms since they don't require any Reflection.Emit, and also don't pay that performance cost either.
4242

4343
Whenever compile-time proxy generation is not available (i.e. Visual Basic or C# versions before 9.0), install the `Stunts.DynamicProxy` package instead, which leverages [Castle DynamicProxy](https://github.com/castleproject/Core/blob/master/docs/dynamicproxy-introduction.md) to provide the run-time code generation.
4444

@@ -109,9 +109,8 @@ As you can see, the Stunts API itself uses the same extensibility mechanism that
109109

110110
### Static vs Dynamic Stunts
111111

112-
By default, Stunts generates proxies at compile-time (powered by Roslyn source generators), which is only supported when building C# 9.0+ projects.
113-
114-
Whenever compile-time stunts are not supported (or not wanted), install the `Stunts.DynamicProxy` package, which switches the project to run-time proxies based on Castle.Core:
112+
By default, Stunts generates proxies at compile-time (powered by Roslyn source generators). Whenever compile-time stunts are
113+
not supported (or unwanted), install the `Stunts.DynamicProxy` package, which switches the project to run-time proxies based on Castle.Core:
115114

116115
```xml
117116
<ItemGroup>

0 commit comments

Comments
 (0)