You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structPoint{publicintX,Y;publicPoint(intx,inty)=>(X, Y)=(x, y);}classProgram{staticboolM(Pointp)=> p is{ X:0};}
Expected Behavior:
No error.
Actual Behavior:
FYI, There is no error if I use VS 16.0.0 Preview 4.0.
I get the same error if I change LangVersion to preview.
In addition, I have also the following error on this code in the RC.
Error NETSDK1045 The current .NET SDK does not support targeting .NET Core 3.0. Either target .NET Core 2.2 or lower, or use a version of the .NET SDK that supports .NET Core 3.0. ConsoleAppNetCore30 C:\Program Files\dotnet\sdk\2.2.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets 137
The text was updated successfully, but these errors were encountered:
Version Used:
Visual Studio 2019 RC (Version 16.0.0 RC)
LangVersion: 8.0
dotnet version: 3.0.100-preview-010184
Steps to Reproduce:
use recursive patterns.
Expected Behavior:
No error.
Actual Behavior:
FYI, There is no error if I use VS 16.0.0 Preview 4.0.
I get the same error if I change LangVersion to
preview
.In addition, I have also the following error on this code in the RC.
Error NETSDK1045 The current .NET SDK does not support targeting .NET Core 3.0. Either target .NET Core 2.2 or lower, or use a version of the .NET SDK that supports .NET Core 3.0. ConsoleAppNetCore30 C:\Program Files\dotnet\sdk\2.2.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets 137
The text was updated successfully, but these errors were encountered: