Update to C# 8.0 (#12115)
This commit is contained in:
Родитель
d59ddc91a7
Коммит
6c88a4c957
|
@ -1,6 +1,5 @@
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<CGLangVersion Condition="'$(CGLangVersion)' == ''">7.3</CGLangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
<LangVersion Condition="'$(LangVersion)' == ''">$(CGLangVersion)</LangVersion>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<LangVersion Condition="'$(LangVersion)' == ''">7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- This is used by the libraries -->
|
<!-- This is used by the libraries -->
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||||
-->
|
-->
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||||
-->
|
-->
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||||
-->
|
-->
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||||
-->
|
-->
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||||
-->
|
-->
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||||
-->
|
-->
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||||
-->
|
-->
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||||
-->
|
-->
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче