From 6c88a4c9572f10e5ba2d4e8d96a23a7d89f87713 Mon Sep 17 00:00:00 2001 From: Shane Neuville Date: Tue, 22 Sep 2020 03:51:57 -0500 Subject: [PATCH] Update to C# 8.0 (#12115) --- ControlGallery.Build.props | 3 +-- Environment.Build.props | 2 +- .../Xamarin.Forms.Platform.iOS (Forwarders).csproj | 2 +- Xamarin.Forms.Maps.GTK/Xamarin.Forms.Maps.GTK.csproj | 2 +- Xamarin.Forms.Maps.MacOS/Xamarin.Forms.Maps.macOS.csproj | 2 +- Xamarin.Forms.Maps.iOS/Xamarin.Forms.Maps.iOS.csproj | 2 +- Xamarin.Forms.Material.iOS/Xamarin.Forms.Material.iOS.csproj | 2 +- Xamarin.Forms.Platform.GTK/Xamarin.Forms.Platform.GTK.csproj | 2 +- .../Xamarin.Forms.Platform.macOS.csproj | 2 +- Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj | 2 +- 10 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ControlGallery.Build.props b/ControlGallery.Build.props index bbe4bd069..6476928b5 100644 --- a/ControlGallery.Build.props +++ b/ControlGallery.Build.props @@ -1,6 +1,5 @@ - 7.3 - $(CGLangVersion) + 8.0 diff --git a/Environment.Build.props b/Environment.Build.props index 30cd17933..edef170a4 100644 --- a/Environment.Build.props +++ b/Environment.Build.props @@ -29,7 +29,7 @@ - 7.3 + 8.0 diff --git a/Stubs/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS (Forwarders).csproj b/Stubs/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS (Forwarders).csproj index 8a1ee1ac4..8fe9cd7c5 100644 --- a/Stubs/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS (Forwarders).csproj +++ b/Stubs/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS (Forwarders).csproj @@ -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 --> - 7.3 + 8.0 true diff --git a/Xamarin.Forms.Maps.GTK/Xamarin.Forms.Maps.GTK.csproj b/Xamarin.Forms.Maps.GTK/Xamarin.Forms.Maps.GTK.csproj index 3d550c658..5f9c451f9 100644 --- a/Xamarin.Forms.Maps.GTK/Xamarin.Forms.Maps.GTK.csproj +++ b/Xamarin.Forms.Maps.GTK/Xamarin.Forms.Maps.GTK.csproj @@ -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 --> - 7.3 + 8.0 true diff --git a/Xamarin.Forms.Maps.MacOS/Xamarin.Forms.Maps.macOS.csproj b/Xamarin.Forms.Maps.MacOS/Xamarin.Forms.Maps.macOS.csproj index 83c3e33cf..7ca421c83 100644 --- a/Xamarin.Forms.Maps.MacOS/Xamarin.Forms.Maps.macOS.csproj +++ b/Xamarin.Forms.Maps.MacOS/Xamarin.Forms.Maps.macOS.csproj @@ -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 --> - 7.3 + 8.0 true diff --git a/Xamarin.Forms.Maps.iOS/Xamarin.Forms.Maps.iOS.csproj b/Xamarin.Forms.Maps.iOS/Xamarin.Forms.Maps.iOS.csproj index 17448795f..02be6703b 100644 --- a/Xamarin.Forms.Maps.iOS/Xamarin.Forms.Maps.iOS.csproj +++ b/Xamarin.Forms.Maps.iOS/Xamarin.Forms.Maps.iOS.csproj @@ -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 --> - 7.3 + 8.0 true diff --git a/Xamarin.Forms.Material.iOS/Xamarin.Forms.Material.iOS.csproj b/Xamarin.Forms.Material.iOS/Xamarin.Forms.Material.iOS.csproj index a18ad2722..dbc7d5c44 100644 --- a/Xamarin.Forms.Material.iOS/Xamarin.Forms.Material.iOS.csproj +++ b/Xamarin.Forms.Material.iOS/Xamarin.Forms.Material.iOS.csproj @@ -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 --> - 7.3 + 8.0 true diff --git a/Xamarin.Forms.Platform.GTK/Xamarin.Forms.Platform.GTK.csproj b/Xamarin.Forms.Platform.GTK/Xamarin.Forms.Platform.GTK.csproj index 38ddac405..3d578703e 100644 --- a/Xamarin.Forms.Platform.GTK/Xamarin.Forms.Platform.GTK.csproj +++ b/Xamarin.Forms.Platform.GTK/Xamarin.Forms.Platform.GTK.csproj @@ -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 --> - 7.3 + 8.0 true diff --git a/Xamarin.Forms.Platform.MacOS/Xamarin.Forms.Platform.macOS.csproj b/Xamarin.Forms.Platform.MacOS/Xamarin.Forms.Platform.macOS.csproj index 084179762..2f499315d 100644 --- a/Xamarin.Forms.Platform.MacOS/Xamarin.Forms.Platform.macOS.csproj +++ b/Xamarin.Forms.Platform.MacOS/Xamarin.Forms.Platform.macOS.csproj @@ -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 --> - 7.3 + 8.0 true diff --git a/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj b/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj index 6a55bebd5..498b1125f 100644 --- a/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj +++ b/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj @@ -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 --> - 7.3 + 8.0 true