Skip to content

Commit

Permalink
Added C# 11 support
Browse files Browse the repository at this point in the history
New features are:
- required keyword
- list patterns
- new lines in string interpolations
- raw string literals
  • Loading branch information
Metious committed Jan 12, 2023
1 parent c321f57 commit e38e951
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions Example mod/Example mod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Core" Version="5.4.21" />
<PackageReference Include="PolySharp" Version="1.8.3" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion SMLHelper/SMLHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<RootNamespace>SMLHelper</RootNamespace>
<AssemblyName>SMLHelper</AssemblyName>
<LangVersion>latest</LangVersion>
<LangVersion>11</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<Configurations>SN.STABLE;BZ.STABLE;SN.EXP;BZ.EXP</Configurations>
Expand Down Expand Up @@ -117,6 +117,7 @@
<ItemGroup>
<PackageReference Include="7-Zip.CommandLine" Version="18.1.0" />
<PackageReference Include="BepInEx.Core" Version="5.4.21" />
<PackageReference Include="PolySharp" Version="1.8.3" />
</ItemGroup>
<Import Project="$(SolutionDir)PostBuild.targets" />
</Project>
7 changes: 0 additions & 7 deletions SMLHelper/Utility/Polyfill.cs

This file was deleted.

0 comments on commit e38e951

Please sign in to comment.