File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/core/whats-new/dotnet-9 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Two new attributes make it possible to define [feature switches](https://github.
2424 [FeatureSwitchDefinition (" Feature.IsSupported" )]
2525 internal static bool IsSupported => AppContext .TryGetSwitch (" Feature.IsSupported" , out bool isEnabled ) ? isEnabled : true ;
2626
27- internal static Implementation () => .. .;
27+ internal static void Implementation () => .. .;
2828 }
2929 ```
3030
@@ -48,7 +48,7 @@ Two new attributes make it possible to define [feature switches](https://github.
4848 internal static bool IsSupported => RuntimeFeature .IsDynamicCodeSupported ;
4949
5050 [RequiresDynamicCode (" Feature requires dynamic code support." )]
51- internal static Implementation () => .. .; // Uses dynamic code
51+ internal static void Implementation () => .. .; // Uses dynamic code
5252 }
5353 ```
5454
You can’t perform that action at this time.
0 commit comments