From 82d9f06c195ad71fceffacfa123f140f0fcee9e2 Mon Sep 17 00:00:00 2001 From: Ahson Khan Date: Wed, 14 Mar 2018 17:01:53 -0700 Subject: [PATCH] Update the compiler version and the language version to 7.3 --- README.md | 2 +- .../System/Buffers/Writer/BufferWriter_writable.cs | 4 ++-- tools/common.props | 2 +- tools/dependencies.props | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6f5fd26777f..fe8cf76ce68 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ To build the projects in this repo, you have a few options: * (On Windows) Invoke build.cmd. This will download an acceptable version of the .NET CLI automatically and use it to build the entire repository. NOTE: Don't invoke `scripts/build.ps1` directly. It requires that some environment be set in order for it to work correctly. `build.cmd` does this. * (On Windows) Open the solution file in Visual Studio 2015. NOTE: This requires unreleased plugins to work at this point in time. Using VS Code, see https://aka.ms/vscclrdogfood. -* If using Visual Studio, install the following VSIX to have IDE support for C#7.2 features that this project uses. - https://dotnet.myget.org/F/roslyn/vsix/0b48e25b-9903-4d8b-ad39-d4cca196e3c7-2.6.0.6221102.vsix +* If using Visual Studio, install the following VSIX to have IDE support for C#7.3 features that this project uses. - https://dotnet.myget.org/F/roslyn/vsix/0b5e8ddb-f12d-4131-a71d-77acc26a798f-2.8.0.6270809.vsix ## Measuring Performance diff --git a/src/System.Buffers.ReaderWriter/System/Buffers/Writer/BufferWriter_writable.cs b/src/System.Buffers.ReaderWriter/System/Buffers/Writer/BufferWriter_writable.cs index 77c1d501a43..344ffa79a38 100644 --- a/src/System.Buffers.ReaderWriter/System/Buffers/Writer/BufferWriter_writable.cs +++ b/src/System.Buffers.ReaderWriter/System/Buffers/Writer/BufferWriter_writable.cs @@ -11,10 +11,10 @@ public ref partial struct BufferWriter { #region Byte public bool TryWriteBytes(byte[] bytes) - => TryWriteBytes((ReadOnlySpan)bytes.AsSpan()); + => TryWriteBytes(bytes.AsSpan()); public void WriteBytes(byte[] bytes) - => WriteBytes((ReadOnlySpan)bytes.AsSpan()); + => WriteBytes(bytes.AsSpan()); public bool TryWriteBytes(ReadOnlySpan bytes) { diff --git a/tools/common.props b/tools/common.props index dcfe9f660d0..0d56ac13a1f 100644 --- a/tools/common.props +++ b/tools/common.props @@ -13,7 +13,7 @@ true true $(MSBuildThisFileDirectory)Key.snk - 7.2 + 7.3 diff --git a/tools/dependencies.props b/tools/dependencies.props index 2e680447e54..cd3a8d81b45 100644 --- a/tools/dependencies.props +++ b/tools/dependencies.props @@ -2,7 +2,7 @@ 2.1.0-preview2-26312-01 4.3.0 - 2.6.0-beta3-62316-02 + 2.8.0-beta2-62708-09 4.5.0-preview2-26312-02 4.5.0-preview2-26312-02 4.5.0-preview2-26312-02