Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Update the compiler version and the language version to 7.3 #2161

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.9.0.6271909.vsix

## Measuring Performance

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ public ref partial struct BufferWriter
{
#region Byte
public bool TryWriteBytes(byte[] bytes)
=> TryWriteBytes((ReadOnlySpan<byte>)bytes.AsSpan());
=> TryWriteBytes(bytes.AsSpan());

public void WriteBytes(byte[] bytes)
=> WriteBytes((ReadOnlySpan<byte>)bytes.AsSpan());
=> WriteBytes(bytes.AsSpan());

public bool TryWriteBytes(ReadOnlySpan<byte> bytes)
{
Expand Down
2 changes: 1 addition & 1 deletion tools/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Key.snk</AssemblyOriginatorKeyFile>
<LangVersion>7.2</LangVersion>
<LangVersion>7.3</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.Compilers" Version="$(RoslynVersion)" PrivateAssets="All" />
Expand Down
2 changes: 1 addition & 1 deletion tools/dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<RuntimeFrameworkVersion>2.1.0-preview3-26319-04</RuntimeFrameworkVersion>
<CoreFxStableVersion>4.3.0</CoreFxStableVersion>
<RoslynVersion>2.6.0-beta3-62316-02</RoslynVersion>
<RoslynVersion>2.8.0-beta2-62719-08</RoslynVersion>
<SystemMemoryVersion>4.5.0-preview3-26319-04</SystemMemoryVersion>
<SystemCompilerServicesUnsafeVersion>4.5.0-preview3-26319-04</SystemCompilerServicesUnsafeVersion>
<SystemNumericsVectorsVersion>4.5.0-preview3-26319-04</SystemNumericsVectorsVersion>
Expand Down