dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.85k stars 4.01k forks source link

WorkspacesNetCore.ProjectProperties does not set OptionInfer #28361

Open sharwell opened 6 years ago

sharwell commented 6 years ago

Version Used: 62d5b054ec1086cae7340aad6022f138c97cd06d

Test result (using new test harness):

Test Name:  Roslyn.VisualStudio.IntegrationTests.Workspace.WorkspacesNetCore.ProjectPropertiesAsync (VS2017)
Test FullName:  Roslyn.VisualStudio.IntegrationTests.Workspace.WorkspacesNetCore.ProjectPropertiesAsync
Test Source:    D:\dev\roslyn\src\VisualStudio\IntegrationTest\IntegrationTests\Workspace\WorkspacesNetCore.cs : line 55
Test Outcome:   Failed
Test Duration:  0:00:14.322

Result StackTrace:  
at Roslyn.VisualStudio.IntegrationTests.Workspace.WorkspaceBase.<ProjectPropertiesAsync>d__11.MoveNext() in D:\dev\roslyn\src\VisualStudio\IntegrationTest\IntegrationTests\Workspace\WorkspaceBase.cs:line 98
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Roslyn.VisualStudio.IntegrationTests.Workspace.WorkspacesNetCore.<ProjectPropertiesAsync>d__4.MoveNext() in D:\dev\roslyn\src\VisualStudio\IntegrationTest\IntegrationTests\Workspace\WorkspacesNetCore.cs:line 56
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.VisualStudio.IntegrationTest.Utilities.Harness.IdeTestInvoker.<ScreenshotOnFailureAsync>d__2.MoveNext() in D:\dev\roslyn\src\VisualStudio\IntegrationTest\TestUtilities\Harness\IdeTestInvoker.cs:line 36
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Result Message: 
Assert.Equal() Failure
                                 ↓ (pos 23)
Expected: ···‎ Program.M‎(p‎ As‎ Object‎)‎ ‎(‎+‎ 1‎ overload‎)
Actual:   ···‎ Program.M‎(p‎ As‎ Integer‎)‎ ‎(‎+‎ 1‎ overload‎)
                                 ↑ (pos 23)
sharwell commented 5 years ago

Reassigning to @ivanbasov since #28173 was rejected.