Skip to content

Commit 68a0940

Browse files
cincuranetgewarren
andauthored
Fix missing return type for method (#44232)
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 3dfad5a commit 68a0940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/whats-new/dotnet-9/runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)