mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 06:41:50 +01:00
Updated to .NetCore 3.1
This commit is contained in:
parent
5feef6ef4a
commit
10ac706a05
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp2.1;netcoreapp3.0</TargetFrameworks>
|
||||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
|
||||
<RootNamespace>Capnp</RootNamespace>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
<Nullable>Enable</Nullable>
|
||||
|
@ -47,9 +47,11 @@ namespace Capnp
|
||||
return thisDict.Remove(key);
|
||||
}
|
||||
#else
|
||||
#pragma warning disable CS8601
|
||||
#pragma warning disable CS8714
|
||||
public static bool ReplacementTryRemove<K, V>(this Dictionary<K, V> thisDict, K key, out V value) => thisDict.Remove(key, out value);
|
||||
#pragma warning restore CS8714
|
||||
#pragma warning restore CS8601
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<RootNamespace>CapnpC</RootNamespace>
|
||||
<LangVersion>7.1</LangVersion>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
|
Loading…
x
Reference in New Issue
Block a user