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.
24
24
[FeatureSwitchDefinition (" Feature.IsSupported" )]
25
25
internal static bool IsSupported => AppContext .TryGetSwitch (" Feature.IsSupported" , out bool isEnabled ) ? isEnabled : true ;
26
26
27
- internal static Implementation () => .. .;
27
+ internal static void Implementation () => .. .;
28
28
}
29
29
```
30
30
@@ -48,7 +48,7 @@ Two new attributes make it possible to define [feature switches](https://github.
48
48
internal static bool IsSupported => RuntimeFeature .IsDynamicCodeSupported ;
49
49
50
50
[RequiresDynamicCode (" Feature requires dynamic code support." )]
51
- internal static Implementation () => .. .; // Uses dynamic code
51
+ internal static void Implementation () => .. .; // Uses dynamic code
52
52
}
53
53
```
54
54
You can’t perform that action at this time.
0 commit comments