Skip to content

Commit 35ae536

Browse files
committed
Update README.md files.
1 parent 04f5382 commit 35ae536

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Here's an example of some of the new features that **PolySharp** can enable down
5555
- `[OverloadResolutionPriority]` (needed for [overload resolution priority](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13#overload-resolution-priority))
5656
- `[ParamsCollection]` (needed for [params collection](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13#params-collections))
5757
- `[ConstantExpected]` (see [proposal](https://github.com/dotnet/runtime/issues/33771))
58+
- `[CompilerLoweringPreserve]` (see [proposal](https://github.com/dotnet/runtime/issues/103430))
59+
- `[ExtensionMarker]` (needed for [extensions](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14#extension-members))
5860

5961
To leverage them, make sure to bump your C# language version. You can do this by setting the `<LangVersion>` MSBuild property in your project. For instance, by adding `<LangVersion>13.0</LangVersion>` (or your desired C# version) to the first `<PropertyGroup>` of your .csproj file. For more info on this, [see here](https://sergiopedri.medium.com/enabling-and-using-c-9-features-on-older-and-unsupported-runtimes-ce384d8debb), but remember that you don't need to manually copy polyfills anymore: simply adding a reference to **PolySharp** will do this for you automatically.
6062

@@ -84,6 +86,7 @@ It also includes the following optional runtime-supported polyfills:
8486
- `[FeatureGuard]`
8587
- `[FeatureSwitchDefinition]`
8688
- `[WasmImportLinkage]` (see [here](https://github.com/dotnet/runtime/pull/93823))
89+
- `[UnsafeAccessorType]` (see [here](https://github.com/dotnet/runtime/issues/90081))
8790

8891
# Options ⚙️
8992

src/PolySharp.Package/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Here's an example of some of the new features that **PolySharp** can enable down
5353
- `[OverloadResolutionPriority]` (needed for [overload resolution priority](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13#overload-resolution-priority))
5454
- `[ParamsCollection]` (needed for [params collection](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13#params-collections))
5555
- `[ConstantExpected]` (see [proposal](https://github.com/dotnet/runtime/issues/33771))
56+
- `[CompilerLoweringPreserve]` (see [proposal](https://github.com/dotnet/runtime/issues/103430))
57+
- `[ExtensionMarker]` (needed for [extensions](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14#extension-members))
5658

5759
To leverage them, make sure to bump your C# language version. You can do this by setting the `<LangVersion>` MSBuild property in your project. For instance, by adding `<LangVersion>13.0</LangVersion>` (or your desired C# version) to the first `<PropertyGroup>` of your .csproj file. For more info on this, [see here](https://sergiopedri.medium.com/enabling-and-using-c-9-features-on-older-and-unsupported-runtimes-ce384d8debb), but remember that you don't need to manually copy polyfills anymore: simply adding a reference to **PolySharp** will do this for you automatically.
5860

@@ -82,6 +84,7 @@ It also includes the following optional runtime-supported polyfills:
8284
- `[FeatureGuard]`
8385
- `[FeatureSwitchDefinition]`
8486
- `[WasmImportLinkage]` (see [here](https://github.com/dotnet/runtime/pull/93823))
87+
- `[UnsafeAccessorType]` (see [here](https://github.com/dotnet/runtime/issues/90081))
8588

8689
# Options ⚙️
8790

0 commit comments

Comments
 (0)