Skip to content

Commit

Permalink
Update to C# 8.0 (xamarin#12115)
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen authored Sep 22, 2020
1 parent d59ddc9 commit 6c88a4c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions ControlGallery.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project>
<PropertyGroup>
<CGLangVersion Condition="'$(CGLangVersion)' == ''">7.3</CGLangVersion>
<LangVersion Condition="'$(LangVersion)' == ''">$(CGLangVersion)</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion Environment.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</PropertyGroup>

<PropertyGroup>
<LangVersion Condition="'$(LangVersion)' == ''">7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

<!-- This is used by the libraries -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
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
-->
<LangVersion>7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Xamarin.Forms.Maps.GTK/Xamarin.Forms.Maps.GTK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
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
-->
<LangVersion>7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Xamarin.Forms.Maps.MacOS/Xamarin.Forms.Maps.macOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
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
-->
<LangVersion>7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Xamarin.Forms.Maps.iOS/Xamarin.Forms.Maps.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
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
-->
<LangVersion>7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
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
-->
<LangVersion>7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
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
-->
<LangVersion>7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
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
-->
<LangVersion>7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
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
-->
<LangVersion>7.3</LangVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down

0 comments on commit 6c88a4c

Please sign in to comment.