Unnamed: 0,id,type,created_at,repo,repo_url,action,title,labels,body,index,text_combine,label,text,binary_label 2372,24965740250.0,IssuesEvent,2022-11-01 19:12:44,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,TaskCanceledException in TodoCommentIncrementalAnalyzer.GetTodoItems,Bug help wanted Area-IDE Tenet-Reliability,"**Version Used**: 16.5 Preview 2 **Steps to Reproduce**: Unknown **Actual Behavior**:
System.Threading.Tasks.TaskCanceledException: A task was canceled.
    at Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground[T](Task`1 task, CancellationToken cancellationToken)
    at Microsoft.CodeAnalysis.Editor.Implementation.TodoComments.TodoCommentIncrementalAnalyzer.GetTodoItems(Workspace workspace, DocumentId id, CancellationToken cancellationToken)
    at Microsoft.CodeAnalysis.Editor.Implementation.TodoComments.TodoCommentIncrementalAnalyzerProvider.GetTodoItems(Workspace workspace, DocumentId documentId, CancellationToken cancellationToken)
    at Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource.VisualStudioBaseTodoListTable.TableDataSource.TableEntriesSource.GetItems()
    at Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource.TableEntriesFactory`1.AggregatedEntriesSource.GetItems()
    at Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource.TableEntriesFactory`1.GetSnapshot(Int32 versionNumber)
    at Microsoft.VisualStudio.Shell.TableControl.Implementation.EntriesFromSnapshot.<PinSnapshot>b__14_1()
    at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint[T](Object errorSource, Func`1 call, T valueOnThrow)
",True,"TaskCanceledException in TodoCommentIncrementalAnalyzer.GetTodoItems - **Version Used**: 16.5 Preview 2 **Steps to Reproduce**: Unknown **Actual Behavior**:
System.Threading.Tasks.TaskCanceledException: A task was canceled.
    at Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground[T](Task`1 task, CancellationToken cancellationToken)
    at Microsoft.CodeAnalysis.Editor.Implementation.TodoComments.TodoCommentIncrementalAnalyzer.GetTodoItems(Workspace workspace, DocumentId id, CancellationToken cancellationToken)
    at Microsoft.CodeAnalysis.Editor.Implementation.TodoComments.TodoCommentIncrementalAnalyzerProvider.GetTodoItems(Workspace workspace, DocumentId documentId, CancellationToken cancellationToken)
    at Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource.VisualStudioBaseTodoListTable.TableDataSource.TableEntriesSource.GetItems()
    at Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource.TableEntriesFactory`1.AggregatedEntriesSource.GetItems()
    at Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource.TableEntriesFactory`1.GetSnapshot(Int32 versionNumber)
    at Microsoft.VisualStudio.Shell.TableControl.Implementation.EntriesFromSnapshot.<PinSnapshot>b__14_1()
    at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint[T](Object errorSource, Func`1 call, T valueOnThrow)
",1,taskcanceledexception in todocommentincrementalanalyzer gettodoitems version used preview steps to reproduce unknown actual behavior system threading tasks taskcanceledexception a task was canceled at roslyn utilities taskextensions waitandgetresult cancallonbackground task task cancellationtoken cancellationtoken at microsoft codeanalysis editor implementation todocomments todocommentincrementalanalyzer gettodoitems workspace workspace documentid id cancellationtoken cancellationtoken at microsoft codeanalysis editor implementation todocomments todocommentincrementalanalyzerprovider gettodoitems workspace workspace documentid documentid cancellationtoken cancellationtoken at microsoft visualstudio languageservices implementation tabledatasource visualstudiobasetodolisttable tabledatasource tableentriessource getitems at microsoft visualstudio languageservices implementation tabledatasource tableentriesfactory aggregatedentriessource getitems at microsoft visualstudio languageservices implementation tabledatasource tableentriesfactory getsnapshot versionnumber at microsoft visualstudio shell tablecontrol implementation entriesfromsnapshot lt pinsnapshot gt b at microsoft visualstudio text utilities guardedoperations callextensionpoint object errorsource func call t valueonthrow ,1 1165,13505822754.0,IssuesEvent,2020-09-14 00:52:20,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,System.AccessViolationException when calling FindImplementationForInterfaceMember,Area-Compilers Bug Tenet-Reliability,"**Versions Used**: .Net: 5.0.100-preview.8.20417.9 **Steps to Reproduce**: After we upgraded our build pipeline to use **.Net 5.0.100-preview.8.20417.9** instead of **5.0.100-preview.7.20366.6** the following exception (thrown by one of our analyzers) is intermittently failing the build: ``` C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PEMethodSymbol.get_ExplicitInterfaceImplementations() [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.SymbolExtensions.GetExplicitInterfaceImplementations(Microsoft.CodeAnalysis.CSharp.Symbol) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.MakeExplicitInterfaceImplementationMap() [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.GetExplicitImplementationForInterfaceMember(Microsoft.CodeAnalysis.CSharp.Symbol) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.ComputeImplementationForInterfaceMember(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean ByRef) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.ComputeImplementationAndDiagnosticsForInterfaceMember(Microsoft.CodeAnalysis.CSharp.Symbol, Boolean, Boolean ByRef) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.FindImplementationForInterfaceMemberInNonInterfaceWithDiagnostics(Microsoft.CodeAnalysis.CSharp.Symbol, Boolean) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.FindImplementationForInterfaceMember(Microsoft.CodeAnalysis.CSharp.Symbol) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel.TypeSymbol.Microsoft.CodeAnalysis.ITypeSymbol.FindImplementationForInterfaceMember(Microsoft.CodeAnalysis.ISymbol) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at SonarAnalyzer.Helpers.SymbolHelper+<>c__DisplayClass5_0`1[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].b__1(System.__Canon) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at System.Linq.Enumerable.TryGetFirst[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1, System.Func`2, Boolean ByRef) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at System.Linq.Enumerable.FirstOrDefault[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1, System.Func`2) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at SonarAnalyzer.Helpers.SymbolHelper.GetInterfaceMember[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] ``` Source code: https://github.com/SonarSource/sonar-dotnet/blob/734df7968037387faade9353c7aedd1a77c010a0/sonaranalyzer-dotnet/src/SonarAnalyzer.Common/Helpers/SymbolHelper.cs#L92 ",True,"System.AccessViolationException when calling FindImplementationForInterfaceMember - **Versions Used**: .Net: 5.0.100-preview.8.20417.9 **Steps to Reproduce**: After we upgraded our build pipeline to use **.Net 5.0.100-preview.8.20417.9** instead of **5.0.100-preview.7.20366.6** the following exception (thrown by one of our analyzers) is intermittently failing the build: ``` C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PEMethodSymbol.get_ExplicitInterfaceImplementations() [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.SymbolExtensions.GetExplicitInterfaceImplementations(Microsoft.CodeAnalysis.CSharp.Symbol) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.MakeExplicitInterfaceImplementationMap() [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.GetExplicitImplementationForInterfaceMember(Microsoft.CodeAnalysis.CSharp.Symbol) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.ComputeImplementationForInterfaceMember(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean ByRef) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.ComputeImplementationAndDiagnosticsForInterfaceMember(Microsoft.CodeAnalysis.CSharp.Symbol, Boolean, Boolean ByRef) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.FindImplementationForInterfaceMemberInNonInterfaceWithDiagnostics(Microsoft.CodeAnalysis.CSharp.Symbol, Boolean) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.FindImplementationForInterfaceMember(Microsoft.CodeAnalysis.CSharp.Symbol) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel.TypeSymbol.Microsoft.CodeAnalysis.ITypeSymbol.FindImplementationForInterfaceMember(Microsoft.CodeAnalysis.ISymbol) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at SonarAnalyzer.Helpers.SymbolHelper+<>c__DisplayClass5_0`1[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].b__1(System.__Canon) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at System.Linq.Enumerable.TryGetFirst[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1, System.Func`2, Boolean ByRef) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at System.Linq.Enumerable.FirstOrDefault[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1, System.Func`2) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] C:\hostedtoolcache\windows\dotnet\sdk\5.0.100-preview.8.20417.9\Roslyn\Microsoft.CSharp.Core.targets(70,5): error : at SonarAnalyzer.Helpers.SymbolHelper.GetInterfaceMember[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon) [D:\a\1\s\sonaranalyzer-dotnet\src\SonarAnalyzer.CSharp\SonarAnalyzer.CSharp.csproj] ``` Source code: https://github.com/SonarSource/sonar-dotnet/blob/734df7968037387faade9353c7aedd1a77c010a0/sonaranalyzer-dotnet/src/SonarAnalyzer.Common/Helpers/SymbolHelper.cs#L92 ",1,system accessviolationexception when calling findimplementationforinterfacemember versions used net preview steps to reproduce after we upgraded our build pipeline to use net preview instead of preview the following exception thrown by one of our analyzers is intermittently failing the build c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error fatal error system accessviolationexception attempted to read or write protected memory this is often an indication that other memory is corrupt c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols metadata pe pemethodsymbol get explicitinterfaceimplementations c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols symbolextensions getexplicitinterfaceimplementations microsoft codeanalysis csharp symbol c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols typesymbol makeexplicitinterfaceimplementationmap c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols typesymbol getexplicitimplementationforinterfacemember microsoft codeanalysis csharp symbol c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols typesymbol computeimplementationforinterfacemember microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbols typesymbol microsoft codeanalysis diagnosticbag boolean boolean byref c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols typesymbol computeimplementationanddiagnosticsforinterfacemember microsoft codeanalysis csharp symbol boolean boolean byref c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols typesymbol findimplementationforinterfacememberinnoninterfacewithdiagnostics microsoft codeanalysis csharp symbol boolean c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols typesymbol findimplementationforinterfacemember microsoft codeanalysis csharp symbol c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at microsoft codeanalysis csharp symbols publicmodel typesymbol microsoft codeanalysis itypesymbol findimplementationforinterfacemember microsoft codeanalysis isymbol c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at sonaranalyzer helpers symbolhelper c b system canon c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at system linq enumerable trygetfirst system collections generic ienumerable system func boolean byref c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at system linq enumerable firstordefault system collections generic ienumerable system func c hostedtoolcache windows dotnet sdk preview roslyn microsoft csharp core targets error at sonaranalyzer helpers symbolhelper getinterfacemember system canon source code ,1 483,7807460585.0,IssuesEvent,2018-06-11 16:55:52,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Fix All operations ignore .editorconfig,Area-Analyzers Bug Resolution-Fixed Tenet-Reliability _Product-level triaged,"**Version Used**: Latest master branch **Steps to Reproduce**: 1. Use Tools→Options to configure a preference to never use expression bodied properties, with severity Suggestion 1. Add a **.editorconfig** with the following line to override the one in Tools→Options ``` csharp_style_expression_bodied_properties = true:suggestion ``` 1. Add the following to a document ```csharp internal class MyExample { public int X { get { return 3; } } public int Y => 5; } ``` 1. On the line with `return 3`, use the light bulb to Fix All in Document. **Expected Behavior**: ```csharp internal class MyExample { public int X => 3; public int Y => 5; } ``` **Actual Behavior**: ```csharp internal class MyExample { public int X { get { return 3; } } public int Y { get => 5; } } ```",True,"Fix All operations ignore .editorconfig - **Version Used**: Latest master branch **Steps to Reproduce**: 1. Use Tools→Options to configure a preference to never use expression bodied properties, with severity Suggestion 1. Add a **.editorconfig** with the following line to override the one in Tools→Options ``` csharp_style_expression_bodied_properties = true:suggestion ``` 1. Add the following to a document ```csharp internal class MyExample { public int X { get { return 3; } } public int Y => 5; } ``` 1. On the line with `return 3`, use the light bulb to Fix All in Document. **Expected Behavior**: ```csharp internal class MyExample { public int X => 3; public int Y => 5; } ``` **Actual Behavior**: ```csharp internal class MyExample { public int X { get { return 3; } } public int Y { get => 5; } } ```",1,fix all operations ignore editorconfig version used latest master branch steps to reproduce use tools rarr options to configure a preference to never use expression bodied properties with severity suggestion add a editorconfig with the following line to override the one in tools rarr options csharp style expression bodied properties true suggestion add the following to a document csharp internal class myexample public int x get return public int y on the line with return use the light bulb to fix all in document expected behavior csharp internal class myexample public int x public int y actual behavior csharp internal class myexample public int x get return public int y get ,1 606,8862611267.0,IssuesEvent,2019-01-10 06:48:14,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS 2017.15.5.2 crash during 'Rename' operation (of an enum value),Area-IDE Bug Developer Community Resolution-Fixed Tenet-Reliability,"Hi, I open a solution with 14 projects (13 C#/ 1 F#, .NET Framework 4.7), go to a file with a enum, press CTRL+R,R to rename an enum value then VS starts thinking and crashes. Callstack from Event Viewer: Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.Session.<FindDocumentsAndPossibleNameConflicts>d__24.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<FindDocumentsAndPossibleNameConflicts>d__24.MoveNext() at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<FindDocumentsAndPossibleNameConflicts>d__24.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<FindDocumentsAndPossibleNameConflicts>d__24, Microsoft.CodeAnalysis.Workspaces, Version=2.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<FindDocumentsAndPossibleNameConflicts>d__24 ByRef) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session.FindDocumentsAndPossibleNameConflicts() at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<ResolveConflictsAsync>d__18.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<ResolveConflictsAsync>d__18, Microsoft.CodeAnalysis.Workspaces, Version=2.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<ResolveConflictsAsync>d__18 ByRef) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session.ResolveConflictsAsync() at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.ResolveConflictsAsync(Microsoft.CodeAnalysis.Rename.RenameLocations, System.String, System.String, Microsoft.CodeAnalysis.Options.OptionSet, System.Func`2<System.Collections.Generic.IEnumerable`1<Microsoft.CodeAnalysis.ISymbol>,System.Nullable`1<Boolean>>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.AbstractEditorInlineRenameService+InlineRenameLocationSet+<GetReplacementsAsync>d__7.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.AbstractEditorInlineRenameService+InlineRenameLocationSet+<GetReplacementsAsync>d__7, Microsoft.CodeAnalysis.EditorFeatures, Version=2.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<GetReplacementsAsync>d__7 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.AbstractEditorInlineRenameService+InlineRenameLocationSet.GetReplacementsAsync(System.String, Microsoft.CodeAnalysis.Options.OptionSet, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.InlineRenameSession+<>c__DisplayClass62_0.<UpdateConflictResolutionTask>b__0(System.Threading.Tasks.Task`1<Microsoft.CodeAnalysis.Editor.IInlineRenameLocationSet>) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass16_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWithFromAsync>b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/167118/vs-201751-crash-during-rename-operation-of-an-enum.html VSTS ticketId: 537912_ _These are the original issue comments:_ Phillip Carter [MSFT] on 12/16/2017, 02:14 PM (4 days ago):

Hello Cyril,


Did you invoke rename on an F# enum or a C# enum? Are the enums consumed by other languages? (e.g., C# enum --> used by F#, or F# enum --> used by C#)

Cyril Andreichuk on 12/18/2017, 01:42 AM (2 days ago):

hi,

1) it's C# enum (have you checked the attached files? you can see it there :))

2) the enum is not used in F# code. F# project references the project with the enum.

3) the issue can be reproduced on VS 15.5.2

Phillip Carter [MSFT] on 12/18/2017, 08:31 AM (2 days ago):

Thank you for the info! I work on the F# team, so I wanted to reach out about this before routing the bug to the appropriate team. It seems our system saw ""F#"" in the report and routed it my direction. I'll direct this to the C# IDE team.

_These are the original issue solutions:_ (no solutions)",True,"VS 2017.15.5.2 crash during 'Rename' operation (of an enum value) - Hi, I open a solution with 14 projects (13 C#/ 1 F#, .NET Framework 4.7), go to a file with a enum, press CTRL+R,R to rename an enum value then VS starts thinking and crashes. Callstack from Event Viewer: Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.Session.<FindDocumentsAndPossibleNameConflicts>d__24.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<FindDocumentsAndPossibleNameConflicts>d__24.MoveNext() at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<FindDocumentsAndPossibleNameConflicts>d__24.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<FindDocumentsAndPossibleNameConflicts>d__24, Microsoft.CodeAnalysis.Workspaces, Version=2.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<FindDocumentsAndPossibleNameConflicts>d__24 ByRef) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session.FindDocumentsAndPossibleNameConflicts() at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<ResolveConflictsAsync>d__18.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+<ResolveConflictsAsync>d__18, Microsoft.CodeAnalysis.Workspaces, Version=2.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<ResolveConflictsAsync>d__18 ByRef) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session.ResolveConflictsAsync() at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.ResolveConflictsAsync(Microsoft.CodeAnalysis.Rename.RenameLocations, System.String, System.String, Microsoft.CodeAnalysis.Options.OptionSet, System.Func`2<System.Collections.Generic.IEnumerable`1<Microsoft.CodeAnalysis.ISymbol>,System.Nullable`1<Boolean>>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.AbstractEditorInlineRenameService+InlineRenameLocationSet+<GetReplacementsAsync>d__7.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.AbstractEditorInlineRenameService+InlineRenameLocationSet+<GetReplacementsAsync>d__7, Microsoft.CodeAnalysis.EditorFeatures, Version=2.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<GetReplacementsAsync>d__7 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.AbstractEditorInlineRenameService+InlineRenameLocationSet.GetReplacementsAsync(System.String, Microsoft.CodeAnalysis.Options.OptionSet, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.InlineRenameSession+<>c__DisplayClass62_0.<UpdateConflictResolutionTask>b__0(System.Threading.Tasks.Task`1<Microsoft.CodeAnalysis.Editor.IInlineRenameLocationSet>) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass16_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWithFromAsync>b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/167118/vs-201751-crash-during-rename-operation-of-an-enum.html VSTS ticketId: 537912_ _These are the original issue comments:_ Phillip Carter [MSFT] on 12/16/2017, 02:14 PM (4 days ago):

Hello Cyril,


Did you invoke rename on an F# enum or a C# enum? Are the enums consumed by other languages? (e.g., C# enum --> used by F#, or F# enum --> used by C#)

Cyril Andreichuk on 12/18/2017, 01:42 AM (2 days ago):

hi,

1) it's C# enum (have you checked the attached files? you can see it there :))

2) the enum is not used in F# code. F# project references the project with the enum.

3) the issue can be reproduced on VS 15.5.2

Phillip Carter [MSFT] on 12/18/2017, 08:31 AM (2 days ago):

Thank you for the info! I work on the F# team, so I wanted to reach out about this before routing the bug to the appropriate team. It seems our system saw ""F#"" in the report and routed it my direction. I'll direct this to the C# IDE team.

_These are the original issue solutions:_ (no solutions)",1,vs crash during rename operation of an enum value hi i open a solution with projects c f net framework go to a file with a enum press ctrl r r to rename an enum value then vs starts thinking and crashes callstack from event viewer application devenv exe framework version description the application requested process termination through system environment failfast string message message system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis rename conflictengine conflictresolver session lt finddocumentsandpossiblenameconflicts gt d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action lt system exception gt at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis rename conflictengine conflictresolver session lt finddocumentsandpossiblenameconflicts gt d movenext at microsoft codeanalysis rename conflictengine conflictresolver session lt finddocumentsandpossiblenameconflicts gt d movenext at system runtime compilerservices asynctaskmethodbuilder start lt finddocumentsandpossiblenameconflicts gt d byref at microsoft codeanalysis rename conflictengine conflictresolver session finddocumentsandpossiblenameconflicts at microsoft codeanalysis rename conflictengine conflictresolver session lt resolveconflictsasync gt d movenext at system runtime compilerservices asynctaskmethodbuilder start lt resolveconflictsasync gt d byref at microsoft codeanalysis rename conflictengine conflictresolver session resolveconflictsasync at microsoft codeanalysis rename conflictengine conflictresolver resolveconflictsasync microsoft codeanalysis rename renamelocations system string system string microsoft codeanalysis options optionset system func lt system collections generic ienumerable lt microsoft codeanalysis isymbol gt system nullable lt boolean gt gt system threading cancellationtoken at microsoft codeanalysis editor implementation inlinerename abstracteditorinlinerenameservice inlinerenamelocationset lt getreplacementsasync gt d movenext at system runtime compilerservices asynctaskmethodbuilder start lt getreplacementsasync gt d byref at microsoft codeanalysis editor implementation inlinerename abstracteditorinlinerenameservice inlinerenamelocationset getreplacementsasync system string microsoft codeanalysis options optionset system threading cancellationtoken at microsoft codeanalysis editor implementation inlinerename inlinerenamesession lt gt c lt updateconflictresolutiontask gt b system threading tasks task lt microsoft codeanalysis editor iinlinerenamelocationset gt at roslyn utilities taskextensions lt gt c lt safecontinuewithfromasync gt b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback this issue has been moved from vsts ticketid these are the original issue comments phillip carter on pm days ago hello cyril did you invoke rename on an f enum or a c enum are the enums consumed by other languages e g c enum gt used by f or f enum gt used by c cyril andreichuk on am days ago hi it s c enum have you checked the attached files you can see it there the enum is not used in f code f project references the project with the enum the issue can be reproduced on vs phillip carter on am days ago thank you for the info i work on the f team so i wanted to reach out about this before routing the bug to the appropriate team it seems our system saw f in the report and routed it my direction i ll direct this to the c ide team these are the original issue solutions no solutions ,1 1043,12491015904.0,IssuesEvent,2020-06-01 02:32:18,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,System.NullReferenceException in CSharpCreateTestAccessorFixer,Area-Analyzers Bug Tenet-Reliability,"``` System.NullReferenceException : Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.Kind(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolCore(SyntaxNode node,CancellationToken cancellationToken) at async Roslyn.Diagnostics.Analyzers.CreateTestAccessorFixer.RegisterCodeFixesAsync() at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformActionAsync() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",True,"System.NullReferenceException in CSharpCreateTestAccessorFixer - ``` System.NullReferenceException : Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.Kind(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolCore(SyntaxNode node,CancellationToken cancellationToken) at async Roslyn.Diagnostics.Analyzers.CreateTestAccessorFixer.RegisterCodeFixesAsync() at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformActionAsync() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",1,system nullreferenceexception in csharpcreatetestaccessorfixer system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis csharp csharpextensions kind syntaxnode node at microsoft codeanalysis csharp csharpsemanticmodel getdeclaredsymbolcore syntaxnode node cancellationtoken cancellationtoken at async roslyn diagnostics analyzers createtestaccessorfixer registercodefixesasync at async microsoft codeanalysis extensions iextensionmanagerextensions performactionasync at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject ,1 1362,15380554444.0,IssuesEvent,2021-03-02 21:16:46,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Stack overflow in SymbolEquivalenceComparer,Area-IDE Bug Tenet-Reliability,"Moved from https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1124060 ``` at mscorlib.ni!System.String.Equals in string.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.IsTupleTypeOfCardinality in NamedTypeSymbol.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.get_IsTupleType in TupleTypeSymbol.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.get_TupleData in TupleTypeSymbol.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.get_TupleElements in TupleTypeSymbol.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel.NamedTypeSymbol.Microsoft.CodeAnalysis.INamedTypeSymbol.get_TupleElements in NamedTypeSymbol.cs at Microsoft.CodeAnalysis.Workspaces!Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer in SymbolEquivalenceComparer.EquivalenceVisitor.cs at Microsoft.CodeAnalysis.Workspaces!Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer in SymbolEquivalenceComparer.EquivalenceVisitor.cs ... ```",True,"Stack overflow in SymbolEquivalenceComparer - Moved from https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1124060 ``` at mscorlib.ni!System.String.Equals in string.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.IsTupleTypeOfCardinality in NamedTypeSymbol.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.get_IsTupleType in TupleTypeSymbol.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.get_TupleData in TupleTypeSymbol.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.get_TupleElements in TupleTypeSymbol.cs at Microsoft.CodeAnalysis.CSharp!Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel.NamedTypeSymbol.Microsoft.CodeAnalysis.INamedTypeSymbol.get_TupleElements in NamedTypeSymbol.cs at Microsoft.CodeAnalysis.Workspaces!Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer in SymbolEquivalenceComparer.EquivalenceVisitor.cs at Microsoft.CodeAnalysis.Workspaces!Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer in SymbolEquivalenceComparer.EquivalenceVisitor.cs ... ```",1,stack overflow in symbolequivalencecomparer moved from at mscorlib ni system string equals in string cs at microsoft codeanalysis csharp microsoft codeanalysis csharp symbols namedtypesymbol istupletypeofcardinality in namedtypesymbol cs at microsoft codeanalysis csharp microsoft codeanalysis csharp symbols namedtypesymbol get istupletype in tupletypesymbol cs at microsoft codeanalysis csharp microsoft codeanalysis csharp symbols namedtypesymbol get tupledata in tupletypesymbol cs at microsoft codeanalysis csharp microsoft codeanalysis csharp symbols namedtypesymbol get tupleelements in tupletypesymbol cs at microsoft codeanalysis csharp microsoft codeanalysis csharp symbols publicmodel namedtypesymbol microsoft codeanalysis inamedtypesymbol get tupleelements in namedtypesymbol cs at microsoft codeanalysis workspaces microsoft codeanalysis shared utilities symbolequivalencecomparer in symbolequivalencecomparer equivalencevisitor cs at microsoft codeanalysis workspaces microsoft codeanalysis shared utilities symbolequivalencecomparer in symbolequivalencecomparer equivalencevisitor cs ,1 875,11296096247.0,IssuesEvent,2020-01-17 00:30:29,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Use a singleton for AnalyzerActions.Empty,Area-Analyzers Concept-Continuous Improvement Developer Community Tenet-Reliability,"**Version Used**: Unknown :link: https://developercommunity.visualstudio.com/content/problem/531240/occasional-outofmemoryexception.html One of the heap dumps showed 3,486,047 instances of Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, but at most 5,000 were not empty. Using a singleton for the empty case would save a large amount of memory. As a step past this, we could attempt avoid placing empty items in the dictionary at all, and internally treat missing the same as empty.",True,"Use a singleton for AnalyzerActions.Empty - **Version Used**: Unknown :link: https://developercommunity.visualstudio.com/content/problem/531240/occasional-outofmemoryexception.html One of the heap dumps showed 3,486,047 instances of Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, but at most 5,000 were not empty. Using a singleton for the empty case would save a large amount of memory. As a step past this, we could attempt avoid placing empty items in the dictionary at all, and internally treat missing the same as empty.",1,use a singleton for analyzeractions empty version used unknown link one of the heap dumps showed instances of microsoft codeanalysis diagnostics analyzeractions but at most were not empty using a singleton for the empty case would save a large amount of memory as a step past this we could attempt avoid placing empty items in the dictionary at all and internally treat missing the same as empty ,1 152,4578893667.0,IssuesEvent,2016-09-18 00:01:58,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Crash in DecisionTreeComputer,Area-Compilers Bug Tenet-Reliability,"**Version Used**: **Steps to Reproduce**: 1. Open Roslyn.sln with Full Solution Analysis enabled and wait. **Result** Crash at: > at System.Collections.Generic.Dictionary`2.FindEntry(TKey key) at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddByValue(ByValue byValue, BoundExpression value, DecisionMaker makeDecision, Boolean hasErrors) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddByValue(DecisionTree decision, BoundExpression value, DecisionMaker makeDecision, Boolean hasErrors) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddByValue(ByType byType, BoundExpression value, DecisionMaker makeDecision, Boolean hasErrors) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddByValue(DecisionTree decision, BoundExpression value, DecisionMaker makeDecision, Boolean hasErrors) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddToDecisionTree(DecisionTree decisionTree, BoundPatternSwitchLabel label) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.ComputeDecisionTree() at Microsoft.CodeAnalysis.CSharp.BoundPatternSwitchStatement.ComputeDecisionTree(DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.BoundPatternSwitchStatement.EnsureDecisionTree() at Microsoft.CodeAnalysis.CSharp.BoundPatternSwitchStatement.get_DecisionTreeDiagnostics() at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.VisitPatternSwitchStatement(BoundPatternSwitchStatement node) at Microsoft.CodeAnalysis.CSharp.BoundPatternSwitchStatement.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitBlock(BoundBlock node) at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWhileStatement(BoundWhileStatement node) at Microsoft.CodeAnalysis.CSharp.BoundWhileStatement.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitBlock(BoundBlock node) at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Scan(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Scan(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Analyze(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Analyze(Boolean& badRegion, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Analyze(CSharpCompilation compilation, Symbol member, BoundBlock block, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Analyze(CSharpCompilation compilation, MethodSymbol method, BoundBlock block, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Rewrite(MethodSymbol method, BoundBlock block, DiagnosticBag diagnostics, Boolean hasTrailingExpression, Boolean originalBodyNested) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamedType(NamedTypeSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamespace(NamespaceSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamespace(NamespaceSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamespace(NamespaceSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean generateDebugInfo, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__48.MoveNext() --- 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.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__46.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__39.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.EngineV2.InProcCodeAnalysisDiagnosticAnalyzerExecutor.AnalyzerExecutor.d__0.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.VisualStudio.LanguageServices.Implementation.Diagnostics.VisualStudioDiagnosticAnalyzerExecutor.d__0.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.Executor.d__19.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.Executor.d__6.MoveNext()",True,"Crash in DecisionTreeComputer - **Version Used**: **Steps to Reproduce**: 1. Open Roslyn.sln with Full Solution Analysis enabled and wait. **Result** Crash at: > at System.Collections.Generic.Dictionary`2.FindEntry(TKey key) at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddByValue(ByValue byValue, BoundExpression value, DecisionMaker makeDecision, Boolean hasErrors) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddByValue(DecisionTree decision, BoundExpression value, DecisionMaker makeDecision, Boolean hasErrors) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddByValue(ByType byType, BoundExpression value, DecisionMaker makeDecision, Boolean hasErrors) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddByValue(DecisionTree decision, BoundExpression value, DecisionMaker makeDecision, Boolean hasErrors) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.AddToDecisionTree(DecisionTree decisionTree, BoundPatternSwitchLabel label) at Microsoft.CodeAnalysis.CSharp.DecisionTreeComputer.ComputeDecisionTree() at Microsoft.CodeAnalysis.CSharp.BoundPatternSwitchStatement.ComputeDecisionTree(DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.BoundPatternSwitchStatement.EnsureDecisionTree() at Microsoft.CodeAnalysis.CSharp.BoundPatternSwitchStatement.get_DecisionTreeDiagnostics() at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.VisitPatternSwitchStatement(BoundPatternSwitchStatement node) at Microsoft.CodeAnalysis.CSharp.BoundPatternSwitchStatement.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitBlock(BoundBlock node) at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWhileStatement(BoundWhileStatement node) at Microsoft.CodeAnalysis.CSharp.BoundWhileStatement.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitBlock(BoundBlock node) at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Scan(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Scan(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.PreciseAbstractFlowPass`1.Analyze(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Analyze(Boolean& badRegion, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.ControlFlowPass.Analyze(CSharpCompilation compilation, Symbol member, BoundBlock block, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Analyze(CSharpCompilation compilation, MethodSymbol method, BoundBlock block, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Rewrite(MethodSymbol method, BoundBlock block, DiagnosticBag diagnostics, Boolean hasTrailingExpression, Boolean originalBodyNested) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamedType(NamedTypeSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamespace(NamespaceSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamespace(NamespaceSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamespace(NamespaceSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean generateDebugInfo, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__48.MoveNext() --- 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.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__46.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__39.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.EngineV2.InProcCodeAnalysisDiagnosticAnalyzerExecutor.AnalyzerExecutor.d__0.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.VisualStudio.LanguageServices.Implementation.Diagnostics.VisualStudioDiagnosticAnalyzerExecutor.d__0.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.Executor.d__19.MoveNext() --- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.Executor.d__6.MoveNext()",1,crash in decisiontreecomputer version used steps to reproduce open roslyn sln with full solution analysis enabled and wait result crash at at system collections generic dictionary findentry tkey key at system collections generic dictionary trygetvalue tkey key tvalue value at microsoft codeanalysis csharp decisiontreecomputer addbyvalue byvalue byvalue boundexpression value decisionmaker makedecision boolean haserrors at microsoft codeanalysis csharp decisiontreecomputer addbyvalue decisiontree decision boundexpression value decisionmaker makedecision boolean haserrors at microsoft codeanalysis csharp decisiontreecomputer addbyvalue bytype bytype boundexpression value decisionmaker makedecision boolean haserrors at microsoft codeanalysis csharp decisiontreecomputer addbyvalue decisiontree decision boundexpression value decisionmaker makedecision boolean haserrors at microsoft codeanalysis csharp decisiontreecomputer addtodecisiontree decisiontree decisiontree boundpatternswitchlabel label at microsoft codeanalysis csharp decisiontreecomputer computedecisiontree at microsoft codeanalysis csharp boundpatternswitchstatement computedecisiontree diagnosticbag diagnostics at microsoft codeanalysis csharp boundpatternswitchstatement ensuredecisiontree at microsoft codeanalysis csharp boundpatternswitchstatement get decisiontreediagnostics at microsoft codeanalysis csharp controlflowpass visitpatternswitchstatement boundpatternswitchstatement node at microsoft codeanalysis csharp boundpatternswitchstatement accept boundtreevisitor visitor at microsoft codeanalysis csharp boundtreevisitor visit boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitalways boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visit boundnode node at microsoft codeanalysis csharp controlflowpass visit boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitstatement boundstatement statement at microsoft codeanalysis csharp controlflowpass visitstatement boundstatement statement at microsoft codeanalysis csharp preciseabstractflowpass visitblock boundblock node at microsoft codeanalysis csharp boundblock accept boundtreevisitor visitor at microsoft codeanalysis csharp boundtreevisitor visit boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitalways boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visit boundnode node at microsoft codeanalysis csharp controlflowpass visit boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitstatement boundstatement statement at microsoft codeanalysis csharp controlflowpass visitstatement boundstatement statement at microsoft codeanalysis csharp preciseabstractflowpass visitwhilestatement boundwhilestatement node at microsoft codeanalysis csharp boundwhilestatement accept boundtreevisitor visitor at microsoft codeanalysis csharp boundtreevisitor visit boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitalways boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visit boundnode node at microsoft codeanalysis csharp controlflowpass visit boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitstatement boundstatement statement at microsoft codeanalysis csharp controlflowpass visitstatement boundstatement statement at microsoft codeanalysis csharp preciseabstractflowpass visitblock boundblock node at microsoft codeanalysis csharp boundblock accept boundtreevisitor visitor at microsoft codeanalysis csharp boundtreevisitor visit boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visitalways boundnode node at microsoft codeanalysis csharp preciseabstractflowpass visit boundnode node at microsoft codeanalysis csharp controlflowpass visit boundnode node at microsoft codeanalysis csharp preciseabstractflowpass scan boolean badregion at microsoft codeanalysis csharp controlflowpass scan boolean badregion at microsoft codeanalysis csharp preciseabstractflowpass analyze boolean badregion at microsoft codeanalysis csharp controlflowpass analyze boolean badregion diagnosticbag diagnostics at microsoft codeanalysis csharp controlflowpass analyze csharpcompilation compilation symbol member boundblock block diagnosticbag diagnostics at microsoft codeanalysis csharp flowanalysispass analyze csharpcompilation compilation methodsymbol method boundblock block diagnosticbag diagnostics at microsoft codeanalysis csharp flowanalysispass rewrite methodsymbol method boundblock block diagnosticbag diagnostics boolean hastrailingexpression boolean originalbodynested at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype at microsoft codeanalysis csharp methodcompiler visitnamedtype namedtypesymbol symbol typecompilationstate arg at microsoft codeanalysis csharp symbols namedtypesymbol accept csharpsymbolvisitor visitor targument argument at microsoft codeanalysis csharp methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis csharp methodcompiler visitnamespace namespacesymbol symbol typecompilationstate arg at microsoft codeanalysis csharp symbols namespacesymbol accept csharpsymbolvisitor visitor targument argument at microsoft codeanalysis csharp methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis csharp methodcompiler visitnamespace namespacesymbol symbol typecompilationstate arg at microsoft codeanalysis csharp symbols namespacesymbol accept csharpsymbolvisitor visitor targument argument at microsoft codeanalysis csharp methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis csharp methodcompiler visitnamespace namespacesymbol symbol typecompilationstate arg at microsoft codeanalysis csharp symbols namespacesymbol accept csharpsymbolvisitor visitor targument argument at microsoft codeanalysis csharp methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean generatedebuginfo boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpcompilation getdiagnosticsforallmethodbodies diagnosticbag diagnostics cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpcompilation getdiagnostics cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext 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 configuredtaskawaitable configuredtaskawaiter getresult at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext 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 configuredtaskawaitable configuredtaskawaiter getresult at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext 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 configuredtaskawaitable configuredtaskawaiter getresult at microsoft codeanalysis diagnostics inproccodeanalysisdiagnosticanalyzerexecutor analyzerexecutor d movenext 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 configuredtaskawaitable configuredtaskawaiter getresult at microsoft visualstudio languageservices implementation diagnostics visualstudiodiagnosticanalyzerexecutor d movenext 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 configuredtaskawaitable configuredtaskawaiter getresult at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer executor d movenext 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 configuredtaskawaitable configuredtaskawaiter getresult at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer executor d movenext ,1 951,11768132380.0,IssuesEvent,2020-03-15 08:42:29,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,StackOverflow in IncrementallyParseTreeAsync,Area-IDE Bug Tenet-Reliability,"From @kumpera: https://bugzilla.xamarin.com/show_bug.cgi?id=55597 1) checkout mono 2) open mcs/class/corlib/corlib-net_4_x.csproj 3) open string.cs 4) scroll to the bottom and wait for Roslyn analysis to show up - tons of yellow stuff will light up on the right side 5) start typing on the last line After some typing (20ish words) I get a stack overflow followed by a hard crash on this stack: ``` (lldb) bt 40 * thread #114, name = 'Threadpool worker', stop reason = EXC_BAD_ACCESS (code=2, address=0x7000042c0ff8) * frame #0: Mono`System.Environment:get_CurrentManagedThreadId () at Environment.cs:163 frame #1: 0x0000000147e77851 Mono`Roslyn.Utilities.NonReentrantLock:get_IsOwnedByMe () + 33 frame #2: 0x0000000147e773bf Mono`Roslyn.Utilities.NonReentrantLock:Wait (System.Threading.CancellationToken) + 111 frame #3: 0x000000014801bdeb Mono`Roslyn.Utilities.AsyncLazy`1:TakeLock (System.Threading.CancellationToken) + 107 frame #4: 0x000000014801b6e8 Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 728 frame #5: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #6: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #7: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #8: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #9: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #10: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #11: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #12: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #13: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #14: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #15: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #16: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #17: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #18: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #19: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #20: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #21: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #22: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #23: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #24: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #25: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #26: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #27: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #28: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #29: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #30: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #31: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #32: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #33: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #34: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #35: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #36: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #37: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #38: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #39: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 (lldb) ```",True,"StackOverflow in IncrementallyParseTreeAsync - From @kumpera: https://bugzilla.xamarin.com/show_bug.cgi?id=55597 1) checkout mono 2) open mcs/class/corlib/corlib-net_4_x.csproj 3) open string.cs 4) scroll to the bottom and wait for Roslyn analysis to show up - tons of yellow stuff will light up on the right side 5) start typing on the last line After some typing (20ish words) I get a stack overflow followed by a hard crash on this stack: ``` (lldb) bt 40 * thread #114, name = 'Threadpool worker', stop reason = EXC_BAD_ACCESS (code=2, address=0x7000042c0ff8) * frame #0: Mono`System.Environment:get_CurrentManagedThreadId () at Environment.cs:163 frame #1: 0x0000000147e77851 Mono`Roslyn.Utilities.NonReentrantLock:get_IsOwnedByMe () + 33 frame #2: 0x0000000147e773bf Mono`Roslyn.Utilities.NonReentrantLock:Wait (System.Threading.CancellationToken) + 111 frame #3: 0x000000014801bdeb Mono`Roslyn.Utilities.AsyncLazy`1:TakeLock (System.Threading.CancellationToken) + 107 frame #4: 0x000000014801b6e8 Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 728 frame #5: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #6: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #7: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #8: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #9: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #10: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #11: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #12: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #13: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #14: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #15: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #16: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #17: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #18: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #19: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #20: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #21: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #22: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #23: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #24: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #25: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #26: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #27: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #28: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #29: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #30: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #31: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #32: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #33: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 frame #34: 0x000000014801b99f Mono`Roslyn.Utilities.AsyncLazy`1:GetValueAsync (System.Threading.CancellationToken) + 1423 frame #35: 0x000000014b7a189c Mono`Microsoft.CodeAnalysis.DocumentState/d__13:MoveNext () + 1020 frame #36: Mono`System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Startd__13> (Microsoft.CodeAnalysis.DocumentState/d__13&) at AsyncMethodBuilder.cs:471 frame #37: Mono`Microsoft.CodeAnalysis.DocumentState:IncrementallyParseTreeAsync (Roslyn.Utilities.ValueSource`1,Roslyn.Utilities.ValueSource`1,System.Threading.CancellationToken) at TextFileUtility.cs:280 frame #38: 0x000000014b79f5ca Mono`Microsoft.CodeAnalysis.DocumentState/<>c__DisplayClass12_0:b__0 (System.Threading.CancellationToken) + 42 frame #39: 0x000000014801f2c8 Mono`Roslyn.Utilities.AsyncLazy`1:StartAsynchronousComputation (Roslyn.Utilities.AsyncLazy`1/AsynchronousComputationToStart,Roslyn.Utilities.AsyncLazy`1/Request,System.Threading.CancellationToken) + 344 (lldb) ```",1,stackoverflow in incrementallyparsetreeasync from kumpera checkout mono open mcs class corlib corlib net x csproj open string cs scroll to the bottom and wait for roslyn analysis to show up tons of yellow stuff will light up on the right side start typing on the last line after some typing words i get a stack overflow followed by a hard crash on this stack lldb bt thread name threadpool worker stop reason exc bad access code address frame mono system environment get currentmanagedthreadid at environment cs frame mono roslyn utilities nonreentrantlock get isownedbyme frame mono roslyn utilities nonreentrantlock wait system threading cancellationtoken frame mono roslyn utilities asynclazy takelock system threading cancellationtoken frame mono roslyn utilities asynclazy getvalueasync system threading cancellationtoken frame mono microsoft codeanalysis documentstate d movenext frame mono system runtime compilerservices asynctaskmethodbuilder start d microsoft codeanalysis documentstate d at asyncmethodbuilder cs frame mono microsoft codeanalysis documentstate incrementallyparsetreeasync roslyn utilities valuesource roslyn utilities valuesource system threading cancellationtoken at textfileutility cs frame mono microsoft codeanalysis documentstate c b system threading cancellationtoken frame mono roslyn utilities asynclazy startasynchronouscomputation roslyn utilities asynclazy asynchronouscomputationtostart roslyn utilities asynclazy request system threading cancellationtoken frame mono roslyn utilities asynclazy getvalueasync system threading cancellationtoken frame mono microsoft codeanalysis documentstate d movenext frame mono system runtime compilerservices asynctaskmethodbuilder start d microsoft codeanalysis documentstate d at asyncmethodbuilder cs frame mono microsoft codeanalysis documentstate incrementallyparsetreeasync roslyn utilities valuesource roslyn utilities valuesource system threading cancellationtoken at textfileutility cs frame mono microsoft codeanalysis documentstate c b system threading cancellationtoken frame mono roslyn utilities asynclazy startasynchronouscomputation roslyn utilities asynclazy asynchronouscomputationtostart roslyn utilities asynclazy request system threading cancellationtoken frame mono roslyn utilities asynclazy getvalueasync system threading cancellationtoken frame mono microsoft codeanalysis documentstate d movenext frame mono system runtime compilerservices asynctaskmethodbuilder start d microsoft codeanalysis documentstate d at asyncmethodbuilder cs frame mono microsoft codeanalysis documentstate incrementallyparsetreeasync roslyn utilities valuesource roslyn utilities valuesource system threading cancellationtoken at textfileutility cs frame mono microsoft codeanalysis documentstate c b system threading cancellationtoken frame mono roslyn utilities asynclazy startasynchronouscomputation roslyn utilities asynclazy asynchronouscomputationtostart roslyn utilities asynclazy request system threading cancellationtoken frame mono roslyn utilities asynclazy getvalueasync system threading cancellationtoken frame mono microsoft codeanalysis documentstate d movenext frame mono system runtime compilerservices asynctaskmethodbuilder start d microsoft codeanalysis documentstate d at asyncmethodbuilder cs frame mono microsoft codeanalysis documentstate incrementallyparsetreeasync roslyn utilities valuesource roslyn utilities valuesource system threading cancellationtoken at textfileutility cs frame mono microsoft codeanalysis documentstate c b system threading cancellationtoken frame mono roslyn utilities asynclazy startasynchronouscomputation roslyn utilities asynclazy asynchronouscomputationtostart roslyn utilities asynclazy request system threading cancellationtoken frame mono roslyn utilities asynclazy getvalueasync system threading cancellationtoken frame mono microsoft codeanalysis documentstate d movenext frame mono system runtime compilerservices asynctaskmethodbuilder start d microsoft codeanalysis documentstate d at asyncmethodbuilder cs frame mono microsoft codeanalysis documentstate incrementallyparsetreeasync roslyn utilities valuesource roslyn utilities valuesource system threading cancellationtoken at textfileutility cs frame mono microsoft codeanalysis documentstate c b system threading cancellationtoken frame mono roslyn utilities asynclazy startasynchronouscomputation roslyn utilities asynclazy asynchronouscomputationtostart roslyn utilities asynclazy request system threading cancellationtoken frame mono roslyn utilities asynclazy getvalueasync system threading cancellationtoken frame mono microsoft codeanalysis documentstate d movenext frame mono system runtime compilerservices asynctaskmethodbuilder start d microsoft codeanalysis documentstate d at asyncmethodbuilder cs frame mono microsoft codeanalysis documentstate incrementallyparsetreeasync roslyn utilities valuesource roslyn utilities valuesource system threading cancellationtoken at textfileutility cs frame mono microsoft codeanalysis documentstate c b system threading cancellationtoken frame mono roslyn utilities asynclazy startasynchronouscomputation roslyn utilities asynclazy asynchronouscomputationtostart roslyn utilities asynclazy request system threading cancellationtoken lldb ,1 1689,18714787414.0,IssuesEvent,2021-11-03 02:02:57,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,GetFullyLoadedOpenDocumentInCurrentContextWithChanges hangs,Bug Area-IDE Need More Info Tenet-Reliability IDE-Navigation,"``` [Managed to Native Transition] Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.NoMessagePumpSyncContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.Wait(System.TimeSpan timeout) Unknown [Waiting on Async Operation, double-click or press enter to view Async Call Stacks] Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronouslyCore(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronously(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown > Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Shared.Extensions.ITextSnapshotExtensions.GetFullyLoadedOpenDocumentInCurrentContextWithChanges(Microsoft.VisualStudio.Text.ITextSnapshot snapshot, Microsoft.VisualStudio.Utilities.IUIThreadOperationContext operationContext, Microsoft.CodeAnalysis.Editor.Shared.Utilities.IThreadingContext threadingContext) Line 98 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.CommandHandlers.AbstractGoToCommandHandler.ExecuteCommand(Microsoft.CodeAnalysis.Editor.Commanding.Commands.GoToImplementationCommandArgs args, Microsoft.VisualStudio.Commanding.CommandExecutionContext context) Line 70 C# Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteStartingAtIndex.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(object errorSource, System.Action call, System.Predicate exceptionFilter) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteStartingAtIndex(System.Func argsFactory, Microsoft.VisualStudio.Text.Utilities.FrugalList<(Microsoft.VisualStudio.Text.ITextBuffer buffer, Microsoft.VisualStudio.Commanding.ICommandHandler handler)> buffersAndHandlers, int startIndex, Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerServiceState state, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteCommandHandlerChain(Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerServiceState state, System.Action handlerChain, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute(System.Func argsFactory, System.Action nextCommandHandler) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteCustomCommand(System.Type commandArgsType, System.Action next) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteStartingAtIndex(System.Func argsFactory, Microsoft.VisualStudio.Text.Utilities.FrugalList<(Microsoft.VisualStudio.Text.ITextBuffer buffer, Microsoft.VisualStudio.Commanding.ICommandHandler handler)> buffersAndHandlers, int startIndex, Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerServiceState state, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteCommandHandlerChain(Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerServiceState state, System.Action handlerChain, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute(System.Func argsFactory, System.Action nextCommandHandler) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteCustomCommand(System.Type commandArgsType, System.Action next) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteCustomCommand(ref System.Guid pguidCmdGroup, uint commandId, System.Action next) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint commandId, uint executeInformation, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.Intellisense.MultiCaretPreemptingFilterProvider.MultiCaretPreemptingFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.WholeLineCompletion.UI.CascadingCompletionSource.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(object parameter) Unknown PresentationFramework.dll!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource commandSource, bool userInitiated) Unknown PresentationFramework.dll!System.Windows.Controls.MenuItem.InvokeClickAfterRender(object arg) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent.AnonymousMethod__245_1(object sender, Microsoft.VisualStudio.PlatformUI.OleComponentSupport.PreTranslateMessageEventArgs args) Unknown Microsoft.VisualStudio.Shell.15.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.FPreTranslateMessageCore(Microsoft.VisualStudio.OLE.Interop.MSG[] pMsg) Unknown Microsoft.VisualStudio.Shell.15.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Shell.15.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.CallAndReturnOnException(System.Func method, int retValueOnException) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent() Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.ShowContextMenu(System.IntPtr location, ref int result) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.Undo.UndoManagerCommandFilter.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.IntellisenseCommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.BraceCompletionCommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.Exec.__executeNextCommandTarget|1() Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute(System.Func argsFactory, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteShowContextMenuCommand(System.Action next, System.IntPtr location) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteVisualStudio2000(uint commandId, System.IntPtr pvaIn, System.Action next) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint commandId, uint executeInformation, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.Intellisense.MultiCaretPreemptingFilterProvider.MultiCaretPreemptingFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.WholeLineCompletion.UI.CascadingCompletionSource.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.DisplayContextMenu(System.Windows.Point mousePosition) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.HandlePreprocessRightButtonUp(System.Windows.Input.InputEventArgs e) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(object errorSource, System.Action call) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.MouseProcessorHandler(System.Windows.RoutedEventArgs e, System.Action preprocess, System.Action defaultAction, System.Action postprocess) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.UIElement_MouseRightButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) Unknown PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) Unknown PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) Unknown PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) Unknown PresentationCore.dll!System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent) Unknown PresentationCore.dll!System.Windows.UIElement.OnMouseUpThunk(object sender, System.Windows.Input.MouseButtonEventArgs e) Unknown PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) Unknown PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) Unknown PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) Unknown PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) Unknown PresentationCore.dll!System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args) Unknown PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() Unknown PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) Unknown PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport) Unknown PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawMouseActions actions, int x, int y, int wheel) Unknown PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown PresentationCore.dll!System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown ```",True,"GetFullyLoadedOpenDocumentInCurrentContextWithChanges hangs - ``` [Managed to Native Transition] Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.NoMessagePumpSyncContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.Wait(System.TimeSpan timeout) Unknown [Waiting on Async Operation, double-click or press enter to view Async Call Stacks] Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronouslyCore(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronously(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown > Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Shared.Extensions.ITextSnapshotExtensions.GetFullyLoadedOpenDocumentInCurrentContextWithChanges(Microsoft.VisualStudio.Text.ITextSnapshot snapshot, Microsoft.VisualStudio.Utilities.IUIThreadOperationContext operationContext, Microsoft.CodeAnalysis.Editor.Shared.Utilities.IThreadingContext threadingContext) Line 98 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.CommandHandlers.AbstractGoToCommandHandler.ExecuteCommand(Microsoft.CodeAnalysis.Editor.Commanding.Commands.GoToImplementationCommandArgs args, Microsoft.VisualStudio.Commanding.CommandExecutionContext context) Line 70 C# Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteStartingAtIndex.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(object errorSource, System.Action call, System.Predicate exceptionFilter) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteStartingAtIndex(System.Func argsFactory, Microsoft.VisualStudio.Text.Utilities.FrugalList<(Microsoft.VisualStudio.Text.ITextBuffer buffer, Microsoft.VisualStudio.Commanding.ICommandHandler handler)> buffersAndHandlers, int startIndex, Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerServiceState state, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteCommandHandlerChain(Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerServiceState state, System.Action handlerChain, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute(System.Func argsFactory, System.Action nextCommandHandler) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteCustomCommand(System.Type commandArgsType, System.Action next) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteStartingAtIndex(System.Func argsFactory, Microsoft.VisualStudio.Text.Utilities.FrugalList<(Microsoft.VisualStudio.Text.ITextBuffer buffer, Microsoft.VisualStudio.Commanding.ICommandHandler handler)> buffersAndHandlers, int startIndex, Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerServiceState state, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.ExecuteCommandHandlerChain(Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerServiceState state, System.Action handlerChain, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute(System.Func argsFactory, System.Action nextCommandHandler) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteCustomCommand(System.Type commandArgsType, System.Action next) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteCustomCommand(ref System.Guid pguidCmdGroup, uint commandId, System.Action next) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint commandId, uint executeInformation, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.Intellisense.MultiCaretPreemptingFilterProvider.MultiCaretPreemptingFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.WholeLineCompletion.UI.CascadingCompletionSource.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(object parameter) Unknown PresentationFramework.dll!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource commandSource, bool userInitiated) Unknown PresentationFramework.dll!System.Windows.Controls.MenuItem.InvokeClickAfterRender(object arg) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent.AnonymousMethod__245_1(object sender, Microsoft.VisualStudio.PlatformUI.OleComponentSupport.PreTranslateMessageEventArgs args) Unknown Microsoft.VisualStudio.Shell.15.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.FPreTranslateMessageCore(Microsoft.VisualStudio.OLE.Interop.MSG[] pMsg) Unknown Microsoft.VisualStudio.Shell.15.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Shell.15.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.CallAndReturnOnException(System.Func method, int retValueOnException) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent() Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.ShowContextMenu(System.IntPtr location, ref int result) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.Undo.UndoManagerCommandFilter.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.IntellisenseCommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.BraceCompletionCommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.Exec.__executeNextCommandTarget|1() Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.Execute(System.Func argsFactory, System.Action nextCommandHandler) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteShowContextMenuCommand(System.Action next, System.IntPtr location) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.ExecuteVisualStudio2000(uint commandId, System.IntPtr pvaIn, System.Action next) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint commandId, uint executeInformation, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.Intellisense.MultiCaretPreemptingFilterProvider.MultiCaretPreemptingFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.WholeLineCompletion.UI.CascadingCompletionSource.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.IntelliCode.dll!Microsoft.VisualStudio.IntelliCode.Command.Editor.EditorKeybindingCommandFactory.CommandTargetBase.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.DisplayContextMenu(System.Windows.Point mousePosition) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.HandlePreprocessRightButtonUp(System.Windows.Input.InputEventArgs e) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(object errorSource, System.Action call) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.MouseProcessorHandler(System.Windows.RoutedEventArgs e, System.Action preprocess, System.Action defaultAction, System.Action postprocess) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.UIElement_MouseRightButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) Unknown PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) Unknown PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) Unknown PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) Unknown PresentationCore.dll!System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent) Unknown PresentationCore.dll!System.Windows.UIElement.OnMouseUpThunk(object sender, System.Windows.Input.MouseButtonEventArgs e) Unknown PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) Unknown PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) Unknown PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) Unknown PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) Unknown PresentationCore.dll!System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args) Unknown PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() Unknown PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) Unknown PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport) Unknown PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawMouseActions actions, int x, int y, int wheel) Unknown PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown PresentationCore.dll!System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown ```",1,getfullyloadedopendocumentincurrentcontextwithchanges hangs microsoft visualstudio threading dll microsoft visualstudio threading nomessagepumpsynccontext wait system intptr waithandles bool waitall int millisecondstimeout unknown mscorlib dll system threading manualreseteventslim wait int millisecondstimeout system threading cancellationtoken cancellationtoken unknown mscorlib dll system threading tasks task spinthenblockingwait int millisecondstimeout system threading cancellationtoken cancellationtoken unknown mscorlib dll system threading tasks task internalwait int millisecondstimeout system threading cancellationtoken cancellationtoken unknown mscorlib dll system threading tasks task wait int millisecondstimeout system threading cancellationtoken cancellationtoken unknown mscorlib dll system threading tasks task wait system timespan timeout unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory waitsynchronouslycore system threading tasks task task unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory waitsynchronously system threading tasks task task unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletask completeoncurrentthread unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletask completeoncurrentthread unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor shared extensions itextsnapshotextensions getfullyloadedopendocumentincurrentcontextwithchanges microsoft visualstudio text itextsnapshot snapshot microsoft visualstudio utilities iuithreadoperationcontext operationcontext microsoft codeanalysis editor shared utilities ithreadingcontext threadingcontext line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor commandhandlers abstractgotocommandhandler executecommand microsoft codeanalysis editor commanding commands gotoimplementationcommandargs args microsoft visualstudio commanding commandexecutioncontext context line c microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice executestartingatindex anonymousmethod unknown microsoft visualstudio platform vseditor dll microsoft visualstudio text utilities guardedoperations callextensionpoint object errorsource system action call system predicate exceptionfilter unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice executestartingatindex system func argsfactory microsoft visualstudio text utilities frugallist buffersandhandlers int startindex microsoft visualstudio ui text commanding implementation editorcommandhandlerservicestate state system action nextcommandhandler unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice execute anonymousmethod unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice executecommandhandlerchain microsoft visualstudio ui text commanding implementation editorcommandhandlerservicestate state system action handlerchain system action nextcommandhandler unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice execute system func argsfactory system action nextcommandhandler unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandhandlerserviceadapter executecustomcommand system type commandargstype system action next unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice executestartingatindex system func argsfactory microsoft visualstudio text utilities frugallist buffersandhandlers int startindex microsoft visualstudio ui text commanding implementation editorcommandhandlerservicestate state system action nextcommandhandler unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice execute anonymousmethod unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice executecommandhandlerchain microsoft visualstudio ui text commanding implementation editorcommandhandlerservicestate state system action handlerchain system action nextcommandhandler unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice execute system func argsfactory system action nextcommandhandler unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandhandlerserviceadapter executecustomcommand system type commandargstype system action next unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandhandlerserviceadapter executecustomcommand ref system guid pguidcmdgroup uint commandid system action next unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandhandlerserviceadapter exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation abstractolecommandtarget exec ref system guid pguidcmdgroup uint commandid uint executeinformation system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandfilterwrapper exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandfilterwrapper exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation intellisense multicaretpreemptingfilterprovider multicaretpreemptingfilter exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio intellicode dll microsoft visualstudio intellicode wholelinecompletion ui cascadingcompletionsource microsoft visualstudio ole interop iolecommandtarget exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio intellicode dll microsoft visualstudio intellicode command editor editorkeybindingcommandfactory commandtargetbase exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio intellicode dll microsoft visualstudio intellicode command editor editorkeybindingcommandfactory commandtargetbase exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio intellicode dll microsoft visualstudio intellicode command editor editorkeybindingcommandfactory commandtargetbase exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation simpletextviewwindow exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio shell ui internal dll microsoft visualstudio platformui vscommand execute object parameter unknown presentationframework dll ms internal commands commandhelpers criticalexecutecommandsource system windows input icommandsource commandsource bool userinitiated unknown presentationframework dll system windows controls menuitem invokeclickafterrender object arg unknown windowsbase dll system windows threading exceptionwrapper internalrealcall system delegate callback object args int numargs unknown windowsbase dll system windows threading exceptionwrapper trycatchwhen object source system delegate callback object args int numargs system delegate catchhandler unknown windowsbase dll system windows threading dispatcheroperation invokeimpl unknown windowsbase dll ms internal culturepreservingexecutioncontext callbackwrapper object obj unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state unknown windowsbase dll ms internal culturepreservingexecutioncontext run ms internal culturepreservingexecutioncontext executioncontext system threading contextcallback callback object state unknown windowsbase dll system windows threading dispatcheroperation invoke unknown windowsbase dll system windows threading dispatcher processqueue unknown windowsbase dll system windows threading dispatcher wndprochook system intptr hwnd int msg system intptr wparam system intptr lparam ref bool handled unknown windowsbase dll ms hwndwrapper wndproc system intptr hwnd int msg system intptr wparam system intptr lparam ref bool handled unknown windowsbase dll ms hwndsubclass dispatchercallbackoperation object o unknown windowsbase dll system windows threading exceptionwrapper internalrealcall system delegate callback object args int numargs unknown windowsbase dll system windows threading exceptionwrapper trycatchwhen object source system delegate callback object args int numargs system delegate catchhandler unknown windowsbase dll system windows threading dispatcher legacyinvokeimpl system windows threading dispatcherpriority priority system timespan timeout system delegate method object args int numargs unknown windowsbase dll ms hwndsubclass subclasswndproc system intptr hwnd int msg system intptr wparam system intptr lparam unknown microsoft visualstudio platform windowmanagement dll microsoft visualstudio platform windowmanagement windowmanagerservice pushmessagelooponcontextmenutrackingcomponent anonymousmethod object sender microsoft visualstudio platformui olecomponentsupport pretranslatemessageeventargs args unknown microsoft visualstudio shell dll microsoft visualstudio platformui olecomponentsupport olecomponent fpretranslatemessagecore microsoft visualstudio ole interop msg pmsg unknown microsoft visualstudio shell dll microsoft visualstudio platformui olecomponentsupport olecomponent microsoft visualstudio ole interop iolecomponent fpretranslatemessage anonymousmethod unknown microsoft visualstudio shell dll microsoft visualstudio platformui olecomponentsupport olecomponent callandreturnonexception system func method int retvalueonexception unknown microsoft visualstudio platform windowmanagement dll microsoft visualstudio platform windowmanagement windowmanagerservice pushmessagelooponcontextmenutrackingcomponent unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation simpletextviewwindow showcontextmenu system intptr location ref int result unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation simpletextviewwindow innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation undo undomanagercommandfilter microsoft visualstudio ole interop iolecommandtarget exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation intellisensecommandfilter exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation bracecompletioncommandfilter exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandhandlerserviceadapter exec executenextcommandtarget unknown microsoft visualstudio platform vseditor dll microsoft visualstudio ui text commanding implementation editorcommandhandlerservice execute system func argsfactory system action nextcommandhandler unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandhandlerserviceadapter executeshowcontextmenucommand system action next system intptr location unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandhandlerserviceadapter uint commandid system intptr pvain system action next unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandhandlerserviceadapter exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation abstractolecommandtarget exec ref system guid pguidcmdgroup uint commandid uint executeinformation system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandfilterwrapper exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandfilterwrapper exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation intellisense multicaretpreemptingfilterprovider multicaretpreemptingfilter exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio intellicode dll microsoft visualstudio intellicode wholelinecompletion ui cascadingcompletionsource microsoft visualstudio ole interop iolecommandtarget exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio intellicode dll microsoft visualstudio intellicode command editor editorkeybindingcommandfactory commandtargetbase exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio intellicode dll microsoft visualstudio intellicode command editor editorkeybindingcommandfactory commandtargetbase exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio intellicode dll microsoft visualstudio intellicode command editor editorkeybindingcommandfactory commandtargetbase exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation commandchainnode innerexec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation simpletextviewwindow exec ref system guid pguidcmdgroup uint ncmdid uint ncmdexecopt system intptr pvain system intptr pvaout unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation vsmouseprocessor displaycontextmenu system windows point mouseposition unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation vsmouseprocessor handlepreprocessrightbuttonup system windows input inputeventargs e unknown microsoft visualstudio platform vseditor dll microsoft visualstudio text utilities guardedoperations callextensionpoint object errorsource system action call unknown microsoft visualstudio platform vseditor dll microsoft visualstudio text utilities wpfmouseprocessor mouseprocessorhandler system windows routedeventargs e system action preprocess system action defaultaction system action postprocess unknown microsoft visualstudio platform vseditor dll microsoft visualstudio text utilities wpfmouseprocessor uielement mouserightbuttonup object sender system windows input mousebuttoneventargs e unknown presentationcore dll system windows routedeventargs invokehandler system delegate handler object target unknown presentationcore dll system windows routedeventhandlerinfo invokehandler object target system windows routedeventargs routedeventargs unknown presentationcore dll system windows eventroute invokehandlersimpl object source system windows routedeventargs args bool reraised unknown presentationcore dll system windows uielement reraiseeventas system windows dependencyobject sender system windows routedeventargs args system windows routedevent newevent unknown presentationcore dll system windows uielement onmouseupthunk object sender system windows input mousebuttoneventargs e unknown presentationcore dll system windows routedeventargs invokehandler system delegate handler object target unknown presentationcore dll system windows routedeventhandlerinfo invokehandler object target system windows routedeventargs routedeventargs unknown presentationcore dll system windows eventroute invokehandlersimpl object source system windows routedeventargs args bool reraised unknown presentationcore dll system windows uielement raiseeventimpl system windows dependencyobject sender system windows routedeventargs args unknown presentationcore dll system windows uielement raisetrustedevent system windows routedeventargs args unknown presentationcore dll system windows input inputmanager processstagingarea unknown presentationcore dll system windows input inputmanager processinput system windows input inputeventargs input unknown presentationcore dll system windows input inputprovidersite reportinput system windows input inputreport inputreport unknown presentationcore dll system windows interop hwndmouseinputprovider reportinput system intptr hwnd system windows input inputmode mode int timestamp system windows input rawmouseactions actions int x int y int wheel unknown presentationcore dll system windows interop hwndmouseinputprovider filtermessage system intptr hwnd ms internal interop windowmessage msg system intptr wparam system intptr lparam ref bool handled unknown presentationcore dll system windows interop hwndsource inputfiltermessage system intptr hwnd int msg system intptr wparam system intptr lparam ref bool handled unknown windowsbase dll ms hwndwrapper wndproc system intptr hwnd int msg system intptr wparam system intptr lparam ref bool handled unknown windowsbase dll ms hwndsubclass dispatchercallbackoperation object o unknown windowsbase dll system windows threading exceptionwrapper internalrealcall system delegate callback object args int numargs unknown windowsbase dll system windows threading exceptionwrapper trycatchwhen object source system delegate callback object args int numargs system delegate catchhandler unknown windowsbase dll system windows threading dispatcher legacyinvokeimpl system windows threading dispatcherpriority priority system timespan timeout system delegate method object args int numargs unknown windowsbase dll ms hwndsubclass subclasswndproc system intptr hwnd int msg system intptr wparam system intptr lparam unknown ,1 1414,15950061679.0,IssuesEvent,2021-04-15 08:12:55,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Visual Studio is Busy: Navigation Bars,Area-IDE Bug Developer Community IDE-Navigation Tenet-Reliability help wanted,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Visual-Studio-is-Busy:-Navigation-Bars/1380705)._ --- [regression] [worked-in:16.9] Visual studio is locked and will not unlock, despite there being a ""Cancel"" button. Pressing the cancel does nothing. So I guess that makes that two bugs in one. :P ![](https://i.imgur.com/Y4swUbM.png) --- ### Original Comments #### Feedback Bot on 3/24/2021, 08:01 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 4/5/2021, 09:35 AM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

--- ### Original Solutions (no solutions)",True,"Visual Studio is Busy: Navigation Bars - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Visual-Studio-is-Busy:-Navigation-Bars/1380705)._ --- [regression] [worked-in:16.9] Visual studio is locked and will not unlock, despite there being a ""Cancel"" button. Pressing the cancel does nothing. So I guess that makes that two bugs in one. :P ![](https://i.imgur.com/Y4swUbM.png) --- ### Original Comments #### Feedback Bot on 3/24/2021, 08:01 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 4/5/2021, 09:35 AM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

--- ### Original Solutions (no solutions)",1,visual studio is busy navigation bars this issue has been moved from visual studio is locked and will not unlock despite there being a cancel button pressing the cancel does nothing so i guess that makes that two bugs in one p original comments feedback bot on pm we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps feedback bot on am thank you for sharing your feedback our teams prioritize action on product issues with broad customer impact see details at original solutions no solutions ,1 1175,13542232710.0,IssuesEvent,2020-09-16 17:01:04,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,NullReferenceException in NullableWalker.VisitConditionalOperatorCore,4 - In Review Area-Compilers Bug New Language Feature - Nullable Reference Types Tenet-Reliability,"**Version Used**: Visual Studio 16.8.0 Preview 1 Targeting .NET 5.0.100-preview.7.20366.6 **Steps to Reproduce**: 1. Clone and open solution found [here](https://github.com/JakenVeina/Battleship.NET/tree/dotnet-roslyn-issue-46954). 2. Open file ""Battleship.NET.Avalonia\Gamespace\Running\RunningGamespaceBoardTileViewModel.cs"" 3. Select and copy code segment from Line 42 Character 44 to Line 57 Character 90. [Screenshot](https://media.discordapp.net/attachments/401165307475132416/745503014672138314/unknown.png) 4. Paste code segment at Line 33 Character 57. [Screenshot](https://media.discordapp.net/attachments/401165307475132416/745503088382574663/unknown.png) 5. Observe VS crash **Expected Behavior**: VS does not crash while attempting to copy and paste code. **Actual Behavior**: VS crashes due to a `NullReferenceException` from `Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitConditionalOperatorCore` [Full stack trace](https://paste.mod.gg/yovubopuca.sql) (actually, not full, Windows Event Viewer doesn't capture the whole thing). ",True,"NullReferenceException in NullableWalker.VisitConditionalOperatorCore - **Version Used**: Visual Studio 16.8.0 Preview 1 Targeting .NET 5.0.100-preview.7.20366.6 **Steps to Reproduce**: 1. Clone and open solution found [here](https://github.com/JakenVeina/Battleship.NET/tree/dotnet-roslyn-issue-46954). 2. Open file ""Battleship.NET.Avalonia\Gamespace\Running\RunningGamespaceBoardTileViewModel.cs"" 3. Select and copy code segment from Line 42 Character 44 to Line 57 Character 90. [Screenshot](https://media.discordapp.net/attachments/401165307475132416/745503014672138314/unknown.png) 4. Paste code segment at Line 33 Character 57. [Screenshot](https://media.discordapp.net/attachments/401165307475132416/745503088382574663/unknown.png) 5. Observe VS crash **Expected Behavior**: VS does not crash while attempting to copy and paste code. **Actual Behavior**: VS crashes due to a `NullReferenceException` from `Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitConditionalOperatorCore` [Full stack trace](https://paste.mod.gg/yovubopuca.sql) (actually, not full, Windows Event Viewer doesn't capture the whole thing). ",1,nullreferenceexception in nullablewalker visitconditionaloperatorcore version used visual studio preview targeting net preview steps to reproduce clone and open solution found open file battleship net avalonia gamespace running runninggamespaceboardtileviewmodel cs select and copy code segment from line character to line character paste code segment at line character observe vs crash expected behavior vs does not crash while attempting to copy and paste code actual behavior vs crashes due to a nullreferenceexception from microsoft codeanalysis csharp nullablewalker visitconditionaloperatorcore actually not full windows event viewer doesn t capture the whole thing ,1 161,4729288194.0,IssuesEvent,2016-10-18 18:17:10,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,ReplaceMethodWithPropertyCodeRefactoringProvider crashes,Area-IDE Bug Tenet-Reliability,"**Code to Reproduce**: ``` csharp public class Foo { public Foo() { Foo value = GetValue().GetValue(); } public Foo GetValue() // ""Replace 'GetValue' with property"" { return this; } } ``` ",True,"ReplaceMethodWithPropertyCodeRefactoringProvider crashes - **Code to Reproduce**: ``` csharp public class Foo { public Foo() { Foo value = GetValue().GetValue(); } public Foo GetValue() // ""Replace 'GetValue' with property"" { return this; } } ``` ",1,replacemethodwithpropertycoderefactoringprovider crashes code to reproduce csharp public class foo public foo foo value getvalue getvalue public foo getvalue replace getvalue with property return this ,1 490,7868920385.0,IssuesEvent,2018-06-24 06:47:53,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,OperationCanceledException during Formatting,Area-IDE Bug Tenet-Reliability,"A customer found this in their activity log after editing JS/TS in a session with responsiveness issues. ``` System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground[T](Task`1 task, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.ExecuteReturnOrTypeCommand(EditorCommandArgs args, Action nextHandler, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.ExecuteCommand(ReturnKeyCommandArgs args, Action nextHandler, CommandExecutionContext context) at Microsoft.VisualStudio.Commanding.CommandHandlerExtensions.ExecuteCommand[T](ICommandHandler commandHandler, T args, Action nextCommandHandler, CommandExecutionContext executionContext) at Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.<>c__DisplayClass14_1`1.<Execute>b__1() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ``` My guess is that JS/TS formatting was too slow and either the user or a timeout attempted to cancel the operation. Perhaps OperationCanceledException is not supposed to bubble out of a command handler?",True,"OperationCanceledException during Formatting - A customer found this in their activity log after editing JS/TS in a session with responsiveness issues. ``` System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground[T](Task`1 task, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.ExecuteReturnOrTypeCommand(EditorCommandArgs args, Action nextHandler, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.ExecuteCommand(ReturnKeyCommandArgs args, Action nextHandler, CommandExecutionContext context) at Microsoft.VisualStudio.Commanding.CommandHandlerExtensions.ExecuteCommand[T](ICommandHandler commandHandler, T args, Action nextCommandHandler, CommandExecutionContext executionContext) at Microsoft.VisualStudio.UI.Text.Commanding.Implementation.EditorCommandHandlerService.<>c__DisplayClass14_1`1.<Execute>b__1() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ``` My guess is that JS/TS formatting was too slow and either the user or a timeout attempted to cancel the operation. Perhaps OperationCanceledException is not supposed to bubble out of a command handler?",1,operationcanceledexception during formatting a customer found this in their activity log after editing js ts in a session with responsiveness issues system operationcanceledexception the operation was canceled at system threading cancellationtoken throwoperationcanceledexception at system threading tasks task wait millisecondstimeout cancellationtoken cancellationtoken at roslyn utilities taskextensions waitandgetresult cancallonbackground task task cancellationtoken cancellationtoken at microsoft codeanalysis editor implementation formatting formatcommandhandler executereturnortypecommand editorcommandargs args action nexthandler cancellationtoken cancellationtoken at microsoft codeanalysis editor implementation formatting formatcommandhandler executecommand returnkeycommandargs args action nexthandler commandexecutioncontext context at microsoft visualstudio commanding commandhandlerextensions executecommand icommandhandler commandhandler t args action nextcommandhandler commandexecutioncontext executioncontext at microsoft visualstudio ui text commanding implementation editorcommandhandlerservice lt gt c lt execute gt b at microsoft visualstudio text utilities guardedoperations callextensionpoint object errorsource action call end of stack trace from previous location where exception was thrown at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject my guess is that js ts formatting was too slow and either the user or a timeout attempted to cancel the operation perhaps operationcanceledexception is not supposed to bubble out of a command handler ,1 136,4161448335.0,IssuesEvent,2016-06-17 16:38:43,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,TypeLoadException in Telemetry assembly causes dev14 to crash with new Roslyn bits,Tenet-Reliability,"Repro: - Install dev14 (I'm using update 3 preview specifically) - Build Roslyn (open) - Launch dev hive and try to open a solution like Roslyn.sln Symptom: The IDE crashes with following information. `{""Method 'AnalyzeSyntaxAsync' in type 'Analyzer' from assembly 'Microsoft.VisualStudio.LanguageServices.Telemetry, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation."":""Analyzer""}` ``` at Microsoft.VisualStudio.LangaugeServices.Telemetry.ProjectTelemetryIncrementalAnalyzerProvider.CreateIncrementalAnalyzer(Workspace workspace) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass15_0.b__0(Lazy`2 p) in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 100 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.OrderedEnumerable`1.d__1.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items) at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource](IEnumerable`1 items) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.GetOrderedAnalyzers(Registration registration, IEnumerable`1 providers) in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 100 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.GetIncrementalAnalyzers(Registration registration, IEnumerable`1 providers) in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 90 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass11_0.<.ctor>b__1() in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 59 at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.get_Analyzers() in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs:line 71 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__42.MoveNext() in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs:line 535``` This exception occurs because of a change to IIncrementalAsync interface (in open): https://github.com/dotnet/roslyn/commit/52d00a2fabe7b43381e8ab077ff7f6c3e8733e69 CC @KevinH-MS ",True,"TypeLoadException in Telemetry assembly causes dev14 to crash with new Roslyn bits - Repro: - Install dev14 (I'm using update 3 preview specifically) - Build Roslyn (open) - Launch dev hive and try to open a solution like Roslyn.sln Symptom: The IDE crashes with following information. `{""Method 'AnalyzeSyntaxAsync' in type 'Analyzer' from assembly 'Microsoft.VisualStudio.LanguageServices.Telemetry, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation."":""Analyzer""}` ``` at Microsoft.VisualStudio.LangaugeServices.Telemetry.ProjectTelemetryIncrementalAnalyzerProvider.CreateIncrementalAnalyzer(Workspace workspace) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass15_0.b__0(Lazy`2 p) in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 100 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.OrderedEnumerable`1.d__1.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items) at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource](IEnumerable`1 items) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.GetOrderedAnalyzers(Registration registration, IEnumerable`1 providers) in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 100 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.GetIncrementalAnalyzers(Registration registration, IEnumerable`1 providers) in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 90 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass11_0.<.ctor>b__1() in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 59 at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.get_Analyzers() in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs:line 71 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__42.MoveNext() in D:\repos\roslyn2\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs:line 535``` This exception occurs because of a change to IIncrementalAsync interface (in open): https://github.com/dotnet/roslyn/commit/52d00a2fabe7b43381e8ab077ff7f6c3e8733e69 CC @KevinH-MS ",1,typeloadexception in telemetry assembly causes to crash with new roslyn bits repro install i m using update preview specifically build roslyn open launch dev hive and try to open a solution like roslyn sln symptom the ide crashes with following information method analyzesyntaxasync in type analyzer from assembly microsoft visualstudio languageservices telemetry version culture neutral publickeytoken does not have an implementation analyzer at microsoft visualstudio langaugeservices telemetry projecttelemetryincrementalanalyzerprovider createincrementalanalyzer workspace workspace at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b lazy p in d repos src features core portable solutioncrawler workcoordinator incrementalanalyzerprocessor cs line at system linq enumerable whereselectenumerableiterator movenext at system linq buffer ctor ienumerable source at system linq orderedenumerable d movenext at system linq buffer ctor ienumerable source at system linq enumerable toarray ienumerable source at system collections immutable immutablearray createrange ienumerable items at system collections immutable immutablearray toimmutablearray ienumerable items at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor getorderedanalyzers registration registration ienumerable providers in d repos src features core portable solutioncrawler workcoordinator incrementalanalyzerprocessor cs line at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor getincrementalanalyzers registration registration ienumerable providers in d repos src features core portable solutioncrawler workcoordinator incrementalanalyzerprocessor cs line at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b in d repos src features core portable solutioncrawler workcoordinator incrementalanalyzerprocessor cs line at system lazy createvalue at system lazy lazyinitvalue at system lazy get value at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor get analyzers in d repos src features core portable solutioncrawler workcoordinator normalpriorityprocessor cs line at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor d movenext in d repos src features core portable solutioncrawler workcoordinator normalpriorityprocessor cs line this exception occurs because of a change to iincrementalasync interface in open cc kevinh ms ,1 1500,16604305584.0,IssuesEvent,2021-06-02 00:41:29,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Hot Reload crashes VS (WinForms example),Area-IDE Bug Interactive-EnC Tenet-Reliability,"The following is a bug report as per my conversation with Tomas. It was tested using internal Main build of VS. Repro: 1. Created a WinForms app targeting .NET 6 (preview 3 public) 2. Added a button and rich textbox 3. Added a click event for button, started the app 4. Add some minor code, hot reload. commented it out, hot reload. 5. Then I switch gears to follow this sample (never stopped running) (sample: https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-how-to?pivots=dotnet-5-0#httpclient-and-httpcontent-extension-methods) 7. I changed click event to be async, applied it 8. I then added the JSON example code (see image below), resolving all the using statements and all the code was valid no errors with classes and the rest of the Main code under my button click ![Pasted code in step 8](https://user-images.githubusercontent.com/2363526/115816310-83c00000-a3ad-11eb-9d3e-571f0815cd50.png) 9. Then I applied the code, VS stopped responding for a few seconds then it exited I was able to repro this multiple times",True,"Hot Reload crashes VS (WinForms example) - The following is a bug report as per my conversation with Tomas. It was tested using internal Main build of VS. Repro: 1. Created a WinForms app targeting .NET 6 (preview 3 public) 2. Added a button and rich textbox 3. Added a click event for button, started the app 4. Add some minor code, hot reload. commented it out, hot reload. 5. Then I switch gears to follow this sample (never stopped running) (sample: https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-how-to?pivots=dotnet-5-0#httpclient-and-httpcontent-extension-methods) 7. I changed click event to be async, applied it 8. I then added the JSON example code (see image below), resolving all the using statements and all the code was valid no errors with classes and the rest of the Main code under my button click ![Pasted code in step 8](https://user-images.githubusercontent.com/2363526/115816310-83c00000-a3ad-11eb-9d3e-571f0815cd50.png) 9. Then I applied the code, VS stopped responding for a few seconds then it exited I was able to repro this multiple times",1,hot reload crashes vs winforms example the following is a bug report as per my conversation with tomas it was tested using internal main build of vs repro created a winforms app targeting net preview public added a button and rich textbox added a click event for button started the app add some minor code hot reload commented it out hot reload then i switch gears to follow this sample never stopped running sample i changed click event to be async applied it i then added the json example code see image below resolving all the using statements and all the code was valid no errors with classes and the rest of the main code under my button click then i applied the code vs stopped responding for a few seconds then it exited i was able to repro this multiple times,1 559,8583632372.0,IssuesEvent,2018-11-13 20:18:09,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,System.ArgumentOutOfRangeException: Index was out of range,Area-IDE Bug Tenet-Reliability,"In 16.0.Preview1 The app just closes unexpectendly when writing code. What do I need to share to diagnose the problem? _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/373302/dev16-stops-while-writing-code.html ``` Event Time (UTC): 11/1/2018 4:21:59 PM Event ID: 1025 Data: Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.Filter(IList`1 items, IEnumerable`1 parameterNames, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.CreateSignatureHelpItems(IList`1 items, TextSpan applicableSpan, SignatureHelpState state, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.CSharp.SignatureHelp.InvocationExpressionSignatureHelpProvider.d__5.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.d__14.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__9.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__9 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() MethodBuilder`1[[System.ValueTuple`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__9 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",True,"System.ArgumentOutOfRangeException: Index was out of range - In 16.0.Preview1 The app just closes unexpectendly when writing code. What do I need to share to diagnose the problem? _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/373302/dev16-stops-while-writing-code.html ``` Event Time (UTC): 11/1/2018 4:21:59 PM Event ID: 1025 Data: Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.Filter(IList`1 items, IEnumerable`1 parameterNames, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.CreateSignatureHelpItems(IList`1 items, TextSpan applicableSpan, SignatureHelpState state, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.CSharp.SignatureHelp.InvocationExpressionSignatureHelpProvider.d__5.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.d__14.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__9.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__9 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() MethodBuilder`1[[System.ValueTuple`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__9 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",1,system argumentoutofrangeexception index was out of range in the app just closes unexpectendly when writing code what do i need to share to diagnose the problem this issue has been moved from event time utc pm event id data application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentoutofrangeexception index was out of range must be non negative and less than the size of the collection parameter name index at system throwhelper throwargumentoutofrangeexception exceptionargument argument exceptionresource resource at system collections generic list get item index at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider filter ilist items ienumerable parameternames nullable selecteditem at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider createsignaturehelpitems ilist items textspan applicablespan signaturehelpstate state nullable selecteditem at microsoft codeanalysis csharp signaturehelp invocationexpressionsignaturehelpprovider d movenext 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 validateend task task at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider d movenext 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 microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices asynctaskmethodbuilder system valuetuple version culture neutral publickeytoken start d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computeitemsasync system collections immutable immutablearray microsoft visualstudio text snapshotpoint microsoft codeanalysis signaturehelp signaturehelptriggerinfo microsoft codeanalysis document system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computemodelinbackgroundasync microsoft codeanalysis editor implementation intellisense signaturehelp model system collections immutable immutablearray microsoft visualstudio text snapshotpoint microsoft codeanalysis editor implementation intellisense disconnectedbuffergraph microsoft codeanalysis signaturehelp signaturehelptriggerinfo system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session c b microsoft codeanalysis editor implementation intellisense signaturehelp model system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense modelcomputation c b system threading tasks task at roslyn utilities taskextensions c b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback methodbuilder system valuetuple version culture neutral publickeytoken start d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computeitemsasync system collections immutable immutablearray microsoft visualstudio text snapshotpoint microsoft codeanalysis signaturehelp signaturehelptriggerinfo microsoft codeanalysis document system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computemodelinbackgroundasync microsoft codeanalysis editor implementation intellisense signaturehelp model system collections immutable immutablearray microsoft visualstudio text snapshotpoint microsoft codeanalysis editor implementation intellisense disconnectedbuffergraph microsoft codeanalysis signaturehelp signaturehelptriggerinfo system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session c b microsoft codeanalysis editor implementation intellisense signaturehelp model system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense modelcomputation c b system threading tasks task at roslyn utilities taskextensions c b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback ,1 742,10265179294.0,IssuesEvent,2019-08-22 18:12:34,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS Deadlock in FileChangeService when applying code fix that updates solution level editorconfig,Area-IDE Bug Tenet-Reliability,"**Version Used**: 16.3.0 Preview 3.0 [29220.192.master] or later build. I updated my build just today morning **Steps to Reproduce**: 1. `git clone https://github.com/dotnet/roslyn-analyzers.git`, restore and open RoslynAnalyzers.sln 2. Open [IMethodSymbolExtensions.cs](https://github.com/dotnet/roslyn-analyzers/blob/master/src/Utilities/Compiler/Extensions/IMethodSymbolExtensions.cs) 3. There should be unnecessary using directive, otherwise add one at top of the file 4. Invoke Ctrl + . and apply the Configure Severity for IDE0005 code fix (choose any severity) ![image](https://user-images.githubusercontent.com/10605811/63527598-414a6f80-c4b6-11e9-8fac-5f45526c9e9c.png) **Expected Behavior**: Code fix is applied and .editorconfig file in solution directory gets updated **Actual Behavior**: VS deadlocks (NOTE: Once in a while I also see the crash during code fix application noted in https://github.com/dotnet/roslyn/issues/23973) **Dump:** `\\<%internal_mlang_share%>\public\mavasani\VSDeadlockOnCodeFix\VsDeadlockOnCodeFixApplication.dmp` **Callstack of Main thread on deadlock:** ``` Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.NoMessagePumpSyncContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown mscorlib.dll!System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext syncContext, System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown [Native to Managed Transition] [Managed to Native Transition] > mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) Unknown mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout) Unknown mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.Wait(System.TimeSpan timeout) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronouslyCore(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronously(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run(System.Func> asyncMethod, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.RunWithTracing(Microsoft.VisualStudio.Services.FileChangeService.CompletionTracer tracer, System.Func> func) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.RunWithTracing(Microsoft.VisualStudio.Services.FileChangeService.CompletionTracer tracer, System.Func func) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.SyncFile(string filename) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEx.SyncFile(string filename) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.SuspendFileChangeNotification(string pszFilename, int fSuspend) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.BaseSave(string pszFilename, int fRemember) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.Save(string pszFilename, int fRemember, uint nFormatIndex) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.Save(string pszFileName, int fRemember) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.SaveDocData(Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS dwSave, out string pbstrMkDocumentNew, out int pfSaveCanceled) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.SaveItem.AnonymousMethod__0(Microsoft.Internal.VisualStudio.Shell.TelemetryActivity _) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.HrMutate.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.ExecuteJob(System.Func asyncMethod, Microsoft.VisualStudio.Threading.JoinableTask job) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.RunAsync(System.Func> asyncMethod, bool synchronouslyBlocking, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run(System.Func> asyncMethod, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown Microsoft.VisualStudio.ProjectSystem.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.ProjectMultiThreadedService.ExecuteSynchronously(System.Func> asyncAction) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.HrInvoke.AnonymousMethod__0() Unknown Microsoft.VisualStudio.ProjectSystem.VS.dll!Microsoft.VisualStudio.ProjectSystem.VS.HResult.Invoke(System.Func action, System.IServiceProvider vsShellServiceProvider, Microsoft.VisualStudio.ProjectSystem.IProjectFaultHandlerService projectFaultHandlerService, Microsoft.VisualStudio.ProjectSystem.UnconfiguredProject project) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.HrInvoke(System.Func> asyncAction, bool registerProjectFaultHandlerService) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.HrMutate(System.Func> asyncAction, bool includesFileSystemChange, bool registerProjectFaultHandlerService, string telemetryActivity) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.SaveItem(Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS saveFlag, string silentSaveAsName, uint itemid, System.IntPtr docData, out int cancelledParam) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNodeWrapper.SaveItem(Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS dwSave, string pszSilentSaveAsName, uint itemid, System.IntPtr punkDocData, out int pfCanceled) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.InvisibleEditor.Dispose() Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.ApplyTextDocumentChange(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.ApplyDocumentTextChanged(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ApplyChangedDocument(Microsoft.CodeAnalysis.ProjectChanges projectChanges, Microsoft.CodeAnalysis.DocumentId documentId) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ApplyProjectChanges(Microsoft.CodeAnalysis.ProjectChanges projectChanges) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.TryApplyChanges(Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.TryApplyChanges(Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.CodeActions.ApplyChangesOperation.TryApply(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.ProcessOperations(Microsoft.CodeAnalysis.Workspace workspace, System.Collections.Immutable.ImmutableArray operations, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.Apply(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Document fromDocument, System.Collections.Immutable.ImmutableArray operations, string title, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeWorker(System.Func getFromDocument, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeCore.AnonymousMethod__0() Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformAction(Microsoft.CodeAnalysis.Extensions.IExtensionManager extensionManager, object extension, System.Action action) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeCore(System.Func getFromDocument, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InnerInvoke(Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.Invoke.AnonymousMethod__0(Microsoft.CodeAnalysis.Editor.Host.IWaitContext waitContext) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.VisualStudioWaitIndicator.Wait(string title, string message, bool allowCancel, bool showProgress, System.Action action) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.Invoke(System.Threading.CancellationToken cancellationToken) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbSession.InvokeAction.AnonymousMethod__0(Microsoft.VisualStudio.Language.Intellisense.Utilities.IWaitContext c) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VisualStudioWaitIndicator.Wait(string title, string message, bool allowCancel, System.Action action) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbSession.InvokeAction(string categoryName, Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction action, int menuIndex) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulb.GetMenuItemForAction.AnonymousMethod__3() Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown ```",True,"VS Deadlock in FileChangeService when applying code fix that updates solution level editorconfig - **Version Used**: 16.3.0 Preview 3.0 [29220.192.master] or later build. I updated my build just today morning **Steps to Reproduce**: 1. `git clone https://github.com/dotnet/roslyn-analyzers.git`, restore and open RoslynAnalyzers.sln 2. Open [IMethodSymbolExtensions.cs](https://github.com/dotnet/roslyn-analyzers/blob/master/src/Utilities/Compiler/Extensions/IMethodSymbolExtensions.cs) 3. There should be unnecessary using directive, otherwise add one at top of the file 4. Invoke Ctrl + . and apply the Configure Severity for IDE0005 code fix (choose any severity) ![image](https://user-images.githubusercontent.com/10605811/63527598-414a6f80-c4b6-11e9-8fac-5f45526c9e9c.png) **Expected Behavior**: Code fix is applied and .editorconfig file in solution directory gets updated **Actual Behavior**: VS deadlocks (NOTE: Once in a while I also see the crash during code fix application noted in https://github.com/dotnet/roslyn/issues/23973) **Dump:** `\\<%internal_mlang_share%>\public\mavasani\VSDeadlockOnCodeFix\VsDeadlockOnCodeFixApplication.dmp` **Callstack of Main thread on deadlock:** ``` Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.NoMessagePumpSyncContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown mscorlib.dll!System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext syncContext, System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown [Native to Managed Transition] [Managed to Native Transition] > mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) Unknown mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout) Unknown mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Threading.Tasks.Task.Wait(System.TimeSpan timeout) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronouslyCore(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronously(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run(System.Func> asyncMethod, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.RunWithTracing(Microsoft.VisualStudio.Services.FileChangeService.CompletionTracer tracer, System.Func> func) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.RunWithTracing(Microsoft.VisualStudio.Services.FileChangeService.CompletionTracer tracer, System.Func func) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.SyncFile(string filename) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.FileChangeService.Microsoft.VisualStudio.Shell.Interop.IVsFileChangeEx.SyncFile(string filename) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.SuspendFileChangeNotification(string pszFilename, int fSuspend) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.BaseSave(string pszFilename, int fRemember) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.Save(string pszFilename, int fRemember, uint nFormatIndex) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.Save(string pszFileName, int fRemember) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.TextDocData.SaveDocData(Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS dwSave, out string pbstrMkDocumentNew, out int pfSaveCanceled) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.SaveItem.AnonymousMethod__0(Microsoft.Internal.VisualStudio.Shell.TelemetryActivity _) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.HrMutate.AnonymousMethod__0() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.ExecuteJob(System.Func asyncMethod, Microsoft.VisualStudio.Threading.JoinableTask job) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.RunAsync(System.Func> asyncMethod, bool synchronouslyBlocking, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run(System.Func> asyncMethod, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown Microsoft.VisualStudio.ProjectSystem.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.ProjectMultiThreadedService.ExecuteSynchronously(System.Func> asyncAction) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.HrInvoke.AnonymousMethod__0() Unknown Microsoft.VisualStudio.ProjectSystem.VS.dll!Microsoft.VisualStudio.ProjectSystem.VS.HResult.Invoke(System.Func action, System.IServiceProvider vsShellServiceProvider, Microsoft.VisualStudio.ProjectSystem.IProjectFaultHandlerService projectFaultHandlerService, Microsoft.VisualStudio.ProjectSystem.UnconfiguredProject project) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.HrInvoke(System.Func> asyncAction, bool registerProjectFaultHandlerService) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.HrMutate(System.Func> asyncAction, bool includesFileSystemChange, bool registerProjectFaultHandlerService, string telemetryActivity) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.SaveItem(Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS saveFlag, string silentSaveAsName, uint itemid, System.IntPtr docData, out int cancelledParam) Unknown Microsoft.VisualStudio.ProjectSystem.VS.Implementation.dll!Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNodeWrapper.SaveItem(Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS dwSave, string pszSilentSaveAsName, uint itemid, System.IntPtr punkDocData, out int pfCanceled) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.InvisibleEditor.Dispose() Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.ApplyTextDocumentChange(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.ApplyDocumentTextChanged(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ApplyChangedDocument(Microsoft.CodeAnalysis.ProjectChanges projectChanges, Microsoft.CodeAnalysis.DocumentId documentId) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ApplyProjectChanges(Microsoft.CodeAnalysis.ProjectChanges projectChanges) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.TryApplyChanges(Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.TryApplyChanges(Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.CodeActions.ApplyChangesOperation.TryApply(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.ProcessOperations(Microsoft.CodeAnalysis.Workspace workspace, System.Collections.Immutable.ImmutableArray operations, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.Apply(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Document fromDocument, System.Collections.Immutable.ImmutableArray operations, string title, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeWorker(System.Func getFromDocument, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeCore.AnonymousMethod__0() Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformAction(Microsoft.CodeAnalysis.Extensions.IExtensionManager extensionManager, object extension, System.Action action) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeCore(System.Func getFromDocument, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InnerInvoke(Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.Invoke.AnonymousMethod__0(Microsoft.CodeAnalysis.Editor.Host.IWaitContext waitContext) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.VisualStudioWaitIndicator.Wait(string title, string message, bool allowCancel, bool showProgress, System.Action action) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.Invoke(System.Threading.CancellationToken cancellationToken) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbSession.InvokeAction.AnonymousMethod__0(Microsoft.VisualStudio.Language.Intellisense.Utilities.IWaitContext c) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VisualStudioWaitIndicator.Wait(string title, string message, bool allowCancel, System.Action action) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbSession.InvokeAction(string categoryName, Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction action, int menuIndex) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulb.GetMenuItemForAction.AnonymousMethod__3() Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown ```",1,vs deadlock in filechangeservice when applying code fix that updates solution level editorconfig version used preview or later build i updated my build just today morning steps to reproduce git clone restore and open roslynanalyzers sln open there should be unnecessary using directive otherwise add one at top of the file invoke ctrl and apply the configure severity for code fix choose any severity expected behavior code fix is applied and editorconfig file in solution directory gets updated actual behavior vs deadlocks note once in a while i also see the crash during code fix application noted in dump public mavasani vsdeadlockoncodefix vsdeadlockoncodefixapplication dmp callstack of main thread on deadlock microsoft visualstudio threading dll microsoft visualstudio threading nomessagepumpsynccontext wait system intptr waithandles bool waitall int millisecondstimeout unknown mscorlib dll system threading synchronizationcontext invokewaitmethodhelper system threading synchronizationcontext synccontext system intptr waithandles bool waitall int millisecondstimeout unknown mscorlib dll system threading monitor wait object obj int millisecondstimeout bool exitcontext unknown mscorlib dll system threading monitor wait object obj int millisecondstimeout unknown mscorlib dll system threading manualreseteventslim wait int millisecondstimeout system threading cancellationtoken cancellationtoken unknown mscorlib dll system threading tasks task spinthenblockingwait int millisecondstimeout system threading cancellationtoken cancellationtoken unknown mscorlib dll system threading tasks task internalwait int millisecondstimeout system threading cancellationtoken cancellationtoken unknown mscorlib dll system threading tasks task wait int millisecondstimeout system threading cancellationtoken cancellationtoken unknown mscorlib dll system threading tasks task wait system timespan timeout unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory waitsynchronouslycore system threading tasks task task unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory waitsynchronously system threading tasks task task unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletask completeoncurrentthread unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletask completeoncurrentthread unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory run system func asyncmethod microsoft visualstudio threading joinabletaskcreationoptions creationoptions unknown microsoft visualstudio shell ui internal dll microsoft visualstudio services filechangeservice runwithtracing microsoft visualstudio services filechangeservice completiontracer tracer system func func unknown microsoft visualstudio shell ui internal dll microsoft visualstudio services filechangeservice runwithtracing microsoft visualstudio services filechangeservice completiontracer tracer system func func unknown microsoft visualstudio shell ui internal dll microsoft visualstudio services filechangeservice syncfile string filename unknown microsoft visualstudio shell ui internal dll microsoft visualstudio services filechangeservice microsoft visualstudio shell interop ivsfilechangeex syncfile string filename unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation textdocdata suspendfilechangenotification string pszfilename int fsuspend unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation textdocdata basesave string pszfilename int fremember unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation textdocdata save string pszfilename int fremember uint nformatindex unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation textdocdata save string pszfilename int fremember unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation textdocdata savedocdata microsoft visualstudio shell interop vssaveflags dwsave out string pbstrmkdocumentnew out int pfsavecanceled unknown microsoft visualstudio projectsystem vs implementation dll microsoft visualstudio projectsystem vs implementation package projectnode saveitem anonymousmethod microsoft internal visualstudio shell telemetryactivity unknown microsoft visualstudio projectsystem vs implementation dll microsoft visualstudio projectsystem vs implementation package projectnode hrmutate anonymousmethod unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory executejob system func asyncmethod microsoft visualstudio threading joinabletask job unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory runasync system func asyncmethod bool synchronouslyblocking microsoft visualstudio threading joinabletaskcreationoptions creationoptions unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory run system func asyncmethod microsoft visualstudio threading joinabletaskcreationoptions creationoptions unknown microsoft visualstudio projectsystem implementation dll microsoft visualstudio projectsystem projectmultithreadedservice executesynchronously system func asyncaction unknown microsoft visualstudio projectsystem vs implementation dll microsoft visualstudio projectsystem vs implementation package projectnode hrinvoke anonymousmethod unknown microsoft visualstudio projectsystem vs dll microsoft visualstudio projectsystem vs hresult invoke system func action system iserviceprovider vsshellserviceprovider microsoft visualstudio projectsystem iprojectfaulthandlerservice projectfaulthandlerservice microsoft visualstudio projectsystem unconfiguredproject project unknown microsoft visualstudio projectsystem vs implementation dll microsoft visualstudio projectsystem vs implementation package projectnode hrinvoke system func asyncaction bool registerprojectfaulthandlerservice unknown microsoft visualstudio projectsystem vs implementation dll microsoft visualstudio projectsystem vs implementation package projectnode hrmutate system func asyncaction bool includesfilesystemchange bool registerprojectfaulthandlerservice string telemetryactivity unknown microsoft visualstudio projectsystem vs implementation dll microsoft visualstudio projectsystem vs implementation package projectnode saveitem microsoft visualstudio shell interop vssaveflags saveflag string silentsaveasname uint itemid system intptr docdata out int cancelledparam unknown microsoft visualstudio projectsystem vs implementation dll microsoft visualstudio projectsystem vs implementation package projectnodewrapper saveitem microsoft visualstudio shell interop vssaveflags dwsave string pszsilentsaveasname uint itemid system intptr punkdocdata out int pfcanceled unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem invisibleeditor dispose unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl applytextdocumentchange microsoft codeanalysis documentid documentid microsoft codeanalysis text sourcetext newtext unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl applydocumenttextchanged microsoft codeanalysis documentid documentid microsoft codeanalysis text sourcetext newtext unknown microsoft codeanalysis workspaces dll microsoft codeanalysis workspace applychangeddocument microsoft codeanalysis projectchanges projectchanges microsoft codeanalysis documentid documentid unknown microsoft codeanalysis workspaces dll microsoft codeanalysis workspace applyprojectchanges microsoft codeanalysis projectchanges projectchanges unknown microsoft codeanalysis workspaces dll microsoft codeanalysis workspace tryapplychanges microsoft codeanalysis solution newsolution microsoft codeanalysis shared utilities iprogresstracker progresstracker unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl tryapplychanges microsoft codeanalysis solution newsolution microsoft codeanalysis shared utilities iprogresstracker progresstracker unknown microsoft codeanalysis workspaces dll microsoft codeanalysis codeactions applychangesoperation tryapply microsoft codeanalysis workspace workspace microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation codeactions codeactionedithandlerservice processoperations microsoft codeanalysis workspace workspace system collections immutable immutablearray operations microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation codeactions codeactionedithandlerservice apply microsoft codeanalysis workspace workspace microsoft codeanalysis document fromdocument system collections immutable immutablearray operations string title microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures wpf dll microsoft codeanalysis editor implementation suggestions suggestedaction invokeworker system func getfromdocument microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures wpf dll microsoft codeanalysis editor implementation suggestions suggestedaction invokecore anonymousmethod unknown microsoft codeanalysis workspaces dll microsoft codeanalysis extensions iextensionmanagerextensions performaction microsoft codeanalysis extensions iextensionmanager extensionmanager object extension system action action unknown microsoft codeanalysis editorfeatures wpf dll microsoft codeanalysis editor implementation suggestions suggestedaction invokecore system func getfromdocument microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures wpf dll microsoft codeanalysis editor implementation suggestions suggestedaction innerinvoke microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures wpf dll microsoft codeanalysis editor implementation suggestions suggestedaction invoke anonymousmethod microsoft codeanalysis editor host iwaitcontext waitcontext unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation utilities visualstudiowaitindicator wait string title string message bool allowcancel bool showprogress system action action unknown microsoft codeanalysis editorfeatures wpf dll microsoft codeanalysis editor implementation suggestions suggestedaction invoke system threading cancellationtoken cancellationtoken unknown microsoft visualstudio platform vseditor dll microsoft visualstudio language intellisense implementation lightbulbsession invokeaction anonymousmethod microsoft visualstudio language intellisense utilities iwaitcontext c unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation visualstudiowaitindicator wait string title string message bool allowcancel system action action unknown microsoft visualstudio platform vseditor dll microsoft visualstudio language intellisense implementation lightbulbsession invokeaction string categoryname microsoft visualstudio language intellisense isuggestedaction action int menuindex unknown microsoft visualstudio platform vseditor dll microsoft visualstudio language intellisense implementation lightbulb getmenuitemforaction anonymousmethod unknown windowsbase dll system windows threading exceptionwrapper internalrealcall system delegate callback object args int numargs unknown windowsbase dll system windows threading exceptionwrapper trycatchwhen object source system delegate callback object args int numargs system delegate catchhandler unknown windowsbase dll system windows threading dispatcheroperation invokeimpl unknown windowsbase dll system windows threading dispatcheroperation invokeinsecuritycontext object state unknown windowsbase dll ms internal culturepreservingexecutioncontext callbackwrapper object obj unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state unknown windowsbase dll ms internal culturepreservingexecutioncontext run ms internal culturepreservingexecutioncontext executioncontext system threading contextcallback callback object state unknown windowsbase dll system windows threading dispatcheroperation invoke unknown windowsbase dll system windows threading dispatcher processqueue unknown windowsbase dll system windows threading dispatcher wndprochook system intptr hwnd int msg system intptr wparam system intptr lparam ref bool handled unknown windowsbase dll ms hwndwrapper wndproc system intptr hwnd int msg system intptr wparam system intptr lparam ref bool handled unknown windowsbase dll ms hwndsubclass dispatchercallbackoperation object o unknown windowsbase dll system windows threading exceptionwrapper internalrealcall system delegate callback object args int numargs unknown windowsbase dll system windows threading exceptionwrapper trycatchwhen object source system delegate callback object args int numargs system delegate catchhandler unknown windowsbase dll system windows threading dispatcher legacyinvokeimpl system windows threading dispatcherpriority priority system timespan timeout system delegate method object args int numargs unknown windowsbase dll ms hwndsubclass subclasswndproc system intptr hwnd int msg system intptr wparam system intptr lparam unknown ,1 2942,30476993949.0,IssuesEvent,2023-07-17 17:15:48,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Issue in analyzer callbacks for nested actions in symbol start analyzers,Bug Area-Analyzers Tenet-Reliability untriaged,"Issue found by the unit test skipped in https://github.com/dotnet/roslyn/pull/68385/commits/2e0f6b90a568b1e0033f9ed785ff22c8a8fe96af. Core issue is as follows: 1. Create a symbol start analyzer that registers nested operation actions for code within named types 2. Register symbol end action for the outer type, but not for the nested type 3. Race condition: Symbol end action callback for the outer type gets invoked before the nested operation callback for executable code within the nested type. Note that the above does not repro if the analyzer registers a symbol end action also for the nested type.",True,"Issue in analyzer callbacks for nested actions in symbol start analyzers - Issue found by the unit test skipped in https://github.com/dotnet/roslyn/pull/68385/commits/2e0f6b90a568b1e0033f9ed785ff22c8a8fe96af. Core issue is as follows: 1. Create a symbol start analyzer that registers nested operation actions for code within named types 2. Register symbol end action for the outer type, but not for the nested type 3. Race condition: Symbol end action callback for the outer type gets invoked before the nested operation callback for executable code within the nested type. Note that the above does not repro if the analyzer registers a symbol end action also for the nested type.",1,issue in analyzer callbacks for nested actions in symbol start analyzers issue found by the unit test skipped in core issue is as follows create a symbol start analyzer that registers nested operation actions for code within named types register symbol end action for the outer type but not for the nested type race condition symbol end action callback for the outer type gets invoked before the nested operation callback for executable code within the nested type note that the above does not repro if the analyzer registers a symbol end action also for the nested type ,1 208,5375346614.0,IssuesEvent,2017-02-23 04:16:58,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Killing ServiceHub.Host.Node.x86.exe crashes Visual Studio RC.3,Area-Analyzers Tenet-Reliability,"**Version Used**: ![image](https://cloud.githubusercontent.com/assets/1249087/22486977/6f639d9a-e7c0-11e6-8ee8-14f7f5303ac8.png) **Steps to Reproduce**: 1. Open Visual Studio 2. Kill `ServiceHub.Host.Node.x86.exe` from Task Manager 3. Visual Studio Crashes Dump available at: `\\vspfs3\Public\jovarty\dumps\devenv_crash_on_ServiceHub_killed.dmp` Stack Trace: ``` > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception, System.Action handler) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.RemoteHostClientService.OnConnectionChanged(object sender, bool connected) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Remote.RemoteHostClient.OnConnectionChanged(bool connected) Unknown Microsoft.VisualStudio.LanguageServices.Next.dll!Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.OnRpcDisconnected(object sender, StreamJsonRpc.JsonRpcDisconnectedEventArgs e) Unknown StreamJsonRpc.dll!StreamJsonRpc.JsonRpc.OnJsonRpcDisconnected(StreamJsonRpc.JsonRpcDisconnectedEventArgs eventArgs) Unknown StreamJsonRpc.dll!StreamJsonRpc.JsonRpc.ReadAndHandleRequestsAsync() Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.__Canon result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(string result) Unknown StreamJsonRpc.dll!StreamJsonRpc.DelimitedMessageHandler.ReadAsync(System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.__Canon result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(string result) Unknown StreamJsonRpc.dll!StreamJsonRpc.HeaderDelimitedMessageHandler.ReadCoreAsync(System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.VoidTaskResult result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.Task completedTask) Unknown StreamJsonRpc.dll!StreamJsonRpc.ReadBufferingStream.FillBufferAsync(System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(int result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(int result) Unknown Microsoft.ServiceHub.Client.dll!Microsoft.ServiceHub.Utility.WrappedStream.ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(int result) Unknown mscorlib.dll!System.Threading.Tasks.TaskFactory.FromAsyncTrimPromise.Complete(System.IO.Stream thisRef, System.Func endMethod, System.IAsyncResult asyncResult, bool requiresSynchronization) Unknown mscorlib.dll!System.Threading.Tasks.TaskFactory.FromAsyncTrimPromise.CompleteFromAsyncResult(System.IAsyncResult asyncResult) Unknown System.Core.dll!System.IO.Pipes.PipeStream.AsyncPSCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pOverlapped) Unknown mscorlib.dll!System.Threading._IOCompletionCallback.PerformIOCompletionCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pOVERLAP) Unknown ```",True,"Killing ServiceHub.Host.Node.x86.exe crashes Visual Studio RC.3 - **Version Used**: ![image](https://cloud.githubusercontent.com/assets/1249087/22486977/6f639d9a-e7c0-11e6-8ee8-14f7f5303ac8.png) **Steps to Reproduce**: 1. Open Visual Studio 2. Kill `ServiceHub.Host.Node.x86.exe` from Task Manager 3. Visual Studio Crashes Dump available at: `\\vspfs3\Public\jovarty\dumps\devenv_crash_on_ServiceHub_killed.dmp` Stack Trace: ``` > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception, System.Action handler) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.RemoteHostClientService.OnConnectionChanged(object sender, bool connected) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Remote.RemoteHostClient.OnConnectionChanged(bool connected) Unknown Microsoft.VisualStudio.LanguageServices.Next.dll!Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.OnRpcDisconnected(object sender, StreamJsonRpc.JsonRpcDisconnectedEventArgs e) Unknown StreamJsonRpc.dll!StreamJsonRpc.JsonRpc.OnJsonRpcDisconnected(StreamJsonRpc.JsonRpcDisconnectedEventArgs eventArgs) Unknown StreamJsonRpc.dll!StreamJsonRpc.JsonRpc.ReadAndHandleRequestsAsync() Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.__Canon result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(string result) Unknown StreamJsonRpc.dll!StreamJsonRpc.DelimitedMessageHandler.ReadAsync(System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.__Canon result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(string result) Unknown StreamJsonRpc.dll!StreamJsonRpc.HeaderDelimitedMessageHandler.ReadCoreAsync(System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.VoidTaskResult result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.Task completedTask) Unknown StreamJsonRpc.dll!StreamJsonRpc.ReadBufferingStream.FillBufferAsync(System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(int result) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(int result) Unknown Microsoft.ServiceHub.Client.dll!Microsoft.ServiceHub.Utility.WrappedStream.ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() Unknown mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(int result) Unknown mscorlib.dll!System.Threading.Tasks.TaskFactory.FromAsyncTrimPromise.Complete(System.IO.Stream thisRef, System.Func endMethod, System.IAsyncResult asyncResult, bool requiresSynchronization) Unknown mscorlib.dll!System.Threading.Tasks.TaskFactory.FromAsyncTrimPromise.CompleteFromAsyncResult(System.IAsyncResult asyncResult) Unknown System.Core.dll!System.IO.Pipes.PipeStream.AsyncPSCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pOverlapped) Unknown mscorlib.dll!System.Threading._IOCompletionCallback.PerformIOCompletionCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pOVERLAP) Unknown ```",1,killing servicehub host node exe crashes visual studio rc version used steps to reproduce open visual studio kill servicehub host node exe from task manager visual studio crashes dump available at public jovarty dumps devenv crash on servicehub killed dmp stack trace microsoft codeanalysis workspaces dll microsoft codeanalysis errorreporting fatalerror report system exception exception system action handler unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices remote remotehostclientservicefactory remotehostclientservice onconnectionchanged object sender bool connected unknown microsoft codeanalysis workspaces dll microsoft codeanalysis remote remotehostclient onconnectionchanged bool connected unknown microsoft visualstudio languageservices next dll microsoft visualstudio languageservices remote servicehubremotehostclient onrpcdisconnected object sender streamjsonrpc jsonrpcdisconnectedeventargs e unknown streamjsonrpc dll streamjsonrpc jsonrpc onjsonrpcdisconnected streamjsonrpc jsonrpcdisconnectedeventargs eventargs unknown streamjsonrpc dll streamjsonrpc jsonrpc readandhandlerequestsasync unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext object statemachine unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner run unknown mscorlib dll system threading tasks awaittaskcontinuation runorscheduleaction system action action bool allowinlining ref system threading tasks task currenttask unknown mscorlib dll system threading tasks task finishcontinuations unknown mscorlib dll system threading tasks task finishstagethree unknown mscorlib dll system threading tasks task trysetresult system canon result unknown mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult string result unknown streamjsonrpc dll streamjsonrpc delimitedmessagehandler readasync system threading cancellationtoken cancellationtoken unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext object statemachine unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner run unknown mscorlib dll system threading tasks awaittaskcontinuation runorscheduleaction system action action bool allowinlining ref system threading tasks task currenttask unknown mscorlib dll system threading tasks task finishcontinuations unknown mscorlib dll system threading tasks task finishstagethree unknown mscorlib dll system threading tasks task trysetresult system canon result unknown mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult string result unknown streamjsonrpc dll streamjsonrpc headerdelimitedmessagehandler readcoreasync system threading cancellationtoken cancellationtoken unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext object statemachine unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner run unknown mscorlib dll system threading tasks awaittaskcontinuation runorscheduleaction system action action bool allowinlining ref system threading tasks task currenttask unknown mscorlib dll system threading tasks task finishcontinuations unknown mscorlib dll system threading tasks task finishstagethree unknown mscorlib dll system threading tasks task trysetresult system threading tasks voidtaskresult result unknown mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult result unknown mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks task completedtask unknown streamjsonrpc dll streamjsonrpc readbufferingstream fillbufferasync system threading cancellationtoken cancellationtoken unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext object statemachine unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner run unknown mscorlib dll system threading tasks awaittaskcontinuation runorscheduleaction system action action bool allowinlining ref system threading tasks task currenttask unknown mscorlib dll system threading tasks task finishcontinuations unknown mscorlib dll system threading tasks task finishstagethree unknown mscorlib dll system threading tasks task trysetresult int result unknown mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult int result unknown microsoft servicehub client dll microsoft servicehub utility wrappedstream readasync byte buffer int offset int count system threading cancellationtoken cancellationtoken unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext object statemachine unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner run unknown mscorlib dll system threading tasks awaittaskcontinuation runorscheduleaction system action action bool allowinlining ref system threading tasks task currenttask unknown mscorlib dll system threading tasks task finishcontinuations unknown mscorlib dll system threading tasks task finishstagethree unknown mscorlib dll system threading tasks task trysetresult int result unknown mscorlib dll system threading tasks taskfactory fromasynctrimpromise complete system io stream thisref system func endmethod system iasyncresult asyncresult bool requiressynchronization unknown mscorlib dll system threading tasks taskfactory fromasynctrimpromise completefromasyncresult system iasyncresult asyncresult unknown system core dll system io pipes pipestream asyncpscallback uint errorcode uint numbytes system threading nativeoverlapped poverlapped unknown mscorlib dll system threading iocompletioncallback performiocompletioncallback uint errorcode uint numbytes system threading nativeoverlapped poverlap unknown ,1 978,11943285458.0,IssuesEvent,2020-04-02 22:52:12,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Object synchronization method was called from an unsynchronized block,Area-Compilers Bug Tenet-Reliability,"I hit this exception building on macOS high sierra using 2.2.401 SDK ``` usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error MSB3883: Unexpected exception: [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : System.AggregateException: One or more errors occurred. (Object synchronization method was called from an unsynchronized block of code.) ---> System.ApplicationException: Object synchronization method was called from an unsynchronized block of code. [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Mutex.ReleaseMutex() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.ServerNamedMutex.Dispose() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPathsAlt buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : --- End of inner exception stack trace --- [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : ---> (Inner Exception #0) System.ApplicationException: Object synchronization method was called from an unsynchronized block of code. [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Mutex.ReleaseMutex() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.ServerNamedMutex.Dispose() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPathsAlt buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken)<--- [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error MSB3883: Unexpected exception: [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : System.AggregateException: One or more errors occurred. (Object synchronization method was called from an unsynchronized block of code.) ---> System.ApplicationException: Object synchronization method was called from an unsynchronized block of code. [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Mutex.ReleaseMutex() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.ServerNamedMutex.Dispose() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPathsAlt buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : --- End of inner exception stack trace --- [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : ---> (Inner Exception #0) System.ApplicationException: Object synchronization method was called from an unsynchronized block of code. [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Mutex.ReleaseMutex() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.ServerNamedMutex.Dispose() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPathsAlt buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken)<--- ``` So far I only get this once from our CI servers and I have not been able to manually reproduce it",True,"Object synchronization method was called from an unsynchronized block - I hit this exception building on macOS high sierra using 2.2.401 SDK ``` usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error MSB3883: Unexpected exception: [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : System.AggregateException: One or more errors occurred. (Object synchronization method was called from an unsynchronized block of code.) ---> System.ApplicationException: Object synchronization method was called from an unsynchronized block of code. [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Mutex.ReleaseMutex() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.ServerNamedMutex.Dispose() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPathsAlt buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : --- End of inner exception stack trace --- [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : ---> (Inner Exception #0) System.ApplicationException: Object synchronization method was called from an unsynchronized block of code. [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Mutex.ReleaseMutex() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.ServerNamedMutex.Dispose() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPathsAlt buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken)<--- [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/location/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error MSB3883: Unexpected exception: [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : System.AggregateException: One or more errors occurred. (Object synchronization method was called from an unsynchronized block of code.) ---> System.ApplicationException: Object synchronization method was called from an unsynchronized block of code. [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Mutex.ReleaseMutex() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.ServerNamedMutex.Dispose() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPathsAlt buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : --- End of inner exception stack trace --- [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : ---> (Inner Exception #0) System.ApplicationException: Object synchronization method was called from an unsynchronized block of code. [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at System.Threading.Mutex.ReleaseMutex() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.ServerNamedMutex.Dispose() [/Users/vagrant/workspace/ice-dist/3.7/dist-utils/build/ice/builds/ice-clang-default/csharp/test/Ice/ami/msbuild/client/netstandard2.0/client.csproj] /usr/local/share/dotnet/sdk/2.2.401/Roslyn/Microsoft.CSharp.Core.targets(59,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildServerConnection.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPathsAlt buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken)<--- ``` So far I only get this once from our CI servers and I have not been able to manually reproduce it",1,object synchronization method was called from an unsynchronized block i hit this exception building on macos high sierra using sdk usr local share dotnet sdk roslyn microsoft csharp core targets error unexpected exception usr local share dotnet sdk roslyn microsoft csharp core targets error system aggregateexception one or more errors occurred object synchronization method was called from an unsynchronized block of code system applicationexception object synchronization method was called from an unsynchronized block of code usr local share dotnet sdk roslyn microsoft csharp core targets error at system threading mutex releasemutex usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis commandline servernamedmutex dispose usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis commandline buildserverconnection runservercompilationcore requestlanguage language list arguments buildpathsalt buildpaths string pipename string keepalive string libenvvariable nullable timeoutoverride func trycreateserverfunc cancellationtoken cancellationtoken usr local share dotnet sdk roslyn microsoft csharp core targets error end of inner exception stack trace usr local share dotnet sdk roslyn microsoft csharp core targets error at system threading tasks task wait millisecondstimeout cancellationtoken cancellationtoken usr local share dotnet sdk roslyn microsoft csharp core targets error at system threading tasks task wait cancellationtoken cancellationtoken usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis buildtasks managedcompiler executetool string pathtotool string responsefilecommands string commandlinecommands usr local share dotnet sdk roslyn microsoft csharp core targets error inner exception system applicationexception object synchronization method was called from an unsynchronized block of code usr local share dotnet sdk roslyn microsoft csharp core targets error at system threading mutex releasemutex usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis commandline servernamedmutex dispose usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis commandline buildserverconnection runservercompilationcore requestlanguage language list arguments buildpathsalt buildpaths string pipename string keepalive string libenvvariable nullable timeoutoverride func trycreateserverfunc cancellationtoken cancellationtoken usr local share dotnet sdk roslyn microsoft csharp core targets error unexpected exception usr local share dotnet sdk roslyn microsoft csharp core targets error system aggregateexception one or more errors occurred object synchronization method was called from an unsynchronized block of code system applicationexception object synchronization method was called from an unsynchronized block of code usr local share dotnet sdk roslyn microsoft csharp core targets error at system threading mutex releasemutex usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis commandline servernamedmutex dispose usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis commandline buildserverconnection runservercompilationcore requestlanguage language list arguments buildpathsalt buildpaths string pipename string keepalive string libenvvariable nullable timeoutoverride func trycreateserverfunc cancellationtoken cancellationtoken usr local share dotnet sdk roslyn microsoft csharp core targets error end of inner exception stack trace usr local share dotnet sdk roslyn microsoft csharp core targets error at system threading tasks task wait millisecondstimeout cancellationtoken cancellationtoken usr local share dotnet sdk roslyn microsoft csharp core targets error at system threading tasks task wait cancellationtoken cancellationtoken usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis buildtasks managedcompiler executetool string pathtotool string responsefilecommands string commandlinecommands usr local share dotnet sdk roslyn microsoft csharp core targets error inner exception system applicationexception object synchronization method was called from an unsynchronized block of code usr local share dotnet sdk roslyn microsoft csharp core targets error at system threading mutex releasemutex usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis commandline servernamedmutex dispose usr local share dotnet sdk roslyn microsoft csharp core targets error at microsoft codeanalysis commandline buildserverconnection runservercompilationcore requestlanguage language list arguments buildpathsalt buildpaths string pipename string keepalive string libenvvariable nullable timeoutoverride func trycreateserverfunc cancellationtoken cancellationtoken so far i only get this once from our ci servers and i have not been able to manually reproduce it,1 271,5938938888.0,IssuesEvent,2017-05-25 02:27:38,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,InvalidOperationException in StartPushingToWorkspaceAndNotifyOfOpenDocuments(),Area-IDE Bug Tenet-Reliability,"**Version Used**: VS2017RC.4 15.0.26206.0 - edit a csproj file in a solution with several projects (I added/removed a cs file) - VS will display a dialog box: click on ""reload solution"" I tried to repro it again but couldn't. Perhaps the stack trace is enough: The exception object (`System.InvalidOperationException: Unexpected false`) contains this stack trace: ``` at Roslyn.Utilities.Contract.Fail(String message) at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) at Microsoft.CodeAnalysis.Editor.Shared.Utilities.ForegroundThreadAffinitizedObject.AssertIsForeground() at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject.StartPushingToWorkspaceAndNotifyOfOpenDocuments() at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.AbstractProjectCodeModel.GetCodeModelCache() at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.AbstractProjectCodeModel.TryGetCachedFileCodeModel(String fileName, ComHandle`2& fileCodeModelHandle) at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelIncrementalAnalyzerProvider.Analyzer.FireEvents(DocumentId documentId, CancellationToken cancellationToken) at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelIncrementalAnalyzerProvider.Analyzer.AnalyzeSyntaxAsync(Document document, InvocationReasons reasons, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass30_0.b__0(IIncrementalAnalyzer a, Document d, CancellationToken c) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass31_1`1.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() ``` Stack trace: ``` > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception exception) Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception, System.Action handler) Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() mscorlib.dll!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task task) mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(System.Threading.Tasks.Task task) mscorlib.dll!System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__33`2>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.GetOrDefaultAsync(Microsoft.CodeAnalysis.Document value, System.Func> funcAsync, System.Threading.CancellationToken cancellationToken) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__31`1.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__31`1>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__31`1 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.RunAnalyzersAsync(System.Collections.Immutable.ImmutableArray analyzers, Microsoft.CodeAnalysis.Document value, System.Func runnerAsync, System.Threading.CancellationToken cancellationToken) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__30.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__30>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__30 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.ProcessDocumentAnalyzersAsync(Microsoft.CodeAnalysis.Document document, System.Collections.Immutable.ImmutableArray analyzers, Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.WorkItem workItem, System.Threading.CancellationToken cancellationToken) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__31.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__31>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__31 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.ProcessDocumentAsync(System.Collections.Immutable.ImmutableArray analyzers, Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.WorkItem workItem, System.Threading.CancellationTokenSource source) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__18.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__18>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__18 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.ExecuteAsync() Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.IdleProcessor.d__12.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.Task completedTask) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__18.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.Task completedTask) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.AbstractPriorityProcessor.d__12.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Threading.Tasks.Task.WhenAllPromise.Invoke(System.Threading.Tasks.Task completedTask) mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(object result) mscorlib.dll!System.Threading.Tasks.TaskCompletionSource.TrySetResult(object result) mscorlib.dll!System.Threading.Tasks.TaskCompletionSource.SetResult(object result) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.GlobalOperationAwareIdleProcessor.OnGlobalOperationStopped(object sender, Microsoft.CodeAnalysis.Notification.GlobalOperationEventArgs e) Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Notification.GlobalOperationNotificationService.<>c__DisplayClass10_1.b__1(System.EventHandler handler) Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.EventMap.Registry>.Invoke(System.Action> invoker) Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.EventMap.EventHandlerSet>.RaiseEvent(System.Action> invoker) Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Notification.GlobalOperationNotificationService.<>c__DisplayClass10_1.b__0() Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.<>c__DisplayClass15_0.b__1(System.Threading.Tasks.Task _) Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.<>c__DisplayClass3_0.b__0(System.Threading.Tasks.Task antecedent) Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.<>c__DisplayClass7_0`1.b__0(System.Threading.Tasks.Task t) mscorlib.dll!System.Threading.Tasks.ContinuationResultTaskFromTask.InnerInvoke() mscorlib.dll!System.Threading.Tasks.Task.Execute() mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() [Native to Managed Transition] ```",True,"InvalidOperationException in StartPushingToWorkspaceAndNotifyOfOpenDocuments() - **Version Used**: VS2017RC.4 15.0.26206.0 - edit a csproj file in a solution with several projects (I added/removed a cs file) - VS will display a dialog box: click on ""reload solution"" I tried to repro it again but couldn't. Perhaps the stack trace is enough: The exception object (`System.InvalidOperationException: Unexpected false`) contains this stack trace: ``` at Roslyn.Utilities.Contract.Fail(String message) at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) at Microsoft.CodeAnalysis.Editor.Shared.Utilities.ForegroundThreadAffinitizedObject.AssertIsForeground() at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject.StartPushingToWorkspaceAndNotifyOfOpenDocuments() at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.AbstractProjectCodeModel.GetCodeModelCache() at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.AbstractProjectCodeModel.TryGetCachedFileCodeModel(String fileName, ComHandle`2& fileCodeModelHandle) at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelIncrementalAnalyzerProvider.Analyzer.FireEvents(DocumentId documentId, CancellationToken cancellationToken) at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelIncrementalAnalyzerProvider.Analyzer.AnalyzeSyntaxAsync(Document document, InvocationReasons reasons, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass30_0.b__0(IIncrementalAnalyzer a, Document d, CancellationToken c) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass31_1`1.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() ``` Stack trace: ``` > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception exception) Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception, System.Action handler) Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() mscorlib.dll!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task task) mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(System.Threading.Tasks.Task task) mscorlib.dll!System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__33`2>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.GetOrDefaultAsync(Microsoft.CodeAnalysis.Document value, System.Func> funcAsync, System.Threading.CancellationToken cancellationToken) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__31`1.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__31`1>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__31`1 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.RunAnalyzersAsync(System.Collections.Immutable.ImmutableArray analyzers, Microsoft.CodeAnalysis.Document value, System.Func runnerAsync, System.Threading.CancellationToken cancellationToken) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__30.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__30>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__30 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.ProcessDocumentAnalyzersAsync(Microsoft.CodeAnalysis.Document document, System.Collections.Immutable.ImmutableArray analyzers, Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.WorkItem workItem, System.Threading.CancellationToken cancellationToken) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__31.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__31>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__31 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.ProcessDocumentAsync(System.Collections.Immutable.ImmutableArray analyzers, Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.WorkItem workItem, System.Threading.CancellationTokenSource source) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__18.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__18>(ref Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__18 stateMachine) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.ExecuteAsync() Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.IdleProcessor.d__12.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.Task completedTask) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.NormalPriorityProcessor.d__18.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult(System.Threading.Tasks.Task completedTask) mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.AbstractPriorityProcessor.d__12.MoveNext() mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() mscorlib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask) mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) mscorlib.dll!System.Threading.Tasks.Task.WhenAllPromise.Invoke(System.Threading.Tasks.Task completedTask) mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations() mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() mscorlib.dll!System.Threading.Tasks.Task.TrySetResult(object result) mscorlib.dll!System.Threading.Tasks.TaskCompletionSource.TrySetResult(object result) mscorlib.dll!System.Threading.Tasks.TaskCompletionSource.SetResult(object result) Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.GlobalOperationAwareIdleProcessor.OnGlobalOperationStopped(object sender, Microsoft.CodeAnalysis.Notification.GlobalOperationEventArgs e) Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Notification.GlobalOperationNotificationService.<>c__DisplayClass10_1.b__1(System.EventHandler handler) Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.EventMap.Registry>.Invoke(System.Action> invoker) Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.EventMap.EventHandlerSet>.RaiseEvent(System.Action> invoker) Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Notification.GlobalOperationNotificationService.<>c__DisplayClass10_1.b__0() Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.<>c__DisplayClass15_0.b__1(System.Threading.Tasks.Task _) Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.<>c__DisplayClass3_0.b__0(System.Threading.Tasks.Task antecedent) Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.<>c__DisplayClass7_0`1.b__0(System.Threading.Tasks.Task t) mscorlib.dll!System.Threading.Tasks.ContinuationResultTaskFromTask.InnerInvoke() mscorlib.dll!System.Threading.Tasks.Task.Execute() mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() [Native to Managed Transition] ```",1,invalidoperationexception in startpushingtoworkspaceandnotifyofopendocuments version used edit a csproj file in a solution with several projects i added removed a cs file vs will display a dialog box click on reload solution i tried to repro it again but couldn t perhaps the stack trace is enough the exception object system invalidoperationexception unexpected false contains this stack trace at roslyn utilities contract fail string message at roslyn utilities contract throwiffalse boolean condition string message at microsoft codeanalysis editor shared utilities foregroundthreadaffinitizedobject assertisforeground at microsoft visualstudio languageservices implementation projectsystem abstractproject startpushingtoworkspaceandnotifyofopendocuments at microsoft visualstudio languageservices implementation codemodel abstractprojectcodemodel getcodemodelcache at microsoft visualstudio languageservices implementation codemodel abstractprojectcodemodel trygetcachedfilecodemodel string filename comhandle filecodemodelhandle at microsoft visualstudio languageservices implementation codemodel codemodelincrementalanalyzerprovider analyzer fireevents documentid documentid cancellationtoken cancellationtoken at microsoft visualstudio languageservices implementation codemodel codemodelincrementalanalyzerprovider analyzer analyzesyntaxasync document document invocationreasons reasons cancellationtoken cancellationtoken at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b iincrementalanalyzer a document d cancellationtoken c at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at system runtime compilerservices taskawaiter validateend task task at system runtime compilerservices configuredtaskawaitable configuredtaskawaiter getresult at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext stack trace microsoft codeanalysis workspaces dll microsoft codeanalysis failfast onfatalexception system exception exception microsoft codeanalysis workspaces dll microsoft codeanalysis errorreporting fatalerror report system exception exception system action handler microsoft codeanalysis workspaces dll microsoft codeanalysis errorreporting fatalerror report system exception exception microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext mscorlib dll system runtime exceptionservices exceptiondispatchinfo throw mscorlib dll system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task task mscorlib dll system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task task mscorlib dll system runtime compilerservices taskawaiter validateend system threading tasks task task mscorlib dll system runtime compilerservices configuredtaskawaitable configuredtaskawaiter getresult microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext mscorlib dll system runtime compilerservices asynctaskmethodbuilder start d ref microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d statemachine microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor getordefaultasync microsoft codeanalysis document value system func funcasync system threading cancellationtoken cancellationtoken microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext mscorlib dll system runtime compilerservices asynctaskmethodbuilder start d ref microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d statemachine microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor runanalyzersasync system collections immutable immutablearray analyzers microsoft codeanalysis document value system func runnerasync system threading cancellationtoken cancellationtoken microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext mscorlib dll system runtime compilerservices asynctaskmethodbuilder start d ref microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d statemachine microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor processdocumentanalyzersasync microsoft codeanalysis document document system collections immutable immutablearray analyzers microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator workitem workitem system threading cancellationtoken cancellationtoken microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor d movenext mscorlib dll system runtime compilerservices asynctaskmethodbuilder start d ref microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor d statemachine microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor processdocumentasync system collections immutable immutablearray analyzers microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator workitem workitem system threading cancellationtokensource source microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor d movenext mscorlib dll system runtime compilerservices asynctaskmethodbuilder start d ref microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor d statemachine microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor executeasync microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler idleprocessor d movenext mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext object statemachine mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner run mscorlib dll system threading tasks awaittaskcontinuation runorscheduleaction system action action bool allowinlining ref system threading tasks task currenttask mscorlib dll system threading tasks task finishcontinuations mscorlib dll system threading tasks task finishstagethree mscorlib dll system threading tasks task trysetresult system threading tasks voidtaskresult result mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult result mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks task completedtask mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor normalpriorityprocessor d movenext mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext object statemachine mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner run mscorlib dll system threading tasks awaittaskcontinuation runorscheduleaction system action action bool allowinlining ref system threading tasks task currenttask mscorlib dll system threading tasks task finishcontinuations mscorlib dll system threading tasks task finishstagethree mscorlib dll system threading tasks task trysetresult system threading tasks voidtaskresult result mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult result mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks task completedtask mscorlib dll system runtime compilerservices asynctaskmethodbuilder setresult microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor abstractpriorityprocessor d movenext mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext object statemachine mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx mscorlib dll system runtime compilerservices asyncmethodbuildercore movenextrunner run mscorlib dll system threading tasks awaittaskcontinuation runorscheduleaction system action action bool allowinlining ref system threading tasks task currenttask mscorlib dll system threading tasks task finishcontinuations mscorlib dll system threading tasks task finishstagethree mscorlib dll system threading tasks task trysetresult system threading tasks voidtaskresult result mscorlib dll system threading tasks task whenallpromise invoke system threading tasks task completedtask mscorlib dll system threading tasks task finishcontinuations mscorlib dll system threading tasks task finishstagethree mscorlib dll system threading tasks task trysetresult object result mscorlib dll system threading tasks taskcompletionsource trysetresult object result mscorlib dll system threading tasks taskcompletionsource setresult object result microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler globaloperationawareidleprocessor onglobaloperationstopped object sender microsoft codeanalysis notification globaloperationeventargs e microsoft codeanalysis workspaces dll microsoft codeanalysis notification globaloperationnotificationservice c b system eventhandler handler microsoft codeanalysis workspaces dll roslyn utilities eventmap registry invoke system action invoker microsoft codeanalysis workspaces dll roslyn utilities eventmap eventhandlerset raiseevent system action invoker microsoft codeanalysis workspaces dll microsoft codeanalysis notification globaloperationnotificationservice c b microsoft codeanalysis workspaces dll roslyn utilities taskextensions c b system threading tasks task microsoft codeanalysis workspaces dll roslyn utilities taskextensions c b system threading tasks task antecedent microsoft codeanalysis workspaces dll roslyn utilities taskextensions c b system threading tasks task t mscorlib dll system threading tasks continuationresulttaskfromtask innerinvoke mscorlib dll system threading tasks task execute mscorlib dll system threading tasks task executioncontextcallback object obj mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx mscorlib dll system threading tasks task executewiththreadlocal ref system threading tasks task currenttaskslot mscorlib dll system threading tasks task executeentry bool bpreventdoubleexecution mscorlib dll system threading tasks task system threading ithreadpoolworkitem executeworkitem mscorlib dll system threading threadpoolworkqueue dispatch mscorlib dll system threading threadpoolwaitcallback performwaitcallback ,1 296,6047971796.0,IssuesEvent,2017-06-12 15:29:33,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,reopened,Access violation in RoslynCodeAnalysisService32 reading from memory mapped file,Area-IDE Bug Tenet-Reliability,"**Version Used**: 15.3 preview 1 **Stack trace** ``` Application: ServiceHub.RoslynCodeAnalysisService32.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at Microsoft.CodeAnalysis.Host.TemporaryStorageServiceFactory+MemoryMappedInfo+SharedReadableStream.ReadByte() at System.IO.BinaryReader.ReadByte() at Roslyn.Utilities.ObjectReader.ReadValueWorker() at Roslyn.Utilities.ObjectReader.b__25_0() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(System.Object) at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart(System.Object) ```",True,"Access violation in RoslynCodeAnalysisService32 reading from memory mapped file - **Version Used**: 15.3 preview 1 **Stack trace** ``` Application: ServiceHub.RoslynCodeAnalysisService32.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at Microsoft.CodeAnalysis.Host.TemporaryStorageServiceFactory+MemoryMappedInfo+SharedReadableStream.ReadByte() at System.IO.BinaryReader.ReadByte() at Roslyn.Utilities.ObjectReader.ReadValueWorker() at Roslyn.Utilities.ObjectReader.b__25_0() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(System.Object) at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart(System.Object) ```",1,access violation in reading from memory mapped file version used preview stack trace application servicehub exe framework version description the process was terminated due to an unhandled exception exception info system accessviolationexception at microsoft codeanalysis host temporarystorageservicefactory memorymappedinfo sharedreadablestream readbyte at system io binaryreader readbyte at roslyn utilities objectreader readvalueworker at roslyn utilities objectreader b at system threading tasks task innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks threadpooltaskscheduler longrunningthreadwork system object at system threading threadhelper threadstart context system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object at system threading threadhelper threadstart system object ,1 67,3286678302.0,IssuesEvent,2015-10-29 04:55:38,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Crash typing malformed #load directive in .csx files,Area-Interactive Interactive-Scripting Tenet-Reliability,"Type the following in a .csx file: ```#load f``` **RESULTS:** ``` System.InvalidOperationException: Unexpected value 'LoadDirectiveTrivia' of type 'Microsoft.CodeAnalysis.CSharp.SyntaxKind' at Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.get_DirectiveNameToken() at Microsoft.CodeAnalysis.CSharp.Completion.Providers.SnippetCompletionProvider.d__4.MoveNext() ... ```",True,"Crash typing malformed #load directive in .csx files - Type the following in a .csx file: ```#load f``` **RESULTS:** ``` System.InvalidOperationException: Unexpected value 'LoadDirectiveTrivia' of type 'Microsoft.CodeAnalysis.CSharp.SyntaxKind' at Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax.get_DirectiveNameToken() at Microsoft.CodeAnalysis.CSharp.Completion.Providers.SnippetCompletionProvider.d__4.MoveNext() ... ```",1,crash typing malformed load directive in csx files type the following in a csx file load f results system invalidoperationexception unexpected value loaddirectivetrivia of type microsoft codeanalysis csharp syntaxkind at microsoft codeanalysis csharp syntax directivetriviasyntax get directivenametoken at microsoft codeanalysis csharp completion providers snippetcompletionprovider d movenext ,1 731,10151771857.0,IssuesEvent,2019-08-05 21:15:21,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,compiler assert in refactoring.,Area-Compilers Bug Tenet-Reliability,"I tried to inline a local variable into a `..` range. i.e.: ```c# var start = SeparatedSyntaxList.Length + 1; var end = fieldType.Length - 1; var underlyingType = fieldType[start..end]; ``` I was trying to inline `start` and `end` into the range. This caused the following crash: ``` System.NullReferenceException : Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.MessageIDExtensions.CheckFeatureAvailability(MessageID feature,DiagnosticBag diagnostics,Location errorLocation) at Microsoft.CodeAnalysis.CSharp.Binder.TryBindIndexOrRangeIndexer(SyntaxNode syntax,BoundExpression receiverOpt,ArrayBuilder`1 arguments,DiagnosticBag diagnostics,BoundIndexOrRangePatternIndexerAccess& patternIndexerAccess) at Microsoft.CodeAnalysis.CSharp.Binder.BindIndexerOrIndexedPropertyAccess(SyntaxNode syntax,BoundExpression receiverOpt,ArrayBuilder`1 propertyGroup,AnalyzedArguments analyzedArguments,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindIndexerAccess(ExpressionSyntax node,BoundExpression expr,AnalyzedArguments analyzedArguments,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindElementAccessCore(ExpressionSyntax node,BoundExpression expr,AnalyzedArguments arguments,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindElementOrIndexerAccess(ExpressionSyntax node,BoundExpression expr,AnalyzedArguments analyzedArguments,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindElementAccess(ExpressionSyntax node,BoundExpression receiver,BracketedArgumentListSyntax argumentList,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindElementAccess(ElementAccessExpressionSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node,DiagnosticBag diagnostics,Boolean invoked,Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node,DiagnosticBag diagnostics,Boolean invoked,Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindInferredVariableInitializer(DiagnosticBag diagnostics,ExpressionSyntax initializer,BindValueKind valueKind,RefKind refKind,CSharpSyntaxNode errorSyntax) at Microsoft.CodeAnalysis.CSharp.Binder.BindVariableDeclaration(SourceLocalSymbol localSymbol,LocalDeclarationKind kind,Boolean isVar,VariableDeclaratorSyntax declarator,TypeSyntax typeSyntax,TypeWithAnnotations declTypeOpt,AliasSymbol aliasOpt,DiagnosticBag diagnostics,Boolean includeBoundType,CSharpSyntaxNode associatedSyntaxNode) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationStatementParts(LocalDeclarationStatementSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindLocalDeclarationStatement(LocalDeclarationStatementSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.IncrementalBinder.BindStatement(StatementSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.Bind(Binder binder,CSharpSyntaxNode node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.Bind(Binder binder,CSharpSyntaxNode node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node,CSharpSyntaxNode& bindableNode,BoundNode& lowestBoundNode,BoundNode& highestBoundNode,BoundNode& boundParent) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetTypeInfoWorker(CSharpSyntaxNode node,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetTypeInfo(ExpressionSyntax expression,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetTypeInfo(SemanticModel semanticModel,ExpressionSyntax expression,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.CastExpressionSyntaxExtensions.IsUnnecessaryCast(CastExpressionSyntax cast,SemanticModel semanticModel,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.ExpressionSyntaxExtensions.CastIfPossible(ExpressionSyntax expression,ITypeSymbol targetType,Int32 position,SemanticModel semanticModel) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.TryCastTo(ITypeSymbol targetType,ExpressionSyntax expression,ExpressionSyntax newExpression,ExpressionSyntax& newExpressionWithCast) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitArgument(ArgumentSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBracketedArgumentList(BracketedArgumentListSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BracketedArgumentListSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitElementAccessExpression(ElementAccessExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ElementAccessExpressionSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expand(SyntaxNode node,SemanticModel semanticModel,SyntaxAnnotation annotationForReplacedAliasIdentifier,Func`2 expandInsideNode,Boolean expandParameter,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Simplification.Simplifier.Expand[TNode](TNode node,SemanticModel semanticModel,Workspace workspace,Func`2 expandInsideNode,Boolean expandParameter,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CodeRefactorings.InlineTemporary.InlineTemporaryCodeRefactoringProvider.<>c__DisplayClass9_0.b__5(SyntaxNode o,SyntaxNode n) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitEqualsValueClause(EqualsValueClauseSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclarator(VariableDeclaratorSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclaration(VariableDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitLocalDeclarationStatement(LocalDeclarationStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMethodDeclaration(MethodDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(ClassDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(NamespaceDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replace[TNode](SyntaxNode root,IEnumerable`1 nodes,Func`3 computeReplacementNode,IEnumerable`1 tokens,Func`3 computeReplacementToken,IEnumerable`1 trivia,Func`3 computeReplacementTrivia) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable`1 nodes,Func`3 computeReplacementNode,IEnumerable`1 tokens,Func`3 computeReplacementToken,IEnumerable`1 trivia,Func`3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root,IEnumerable`1 nodes,Func`3 computeReplacementNode) at async Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.ReplaceNodesAsync() at async Microsoft.CodeAnalysis.CSharp.CodeRefactorings.InlineTemporary.InlineTemporaryCodeRefactoringProvider.InlineTemporaryAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetPreviewOperationsAsync() at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.GetPreviewResultAsync() at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionWithNestedFlavors.<>c__DisplayClass11_0.b__0() at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T]() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",True,"compiler assert in refactoring. - I tried to inline a local variable into a `..` range. i.e.: ```c# var start = SeparatedSyntaxList.Length + 1; var end = fieldType.Length - 1; var underlyingType = fieldType[start..end]; ``` I was trying to inline `start` and `end` into the range. This caused the following crash: ``` System.NullReferenceException : Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.MessageIDExtensions.CheckFeatureAvailability(MessageID feature,DiagnosticBag diagnostics,Location errorLocation) at Microsoft.CodeAnalysis.CSharp.Binder.TryBindIndexOrRangeIndexer(SyntaxNode syntax,BoundExpression receiverOpt,ArrayBuilder`1 arguments,DiagnosticBag diagnostics,BoundIndexOrRangePatternIndexerAccess& patternIndexerAccess) at Microsoft.CodeAnalysis.CSharp.Binder.BindIndexerOrIndexedPropertyAccess(SyntaxNode syntax,BoundExpression receiverOpt,ArrayBuilder`1 propertyGroup,AnalyzedArguments analyzedArguments,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindIndexerAccess(ExpressionSyntax node,BoundExpression expr,AnalyzedArguments analyzedArguments,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindElementAccessCore(ExpressionSyntax node,BoundExpression expr,AnalyzedArguments arguments,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindElementOrIndexerAccess(ExpressionSyntax node,BoundExpression expr,AnalyzedArguments analyzedArguments,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindElementAccess(ExpressionSyntax node,BoundExpression receiver,BracketedArgumentListSyntax argumentList,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindElementAccess(ElementAccessExpressionSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node,DiagnosticBag diagnostics,Boolean invoked,Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node,DiagnosticBag diagnostics,Boolean invoked,Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindInferredVariableInitializer(DiagnosticBag diagnostics,ExpressionSyntax initializer,BindValueKind valueKind,RefKind refKind,CSharpSyntaxNode errorSyntax) at Microsoft.CodeAnalysis.CSharp.Binder.BindVariableDeclaration(SourceLocalSymbol localSymbol,LocalDeclarationKind kind,Boolean isVar,VariableDeclaratorSyntax declarator,TypeSyntax typeSyntax,TypeWithAnnotations declTypeOpt,AliasSymbol aliasOpt,DiagnosticBag diagnostics,Boolean includeBoundType,CSharpSyntaxNode associatedSyntaxNode) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationStatementParts(LocalDeclarationStatementSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindLocalDeclarationStatement(LocalDeclarationStatementSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.IncrementalBinder.BindStatement(StatementSyntax node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.Bind(Binder binder,CSharpSyntaxNode node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.Bind(Binder binder,CSharpSyntaxNode node,DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node,CSharpSyntaxNode& bindableNode,BoundNode& lowestBoundNode,BoundNode& highestBoundNode,BoundNode& boundParent) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetTypeInfoWorker(CSharpSyntaxNode node,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetTypeInfo(ExpressionSyntax expression,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetTypeInfo(SemanticModel semanticModel,ExpressionSyntax expression,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.CastExpressionSyntaxExtensions.IsUnnecessaryCast(CastExpressionSyntax cast,SemanticModel semanticModel,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.ExpressionSyntaxExtensions.CastIfPossible(ExpressionSyntax expression,ITypeSymbol targetType,Int32 position,SemanticModel semanticModel) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.TryCastTo(ITypeSymbol targetType,ExpressionSyntax expression,ExpressionSyntax newExpression,ExpressionSyntax& newExpressionWithCast) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitArgument(ArgumentSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBracketedArgumentList(BracketedArgumentListSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BracketedArgumentListSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitElementAccessExpression(ElementAccessExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ElementAccessExpressionSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expand(SyntaxNode node,SemanticModel semanticModel,SyntaxAnnotation annotationForReplacedAliasIdentifier,Func`2 expandInsideNode,Boolean expandParameter,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Simplification.Simplifier.Expand[TNode](TNode node,SemanticModel semanticModel,Workspace workspace,Func`2 expandInsideNode,Boolean expandParameter,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CodeRefactorings.InlineTemporary.InlineTemporaryCodeRefactoringProvider.<>c__DisplayClass9_0.b__5(SyntaxNode o,SyntaxNode n) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitEqualsValueClause(EqualsValueClauseSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclarator(VariableDeclaratorSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclaration(VariableDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitLocalDeclarationStatement(LocalDeclarationStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMethodDeclaration(MethodDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(ClassDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(NamespaceDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer`1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replace[TNode](SyntaxNode root,IEnumerable`1 nodes,Func`3 computeReplacementNode,IEnumerable`1 tokens,Func`3 computeReplacementToken,IEnumerable`1 trivia,Func`3 computeReplacementTrivia) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable`1 nodes,Func`3 computeReplacementNode,IEnumerable`1 tokens,Func`3 computeReplacementToken,IEnumerable`1 trivia,Func`3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root,IEnumerable`1 nodes,Func`3 computeReplacementNode) at async Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.ReplaceNodesAsync() at async Microsoft.CodeAnalysis.CSharp.CodeRefactorings.InlineTemporary.InlineTemporaryCodeRefactoringProvider.InlineTemporaryAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetPreviewOperationsAsync() at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.GetPreviewResultAsync() at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionWithNestedFlavors.<>c__DisplayClass11_0.b__0() at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T]() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",1,compiler assert in refactoring i tried to inline a local variable into a range i e c var start separatedsyntaxlist length var end fieldtype length var underlyingtype fieldtype i was trying to inline start and end into the range this caused the following crash system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis csharp messageidextensions checkfeatureavailability messageid feature diagnosticbag diagnostics location errorlocation at microsoft codeanalysis csharp binder trybindindexorrangeindexer syntaxnode syntax boundexpression receiveropt arraybuilder arguments diagnosticbag diagnostics boundindexorrangepatternindexeraccess patternindexeraccess at microsoft codeanalysis csharp binder bindindexerorindexedpropertyaccess syntaxnode syntax boundexpression receiveropt arraybuilder propertygroup analyzedarguments analyzedarguments diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindindexeraccess expressionsyntax node boundexpression expr analyzedarguments analyzedarguments diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindelementaccesscore expressionsyntax node boundexpression expr analyzedarguments arguments diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindelementorindexeraccess expressionsyntax node boundexpression expr analyzedarguments analyzedarguments diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindelementaccess expressionsyntax node boundexpression receiver bracketedargumentlistsyntax argumentlist diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindelementaccess elementaccessexpressionsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindinferredvariableinitializer diagnosticbag diagnostics expressionsyntax initializer bindvaluekind valuekind refkind refkind csharpsyntaxnode errorsyntax at microsoft codeanalysis csharp binder bindvariabledeclaration sourcelocalsymbol localsymbol localdeclarationkind kind boolean isvar variabledeclaratorsyntax declarator typesyntax typesyntax typewithannotations decltypeopt aliassymbol aliasopt diagnosticbag diagnostics boolean includeboundtype csharpsyntaxnode associatedsyntaxnode at microsoft codeanalysis csharp binder binddeclarationstatementparts localdeclarationstatementsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindlocaldeclarationstatement localdeclarationstatementsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindstatement statementsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp membersemanticmodel incrementalbinder bindstatement statementsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp csharpsemanticmodel bind binder binder csharpsyntaxnode node diagnosticbag diagnostics at microsoft codeanalysis csharp methodbodysemanticmodel bind binder binder csharpsyntaxnode node diagnosticbag diagnostics at microsoft codeanalysis csharp membersemanticmodel getboundnodes csharpsyntaxnode node at microsoft codeanalysis csharp membersemanticmodel getlowerboundnode csharpsyntaxnode node at microsoft codeanalysis csharp membersemanticmodel getboundnodes csharpsyntaxnode node csharpsyntaxnode bindablenode boundnode lowestboundnode boundnode highestboundnode boundnode boundparent at microsoft codeanalysis csharp membersemanticmodel gettypeinfoworker csharpsyntaxnode node cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel gettypeinfo expressionsyntax expression cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpextensions gettypeinfo semanticmodel semanticmodel expressionsyntax expression cancellationtoken cancellationtoken at microsoft codeanalysis csharp extensions castexpressionsyntaxextensions isunnecessarycast castexpressionsyntax cast semanticmodel semanticmodel cancellationtoken cancellationtoken at microsoft codeanalysis csharp extensions expressionsyntaxextensions castifpossible expressionsyntax expression itypesymbol targettype position semanticmodel semanticmodel at microsoft codeanalysis csharp simplification csharpsimplificationservice expander trycastto itypesymbol targettype expressionsyntax expression expressionsyntax newexpression expressionsyntax newexpressionwithcast at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visitargument argumentsyntax node at microsoft codeanalysis csharp syntax argumentsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist separatedsyntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitbracketedargumentlist bracketedargumentlistsyntax node at microsoft codeanalysis csharp syntax bracketedargumentlistsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitelementaccessexpression elementaccessexpressionsyntax node at microsoft codeanalysis csharp syntax elementaccessexpressionsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expand syntaxnode node semanticmodel semanticmodel syntaxannotation annotationforreplacedaliasidentifier func expandinsidenode boolean expandparameter cancellationtoken cancellationtoken at microsoft codeanalysis simplification simplifier expand tnode node semanticmodel semanticmodel workspace workspace func expandinsidenode boolean expandparameter cancellationtoken cancellationtoken at microsoft codeanalysis csharp coderefactorings inlinetemporary inlinetemporarycoderefactoringprovider c b syntaxnode o syntaxnode n at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitequalsvalueclause equalsvalueclausesyntax node at microsoft codeanalysis csharp syntax equalsvalueclausesyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitvariabledeclarator variabledeclaratorsyntax node at microsoft codeanalysis csharp syntax variabledeclaratorsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist separatedsyntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitvariabledeclaration variabledeclarationsyntax node at microsoft codeanalysis csharp syntax variabledeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlocaldeclarationstatement localdeclarationstatementsyntax node at microsoft codeanalysis csharp syntax localdeclarationstatementsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitblock blocksyntax node at microsoft codeanalysis csharp syntax blocksyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitmethoddeclaration methoddeclarationsyntax node at microsoft codeanalysis csharp syntax methoddeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitclassdeclaration classdeclarationsyntax node at microsoft codeanalysis csharp syntax classdeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitnamespacedeclaration namespacedeclarationsyntax node at microsoft codeanalysis csharp syntax namespacedeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitcompilationunit compilationunitsyntax node at microsoft codeanalysis csharp syntax compilationunitsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replacer visit syntaxnode node at microsoft codeanalysis csharp syntax syntaxreplacer replace syntaxnode root ienumerable nodes func computereplacementnode ienumerable tokens func computereplacementtoken ienumerable trivia func computereplacementtrivia at microsoft codeanalysis csharp csharpsyntaxnode replacecore ienumerable nodes func computereplacementnode ienumerable tokens func computereplacementtoken ienumerable trivia func computereplacementtrivia at microsoft codeanalysis syntaxnodeextensions replacenodes troot root ienumerable nodes func computereplacementnode at async microsoft codeanalysis shared extensions documentextensions replacenodesasync at async microsoft codeanalysis csharp coderefactorings inlinetemporary inlinetemporarycoderefactoringprovider inlinetemporaryasync at async microsoft codeanalysis codeactions codeaction getchangedsolutionasync at async microsoft codeanalysis codeactions codeaction computeoperationsasync at async microsoft codeanalysis codeactions codeaction getpreviewoperationsasync at async microsoft codeanalysis editor implementation suggestions suggestedaction getpreviewresultasync at async microsoft codeanalysis editor implementation suggestions suggestedactionwithnestedflavors c b at async microsoft codeanalysis extensions iextensionmanagerextensions performfunctionasync at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject ,1 270,5921302976.0,IssuesEvent,2017-05-22 22:38:45,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,AbstractLanguageService crashes VS with InvalidOperationException,Area-IDE Bug Tenet-Reliability,"**Version Used**: 2.3.0.6161310 **Steps to Reproduce**: 1. Open Roslyn.sln 2. Modify properties of a project **Actual Behavior**: Visual Studio crash ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractLanguageService`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Finalize() ```",True,"AbstractLanguageService crashes VS with InvalidOperationException - **Version Used**: 2.3.0.6161310 **Steps to Reproduce**: 1. Open Roslyn.sln 2. Modify properties of a project **Actual Behavior**: Visual Studio crash ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractLanguageService`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Finalize() ```",1,abstractlanguageservice crashes vs with invalidoperationexception version used steps to reproduce open roslyn sln modify properties of a project actual behavior visual studio crash application devenv exe framework version description the process was terminated due to an unhandled exception exception info system invalidoperationexception at microsoft visualstudio languageservices implementation languageservice abstractlanguageservice finalize ,1 478,7765680692.0,IssuesEvent,2018-06-02 06:48:37,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Investigate possible crash in parentheses analyzer,Area-IDE Bug Tenet-Reliability help wanted,"**Version Used**: e3dcf8c76dc2c228f61b9de8af92f1ec0275f5f8 Reported to me earlier in the day but I didn't get a chance to investigate it yet. **Steps to Reproduce**: i try to wrap parens around ```if (lat.Length > 0 && lon.length > 0)``` and then second I do this: ```if ((lat.Length > 0 && lon.length > 0)``` VS crashes ",True,"Investigate possible crash in parentheses analyzer - **Version Used**: e3dcf8c76dc2c228f61b9de8af92f1ec0275f5f8 Reported to me earlier in the day but I didn't get a chance to investigate it yet. **Steps to Reproduce**: i try to wrap parens around ```if (lat.Length > 0 && lon.length > 0)``` and then second I do this: ```if ((lat.Length > 0 && lon.length > 0)``` VS crashes ",1,investigate possible crash in parentheses analyzer version used reported to me earlier in the day but i didn t get a chance to investigate it yet steps to reproduce i try to wrap parens around if lat length lon length and then second i do this if lat length lon length vs crashes ,1 110,4013957860.0,IssuesEvent,2016-05-14 00:11:48,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,IDE crashes when renaming a local (SymbolKey.NonDeclarationSymbolKey'1.EnumerateSymbols),Area-IDE Bug Tenet-Reliability," VS crashed a few times and I captured some crash dumps. The callstack points to `SymbolKey.NonDeclarationSymbolKey'1.EnumerateSymbols`. I managed to catch it in a debugger and it is the `compilation` parameter that is null. ![null-ref](https://cloud.githubusercontent.com/assets/12466233/15088371/86cc7f80-13a7-11e6-83c1-5f87ca236536.png) ``` Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SymbolKey.NonDeclarationSymbolKey.EnumerateSymbols(Microsoft.CodeAnalysis.Compilation compilation, Microsoft.CodeAnalysis.ISymbol containingSymbol, string name, System.Threading.CancellationToken cancellationToken) Line 75 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SymbolKey.NonDeclarationSymbolKey.NonDeclarationSymbolKey(Microsoft.CodeAnalysis.ILocalSymbol symbol, Microsoft.CodeAnalysis.SymbolKey.Visitor visitor) Line 33 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SymbolKey.Visitor.VisitLocal(Microsoft.CodeAnalysis.ILocalSymbol localSymbol) Line 59 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.LocalSymbol.Accept(Microsoft.CodeAnalysis.SymbolVisitor visitor) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SymbolKey.GetOrCreate(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.SymbolKey.Visitor visitor) Line 121 C# > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.FindSourceDefinitionWorkerAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Threading.CancellationToken cancellationToken) Line 149 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.FindSourceDefinitionAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Threading.CancellationToken cancellationToken) Line 87 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.DetermineIfRenamableSymbolAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxToken token) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__22>(ref Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.d__22 stateMachine) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.DetermineIfRenamableSymbolAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxToken token) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.DetermineIfRenamableIdentifierAsync(Microsoft.VisualStudio.Text.SnapshotSpan snapshotSpan, bool initialCheck) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__20>(ref Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.d__20 stateMachine) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.DetermineIfRenamableIdentifierAsync(Microsoft.VisualStudio.Text.SnapshotSpan snapshotSpan, bool initialCheck) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.CheckNewIdentifier.AnonymousMethod__0(System.Threading.Tasks.Task t) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startc__DisplayClass17_0.<b__0>d stateMachine) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.CheckNewIdentifier.AnonymousMethod__0(System.Threading.Tasks.Task t) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.SafeContinueWithFromAsync.AnonymousMethod__0(System.Threading.Tasks.Task antecedent) Line 253 C# mscorlib.dll!System.Threading.Tasks.ContinuationResultTaskFromTask>.InnerInvoke() Unknown mscorlib.dll!System.Threading.Tasks.Task.Execute() Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() Unknown mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() Unknown mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() Unknown ``` The repro itself is to select `underlyingType` (squiggled in red below) and type `x`. This is using VS2015 update 2. ![image](https://cloud.githubusercontent.com/assets/12466233/15088439/c7ff2f24-13a8-11e6-9b9b-af228c667122.png) ",True,"IDE crashes when renaming a local (SymbolKey.NonDeclarationSymbolKey'1.EnumerateSymbols) - VS crashed a few times and I captured some crash dumps. The callstack points to `SymbolKey.NonDeclarationSymbolKey'1.EnumerateSymbols`. I managed to catch it in a debugger and it is the `compilation` parameter that is null. ![null-ref](https://cloud.githubusercontent.com/assets/12466233/15088371/86cc7f80-13a7-11e6-83c1-5f87ca236536.png) ``` Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SymbolKey.NonDeclarationSymbolKey.EnumerateSymbols(Microsoft.CodeAnalysis.Compilation compilation, Microsoft.CodeAnalysis.ISymbol containingSymbol, string name, System.Threading.CancellationToken cancellationToken) Line 75 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SymbolKey.NonDeclarationSymbolKey.NonDeclarationSymbolKey(Microsoft.CodeAnalysis.ILocalSymbol symbol, Microsoft.CodeAnalysis.SymbolKey.Visitor visitor) Line 33 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SymbolKey.Visitor.VisitLocal(Microsoft.CodeAnalysis.ILocalSymbol localSymbol) Line 59 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.LocalSymbol.Accept(Microsoft.CodeAnalysis.SymbolVisitor visitor) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SymbolKey.GetOrCreate(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.SymbolKey.Visitor visitor) Line 121 C# > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.FindSourceDefinitionWorkerAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Threading.CancellationToken cancellationToken) Line 149 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.FindSourceDefinitionAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Threading.CancellationToken cancellationToken) Line 87 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.DetermineIfRenamableSymbolAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxToken token) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__22>(ref Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.d__22 stateMachine) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.DetermineIfRenamableSymbolAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxToken token) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.DetermineIfRenamableIdentifierAsync(Microsoft.VisualStudio.Text.SnapshotSpan snapshotSpan, bool initialCheck) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startd__20>(ref Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.d__20 stateMachine) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.DetermineIfRenamableIdentifierAsync(Microsoft.VisualStudio.Text.SnapshotSpan snapshotSpan, bool initialCheck) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.CheckNewIdentifier.AnonymousMethod__0(System.Threading.Tasks.Task t) Unknown mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Startc__DisplayClass17_0.<b__0>d stateMachine) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingTaggerProvider.TrackingSession.CheckNewIdentifier.AnonymousMethod__0(System.Threading.Tasks.Task t) Unknown Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.SafeContinueWithFromAsync.AnonymousMethod__0(System.Threading.Tasks.Task antecedent) Line 253 C# mscorlib.dll!System.Threading.Tasks.ContinuationResultTaskFromTask>.InnerInvoke() Unknown mscorlib.dll!System.Threading.Tasks.Task.Execute() Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() Unknown mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() Unknown mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() Unknown ``` The repro itself is to select `underlyingType` (squiggled in red below) and type `x`. This is using VS2015 update 2. ![image](https://cloud.githubusercontent.com/assets/12466233/15088439/c7ff2f24-13a8-11e6-9b9b-af228c667122.png) ",1,ide crashes when renaming a local symbolkey nondeclarationsymbolkey enumeratesymbols vs crashed a few times and i captured some crash dumps the callstack points to symbolkey nondeclarationsymbolkey enumeratesymbols i managed to catch it in a debugger and it is the compilation parameter that is null microsoft codeanalysis workspaces dll microsoft codeanalysis symbolkey nondeclarationsymbolkey enumeratesymbols microsoft codeanalysis compilation compilation microsoft codeanalysis isymbol containingsymbol string name system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis symbolkey nondeclarationsymbolkey nondeclarationsymbolkey microsoft codeanalysis ilocalsymbol symbol microsoft codeanalysis symbolkey visitor visitor line c microsoft codeanalysis workspaces dll microsoft codeanalysis symbolkey visitor visitlocal microsoft codeanalysis ilocalsymbol localsymbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols localsymbol accept microsoft codeanalysis symbolvisitor visitor unknown microsoft codeanalysis workspaces dll microsoft codeanalysis symbolkey getorcreate microsoft codeanalysis isymbol symbol microsoft codeanalysis symbolkey visitor visitor line c microsoft codeanalysis workspaces dll microsoft codeanalysis findsymbols symbolfinder findsourcedefinitionworkerasync microsoft codeanalysis isymbol symbol microsoft codeanalysis solution solution system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis findsymbols symbolfinder findsourcedefinitionasync microsoft codeanalysis isymbol symbol microsoft codeanalysis solution solution system threading cancellationtoken cancellationtoken line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation renametracking renametrackingtaggerprovider trackingsession determineifrenamablesymbolasync microsoft codeanalysis isymbol symbol microsoft codeanalysis document document microsoft codeanalysis syntaxtoken token unknown mscorlib dll system runtime compilerservices asynctaskmethodbuilder start d ref microsoft codeanalysis editor implementation renametracking renametrackingtaggerprovider trackingsession d statemachine unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation renametracking renametrackingtaggerprovider trackingsession determineifrenamablesymbolasync microsoft codeanalysis isymbol symbol microsoft codeanalysis document document microsoft codeanalysis syntaxtoken token unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation renametracking renametrackingtaggerprovider trackingsession determineifrenamableidentifierasync microsoft visualstudio text snapshotspan snapshotspan bool initialcheck unknown mscorlib dll system runtime compilerservices asynctaskmethodbuilder start d ref microsoft codeanalysis editor implementation renametracking renametrackingtaggerprovider trackingsession d statemachine unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation renametracking renametrackingtaggerprovider trackingsession determineifrenamableidentifierasync microsoft visualstudio text snapshotspan snapshotspan bool initialcheck unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation renametracking renametrackingtaggerprovider trackingsession checknewidentifier anonymousmethod system threading tasks task t unknown mscorlib dll system runtime compilerservices asynctaskmethodbuilder start c b d statemachine unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation renametracking renametrackingtaggerprovider trackingsession checknewidentifier anonymousmethod system threading tasks task t unknown microsoft codeanalysis workspaces dll roslyn utilities taskextensions safecontinuewithfromasync anonymousmethod system threading tasks task antecedent line c mscorlib dll system threading tasks continuationresulttaskfromtask innerinvoke unknown mscorlib dll system threading tasks task execute unknown mscorlib dll system threading tasks task executioncontextcallback object obj unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading tasks task executewiththreadlocal ref system threading tasks task currenttaskslot unknown mscorlib dll system threading tasks task executeentry bool bpreventdoubleexecution unknown mscorlib dll system threading tasks task system threading ithreadpoolworkitem executeworkitem unknown mscorlib dll system threading threadpoolworkqueue dispatch unknown mscorlib dll system threading threadpoolwaitcallback performwaitcallback unknown the repro itself is to select underlyingtype squiggled in red below and type x this is using update ,1 1099,13067115411.0,IssuesEvent,2020-07-30 23:26:52,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,OperationCanceledException repeatedly bringing down OOP in latest int preview dogfood builds,Area-IDE Bug Tenet-Reliability,"**Version Used**: Latest 16.7 intpreview dogfood build **Steps to Reproduce**: Happens very often during typing. ## Gold bar stack trace (identical for all different OOP call stacks): ``` System.OperationCanceledException : The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.IO.Pipes.NamedPipeServerStream.EndWaitForConnection(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar,Func`2 endFunction,Action`1 endAction,Task`1 promise,Boolean requiresSynchronization) at async Microsoft.CodeAnalysis.Remote.RemoteEndPoint.InvokeAsync[T]() ``` ## Stack traces from servicehub logs Stacks from servicehub logs indicate these are regular operation canceled exceptions, which should just be propagated back to the iproc caller, instead of going unhandled in OOP: ### Stack 1 ``` 07/09/2020 08:36:29 Pacific Standard Time : Warning : Analyzer perf indicators exceeded threshold for 'Microsoft.CodeAnalysis.CSharp.UseExpressionBodyForLambda.UseExpressionBodyForLambdaDiagnosticAnalyzer, Microsoft.CodeAnalysis.CSharp.Features, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35' (-1167954340): LOF: 84.6423597209044, Avg: 135.642068723917, Stddev: 40.7095814777983 07/09/2020 08:36:36 Pacific Standard Time : Warning : Analyzer perf indicators exceeded threshold for 'Xunit.Analyzers.AssertEmptyCollectionCheckShouldNotBeUsed, xunit.analyzers, Version=0.10.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' (220713940): LOF: 97.1218435275852, Avg: 188.179480063119, Stddev: 44.7705038815655 07/09/2020 08:36:39 Pacific Standard Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:37208] Unexpected exception: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.Threading.CancellationToken.ThrowIfCancellationRequested() at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.g__executeSuppressionActions|81_0(IEnumerable`1 reportedDiagnostics, Boolean concurrent) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ApplyProgrammaticSuppressionsCore(ImmutableArray`1 reportedDiagnostics, Compilation compilation) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 739 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSourceOrByAnalyzers(ImmutableArray`1 diagnostics, Compilation compilation) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 866 at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(AnalysisScope analysisScope, AnalyzerDriver driver, Compilation compilation, Func`2 getAnalyzerActionCounts, Boolean fullAnalysisResultForAnalyzersInScope) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalysisResultBuilder.cs:line 88 at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 961 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass64_1.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 787 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__72.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 1034 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__63.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 661 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__61.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 620 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__12.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 349 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__11.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 323 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 87 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__7.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass17_0.<b__0>d.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Services\CodeAnalysisService_Diagnostics.cs:line 41 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.ServiceBase.d__15.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Shared\ServiceBase.cs:line 110 ``` ### Stack 2 ``` 07/09/2020 07:23:23 Pacific Standard Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:43364] Unexpected exception: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteSemanticModelActionsCore(ImmutableArray`1 semanticModelActions, DiagnosticAnalyzer analyzer, SemanticModel semanticModel, AnalyzerStateData analyzerStateOpt, Boolean isGeneratedCode) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 687 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.TryExecuteSemanticModelActions(ImmutableArray`1 semanticModelActions, DiagnosticAnalyzer analyzer, SemanticModel semanticModel, CompilationEvent compilationUnitCompletedEvent, AnalysisScope analysisScope, AnalysisState analysisStateOpt, Boolean isGeneratedCode) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 652 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.TryProcessCompilationUnitCompleted(CompilationUnitCompletedEvent completedEvent, AnalysisScope analysisScope, AnalysisState analysisStateOpt, CancellationToken cancellationToken) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1563 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__106.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1338 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__104.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1260 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__103.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1247 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<>c__DisplayClass102_0.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1158 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__102.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1169 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__71.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 531 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 459 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 956 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass64_1.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 787 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__73.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 1090 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__64.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 816 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__56.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 547 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__54.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 525 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__12.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 345 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__11.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 323 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 87 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__7.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass17_0.<b__0>d.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Services\CodeAnalysisService_Diagnostics.cs:line 41 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.ServiceBase.d__15.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Shared\ServiceBase.cs:line 110 ``` ### Stack 3 ``` 07/08/2020 11:50:12 Pacific Standard Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:48504] Unexpected exception: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.Threading.ManualResetEventSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAllBlockingCore(List`1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.g__executeSuppressionActions|81_0(IEnumerable`1 reportedDiagnostics, Boolean concurrent) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ApplyProgrammaticSuppressionsCore(ImmutableArray`1 reportedDiagnostics, Compilation compilation) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 739 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSourceOrByAnalyzers(ImmutableArray`1 diagnostics, Compilation compilation) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 866 at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(AnalysisScope analysisScope, AnalyzerDriver driver, Compilation compilation, Func`2 getAnalyzerActionCounts, Boolean fullAnalysisResultForAnalyzersInScope) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalysisResultBuilder.cs:line 88 at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 961 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass64_1.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 787 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__72.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 1034 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__63.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 661 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__61.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 620 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__12.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 349 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__11.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 323 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 87 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__7.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass17_0.<b__0>d.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Services\CodeAnalysisService_Diagnostics.cs:line 41 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.ServiceBase.d__15.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Shared\ServiceBase.cs:line 110 ``` ### Stack 4 ``` 07/08/2020 08:59:31 Pacific Standard Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:52940] Unexpected exception: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteSymbolActionsCore(ImmutableArray`1 symbolActions, DiagnosticAnalyzer analyzer, SymbolDeclaredCompilationEvent symbolDeclaredEvent, Func`4 getTopMostNodeForAnalysis, AnalyzerStateData analyzerStateOpt, Boolean isGeneratedCodeSymbol) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 474 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.TryExecuteSymbolActions(ImmutableArray`1 symbolActions, DiagnosticAnalyzer analyzer, SymbolDeclaredCompilationEvent symbolDeclaredEvent, Func`4 getTopMostNodeForAnalysis, AnalysisScope analysisScope, AnalysisState analysisStateOpt, Boolean isGeneratedCodeSymbol) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 430 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.TryExecuteSymbolActions(SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, AnalysisState analysisStateOpt, Boolean isGeneratedCodeSymbol, CancellationToken cancellationToken) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1436 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__107.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1388 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__106.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1332 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__104.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1260 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__103.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1247 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<>c__DisplayClass102_0.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1158 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__102.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1169 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__71.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 531 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 459 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 956 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass64_1.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 787 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__73.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 1090 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__64.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 816 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__63.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 649 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__61.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 620 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__12.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 349 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__11.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 323 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 87 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__7.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass17_0.<b__0>d.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Services\CodeAnalysisService_Diagnostics.cs:line 41 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.ServiceBase.d__15.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Shared\ServiceBase.cs:line 110 ``` ",True,"OperationCanceledException repeatedly bringing down OOP in latest int preview dogfood builds - **Version Used**: Latest 16.7 intpreview dogfood build **Steps to Reproduce**: Happens very often during typing. ## Gold bar stack trace (identical for all different OOP call stacks): ``` System.OperationCanceledException : The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.IO.Pipes.NamedPipeServerStream.EndWaitForConnection(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar,Func`2 endFunction,Action`1 endAction,Task`1 promise,Boolean requiresSynchronization) at async Microsoft.CodeAnalysis.Remote.RemoteEndPoint.InvokeAsync[T]() ``` ## Stack traces from servicehub logs Stacks from servicehub logs indicate these are regular operation canceled exceptions, which should just be propagated back to the iproc caller, instead of going unhandled in OOP: ### Stack 1 ``` 07/09/2020 08:36:29 Pacific Standard Time : Warning : Analyzer perf indicators exceeded threshold for 'Microsoft.CodeAnalysis.CSharp.UseExpressionBodyForLambda.UseExpressionBodyForLambdaDiagnosticAnalyzer, Microsoft.CodeAnalysis.CSharp.Features, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35' (-1167954340): LOF: 84.6423597209044, Avg: 135.642068723917, Stddev: 40.7095814777983 07/09/2020 08:36:36 Pacific Standard Time : Warning : Analyzer perf indicators exceeded threshold for 'Xunit.Analyzers.AssertEmptyCollectionCheckShouldNotBeUsed, xunit.analyzers, Version=0.10.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' (220713940): LOF: 97.1218435275852, Avg: 188.179480063119, Stddev: 44.7705038815655 07/09/2020 08:36:39 Pacific Standard Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:37208] Unexpected exception: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.Threading.CancellationToken.ThrowIfCancellationRequested() at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.g__executeSuppressionActions|81_0(IEnumerable`1 reportedDiagnostics, Boolean concurrent) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ApplyProgrammaticSuppressionsCore(ImmutableArray`1 reportedDiagnostics, Compilation compilation) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 739 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSourceOrByAnalyzers(ImmutableArray`1 diagnostics, Compilation compilation) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 866 at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(AnalysisScope analysisScope, AnalyzerDriver driver, Compilation compilation, Func`2 getAnalyzerActionCounts, Boolean fullAnalysisResultForAnalyzersInScope) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalysisResultBuilder.cs:line 88 at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 961 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass64_1.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 787 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__72.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 1034 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__63.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 661 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__61.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 620 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__12.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 349 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__11.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 323 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 87 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__7.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass17_0.<b__0>d.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Services\CodeAnalysisService_Diagnostics.cs:line 41 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.ServiceBase.d__15.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Shared\ServiceBase.cs:line 110 ``` ### Stack 2 ``` 07/09/2020 07:23:23 Pacific Standard Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:43364] Unexpected exception: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteSemanticModelActionsCore(ImmutableArray`1 semanticModelActions, DiagnosticAnalyzer analyzer, SemanticModel semanticModel, AnalyzerStateData analyzerStateOpt, Boolean isGeneratedCode) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 687 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.TryExecuteSemanticModelActions(ImmutableArray`1 semanticModelActions, DiagnosticAnalyzer analyzer, SemanticModel semanticModel, CompilationEvent compilationUnitCompletedEvent, AnalysisScope analysisScope, AnalysisState analysisStateOpt, Boolean isGeneratedCode) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 652 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.TryProcessCompilationUnitCompleted(CompilationUnitCompletedEvent completedEvent, AnalysisScope analysisScope, AnalysisState analysisStateOpt, CancellationToken cancellationToken) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1563 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__106.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1338 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__104.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1260 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__103.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1247 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<>c__DisplayClass102_0.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1158 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__102.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1169 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__71.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 531 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 459 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 956 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass64_1.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 787 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__73.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 1090 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__64.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 816 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__56.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 547 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__54.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 525 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__12.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 345 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__11.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 323 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 87 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__7.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass17_0.<b__0>d.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Services\CodeAnalysisService_Diagnostics.cs:line 41 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.ServiceBase.d__15.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Shared\ServiceBase.cs:line 110 ``` ### Stack 3 ``` 07/08/2020 11:50:12 Pacific Standard Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:48504] Unexpected exception: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.Threading.ManualResetEventSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAllBlockingCore(List`1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.g__executeSuppressionActions|81_0(IEnumerable`1 reportedDiagnostics, Boolean concurrent) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ApplyProgrammaticSuppressionsCore(ImmutableArray`1 reportedDiagnostics, Compilation compilation) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 739 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSourceOrByAnalyzers(ImmutableArray`1 diagnostics, Compilation compilation) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 866 at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(AnalysisScope analysisScope, AnalyzerDriver driver, Compilation compilation, Func`2 getAnalyzerActionCounts, Boolean fullAnalysisResultForAnalyzersInScope) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalysisResultBuilder.cs:line 88 at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 961 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass64_1.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 787 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__72.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 1034 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__63.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 661 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__61.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 620 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__12.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 349 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__11.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 323 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 87 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__7.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass17_0.<b__0>d.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Services\CodeAnalysisService_Diagnostics.cs:line 41 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.ServiceBase.d__15.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Shared\ServiceBase.cs:line 110 ``` ### Stack 4 ``` 07/08/2020 08:59:31 Pacific Standard Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:52940] Unexpected exception: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteSymbolActionsCore(ImmutableArray`1 symbolActions, DiagnosticAnalyzer analyzer, SymbolDeclaredCompilationEvent symbolDeclaredEvent, Func`4 getTopMostNodeForAnalysis, AnalyzerStateData analyzerStateOpt, Boolean isGeneratedCodeSymbol) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 474 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.TryExecuteSymbolActions(ImmutableArray`1 symbolActions, DiagnosticAnalyzer analyzer, SymbolDeclaredCompilationEvent symbolDeclaredEvent, Func`4 getTopMostNodeForAnalysis, AnalysisScope analysisScope, AnalysisState analysisStateOpt, Boolean isGeneratedCodeSymbol) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 430 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.TryExecuteSymbolActions(SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, AnalysisState analysisStateOpt, Boolean isGeneratedCodeSymbol, CancellationToken cancellationToken) in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1436 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__107.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1388 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__106.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1332 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__104.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1260 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__103.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1247 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<>c__DisplayClass102_0.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1158 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__102.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 1169 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__71.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 531 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerDriver.cs:line 459 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__69.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 956 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass64_1.<b__1>d.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 787 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__73.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 1090 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__64.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 816 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__63.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 649 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__61.MoveNext() in C:\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\CompilationWithAnalyzers.cs:line 620 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__12.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 349 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__11.MoveNext() in C:\roslyn\src\Workspaces\Core\Portable\Diagnostics\Extensions.cs:line 323 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 87 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__7.MoveNext() in C:\roslyn\src\Workspaces\Remote\Core\Diagnostics\DiagnosticComputer.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass17_0.<b__0>d.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Services\CodeAnalysisService_Diagnostics.cs:line 41 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.ServiceBase.d__15.MoveNext() in C:\roslyn\src\Workspaces\Remote\ServiceHub\Shared\ServiceBase.cs:line 110 ``` ",1,operationcanceledexception repeatedly bringing down oop in latest int preview dogfood builds version used latest intpreview dogfood build steps to reproduce happens very often during typing gold bar stack trace identical for all different oop call stacks system operationcanceledexception the operation was canceled at system threading cancellationtoken throwoperationcanceledexception at system io pipes namedpipeserverstream endwaitforconnection iasyncresult asyncresult at system threading tasks taskfactory fromasynccorelogic iasyncresult iar func endfunction action endaction task promise boolean requiressynchronization at async microsoft codeanalysis remote remoteendpoint invokeasync stack traces from servicehub logs stacks from servicehub logs indicate these are regular operation canceled exceptions which should just be propagated back to the iproc caller instead of going unhandled in oop stack pacific standard time warning analyzer perf indicators exceeded threshold for microsoft codeanalysis csharp useexpressionbodyforlambda useexpressionbodyforlambdadiagnosticanalyzer microsoft codeanalysis csharp features version culture neutral publickeytoken lof avg stddev pacific standard time warning analyzer perf indicators exceeded threshold for xunit analyzers assertemptycollectioncheckshouldnotbeused xunit analyzers version culture neutral publickeytoken lof avg stddev pacific standard time error unexpected exception system operationcanceledexception the operation was canceled at system threading cancellationtoken throwoperationcanceledexception at system threading cancellationtoken throwifcancellationrequested at system threading tasks task waitall task tasks millisecondstimeout cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics analyzerdriver g executesuppressionactions ienumerable reporteddiagnostics boolean concurrent at microsoft codeanalysis diagnostics analyzerdriver applyprogrammaticsuppressionscore immutablearray reporteddiagnostics compilation compilation in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line at microsoft codeanalysis diagnostics analyzerdriver filterdiagnosticssuppressedinsourceorbyanalyzers immutablearray diagnostics compilation compilation in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line at microsoft codeanalysis diagnostics analysisresultbuilder applysuppressionsandstoreanalysisresult analysisscope analysisscope analyzerdriver driver compilation compilation func getanalyzeractioncounts boolean fullanalysisresultforanalyzersinscope in c roslyn src compilers core portable diagnosticanalyzer analysisresultbuilder cs line at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers c b d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext in c roslyn src workspaces core portable diagnostics extensions cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext in c roslyn src workspaces core portable diagnostics extensions cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext in c roslyn src workspaces remote core diagnostics diagnosticcomputer cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext in c roslyn src workspaces remote core diagnostics diagnosticcomputer cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote codeanalysisservice c b d movenext in c roslyn src workspaces remote servicehub services codeanalysisservice diagnostics cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote servicebase d movenext in c roslyn src workspaces remote servicehub shared servicebase cs line stack pacific standard time error unexpected exception system operationcanceledexception the operation was canceled at system threading cancellationtoken throwoperationcanceledexception at microsoft codeanalysis diagnostics analyzerexecutor executesemanticmodelactionscore immutablearray semanticmodelactions diagnosticanalyzer analyzer semanticmodel semanticmodel analyzerstatedata analyzerstateopt boolean isgeneratedcode in c roslyn src compilers core portable diagnosticanalyzer analyzerexecutor cs line at microsoft codeanalysis diagnostics analyzerexecutor tryexecutesemanticmodelactions immutablearray semanticmodelactions diagnosticanalyzer analyzer semanticmodel semanticmodel compilationevent compilationunitcompletedevent analysisscope analysisscope analysisstate analysisstateopt boolean isgeneratedcode in c roslyn src compilers core portable diagnosticanalyzer analyzerexecutor cs line at microsoft codeanalysis diagnostics analyzerdriver tryprocesscompilationunitcompleted compilationunitcompletedevent completedevent analysisscope analysisscope analysisstate analysisstateopt cancellationtoken cancellationtoken in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver c b d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers c b d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext in c roslyn src workspaces core portable diagnostics extensions cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext in c roslyn src workspaces core portable diagnostics extensions cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext in c roslyn src workspaces remote core diagnostics diagnosticcomputer cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext in c roslyn src workspaces remote core diagnostics diagnosticcomputer cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote codeanalysisservice c b d movenext in c roslyn src workspaces remote servicehub services codeanalysisservice diagnostics cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote servicebase d movenext in c roslyn src workspaces remote servicehub shared servicebase cs line stack pacific standard time error unexpected exception system operationcanceledexception the operation was canceled at system threading cancellationtoken throwoperationcanceledexception at system threading manualreseteventslim wait millisecondstimeout cancellationtoken cancellationtoken at system threading tasks task waitallblockingcore list tasks millisecondstimeout cancellationtoken cancellationtoken at system threading tasks task waitall task tasks millisecondstimeout cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics analyzerdriver g executesuppressionactions ienumerable reporteddiagnostics boolean concurrent at microsoft codeanalysis diagnostics analyzerdriver applyprogrammaticsuppressionscore immutablearray reporteddiagnostics compilation compilation in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line at microsoft codeanalysis diagnostics analyzerdriver filterdiagnosticssuppressedinsourceorbyanalyzers immutablearray diagnostics compilation compilation in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line at microsoft codeanalysis diagnostics analysisresultbuilder applysuppressionsandstoreanalysisresult analysisscope analysisscope analyzerdriver driver compilation compilation func getanalyzeractioncounts boolean fullanalysisresultforanalyzersinscope in c roslyn src compilers core portable diagnosticanalyzer analysisresultbuilder cs line at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers c b d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext in c roslyn src workspaces core portable diagnostics extensions cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext in c roslyn src workspaces core portable diagnostics extensions cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext in c roslyn src workspaces remote core diagnostics diagnosticcomputer cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext in c roslyn src workspaces remote core diagnostics diagnosticcomputer cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote codeanalysisservice c b d movenext in c roslyn src workspaces remote servicehub services codeanalysisservice diagnostics cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote servicebase d movenext in c roslyn src workspaces remote servicehub shared servicebase cs line stack pacific standard time error unexpected exception system operationcanceledexception the operation was canceled at system threading cancellationtoken throwoperationcanceledexception at microsoft codeanalysis diagnostics analyzerexecutor executesymbolactionscore immutablearray symbolactions diagnosticanalyzer analyzer symboldeclaredcompilationevent symboldeclaredevent func gettopmostnodeforanalysis analyzerstatedata analyzerstateopt boolean isgeneratedcodesymbol in c roslyn src compilers core portable diagnosticanalyzer analyzerexecutor cs line at microsoft codeanalysis diagnostics analyzerexecutor tryexecutesymbolactions immutablearray symbolactions diagnosticanalyzer analyzer symboldeclaredcompilationevent symboldeclaredevent func gettopmostnodeforanalysis analysisscope analysisscope analysisstate analysisstateopt boolean isgeneratedcodesymbol in c roslyn src compilers core portable diagnosticanalyzer analyzerexecutor cs line at microsoft codeanalysis diagnostics analyzerdriver tryexecutesymbolactions symboldeclaredcompilationevent symbolevent analysisscope analysisscope analysisstate analysisstateopt boolean isgeneratedcodesymbol cancellationtoken cancellationtoken in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver c b d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext in c roslyn src compilers core portable diagnosticanalyzer analyzerdriver cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers c b d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext in c roslyn src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext in c roslyn src workspaces core portable diagnostics extensions cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext in c roslyn src workspaces core portable diagnostics extensions cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext in c roslyn src workspaces remote core diagnostics diagnosticcomputer cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext in c roslyn src workspaces remote core diagnostics diagnosticcomputer cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote codeanalysisservice c b d movenext in c roslyn src workspaces remote servicehub services codeanalysisservice diagnostics cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote servicebase d movenext in c roslyn src workspaces remote servicehub shared servicebase cs line ,1 1729,19248348819.0,IssuesEvent,2021-12-09 00:42:37,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Feature xxx is currently unavailable due to an internal error. StreamJsonRpc.RemoteInvocationException: Cannot find the old value,Bug Area-Analyzers Tenet-Reliability,"This is following up from the comments I posted on https://github.com/dotnet/roslyn/issues/54204, the although the UI is reporting the same problem it is not the same underlying problem **Version Used**: Visual Studio 2022 - Version 17.1.0 Preview 1.1 _with Resharper 2021.3 EAP10_ dotnet core 6 **Steps to Reproduce**: hi, just got the error. It happened when on a Blazor App I was editing a razor file. When in the razor file I tried to use a variable that hadn't been declared yet. ![image](https://user-images.githubusercontent.com/250271/144655021-a57997c9-0575-4a58-b4d0-af9fb3df7c6c.png) The stack traces: For **Documents highlights** ``` StreamJsonRpc.RemoteInvocationException: Cannot find the old value Parameter name: oldValue at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentException: Cannot find the old value Parameter name: oldValue at System.Collections.Immutable.ImmutableArray`1.Replace(T oldValue, T newValue, IEqualityComparer`1 equalityComparer) at Microsoft.CodeAnalysis.GeneratorDriver.ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__29.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Document.d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteDocumentHighlightsService.<>c__DisplayClass2_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__13`1.MoveNext() ``` for **semantic classification** ``` StreamJsonRpc.RemoteInvocationException: Cannot find the old value Parameter name: oldValue at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask`1.get_Result() at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentException: Cannot find the old value Parameter name: oldValue at System.Collections.Immutable.ImmutableArray`1.Replace(T oldValue, T newValue, IEqualityComparer`1 equalityComparer) at Microsoft.CodeAnalysis.GeneratorDriver.ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__29.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Document.d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteSemanticClassificationService.<>c__DisplayClass2_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask`1.get_Result() at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__13`1.MoveNext() ``` for **Navigation bar** ``` StreamJsonRpc.RemoteInvocationException: Cannot find the old value Parameter name: oldValue at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask`1.get_Result() at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentException: Cannot find the old value Parameter name: oldValue at System.Collections.Immutable.ImmutableArray`1.Replace(T oldValue, T newValue, IEqualityComparer`1 equalityComparer) at Microsoft.CodeAnalysis.GeneratorDriver.ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__29.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Document.d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.CSharp.NavigationBar.CSharpNavigationBarItemService.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.CSharp.NavigationBar.CSharpNavigationBarItemService.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigationBar.AbstractNavigationBarItemService.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigationBarItemService.<>c__DisplayClass2_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask`1.get_Result() at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__13`1.MoveNext() ``` for **semantic classification cache** ``` StreamJsonRpc.RemoteInvocationException: Cannot find the old value Parameter name: oldValue at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentException: Cannot find the old value Parameter name: oldValue at System.Collections.Immutable.ImmutableArray`1.Replace(T oldValue, T newValue, IEqualityComparer`1 equalityComparer) at Microsoft.CodeAnalysis.GeneratorDriver.ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__29.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Document.d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteSemanticClassificationCacheService.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.Remote.RemoteSemanticClassificationCacheService.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteSemanticClassificationCacheService.<>c__DisplayClass6_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__15.MoveNext() ``` now the only way to stop getting these errors is to restart visual studio, otherwise any action - click, typing - I do will bring the 4 errors back. ",True,"Feature xxx is currently unavailable due to an internal error. StreamJsonRpc.RemoteInvocationException: Cannot find the old value - This is following up from the comments I posted on https://github.com/dotnet/roslyn/issues/54204, the although the UI is reporting the same problem it is not the same underlying problem **Version Used**: Visual Studio 2022 - Version 17.1.0 Preview 1.1 _with Resharper 2021.3 EAP10_ dotnet core 6 **Steps to Reproduce**: hi, just got the error. It happened when on a Blazor App I was editing a razor file. When in the razor file I tried to use a variable that hadn't been declared yet. ![image](https://user-images.githubusercontent.com/250271/144655021-a57997c9-0575-4a58-b4d0-af9fb3df7c6c.png) The stack traces: For **Documents highlights** ``` StreamJsonRpc.RemoteInvocationException: Cannot find the old value Parameter name: oldValue at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentException: Cannot find the old value Parameter name: oldValue at System.Collections.Immutable.ImmutableArray`1.Replace(T oldValue, T newValue, IEqualityComparer`1 equalityComparer) at Microsoft.CodeAnalysis.GeneratorDriver.ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__29.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Document.d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteDocumentHighlightsService.<>c__DisplayClass2_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__13`1.MoveNext() ``` for **semantic classification** ``` StreamJsonRpc.RemoteInvocationException: Cannot find the old value Parameter name: oldValue at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask`1.get_Result() at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentException: Cannot find the old value Parameter name: oldValue at System.Collections.Immutable.ImmutableArray`1.Replace(T oldValue, T newValue, IEqualityComparer`1 equalityComparer) at Microsoft.CodeAnalysis.GeneratorDriver.ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__29.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Document.d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteSemanticClassificationService.<>c__DisplayClass2_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask`1.get_Result() at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__13`1.MoveNext() ``` for **Navigation bar** ``` StreamJsonRpc.RemoteInvocationException: Cannot find the old value Parameter name: oldValue at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask`1.get_Result() at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentException: Cannot find the old value Parameter name: oldValue at System.Collections.Immutable.ImmutableArray`1.Replace(T oldValue, T newValue, IEqualityComparer`1 equalityComparer) at Microsoft.CodeAnalysis.GeneratorDriver.ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__29.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Document.d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.CSharp.NavigationBar.CSharpNavigationBarItemService.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.CSharp.NavigationBar.CSharpNavigationBarItemService.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigationBar.AbstractNavigationBarItemService.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigationBarItemService.<>c__DisplayClass2_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask`1.get_Result() at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__13`1.MoveNext() ``` for **semantic classification cache** ``` StreamJsonRpc.RemoteInvocationException: Cannot find the old value Parameter name: oldValue at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentException: Cannot find the old value Parameter name: oldValue at System.Collections.Immutable.ImmutableArray`1.Replace(T oldValue, T newValue, IEqualityComparer`1 equalityComparer) at Microsoft.CodeAnalysis.GeneratorDriver.ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__29.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Document.d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteSemanticClassificationCacheService.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.Remote.RemoteSemanticClassificationCacheService.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteSemanticClassificationCacheService.<>c__DisplayClass6_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__15.MoveNext() ``` now the only way to stop getting these errors is to restart visual studio, otherwise any action - click, typing - I do will bring the 4 errors back. ",1,feature xxx is currently unavailable due to an internal error streamjsonrpc remoteinvocationexception cannot find the old value this is following up from the comments i posted on the although the ui is reporting the same problem it is not the same underlying problem version used visual studio version preview with resharper dotnet core steps to reproduce hi just got the error it happened when on a blazor app i was editing a razor file when in the razor file i tried to use a variable that hadn t been declared yet the stack traces for documents highlights streamjsonrpc remoteinvocationexception cannot find the old value parameter name oldvalue at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredserviceconnection d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject rpc server exception system argumentexception cannot find the old value parameter name oldvalue at system collections immutable immutablearray replace t oldvalue t newvalue iequalitycomparer equalitycomparer at microsoft codeanalysis generatordriver replaceadditionaltext additionaltext oldtext additionaltext newtext at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis document d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis shared extensions documentextensions d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis documenthighlighting abstractdocumenthighlightsservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis documenthighlighting abstractdocumenthighlightsservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotedocumenthighlightsservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredservicebase d movenext for semantic classification streamjsonrpc remoteinvocationexception cannot find the old value parameter name oldvalue at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at system threading tasks valuetask get result at microsoft codeanalysis remote brokeredserviceconnection d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject rpc server exception system argumentexception cannot find the old value parameter name oldvalue at system collections immutable immutablearray replace t oldvalue t newvalue iequalitycomparer equalitycomparer at microsoft codeanalysis generatordriver replaceadditionaltext additionaltext oldtext additionaltext newtext at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis document d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis shared extensions documentextensions d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis classification abstractsyntaxclassificationservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis classification abstractclassificationservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotesemanticclassificationservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at system threading tasks valuetask get result at microsoft codeanalysis remote brokeredservicebase d movenext for navigation bar streamjsonrpc remoteinvocationexception cannot find the old value parameter name oldvalue at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at system threading tasks valuetask get result at microsoft codeanalysis remote brokeredserviceconnection d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject rpc server exception system argumentexception cannot find the old value parameter name oldvalue at system collections immutable immutablearray replace t oldvalue t newvalue iequalitycomparer equalitycomparer at microsoft codeanalysis generatordriver replaceadditionaltext additionaltext oldtext additionaltext newtext at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis document d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis shared extensions documentextensions d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis csharp navigationbar csharpnavigationbaritemservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis csharp navigationbar csharpnavigationbaritemservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigationbar abstractnavigationbaritemservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotenavigationbaritemservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at system threading tasks valuetask get result at microsoft codeanalysis remote brokeredservicebase d movenext for semantic classification cache streamjsonrpc remoteinvocationexception cannot find the old value parameter name oldvalue at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredserviceconnection d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject rpc server exception system argumentexception cannot find the old value parameter name oldvalue at system collections immutable immutablearray replace t oldvalue t newvalue iequalitycomparer equalitycomparer at microsoft codeanalysis generatordriver replaceadditionaltext additionaltext oldtext additionaltext newtext at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutionstate compilationtracker d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis document d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis shared extensions documentextensions d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis classification abstractsyntaxclassificationservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis classification abstractclassificationservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis classification abstractclassificationservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotesemanticclassificationcacheservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis remote remotesemanticclassificationcacheservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotesemanticclassificationcacheservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredservicebase d movenext now the only way to stop getting these errors is to restart visual studio otherwise any action click typing i do will bring the errors back ,1 290,6023244843.0,IssuesEvent,2017-06-07 23:23:25,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,IDE stop responding completely while a big C# file was edited.,Area-IDE Tenet-Reliability,"I edited a big C# file. IDE got slower and slower to respond. Eventually it stop responding at all, I had to kill the process. I captured a dump before killing the process, it is available upon request. CC @Pilchie ",True,"IDE stop responding completely while a big C# file was edited. - I edited a big C# file. IDE got slower and slower to respond. Eventually it stop responding at all, I had to kill the process. I captured a dump before killing the process, it is available upon request. CC @Pilchie ",1,ide stop responding completely while a big c file was edited i edited a big c file ide got slower and slower to respond eventually it stop responding at all i had to kill the process i captured a dump before killing the process it is available upon request cc pilchie ,1 1767,19585073333.0,IssuesEvent,2022-01-05 05:11:34,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"Intellisense, Syntax highlight and Error Window are badly broken with incremental source generator in Visual Studio 17.0.4",Bug Area-IDE Tenet-Reliability Investigation Required,"**Version Used**: Visual Studio 2022 17.0.4 Microsoft.CodeAnalysis.Analyzers 3.3.3 Microsoft.CodeAnalysis.CSharp.Workspaces 4.0.1 **Steps to Reproduce**: 1. Clone the [repro project](https://github.com/fberasategui/SourceGenerator.IntellisenseBug.Demo) 2. Open `SourceGenerator.IntellisenseBug.Demo.sln` in Visual Studio 2022 17.0.4 3. Build the solution 4. Observe the following behavior: ![IntellisenseBugDemo](https://user-images.githubusercontent.com/13060549/147685257-a10c9970-c853-4151-93ad-accd5f22652f.gif) **Expected Behavior**: - Intellisense and syntax highlight should continue to work with source-generated code. - Visual Studio should not report errors in the Errors Window when the build actually succeeds, as per the Output Window. - List of generated files should be shown in solution explorer under `Analyzers -> SourceGen.IntellisenseBug.Demo` instead of ""this generator is not generating any files."" message. **Actual Behavior**: - Everything works fine up until variable `c11` is declared. - Intellisense and syntax highlight is broken when `c11` is declared, and never recover afterwards. - Visual Studio reports errors in the Errors Window, but the build successfully passes - Solution Explorer shows ""this generator is not generating files."" message instead of properly showing the generated file. **More details**: The source generator creates a single file with several empty C# classes named `Class1`, `Class2`, `Class3` and so forth, depending on the number of classes declared in the consuming project in the first variable declaration: - `var classes = 5;` means there will be `Class1` to `Class5` - `var classes = 10;` means there will be `Class1` to `Class10` - and so on. Using `` and `` to consume the source generator, in both cases the behavior is the same.",True,"Intellisense, Syntax highlight and Error Window are badly broken with incremental source generator in Visual Studio 17.0.4 - **Version Used**: Visual Studio 2022 17.0.4 Microsoft.CodeAnalysis.Analyzers 3.3.3 Microsoft.CodeAnalysis.CSharp.Workspaces 4.0.1 **Steps to Reproduce**: 1. Clone the [repro project](https://github.com/fberasategui/SourceGenerator.IntellisenseBug.Demo) 2. Open `SourceGenerator.IntellisenseBug.Demo.sln` in Visual Studio 2022 17.0.4 3. Build the solution 4. Observe the following behavior: ![IntellisenseBugDemo](https://user-images.githubusercontent.com/13060549/147685257-a10c9970-c853-4151-93ad-accd5f22652f.gif) **Expected Behavior**: - Intellisense and syntax highlight should continue to work with source-generated code. - Visual Studio should not report errors in the Errors Window when the build actually succeeds, as per the Output Window. - List of generated files should be shown in solution explorer under `Analyzers -> SourceGen.IntellisenseBug.Demo` instead of ""this generator is not generating any files."" message. **Actual Behavior**: - Everything works fine up until variable `c11` is declared. - Intellisense and syntax highlight is broken when `c11` is declared, and never recover afterwards. - Visual Studio reports errors in the Errors Window, but the build successfully passes - Solution Explorer shows ""this generator is not generating files."" message instead of properly showing the generated file. **More details**: The source generator creates a single file with several empty C# classes named `Class1`, `Class2`, `Class3` and so forth, depending on the number of classes declared in the consuming project in the first variable declaration: - `var classes = 5;` means there will be `Class1` to `Class5` - `var classes = 10;` means there will be `Class1` to `Class10` - and so on. Using `` and `` to consume the source generator, in both cases the behavior is the same.",1,intellisense syntax highlight and error window are badly broken with incremental source generator in visual studio version used visual studio microsoft codeanalysis analyzers microsoft codeanalysis csharp workspaces steps to reproduce clone the open sourcegenerator intellisensebug demo sln in visual studio build the solution observe the following behavior expected behavior intellisense and syntax highlight should continue to work with source generated code visual studio should not report errors in the errors window when the build actually succeeds as per the output window list of generated files should be shown in solution explorer under analyzers sourcegen intellisensebug demo instead of this generator is not generating any files message actual behavior everything works fine up until variable is declared intellisense and syntax highlight is broken when is declared and never recover afterwards visual studio reports errors in the errors window but the build successfully passes solution explorer shows this generator is not generating files message instead of properly showing the generated file more details the source generator creates a single file with several empty c classes named and so forth depending on the number of classes declared in the consuming project in the first variable declaration var classes means there will be to var classes means there will be to and so on using and to consume the source generator in both cases the behavior is the same ,1 304,6335811920.0,IssuesEvent,2017-07-26 19:41:18,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,SignatureHelp.Controller can fail with ArgumentOutOfRangeException when trying to read symbol,Area-IDE Bug Tenet-Reliability,"From recent crashes from this community item: https://developercommunity.visualstudio.com/content/problem/67068/unit-tests-take-a-very-long-time-appear-in-the-tes.html ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)    at Microsoft.CodeAnalysis.SymbolKey.TypeParameterOrdinalSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKey()    at Microsoft.CodeAnalysis.SymbolKey.Reader`1.ReadArray[T](Func`1 readFunction)    at Microsoft.CodeAnalysis.SymbolKey.NamedTypeSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKey()    at Microsoft.CodeAnalysis.SymbolKey.Reader`1.ReadArray[T](Func`1 readFunction)    at Microsoft.CodeAnalysis.SymbolKey.MethodSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.ReducedExtensionMethodSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.ConstructedMethodSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.Resolve(String symbolKey, Compilation compilation, Boolean ignoreAssemblyKey, CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.SymbolKey.Resolve(Compilation compilation, Boolean ignoreAssemblyKey, CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.d__14.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__10.MoveNext() Stack:    at System.Environment.FailFast(System.String, System.Exception)    at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)    at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1)    at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__10.MoveNext()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__10.MoveNext()    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__10, Microsoft.CodeAnalysis.EditorFeatures, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__10 ByRef)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Generic.IList`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__5.MoveNext()    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__5, Microsoft.CodeAnalysis.EditorFeatures, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__5 ByRef)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Generic.IList`1, System.Collections.Generic.IList`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass4_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1)    at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass16_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task)    at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()    at System.Threading.Tasks.Task.Execute()    at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)    at System.Threading.Tasks.Task.ExecuteEntry(Boolean)    at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()    at System.Threading.ThreadPoolWorkQueue.Dispatch()    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",True,"SignatureHelp.Controller can fail with ArgumentOutOfRangeException when trying to read symbol - From recent crashes from this community item: https://developercommunity.visualstudio.com/content/problem/67068/unit-tests-take-a-very-long-time-appear-in-the-tes.html ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)    at Microsoft.CodeAnalysis.SymbolKey.TypeParameterOrdinalSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKey()    at Microsoft.CodeAnalysis.SymbolKey.Reader`1.ReadArray[T](Func`1 readFunction)    at Microsoft.CodeAnalysis.SymbolKey.NamedTypeSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKey()    at Microsoft.CodeAnalysis.SymbolKey.Reader`1.ReadArray[T](Func`1 readFunction)    at Microsoft.CodeAnalysis.SymbolKey.MethodSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.ReducedExtensionMethodSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.ConstructedMethodSymbolKey.Resolve(SymbolKeyReader reader)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type)    at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyWorker(Boolean first)    at Microsoft.CodeAnalysis.SymbolKey.Resolve(String symbolKey, Compilation compilation, Boolean ignoreAssemblyKey, CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.SymbolKey.Resolve(Compilation compilation, Boolean ignoreAssemblyKey, CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.d__14.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__10.MoveNext() Stack:    at System.Environment.FailFast(System.String, System.Exception)    at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)    at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1)    at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__10.MoveNext()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__10.MoveNext()    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__10, Microsoft.CodeAnalysis.EditorFeatures, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__10 ByRef)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Generic.IList`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__5.MoveNext()    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__5, Microsoft.CodeAnalysis.EditorFeatures, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__5 ByRef)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Generic.IList`1, System.Collections.Generic.IList`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass4_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken)    at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1)    at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass16_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task)    at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()    at System.Threading.Tasks.Task.Execute()    at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)    at System.Threading.Tasks.Task.ExecuteEntry(Boolean)    at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()    at System.Threading.ThreadPoolWorkQueue.Dispatch()    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",1,signaturehelp controller can fail with argumentoutofrangeexception when trying to read symbol from recent crashes from this community item application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentoutofrangeexception index was out of range must be non negative and less than the size of the collection parameter name index    at system throwhelper throwargumentoutofrangeexception exceptionargument argument exceptionresource resource    at microsoft codeanalysis symbolkey typeparameterordinalsymbolkey resolve symbolkeyreader reader    at microsoft codeanalysis symbolkey symbolkeyreader readworker symbolkeytype type    at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkeyworker boolean first    at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkey    at microsoft codeanalysis symbolkey reader readarray func readfunction    at microsoft codeanalysis symbolkey namedtypesymbolkey resolve symbolkeyreader reader    at microsoft codeanalysis symbolkey symbolkeyreader readworker symbolkeytype type    at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkeyworker boolean first    at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkey    at microsoft codeanalysis symbolkey reader readarray func readfunction    at microsoft codeanalysis symbolkey methodsymbolkey resolve symbolkeyreader reader    at microsoft codeanalysis symbolkey symbolkeyreader readworker symbolkeytype type    at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkeyworker boolean first    at microsoft codeanalysis symbolkey reducedextensionmethodsymbolkey resolve symbolkeyreader reader    at microsoft codeanalysis symbolkey symbolkeyreader readworker symbolkeytype type    at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkeyworker boolean first    at microsoft codeanalysis symbolkey constructedmethodsymbolkey resolve symbolkeyreader reader    at microsoft codeanalysis symbolkey symbolkeyreader readworker symbolkeytype type    at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkeyworker boolean first    at microsoft codeanalysis symbolkey resolve string symbolkey compilation compilation boolean ignoreassemblykey cancellationtoken cancellationtoken    at microsoft codeanalysis symbolkey resolve compilation compilation boolean ignoreassemblykey cancellationtoken cancellationtoken    at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider d movenext 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 microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext stack    at system environment failfast system string system exception    at microsoft codeanalysis failfast onfatalexception system exception    at microsoft codeanalysis errorreporting fatalerror report system exception system action    at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception    at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext    at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task    at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task    at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext    at system runtime compilerservices asynctaskmethodbuilder start d byref    at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computeitemsasync system collections generic ilist microsoft visualstudio text snapshotpoint microsoft codeanalysis signaturehelp signaturehelptriggerinfo microsoft codeanalysis document system threading cancellationtoken    at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext    at system runtime compilerservices asynctaskmethodbuilder start d byref    at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computemodelinbackgroundasync microsoft codeanalysis editor implementation intellisense signaturehelp model system collections generic ilist system collections generic ilist microsoft visualstudio text snapshotpoint microsoft codeanalysis editor implementation intellisense disconnectedbuffergraph microsoft codeanalysis signaturehelp signaturehelptriggerinfo system threading cancellationtoken    at microsoft codeanalysis editor implementation intellisense signaturehelp controller session c b microsoft codeanalysis editor implementation intellisense signaturehelp model system threading cancellationtoken    at microsoft codeanalysis editor implementation intellisense modelcomputation c b system threading tasks task    at roslyn utilities taskextensions c b system threading tasks task    at system threading tasks continuationresulttaskfromtask innerinvoke    at system threading tasks task execute    at system threading tasks task executioncontextcallback system object    at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean    at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean    at system threading tasks task executewiththreadlocal system threading tasks task byref    at system threading tasks task executeentry boolean    at system threading tasks task system threading ithreadpoolworkitem executeworkitem    at system threading threadpoolworkqueue dispatch    at system threading threadpoolwaitcallback performwaitcallback ,1 746,10313059957.0,IssuesEvent,2019-08-29 21:30:11,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Remove non-fatal watson for analyzer errors,4 - In Review Area-Analyzers Bug Tenet-Reliability,"Analyzer errors (and analyzer driver errors) should be reported as AD0001 (or similar), and not produce a non-fatal watson. The NFW reporting process can hang the IDE process leaving the user unable to recover from an analyzer failure, even to the point of determining that the failure location was within an analyzer.",True,"Remove non-fatal watson for analyzer errors - Analyzer errors (and analyzer driver errors) should be reported as AD0001 (or similar), and not produce a non-fatal watson. The NFW reporting process can hang the IDE process leaving the user unable to recover from an analyzer failure, even to the point of determining that the failure location was within an analyzer.",1,remove non fatal watson for analyzer errors analyzer errors and analyzer driver errors should be reported as or similar and not produce a non fatal watson the nfw reporting process can hang the ide process leaving the user unable to recover from an analyzer failure even to the point of determining that the failure location was within an analyzer ,1 262,5841373735.0,IssuesEvent,2017-05-10 00:37:01,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Creating C# WPF apps crash VS with ArgumentNullException,Area-IDE Bug Tenet-Reliability,"**Version Used**: VSUML 26507.1 **Steps to Reproduce**: 1. Install VS with .NET Desktop Development 2. Create a new C# WPF App **Expected Behavior**: Project creates successfully and you are able to work on it. **Actual Behavior**: Project creates followed by crashing VS. Exception: ``` CLR: Managed code called FailFast, saying ""System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Runtime.CompilerServices.ConditionalWeakTable`2.TryGetValue(TKey key, TValue& value) at System.Runtime.CompilerServices.ConditionalWeakTable`2.GetValue(TKey key, CreateValueCallback createValueCallback) at Microsoft.CodeAnalysis.Serialization.ChecksumCache.GetOrCreate(Object value, CreateValueCallback checksumCreator) at Microsoft.CodeAnalysis.FindSymbols.SyntaxTreeIndex.d__8.MoveNext() --- 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 Microsoft.CodeAnalysis.FindSymbols.SyntaxTreeIndex.d__51.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass31_1`1.<b__0>d.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext()"" ``` ",True,"Creating C# WPF apps crash VS with ArgumentNullException - **Version Used**: VSUML 26507.1 **Steps to Reproduce**: 1. Install VS with .NET Desktop Development 2. Create a new C# WPF App **Expected Behavior**: Project creates successfully and you are able to work on it. **Actual Behavior**: Project creates followed by crashing VS. Exception: ``` CLR: Managed code called FailFast, saying ""System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Runtime.CompilerServices.ConditionalWeakTable`2.TryGetValue(TKey key, TValue& value) at System.Runtime.CompilerServices.ConditionalWeakTable`2.GetValue(TKey key, CreateValueCallback createValueCallback) at Microsoft.CodeAnalysis.Serialization.ChecksumCache.GetOrCreate(Object value, CreateValueCallback checksumCreator) at Microsoft.CodeAnalysis.FindSymbols.SyntaxTreeIndex.d__8.MoveNext() --- 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 Microsoft.CodeAnalysis.FindSymbols.SyntaxTreeIndex.d__51.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass31_1`1.<b__0>d.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext()"" ``` ",1,creating c wpf apps crash vs with argumentnullexception version used vsuml steps to reproduce install vs with net desktop development create a new c wpf app expected behavior project creates successfully and you are able to work on it actual behavior project creates followed by crashing vs exception clr managed code called failfast saying system argumentnullexception value cannot be null parameter name key at system runtime compilerservices conditionalweaktable trygetvalue tkey key tvalue value at system runtime compilerservices conditionalweaktable getvalue tkey key createvaluecallback createvaluecallback at microsoft codeanalysis serialization checksumcache getorcreate object value createvaluecallback checksumcreator at microsoft codeanalysis findsymbols syntaxtreeindex d movenext 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 microsoft codeanalysis findsymbols syntaxtreeindex d movenext 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 microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b d movenext 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 microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext ,1 238,5534465495.0,IssuesEvent,2017-03-21 15:27:17,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS crash in VisualStudioProjectTracker.GetOrCreateProjectFromArgumentsAndReferences,Area-IDE Bug Tenet-Reliability,"_From @AArnott on March 6, 2017 3:4_ d15rel 26228.00 I have lightweight solution load turned on. This crashed twice in a row (2 out of 2 attempts) ``` git clone https://github.com/aarnott/pinvoke cd pinvoke git checkout bugrepro/roslyn-project-system/1678 devenv src\pinvoke.sln ``` Crashes with: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException at System.Linq.Enumerable.Single[[System.Byte, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1) at System.Linq.ImmutableArrayExtensions.SingleOrDefault[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Immutable.ImmutableArray`1, System.Func`2) at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.GetOrCreateProjectFromArgumentsAndReferences(Microsoft.VisualStudio.LanguageServices.ProjectSystem.IWorkspaceProjectContextFactory, Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader, System.String, System.Collections.Generic.IReadOnlyDictionary`2, System.Collections.Generic.IReadOnlyDictionary`2) at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker+d__69.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker+d__62.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Roslyn.Utilities.TaskExtensions+d__0.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) ``` _Copied from original issue: dotnet/roslyn-project-system#1678_",True,"VS crash in VisualStudioProjectTracker.GetOrCreateProjectFromArgumentsAndReferences - _From @AArnott on March 6, 2017 3:4_ d15rel 26228.00 I have lightweight solution load turned on. This crashed twice in a row (2 out of 2 attempts) ``` git clone https://github.com/aarnott/pinvoke cd pinvoke git checkout bugrepro/roslyn-project-system/1678 devenv src\pinvoke.sln ``` Crashes with: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException at System.Linq.Enumerable.Single[[System.Byte, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1) at System.Linq.ImmutableArrayExtensions.SingleOrDefault[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Immutable.ImmutableArray`1, System.Func`2) at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.GetOrCreateProjectFromArgumentsAndReferences(Microsoft.VisualStudio.LanguageServices.ProjectSystem.IWorkspaceProjectContextFactory, Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader, System.String, System.Collections.Generic.IReadOnlyDictionary`2, System.Collections.Generic.IReadOnlyDictionary`2) at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker+d__69.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker+d__62.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Roslyn.Utilities.TaskExtensions+d__0.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) ``` _Copied from original issue: dotnet/roslyn-project-system#1678_",1,vs crash in visualstudioprojecttracker getorcreateprojectfromargumentsandreferences from aarnott on march i have lightweight solution load turned on this crashed twice in a row out of attempts git clone cd pinvoke git checkout bugrepro roslyn project system devenv src pinvoke sln crashes with application devenv exe framework version description the process was terminated due to an unhandled exception exception info system invalidoperationexception at system linq enumerable single system collections generic ienumerable at system linq immutablearrayextensions singleordefault system collections immutable immutablearray system func at microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker getorcreateprojectfromargumentsandreferences microsoft visualstudio languageservices projectsystem iworkspaceprojectcontextfactory microsoft codeanalysis ianalyzerassemblyloader system string system collections generic ireadonlydictionary system collections generic ireadonlydictionary at microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at roslyn utilities taskextensions d movenext at system runtime compilerservices asyncmethodbuildercore c b system object at system windows threading exceptionwrapper internalrealcall system delegate system object at system windows threading exceptionwrapper trycatchwhen system object system delegate system object system delegate at system windows threading dispatcheroperation invokeimpl at system windows threading dispatcheroperation invokeinsecuritycontext system object at ms internal culturepreservingexecutioncontext callbackwrapper system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object at ms internal culturepreservingexecutioncontext run ms internal culturepreservingexecutioncontext system threading contextcallback system object at system windows threading dispatcheroperation invoke at system windows threading dispatcher processqueue at system windows threading dispatcher wndprochook intptr intptr intptr boolean byref at ms hwndwrapper wndproc intptr intptr intptr boolean byref at ms hwndsubclass dispatchercallbackoperation system object at system windows threading exceptionwrapper internalrealcall system delegate system object at system windows threading exceptionwrapper trycatchwhen system object system delegate system object system delegate at system windows threading dispatcher legacyinvokeimpl system windows threading dispatcherpriority system timespan system delegate system object at ms hwndsubclass subclasswndproc intptr intptr intptr copied from original issue dotnet roslyn project system ,1 257,5738439516.0,IssuesEvent,2017-04-23 04:03:48,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,IDE crash on unfinished tuple deconstruction expression,Area-Compilers Bug Tenet-Reliability,"**Version Used**: > Microsoft Visual Studio Professional 2017 > Version 15.0.26228.10 D15RTWSVC > Microsoft .NET Framework > Version 4.6.01586 **Steps to Reproduce**: Paste the following code in VS: ``` public class C { public void M() { (var a, var b) (var a, var b) } } ``` **Expected Behavior**: IDE continue working with acceptable parser recovery results :) **Actual Behavior**: IDE crash",True,"IDE crash on unfinished tuple deconstruction expression - **Version Used**: > Microsoft Visual Studio Professional 2017 > Version 15.0.26228.10 D15RTWSVC > Microsoft .NET Framework > Version 4.6.01586 **Steps to Reproduce**: Paste the following code in VS: ``` public class C { public void M() { (var a, var b) (var a, var b) } } ``` **Expected Behavior**: IDE continue working with acceptable parser recovery results :) **Actual Behavior**: IDE crash",1,ide crash on unfinished tuple deconstruction expression version used microsoft visual studio professional version microsoft net framework version steps to reproduce paste the following code in vs public class c public void m var a var b var a var b expected behavior ide continue working with acceptable parser recovery results actual behavior ide crash,1 884,11424905668.0,IssuesEvent,2020-02-03 18:43:48,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Visual Studio crashes when adding a parameter to a function,Area-IDE Bug Developer Community IDE-IntelliSense Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/854342/visual-studio-crashes-when-adding-a-parameter-to-a.html)._ --- [regression] [worked-in:16.4] I have a method with two overloads: ``` Private Function MonthToActualYearMonth(ByVal theMonth As MyEnumType) As Integer Public Shared Function MonthToActualYearMonth(ByVal theYear As Integer, ByVal theMonth As MyEnumType) As Integer ``` And a line of code calling the wrong method: `Dim aBla = MonthToActualYearMonth(myMonth)` I get a squigly red line underneath the method call with the following error (which is correct): `Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.` I want to add the missing parameter to use the shared method instead of the private function. I add my cursor after the first parentheses and start typing to add the missing parameter. When I finally type the "","" Visual Studio crashes. In the Event Viewer in Windows I find the following back: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.Filter(IList`1 items, IEnumerable`1 parameterNames, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.CreateSignatureHelpItems(IList`1 items, TextSpan applicableSpan, SignatureHelpState state, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.VisualBasic.SignatureHelp.InvocationExpressionSignatureHelpProvider.VB$StateMachine_16_GetItemsWorkerAsync.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.d__16.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__9.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9, Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__9 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` --- ### Original Comments #### Visual Studio Feedback System on 12/13/2019, 02:00 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",True,"Visual Studio crashes when adding a parameter to a function - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/854342/visual-studio-crashes-when-adding-a-parameter-to-a.html)._ --- [regression] [worked-in:16.4] I have a method with two overloads: ``` Private Function MonthToActualYearMonth(ByVal theMonth As MyEnumType) As Integer Public Shared Function MonthToActualYearMonth(ByVal theYear As Integer, ByVal theMonth As MyEnumType) As Integer ``` And a line of code calling the wrong method: `Dim aBla = MonthToActualYearMonth(myMonth)` I get a squigly red line underneath the method call with the following error (which is correct): `Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.` I want to add the missing parameter to use the shared method instead of the private function. I add my cursor after the first parentheses and start typing to add the missing parameter. When I finally type the "","" Visual Studio crashes. In the Event Viewer in Windows I find the following back: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.Filter(IList`1 items, IEnumerable`1 parameterNames, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.CreateSignatureHelpItems(IList`1 items, TextSpan applicableSpan, SignatureHelpState state, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.VisualBasic.SignatureHelp.InvocationExpressionSignatureHelpProvider.VB$StateMachine_16_GetItemsWorkerAsync.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.d__16.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__9.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__9, Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__9 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` --- ### Original Comments #### Visual Studio Feedback System on 12/13/2019, 02:00 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",1,visual studio crashes when adding a parameter to a function this issue has been moved from i have a method with two overloads private function monthtoactualyearmonth byval themonth as myenumtype as integer public shared function monthtoactualyearmonth byval theyear as integer byval themonth as myenumtype as integer and a line of code calling the wrong method dim abla monthtoactualyearmonth mymonth i get a squigly red line underneath the method call with the following error which is correct cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class i want to add the missing parameter to use the shared method instead of the private function i add my cursor after the first parentheses and start typing to add the missing parameter when i finally type the visual studio crashes in the event viewer in windows i find the following back application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentoutofrangeexception index was out of range must be non negative and less than the size of the collection parameter name index at system throwhelper throwargumentoutofrangeexception exceptionargument argument exceptionresource resource at system collections generic list get item index at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider filter ilist items ienumerable parameternames nullable selecteditem at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider createsignaturehelpitems ilist items textspan applicablespan signaturehelpstate state nullable selecteditem at microsoft codeanalysis visualbasic signaturehelp invocationexpressionsignaturehelpprovider vb statemachine getitemsworkerasync movenext 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 validateend task task at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider d movenext 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 microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices asynctaskmethodbuilder mscorlib version culture neutral publickeytoken start d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computeitemsasync system collections immutable immutablearray microsoft visualstudio text snapshotpoint microsoft codeanalysis signaturehelp signaturehelptriggerinfo microsoft codeanalysis document system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computemodelinbackgroundasync microsoft codeanalysis editor implementation intellisense signaturehelp model system collections immutable immutablearray microsoft visualstudio text snapshotpoint microsoft codeanalysis editor implementation intellisense disconnectedbuffergraph microsoft codeanalysis signaturehelp signaturehelptriggerinfo system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session c b microsoft codeanalysis editor implementation intellisense signaturehelp model system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense modelcomputation c b system threading tasks task at roslyn utilities taskextensions c b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback original comments visual studio feedback system on am we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps original solutions no solutions ,1 1016,12303322828.0,IssuesEvent,2020-05-11 18:29:32,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Repeated VS crashes from Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService,Area-IDE Bug Tenet-Reliability,"I have hit the same crash at least 4 times today. Seems to happen randomly while typing. **Version Used**: Today's VS2019 16.7 P2 dogfood build: ``` Microsoft Visual Studio Enterprise 2019 Int Preview Version 16.7.0 Preview 2.0 [30108.6.master] VisualStudio.16.IntPreview/16.7.0-pre.2.0+30108.6.master ``` Dump: `\\<%internal_share%>\public\mavasani\GlobalNotificationRemoteDeliveryServiceCrash\` Call stack: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService.d__12.MoveNext() ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<--- Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.WatsonReporter.ReportFatal(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception) at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.ContinueWithCore(System.Threading.Tasks.Task, System.Threading.Tasks.TaskScheduler, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions) at System.Threading.Tasks.Task.ContinueWith(System.Action`2, System.Object, System.Threading.Tasks.TaskScheduler, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions, System.Threading.StackCrawlMark ByRef) at System.Threading.Tasks.Task.ContinueWith(System.Action`2, System.Object, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions, System.Threading.Tasks.TaskScheduler) at Roslyn.Utilities.TaskExtensions.ReportFatalError(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromResultTask`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].ProcessInnerTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].ProcessCompletedOuterTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() ``` ",True,"Repeated VS crashes from Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService - I have hit the same crash at least 4 times today. Seems to happen randomly while typing. **Version Used**: Today's VS2019 16.7 P2 dogfood build: ``` Microsoft Visual Studio Enterprise 2019 Int Preview Version 16.7.0 Preview 2.0 [30108.6.master] VisualStudio.16.IntPreview/16.7.0-pre.2.0+30108.6.master ``` Dump: `\\<%internal_share%>\public\mavasani\GlobalNotificationRemoteDeliveryServiceCrash\` Call stack: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService.d__12.MoveNext() ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<--- Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.WatsonReporter.ReportFatal(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception) at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.ContinueWithCore(System.Threading.Tasks.Task, System.Threading.Tasks.TaskScheduler, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions) at System.Threading.Tasks.Task.ContinueWith(System.Action`2, System.Object, System.Threading.Tasks.TaskScheduler, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions, System.Threading.StackCrawlMark ByRef) at System.Threading.Tasks.Task.ContinueWith(System.Action`2, System.Object, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions, System.Threading.Tasks.TaskScheduler) at Roslyn.Utilities.TaskExtensions.ReportFatalError(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromResultTask`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].ProcessInnerTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].ProcessCompletedOuterTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[Microsoft.VisualStudio.LanguageServices.Remote.GlobalNotificationRemoteDeliveryService+GlobalNotificationState, Microsoft.VisualStudio.LanguageServices, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() ``` ",1,repeated vs crashes from microsoft visualstudio languageservices remote globalnotificationremotedeliveryservice i have hit the same crash at least times today seems to happen randomly while typing version used today s dogfood build microsoft visual studio enterprise int preview version preview visualstudio intpreview pre master dump public mavasani globalnotificationremotedeliveryservicecrash call stack application devenv exe framework version description the application requested process termination through system environment failfast string message message system aggregateexception one or more errors occurred system threading tasks taskcanceledexception a task was canceled end of inner exception stack trace at system threading tasks task throwifexceptional boolean includetaskcanceledexceptions at system threading tasks task getresultcore boolean waitcompletionnotification at microsoft visualstudio languageservices remote globalnotificationremotedeliveryservice d movenext inner exception system threading tasks taskcanceledexception a task was canceled stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting watsonreporter reportfatal system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror report system exception at roslyn utilities taskextensions reportfatalerrorworker system threading tasks task system object at system threading tasks continuationtaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks threadpooltaskscheduler tryexecutetaskinline system threading tasks task boolean at system threading tasks taskscheduler tryruninline system threading tasks task boolean at system threading tasks taskcontinuation inlineifpossibleorelsequeue system threading tasks task boolean at system threading tasks standardtaskcontinuation run system threading tasks task boolean at system threading tasks task continuewithcore system threading tasks task system threading tasks taskscheduler system threading cancellationtoken system threading tasks taskcontinuationoptions at system threading tasks task continuewith system action system object system threading tasks taskscheduler system threading cancellationtoken system threading tasks taskcontinuationoptions system threading stackcrawlmark byref at system threading tasks task continuewith system action system object system threading cancellationtoken system threading tasks taskcontinuationoptions system threading tasks taskscheduler at roslyn utilities taskextensions reportfatalerror system threading tasks task system object at system threading tasks continuationtaskfromresulttask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks threadpooltaskscheduler tryexecutetaskinline system threading tasks task boolean at system threading tasks taskscheduler tryruninline system threading tasks task boolean at system threading tasks taskcontinuation inlineifpossibleorelsequeue system threading tasks task boolean at system threading tasks standardtaskcontinuation run system threading tasks task boolean at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system threading tasks unwrappromise trysetfromtask system threading tasks task boolean at system threading tasks unwrappromise processinnertask system threading tasks task at system threading tasks unwrappromise processcompletedoutertask system threading tasks task at system threading tasks unwrappromise invokecore system threading tasks task at system threading tasks unwrappromise invoke system threading tasks task at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch ,1 1271,14530420553.0,IssuesEvent,2020-12-14 19:14:23,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS randomly crashes and finally hangs on recovering files,Area-Compilers Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity2.visualstudio.com/t/VS-randomly-crashes-and-finally-hangs-on/757601)._ --- This is the result of 2 days of misery where VS would just kill itself at random times **THIS IS THE WORST RELEASE OF VS EVER AND IT HAS WASTED COUNTLESS HOURR FOR ME. FIX IT.** On top of all that, if I try to record the problem, it does not occur (but then again, VS now does not ask to restore recovered files anymore, so I guess the problem was in those files and I've lost all my work now ...) Application Event Log Entries : **Monday september 30th :** Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol.IsWritable(BoundExpression receiver, Binder containingBinder) at Microsoft.CodeAnalysis.VisualBasic.Binder.CreateBoundCallOrPropertyAccess(SyntaxNode node, SyntaxNode target, TypeCharacter typeChar, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, CandidateAnalysisResult bestResult, ImmutableArray`1 asyncLambdaSubToFunctionMismatch, DiagnosticBag diagnostics, Boolean suppressAbstractCallDiagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(SyntaxNode node, SyntaxNode target, TypeCharacter typeChar, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, Boolean allowConstructorCall, Boolean suppressAbstractCallDiagnostics, Boolean isDefaultMemberAccess, Symbol representCandidateInDiagnosticsOpt, Boolean forceExpandedForm) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReclassifyAsValue(BoundExpression expr, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.MakeValue(BoundExpression expr, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.AdjustReceiverValue(BoundExpression receiver, SyntaxNode node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindMemberAccess(VisualBasicSyntaxNode node, BoundExpression left, SimpleNameSyntax right, Boolean eventContext, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindQualifiedName(QualifiedNameSyntax name, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindExpression(ExpressionSyntax node, Boolean isInvocationOrAddressOf, Boolean isOperandOfConditionalBranch, Boolean eventContext, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.TryBindNamespaceOrTypeAsExpression(ExpressionSyntax node, SymbolInfoOptions options) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetTypeOrNamespaceSymbolInfoNotInMember(TypeSyntax expression, SymbolInfoOptions options) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetExpressionSymbolInfo(ExpressionSyntax node, SymbolInfoOptions options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VBSemanticModel.GetSymbolInfo(ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicExtensions.GetSymbolInfo(SemanticModel semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.Classification.Classifiers.NameSyntaxClassifier.ClassifyNameSyntax(NameSyntax node, SemanticModel semanticModel, ArrayBuilder`1 result, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.Classification.Classifiers.NameSyntaxClassifier.AddClassifications(Workspace workspace, SyntaxNode syntax, SemanticModel semanticModel, ArrayBuilder`1 result, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.ClassifyNode(SyntaxNode syntax) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.ProcessNodes() at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.Classify(Workspace workspace, SemanticModel semanticModel, TextSpan textSpan, ArrayBuilder`1 list, Func`2 getNodeClassifiers, Func`2 getTokenClassifiers, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.d__5.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5.MoveNext() at Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol.IsWritable(Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.VisualBasic.Binder) at Microsoft.CodeAnalysis.VisualBasic.Binder.CreateBoundCallOrPropertyAccess(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, CandidateAnalysisResult, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Boolean) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReclassifyAsValue(Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.MakeValue(Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.AdjustReceiverValue(Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindMemberAccess(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode, Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax, Boolean, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindQualifiedName(Microsoft.CodeAnalysis.VisualBasic.Syntax.QualifiedNameSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindExpression(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.TryBindNamespaceOrTypeAsExpression(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, SymbolInfoOptions) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetTypeOrNamespaceSymbolInfoNotInMember(Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax, SymbolInfoOptions) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetExpressionSymbolInfo(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, SymbolInfoOptions, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VBSemanticModel.GetSymbolInfo(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicExtensions.GetSymbolInfo(Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.Classification.Classifiers.NameSyntaxClassifier.ClassifyNameSyntax(Microsoft.CodeAnalysis.VisualBasic.Syntax.NameSyntax, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.Classification.Classifiers.NameSyntaxClassifier.AddClassifications(Microsoft.CodeAnalysis.Workspace, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.ClassifyNode(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.ProcessNodes() at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.Classify(Microsoft.CodeAnalysis.Workspace, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.Text.TextSpan, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Func`2>, System.Func`2>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__5 ByRef) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.AddSemanticClassificationsAsync(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan, System.Func`2>, System.Func`2>, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Classification.AbstractClassificationService+d__2, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__2 ByRef) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.AddSemanticClassificationsAsync(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan, System.Collections.Generic.List`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__2, Microsoft.CodeAnalysis.EditorFeatures, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__2 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities.ClassifySpansAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1, Microsoft.CodeAnalysis.Editor.DocumentSnapshotSpan, Microsoft.CodeAnalysis.Classification.IClassificationService, Microsoft.CodeAnalysis.Editor.Shared.Utilities.ClassificationTypeMap) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__0.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__0, Microsoft.CodeAnalysis.EditorFeatures, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__0 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities.ProduceTagsAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1, Microsoft.CodeAnalysis.Editor.DocumentSnapshotSpan, Microsoft.CodeAnalysis.Classification.IClassificationService, Microsoft.CodeAnalysis.Editor.Shared.Utilities.ClassificationTypeMap) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationViewTaggerProvider.ProduceTagsAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+d__70[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+d__70[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.EditorFeatures, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__70 ByRef) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].RecomputeTagsAsync(System.Object, System.Nullable`1, System.Nullable`1, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableDictionary`2>, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+<>c__DisplayClass63_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Shared.Threading.AsynchronousSerialWorkQueue+<>c__DisplayClass12_0.b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() **Tuesday Ocotber 1st :** Faulting application name: devenv.exe, version: 16.3.29324.140, time stamp: 0x5d8ab88a Faulting module name: clr.dll, version: 4.8.4018.0, time stamp: 0x5d4a64a8 Exception code: 0xc00000fd Fault offset: 0x000b5b99 Faulting process id: 0x137c Faulting application start time: 0x01d57851500a8dd1 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Report Id: c1cbad13-43cf-4004-86d5-5b6932cb6a1e Faulting package full name: Faulting package-relative application ID: **Wednesday Ocotber 2nd :** The program devenv.exe version 16.3.29324.140 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel. Process ID: 4120 Start Time: 01d578e786d51357 Termination Time: 14 Application Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe Report Id: d793fa90-b20d-4eae-807e-e078213afbf1 Faulting package full name: Faulting package-relative application ID: Hang type: Unknown --- ### Original Comments #### Feedback Bot on 10/3/2019, 00:02 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 11/7/2019, 07:34 PM: I have detected that for the last 35 days, this issue didn't have much product team activity and a very small amount of new votes or comments. Based on this, its severity, and affected area, it’s my experience that this issue is very unlikely to be fixed. #### Feedback Bot on 3/27/2020, 09:02 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

--- ### Original Solutions (no solutions)",True,"VS randomly crashes and finally hangs on recovering files - _This issue has been moved from [a ticket on Developer Community](https://developercommunity2.visualstudio.com/t/VS-randomly-crashes-and-finally-hangs-on/757601)._ --- This is the result of 2 days of misery where VS would just kill itself at random times **THIS IS THE WORST RELEASE OF VS EVER AND IT HAS WASTED COUNTLESS HOURR FOR ME. FIX IT.** On top of all that, if I try to record the problem, it does not occur (but then again, VS now does not ask to restore recovered files anymore, so I guess the problem was in those files and I've lost all my work now ...) Application Event Log Entries : **Monday september 30th :** Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol.IsWritable(BoundExpression receiver, Binder containingBinder) at Microsoft.CodeAnalysis.VisualBasic.Binder.CreateBoundCallOrPropertyAccess(SyntaxNode node, SyntaxNode target, TypeCharacter typeChar, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, CandidateAnalysisResult bestResult, ImmutableArray`1 asyncLambdaSubToFunctionMismatch, DiagnosticBag diagnostics, Boolean suppressAbstractCallDiagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(SyntaxNode node, SyntaxNode target, TypeCharacter typeChar, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, Boolean allowConstructorCall, Boolean suppressAbstractCallDiagnostics, Boolean isDefaultMemberAccess, Symbol representCandidateInDiagnosticsOpt, Boolean forceExpandedForm) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReclassifyAsValue(BoundExpression expr, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.MakeValue(BoundExpression expr, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.AdjustReceiverValue(BoundExpression receiver, SyntaxNode node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindMemberAccess(VisualBasicSyntaxNode node, BoundExpression left, SimpleNameSyntax right, Boolean eventContext, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindQualifiedName(QualifiedNameSyntax name, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindExpression(ExpressionSyntax node, Boolean isInvocationOrAddressOf, Boolean isOperandOfConditionalBranch, Boolean eventContext, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.TryBindNamespaceOrTypeAsExpression(ExpressionSyntax node, SymbolInfoOptions options) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetTypeOrNamespaceSymbolInfoNotInMember(TypeSyntax expression, SymbolInfoOptions options) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetExpressionSymbolInfo(ExpressionSyntax node, SymbolInfoOptions options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VBSemanticModel.GetSymbolInfo(ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicExtensions.GetSymbolInfo(SemanticModel semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.Classification.Classifiers.NameSyntaxClassifier.ClassifyNameSyntax(NameSyntax node, SemanticModel semanticModel, ArrayBuilder`1 result, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.Classification.Classifiers.NameSyntaxClassifier.AddClassifications(Workspace workspace, SyntaxNode syntax, SemanticModel semanticModel, ArrayBuilder`1 result, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.ClassifyNode(SyntaxNode syntax) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.ProcessNodes() at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.Classify(Workspace workspace, SemanticModel semanticModel, TextSpan textSpan, ArrayBuilder`1 list, Func`2 getNodeClassifiers, Func`2 getTokenClassifiers, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.d__5.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5.MoveNext() at Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol.IsWritable(Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.VisualBasic.Binder) at Microsoft.CodeAnalysis.VisualBasic.Binder.CreateBoundCallOrPropertyAccess(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, CandidateAnalysisResult, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Boolean) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReclassifyAsValue(Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.MakeValue(Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.AdjustReceiverValue(Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindMemberAccess(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode, Microsoft.CodeAnalysis.VisualBasic.BoundExpression, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax, Boolean, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindQualifiedName(Microsoft.CodeAnalysis.VisualBasic.Syntax.QualifiedNameSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindExpression(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.TryBindNamespaceOrTypeAsExpression(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, SymbolInfoOptions) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetTypeOrNamespaceSymbolInfoNotInMember(Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax, SymbolInfoOptions) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetExpressionSymbolInfo(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, SymbolInfoOptions, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VBSemanticModel.GetSymbolInfo(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicExtensions.GetSymbolInfo(Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.Classification.Classifiers.NameSyntaxClassifier.ClassifyNameSyntax(Microsoft.CodeAnalysis.VisualBasic.Syntax.NameSyntax, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.Classification.Classifiers.NameSyntaxClassifier.AddClassifications(Microsoft.CodeAnalysis.Workspace, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.ClassifyNode(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.ProcessNodes() at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.Classify(Microsoft.CodeAnalysis.Workspace, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.Text.TextSpan, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Func`2>, System.Func`2>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__5 ByRef) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.AddSemanticClassificationsAsync(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan, System.Func`2>, System.Func`2>, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Classification.AbstractClassificationService+d__2, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__2 ByRef) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.AddSemanticClassificationsAsync(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan, System.Collections.Generic.List`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__2, Microsoft.CodeAnalysis.EditorFeatures, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__2 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities.ClassifySpansAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1, Microsoft.CodeAnalysis.Editor.DocumentSnapshotSpan, Microsoft.CodeAnalysis.Classification.IClassificationService, Microsoft.CodeAnalysis.Editor.Shared.Utilities.ClassificationTypeMap) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__0.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__0, Microsoft.CodeAnalysis.EditorFeatures, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__0 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities.ProduceTagsAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1, Microsoft.CodeAnalysis.Editor.DocumentSnapshotSpan, Microsoft.CodeAnalysis.Classification.IClassificationService, Microsoft.CodeAnalysis.Editor.Shared.Utilities.ClassificationTypeMap) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationViewTaggerProvider.ProduceTagsAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+d__70[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+d__70[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.EditorFeatures, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__70 ByRef) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].RecomputeTagsAsync(System.Object, System.Nullable`1, System.Nullable`1, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableDictionary`2>, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+<>c__DisplayClass63_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Shared.Threading.AsynchronousSerialWorkQueue+<>c__DisplayClass12_0.b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() **Tuesday Ocotber 1st :** Faulting application name: devenv.exe, version: 16.3.29324.140, time stamp: 0x5d8ab88a Faulting module name: clr.dll, version: 4.8.4018.0, time stamp: 0x5d4a64a8 Exception code: 0xc00000fd Fault offset: 0x000b5b99 Faulting process id: 0x137c Faulting application start time: 0x01d57851500a8dd1 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Report Id: c1cbad13-43cf-4004-86d5-5b6932cb6a1e Faulting package full name: Faulting package-relative application ID: **Wednesday Ocotber 2nd :** The program devenv.exe version 16.3.29324.140 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel. Process ID: 4120 Start Time: 01d578e786d51357 Termination Time: 14 Application Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe Report Id: d793fa90-b20d-4eae-807e-e078213afbf1 Faulting package full name: Faulting package-relative application ID: Hang type: Unknown --- ### Original Comments #### Feedback Bot on 10/3/2019, 00:02 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 11/7/2019, 07:34 PM: I have detected that for the last 35 days, this issue didn't have much product team activity and a very small amount of new votes or comments. Based on this, its severity, and affected area, it’s my experience that this issue is very unlikely to be fixed. #### Feedback Bot on 3/27/2020, 09:02 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

--- ### Original Solutions (no solutions)",1,vs randomly crashes and finally hangs on recovering files this issue has been moved from this is the result of days of misery where vs would just kill itself at random times this is the worst release of vs ever and it has wasted countless hourr for me fix it on top of all that if i try to record the problem it does not occur but then again vs now does not ask to restore recovered files anymore so i guess the problem was in those files and i ve lost all my work now application event log entries monday september application devenv exe framework version description the application requested process termination through system environment failfast string message message system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis visualbasic symbols propertysymbol iswritable boundexpression receiver binder containingbinder at microsoft codeanalysis visualbasic binder createboundcallorpropertyaccess syntaxnode node syntaxnode target typecharacter typechar boundmethodorpropertygroup group immutablearray boundarguments candidateanalysisresult bestresult immutablearray asynclambdasubtofunctionmismatch diagnosticbag diagnostics boolean suppressabstractcalldiagnostics at microsoft codeanalysis visualbasic binder bindinvocationexpression syntaxnode node syntaxnode target typecharacter typechar boundmethodorpropertygroup group immutablearray boundarguments immutablearray argumentnames diagnosticbag diagnostics syntaxnode callerinfoopt boolean allowconstructorcall boolean suppressabstractcalldiagnostics boolean isdefaultmemberaccess symbol representcandidateindiagnosticsopt boolean forceexpandedform at microsoft codeanalysis visualbasic binder reclassifyasvalue boundexpression expr diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder makevalue boundexpression expr diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder adjustreceivervalue boundexpression receiver syntaxnode node diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindmemberaccess visualbasicsyntaxnode node boundexpression left simplenamesyntax right boolean eventcontext diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindqualifiedname qualifiednamesyntax name diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindexpression expressionsyntax node boolean isinvocationoraddressof boolean isoperandofconditionalbranch boolean eventcontext diagnosticbag diagnostics at microsoft codeanalysis visualbasic syntaxtreesemanticmodel trybindnamespaceortypeasexpression expressionsyntax node symbolinfooptions options at microsoft codeanalysis visualbasic syntaxtreesemanticmodel gettypeornamespacesymbolinfonotinmember typesyntax expression symbolinfooptions options at microsoft codeanalysis visualbasic syntaxtreesemanticmodel getexpressionsymbolinfo expressionsyntax node symbolinfooptions options cancellationtoken cancellationtoken at microsoft codeanalysis visualbasic vbsemanticmodel getsymbolinfo expressionsyntax expression cancellationtoken cancellationtoken at microsoft codeanalysis visualbasic visualbasicextensions getsymbolinfo semanticmodel semanticmodel expressionsyntax expression cancellationtoken cancellationtoken at microsoft codeanalysis visualbasic classification classifiers namesyntaxclassifier classifynamesyntax namesyntax node semanticmodel semanticmodel arraybuilder result cancellationtoken cancellationtoken at microsoft codeanalysis visualbasic classification classifiers namesyntaxclassifier addclassifications workspace workspace syntaxnode syntax semanticmodel semanticmodel arraybuilder result cancellationtoken cancellationtoken at microsoft codeanalysis classification abstractsyntaxclassificationservice worker classifynode syntaxnode syntax at microsoft codeanalysis classification abstractsyntaxclassificationservice worker processnodes at microsoft codeanalysis classification abstractsyntaxclassificationservice worker classify workspace workspace semanticmodel semanticmodel textspan textspan arraybuilder list func getnodeclassifiers func gettokenclassifiers cancellationtoken cancellationtoken at microsoft codeanalysis classification abstractsyntaxclassificationservice d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis classification abstractsyntaxclassificationservice d movenext at microsoft codeanalysis visualbasic symbols propertysymbol iswritable microsoft codeanalysis visualbasic boundexpression microsoft codeanalysis visualbasic binder at microsoft codeanalysis visualbasic binder createboundcallorpropertyaccess microsoft codeanalysis syntaxnode microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic syntax typecharacter microsoft codeanalysis visualbasic boundmethodorpropertygroup system collections immutable immutablearray candidateanalysisresult system collections immutable immutablearray microsoft codeanalysis diagnosticbag boolean at microsoft codeanalysis visualbasic binder bindinvocationexpression microsoft codeanalysis syntaxnode microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic syntax typecharacter microsoft codeanalysis visualbasic boundmethodorpropertygroup system collections immutable immutablearray system collections immutable immutablearray microsoft codeanalysis diagnosticbag microsoft codeanalysis syntaxnode boolean boolean boolean microsoft codeanalysis visualbasic symbol boolean at microsoft codeanalysis visualbasic binder reclassifyasvalue microsoft codeanalysis visualbasic boundexpression microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder makevalue microsoft codeanalysis visualbasic boundexpression microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder adjustreceivervalue microsoft codeanalysis visualbasic boundexpression microsoft codeanalysis syntaxnode microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindmemberaccess microsoft codeanalysis visualbasic visualbasicsyntaxnode microsoft codeanalysis visualbasic boundexpression microsoft codeanalysis visualbasic syntax simplenamesyntax boolean microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindqualifiedname microsoft codeanalysis visualbasic syntax qualifiednamesyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindexpression microsoft codeanalysis visualbasic syntax expressionsyntax boolean boolean boolean microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic syntaxtreesemanticmodel trybindnamespaceortypeasexpression microsoft codeanalysis visualbasic syntax expressionsyntax symbolinfooptions at microsoft codeanalysis visualbasic syntaxtreesemanticmodel gettypeornamespacesymbolinfonotinmember microsoft codeanalysis visualbasic syntax typesyntax symbolinfooptions at microsoft codeanalysis visualbasic syntaxtreesemanticmodel getexpressionsymbolinfo microsoft codeanalysis visualbasic syntax expressionsyntax symbolinfooptions system threading cancellationtoken at microsoft codeanalysis visualbasic vbsemanticmodel getsymbolinfo microsoft codeanalysis visualbasic syntax expressionsyntax system threading cancellationtoken at microsoft codeanalysis visualbasic visualbasicextensions getsymbolinfo microsoft codeanalysis semanticmodel microsoft codeanalysis visualbasic syntax expressionsyntax system threading cancellationtoken at microsoft codeanalysis visualbasic classification classifiers namesyntaxclassifier classifynamesyntax microsoft codeanalysis visualbasic syntax namesyntax microsoft codeanalysis semanticmodel microsoft codeanalysis pooledobjects arraybuilder system threading cancellationtoken at microsoft codeanalysis visualbasic classification classifiers namesyntaxclassifier addclassifications microsoft codeanalysis workspace microsoft codeanalysis syntaxnode microsoft codeanalysis semanticmodel microsoft codeanalysis pooledobjects arraybuilder system threading cancellationtoken at microsoft codeanalysis classification abstractsyntaxclassificationservice worker classifynode microsoft codeanalysis syntaxnode at microsoft codeanalysis classification abstractsyntaxclassificationservice worker processnodes at microsoft codeanalysis classification abstractsyntaxclassificationservice worker classify microsoft codeanalysis workspace microsoft codeanalysis semanticmodel microsoft codeanalysis text textspan microsoft codeanalysis pooledobjects arraybuilder system func system func system threading cancellationtoken at microsoft codeanalysis classification abstractsyntaxclassificationservice d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis classification abstractsyntaxclassificationservice addsemanticclassificationsasync microsoft codeanalysis document microsoft codeanalysis text textspan system func system func microsoft codeanalysis pooledobjects arraybuilder system threading cancellationtoken at microsoft codeanalysis classification abstractclassificationservice d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis classification abstractclassificationservice addsemanticclassificationsasync microsoft codeanalysis document microsoft codeanalysis text textspan system collections generic list system threading cancellationtoken at microsoft codeanalysis editor implementation classification semanticclassificationutilities d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation classification semanticclassificationutilities classifyspansasync microsoft codeanalysis editor tagging taggercontext microsoft codeanalysis editor documentsnapshotspan microsoft codeanalysis classification iclassificationservice microsoft codeanalysis editor shared utilities classificationtypemap at microsoft codeanalysis editor implementation classification semanticclassificationutilities d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation classification semanticclassificationutilities producetagsasync microsoft codeanalysis editor tagging taggercontext microsoft codeanalysis editor documentsnapshotspan microsoft codeanalysis classification iclassificationservice microsoft codeanalysis editor shared utilities classificationtypemap at microsoft codeanalysis editor implementation classification semanticclassificationviewtaggerprovider producetagsasync microsoft codeanalysis editor tagging taggercontext at microsoft codeanalysis editor tagging abstractasynchronoustaggerprovider tagsource d movenext at system runtime compilerservices asynctaskmethodbuilder start microsoft codeanalysis editorfeatures version culture neutral publickeytoken d byref at microsoft codeanalysis editor tagging abstractasynchronoustaggerprovider tagsource recomputetagsasync system object system nullable system nullable system collections immutable immutablearray system collections immutable immutabledictionary boolean system threading cancellationtoken at microsoft codeanalysis editor tagging abstractasynchronoustaggerprovider tagsource c b system threading cancellationtoken at microsoft codeanalysis editor shared threading asynchronousserialworkqueue c b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback tuesday ocotber faulting application name devenv exe version time stamp faulting module name clr dll version time stamp exception code fault offset faulting process id faulting application start time faulting application path c program files microsoft visual studio professional ide devenv exe faulting module path c windows microsoft net framework clr dll report id faulting package full name faulting package relative application id wednesday ocotber the program devenv exe version stopped interacting with windows and was closed to see if more information about the problem is available check the problem history in the security and maintenance control panel process id start time termination time application path c program files microsoft visual studio professional ide devenv exe report id faulting package full name faulting package relative application id hang type unknown original comments feedback bot on am we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps feedback bot on pm i have detected that for the last days this issue didn t have much product team activity and a very small amount of new votes or comments based on this its severity and affected area it’s my experience that this issue is very unlikely to be fixed feedback bot on am this issue is currently being investigated our team will get back to you if either more information is needed a workaround is available or the issue is resolved original solutions no solutions ,1 612,8901336600.0,IssuesEvent,2019-01-17 01:54:35,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,crash during code analysis -- RenameTracking,4 - In Review Area-IDE Bug Developer Community Tenet-Reliability help wanted,"

crash during automated test run. crashed after around 8 hours.

_This issue has been moved from https://developercommunity.visualstudio.com/content/problem/405103/crash-during-code-analysis-rename.html VSTS ticketId: 748636_ _These are the original issue comments:_ sean on 12/11/2018, 09:30 AM (6 days ago):

devenvexe19864.zip

sean on 12/12/2018, 11:42 AM (5 days ago):

crashed last night also -- in Editor RenameTracking while a modal dialog is being displayed.

callstack attached as text file because the reporting system won't allow it to be pasted into this window due to it being greater than 10000 characters: callstack.txt

full heap dump is also attached: v16p-w10-20181212-1325dmp.zip

sean on 12/17/2018, 01:16 PM (4 hours ago):

Another crash during RenameTracking

v16p-w10-20181215-1257.zip

_These are the original issue solutions:_ (no solutions)",True,"crash during code analysis -- RenameTracking -

crash during automated test run. crashed after around 8 hours.

_This issue has been moved from https://developercommunity.visualstudio.com/content/problem/405103/crash-during-code-analysis-rename.html VSTS ticketId: 748636_ _These are the original issue comments:_ sean on 12/11/2018, 09:30 AM (6 days ago):

devenvexe19864.zip

sean on 12/12/2018, 11:42 AM (5 days ago):

crashed last night also -- in Editor RenameTracking while a modal dialog is being displayed.

callstack attached as text file because the reporting system won't allow it to be pasted into this window due to it being greater than 10000 characters: callstack.txt

full heap dump is also attached: v16p-w10-20181212-1325dmp.zip

sean on 12/17/2018, 01:16 PM (4 hours ago):

Another crash during RenameTracking

v16p-w10-20181215-1257.zip

_These are the original issue solutions:_ (no solutions)",1,crash during code analysis renametracking crash during automated test run crashed after around hours this issue has been moved from vsts ticketid these are the original issue comments sean on am days ago a target blank href sean on am days ago crashed last night also in editor renametracking while a modal dialog is being displayed callstack attached as text file because the reporting system won t allow it to be pasted into this window due to it being greater than characters a target blank href heap dump is also attached a target blank href sean on pm hours ago another crash during renametracking a target blank href these are the original issue solutions no solutions ,1 792,10545137632.0,IssuesEvent,2019-10-02 18:28:15,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"Crash in OOP tore down VS (hard crash, not yellow bar).",Area-IDE Bug Tenet-Reliability,"Watson bucket and other relevant information. ``` Fault bucket 125730739576, type 5 Event Name: PerfWatsonVS12Data Response: Not available Cab Id: 1196763729810304088 Problem signature: P1: PerfWatsonTcdb P2: 0 P3: 0 P4: 0 P5: 0 P6: P7: P8: P9: P10: Attached files: \\?\C:\Users\cyrus\AppData\Local\Temp\VSTelem.Out\201910021820_D16.4_16.4.29319.158_17696_b97f4571-7b9e-4f72-a70f-8ea07281a5cd.tcdb \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6675.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER66A5.tmp.xml WPR_initiated_DiagTrackMiniLogger_OneTrace User Logger 20190930 1 Event Collector_0_inject.etl \\?\C:\Users\cyrus\AppData\Local\Temp\WER66E5.tmp.etl WPR_initiated_DiagTrackMiniLogger_WPR System Collector_inject.etl \\?\C:\Users\cyrus\AppData\Local\Temp\WER66F5.tmp.etl \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6706.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6765.tmp.txt \\?\C:\Users\cyrus\AppData\Local\Temp\WER6A90.tmp.WERDataCollectionStatus.txt These files may be available here: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_PerfWatsonTcdb_688f135dd185f2a8133a474a2518efc6ce6cc4a_00000000_cab_9769bf93-8256-46a3-9794-2743f97428f4 Analysis symbol: Rechecking for solution: 0 Report Id: 9769bf93-8256-46a3-9794-2743f97428f4 Report Status: 268435464 Hashed bucket: fb30d2b9a7acf0305d4da51668259751 Cab Guid: 797189b6-552d-47a5-b09b-c245836a2c58 ``` ``` Faulting application name: devenv.exe, version: 16.4.29319.158, time stamp: 0x5d845bb8 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0x80131623 Fault offset: 0x62ac6b4a Faulting process id: 0x4ee8 Faulting application start time: 0x01d578b6a67c1fc8 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\devenv.exe Faulting module path: unknown Report Id: bff26ea4-c774-46df-9501-c81b19986300 Faulting package full name: Faulting package-relative application ID: ``` ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.InvalidOperationException: This instance must be flushed before being reinitialized. at Nerdbank.Streams.BufferTextWriter.Initialize(IBufferWriter`1 bufferWriter, Encoding encoding) at StreamJsonRpc.JsonMessageFormatter.WriteJToken(IBufferWriter`1 contentBuffer, JToken json) at StreamJsonRpc.JsonMessageFormatter.Serialize(IBufferWriter`1 contentBuffer, JsonRpcMessage message) at StreamJsonRpc.HeaderDelimitedMessageHandler.Write(JsonRpcMessage content, CancellationToken cancellationToken) at StreamJsonRpc.PipeMessageHandler.WriteCoreAsync(JsonRpcMessage content, CancellationToken cancellationToken) at StreamJsonRpc.MessageHandlerBase.d__15.MoveNext() --- 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 StreamJsonRpc.JsonRpc.d__115.MoveNext() --- 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.Threading.Tasks.ValueTask.ThrowIfCompletedUnsuccessfully() at StreamJsonRpc.JsonRpc.d__94`1.MoveNext() --- 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 Microsoft.ServiceHub.Framework.RemoteServiceBroker.d__29.MoveNext() --- 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 Microsoft.ServiceHub.Client.HubClient.d__33.MoveNext() --- 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 Microsoft.ServiceHub.Client.HubClient.d__30.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.Connections.d__0`2.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.Connections.d__1.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.ConnectionManager.d__14.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.ConnectionManager.d__13.MoveNext() --- 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 Microsoft.CodeAnalysis.Remote.RemoteHostClientExtensions.d__13.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.SolutionChecksumUpdater.<>c__DisplayClass17_0.<b__0>d.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception) at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessInnerTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",True,"Crash in OOP tore down VS (hard crash, not yellow bar). - Watson bucket and other relevant information. ``` Fault bucket 125730739576, type 5 Event Name: PerfWatsonVS12Data Response: Not available Cab Id: 1196763729810304088 Problem signature: P1: PerfWatsonTcdb P2: 0 P3: 0 P4: 0 P5: 0 P6: P7: P8: P9: P10: Attached files: \\?\C:\Users\cyrus\AppData\Local\Temp\VSTelem.Out\201910021820_D16.4_16.4.29319.158_17696_b97f4571-7b9e-4f72-a70f-8ea07281a5cd.tcdb \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6675.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER66A5.tmp.xml WPR_initiated_DiagTrackMiniLogger_OneTrace User Logger 20190930 1 Event Collector_0_inject.etl \\?\C:\Users\cyrus\AppData\Local\Temp\WER66E5.tmp.etl WPR_initiated_DiagTrackMiniLogger_WPR System Collector_inject.etl \\?\C:\Users\cyrus\AppData\Local\Temp\WER66F5.tmp.etl \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6706.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6765.tmp.txt \\?\C:\Users\cyrus\AppData\Local\Temp\WER6A90.tmp.WERDataCollectionStatus.txt These files may be available here: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_PerfWatsonTcdb_688f135dd185f2a8133a474a2518efc6ce6cc4a_00000000_cab_9769bf93-8256-46a3-9794-2743f97428f4 Analysis symbol: Rechecking for solution: 0 Report Id: 9769bf93-8256-46a3-9794-2743f97428f4 Report Status: 268435464 Hashed bucket: fb30d2b9a7acf0305d4da51668259751 Cab Guid: 797189b6-552d-47a5-b09b-c245836a2c58 ``` ``` Faulting application name: devenv.exe, version: 16.4.29319.158, time stamp: 0x5d845bb8 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0x80131623 Fault offset: 0x62ac6b4a Faulting process id: 0x4ee8 Faulting application start time: 0x01d578b6a67c1fc8 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\devenv.exe Faulting module path: unknown Report Id: bff26ea4-c774-46df-9501-c81b19986300 Faulting package full name: Faulting package-relative application ID: ``` ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.InvalidOperationException: This instance must be flushed before being reinitialized. at Nerdbank.Streams.BufferTextWriter.Initialize(IBufferWriter`1 bufferWriter, Encoding encoding) at StreamJsonRpc.JsonMessageFormatter.WriteJToken(IBufferWriter`1 contentBuffer, JToken json) at StreamJsonRpc.JsonMessageFormatter.Serialize(IBufferWriter`1 contentBuffer, JsonRpcMessage message) at StreamJsonRpc.HeaderDelimitedMessageHandler.Write(JsonRpcMessage content, CancellationToken cancellationToken) at StreamJsonRpc.PipeMessageHandler.WriteCoreAsync(JsonRpcMessage content, CancellationToken cancellationToken) at StreamJsonRpc.MessageHandlerBase.d__15.MoveNext() --- 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 StreamJsonRpc.JsonRpc.d__115.MoveNext() --- 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.Threading.Tasks.ValueTask.ThrowIfCompletedUnsuccessfully() at StreamJsonRpc.JsonRpc.d__94`1.MoveNext() --- 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 Microsoft.ServiceHub.Framework.RemoteServiceBroker.d__29.MoveNext() --- 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 Microsoft.ServiceHub.Client.HubClient.d__33.MoveNext() --- 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 Microsoft.ServiceHub.Client.HubClient.d__30.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.Connections.d__0`2.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.Connections.d__1.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.ConnectionManager.d__14.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.ConnectionManager.d__13.MoveNext() --- 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 Microsoft.CodeAnalysis.Remote.RemoteHostClientExtensions.d__13.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.SolutionChecksumUpdater.<>c__DisplayClass17_0.<b__0>d.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception) at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessInnerTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",1,crash in oop tore down vs hard crash not yellow bar watson bucket and other relevant information fault bucket type event name response not available cab id problem signature perfwatsontcdb attached files c users cyrus appdata local temp vstelem out tcdb c programdata microsoft windows wer temp tmp werinternalmetadata xml c programdata microsoft windows wer temp tmp xml wpr initiated diagtrackminilogger onetrace user logger event collector inject etl c users cyrus appdata local temp tmp etl wpr initiated diagtrackminilogger wpr system collector inject etl c users cyrus appdata local temp tmp etl c programdata microsoft windows wer temp tmp csv c programdata microsoft windows wer temp tmp txt c users cyrus appdata local temp tmp werdatacollectionstatus txt these files may be available here c programdata microsoft windows wer reportarchive noncritical perfwatsontcdb cab analysis symbol rechecking for solution report id report status hashed bucket cab guid faulting application name devenv exe version time stamp faulting module name unknown version time stamp exception code fault offset faulting process id faulting application start time faulting application path c program files microsoft visual studio preview ide devenv exe faulting module path unknown report id faulting package full name faulting package relative application id application devenv exe framework version description the application requested process termination through system environment failfast string message message system invalidoperationexception this instance must be flushed before being reinitialized at nerdbank streams buffertextwriter initialize ibufferwriter bufferwriter encoding encoding at streamjsonrpc jsonmessageformatter writejtoken ibufferwriter contentbuffer jtoken json at streamjsonrpc jsonmessageformatter serialize ibufferwriter contentbuffer jsonrpcmessage message at streamjsonrpc headerdelimitedmessagehandler write jsonrpcmessage content cancellationtoken cancellationtoken at streamjsonrpc pipemessagehandler writecoreasync jsonrpcmessage content cancellationtoken cancellationtoken at streamjsonrpc messagehandlerbase d movenext 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 streamjsonrpc jsonrpc d movenext 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 threading tasks valuetask throwifcompletedunsuccessfully at streamjsonrpc jsonrpc d movenext 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 microsoft servicehub framework remoteservicebroker d movenext 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 microsoft servicehub client hubclient d movenext 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 microsoft servicehub client hubclient d movenext 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 microsoft visualstudio languageservices remote servicehubremotehostclient connections d movenext 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 microsoft visualstudio languageservices remote servicehubremotehostclient connections d movenext 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 microsoft visualstudio languageservices remote servicehubremotehostclient connectionmanager d movenext 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 microsoft visualstudio languageservices remote servicehubremotehostclient connectionmanager d movenext 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 microsoft codeanalysis remote remotehostclientextensions d movenext 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 microsoft visualstudio languageservices remote remotehostclientservicefactory solutionchecksumupdater c b d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror report system exception at roslyn utilities taskextensions reportfatalerrorworker system threading tasks task system object at system threading tasks continuationtaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks threadpooltaskscheduler tryexecutetaskinline system threading tasks task boolean at system threading tasks taskscheduler tryruninline system threading tasks task boolean at system threading tasks taskcontinuation inlineifpossibleorelsequeue system threading tasks task boolean at system threading tasks standardtaskcontinuation run system threading tasks task boolean at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system threading tasks unwrappromise trysetfromtask system threading tasks task boolean at system threading tasks unwrappromise processinnertask system threading tasks task at system threading tasks unwrappromise processcompletedoutertask system threading tasks task at system threading tasks unwrappromise invokecore system threading tasks task at system threading tasks unwrappromise invoke system threading tasks task at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback ,1 2647,26840162162.0,IssuesEvent,2023-02-02 23:23:22,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VB: IDE hangs when Intellisense auto-complete is invoked on semantically invalid code.,help wanted Area-IDE Language-VB Tenet-Reliability,"**Version Used**: Visual Studio Community 2017 v15.5.1 **Steps to Reproduce**: Type in the following code into a VB console project: ```vb Public Module Module1 Public Class Base(Of T) Public Sub New(ArgDoSomething As Func(Of T)) End Sub End Class Public Class Derived(Of T) Inherits Base(Of T) Private mValue As T Public Sub New() MyBase.New(Function() Me.mV) '<--- this line here has an error. End Sub End Class Public Sub Main() End Sub End Module ``` The line `MyBase.New(Function() Me.mV)` is incomplete, and we want it to reference the `mValue` field so it ultimately reads as follows `MyBase.New(Function() Me.mValue)`. If you manually type the remaining letters `alue` , you'll notice Visual Studio CPU usage goes up in Task Manager. ![vs_hangs_on_generic_1](https://user-images.githubusercontent.com/20465797/34995475-a9466ba6-fae7-11e7-8223-8c1e2b298913.png) Alternatively, If you position the caret as shown above and invoke auto-complete to tell the editor to insert the remaining letters, Visual Studio hangs. Attempts to click anywhere inside the editor will cause that `Visual Studio is busy` notification to pop up in the Windows tray area. **Expected Behavior**: Intellisense should go ahead and complete the code, producing the following: ```vb Public Sub New() MyBase.New(Function() Me.mValue) End Sub ``` ...which is semantically invalid as can be seen by the error below: ![vs_hangs_on_generic_2](https://user-images.githubusercontent.com/20465797/34995885-e9173174-fae8-11e7-9c65-3a846de81f8b.png) You'll notice the error squiggly is on the `Me` keyword. I also tried autocompletion starting with just the letters `mV` as opposed to `Me.mV` and it doesn't hang. It's only when you try to autocomplete `Me.mV` that it hangs, so the presence of `Me.` is somehow involved.",True,"VB: IDE hangs when Intellisense auto-complete is invoked on semantically invalid code. - **Version Used**: Visual Studio Community 2017 v15.5.1 **Steps to Reproduce**: Type in the following code into a VB console project: ```vb Public Module Module1 Public Class Base(Of T) Public Sub New(ArgDoSomething As Func(Of T)) End Sub End Class Public Class Derived(Of T) Inherits Base(Of T) Private mValue As T Public Sub New() MyBase.New(Function() Me.mV) '<--- this line here has an error. End Sub End Class Public Sub Main() End Sub End Module ``` The line `MyBase.New(Function() Me.mV)` is incomplete, and we want it to reference the `mValue` field so it ultimately reads as follows `MyBase.New(Function() Me.mValue)`. If you manually type the remaining letters `alue` , you'll notice Visual Studio CPU usage goes up in Task Manager. ![vs_hangs_on_generic_1](https://user-images.githubusercontent.com/20465797/34995475-a9466ba6-fae7-11e7-8223-8c1e2b298913.png) Alternatively, If you position the caret as shown above and invoke auto-complete to tell the editor to insert the remaining letters, Visual Studio hangs. Attempts to click anywhere inside the editor will cause that `Visual Studio is busy` notification to pop up in the Windows tray area. **Expected Behavior**: Intellisense should go ahead and complete the code, producing the following: ```vb Public Sub New() MyBase.New(Function() Me.mValue) End Sub ``` ...which is semantically invalid as can be seen by the error below: ![vs_hangs_on_generic_2](https://user-images.githubusercontent.com/20465797/34995885-e9173174-fae8-11e7-9c65-3a846de81f8b.png) You'll notice the error squiggly is on the `Me` keyword. I also tried autocompletion starting with just the letters `mV` as opposed to `Me.mV` and it doesn't hang. It's only when you try to autocomplete `Me.mV` that it hangs, so the presence of `Me.` is somehow involved.",1,vb ide hangs when intellisense auto complete is invoked on semantically invalid code version used visual studio community steps to reproduce type in the following code into a vb console project vb public module public class base of t public sub new argdosomething as func of t end sub end class public class derived of t inherits base of t private mvalue as t public sub new mybase new function me mv this line here has an error end sub end class public sub main end sub end module the line mybase new function me mv is incomplete and we want it to reference the mvalue field so it ultimately reads as follows mybase new function me mvalue if you manually type the remaining letters alue you ll notice visual studio cpu usage goes up in task manager alternatively if you position the caret as shown above and invoke auto complete to tell the editor to insert the remaining letters visual studio hangs attempts to click anywhere inside the editor will cause that visual studio is busy notification to pop up in the windows tray area expected behavior intellisense should go ahead and complete the code producing the following vb public sub new mybase new function me mvalue end sub which is semantically invalid as can be seen by the error below you ll notice the error squiggly is on the me keyword i also tried autocompletion starting with just the letters mv as opposed to me mv and it doesn t hang it s only when you try to autocomplete me mv that it hangs so the presence of me is somehow involved ,1 87,3663214418.0,IssuesEvent,2016-02-19 04:02:35,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Large binary expressions can crash syntax tree deserialization,Area-Compilers Bug Tenet-Reliability,"(Found by @kathleendollard.) *Repro steps:* 1. Write something like ""asdf"" + ... + ""asdf"" with tens of thousands of strings being concatenated. 2. Open that solution in Visual Studio and work awhile. VS will crash with a stack overflow when trying to serialize and deserialize this syntax tree.",True,"Large binary expressions can crash syntax tree deserialization - (Found by @kathleendollard.) *Repro steps:* 1. Write something like ""asdf"" + ... + ""asdf"" with tens of thousands of strings being concatenated. 2. Open that solution in Visual Studio and work awhile. VS will crash with a stack overflow when trying to serialize and deserialize this syntax tree.",1,large binary expressions can crash syntax tree deserialization found by kathleendollard repro steps write something like asdf asdf with tens of thousands of strings being concatenated open that solution in visual studio and work awhile vs will crash with a stack overflow when trying to serialize and deserialize this syntax tree ,1 182,5188717252.0,IssuesEvent,2017-01-20 20:50:28,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Crash in rename+simplify type names.,Area-IDE Bug Tenet-Reliability,"I believe i was renaming CodeFixProvider. Maybe it's because this typename was referenced in some sort of cref? Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.InvalidCastException: Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberAccessExpressionSyntax' to type 'Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax'. at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCrefParameter(CrefParameterSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCrefParameterList(CrefParameterListSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterListSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitNameMemberCref(NameMemberCrefSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.NameMemberCrefSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation annotationForReplacedAliasIdentifier, Func`2 expandInsideNode, Boolean expandParameter, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Complexify(SyntaxNode originalNode, SyntaxNode newNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitQualifiedCref(QualifiedCrefSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.QualifiedCrefSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlCrefAttribute(XmlCrefAttributeSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlEmptyElement(XmlEmptyElementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlElement(XmlElementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitDocumentationCommentTrivia(DocumentationCommentTriviaSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitTrivia(SyntaxTrivia trivia) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement(SyntaxTrivia element) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList(SyntaxTriviaList list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitToken(SyntaxToken token) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.VisitToken(SyntaxToken token) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList(SyntaxTokenList list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitPropertyDeclaration(PropertyDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(ClassDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(NamespaceDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.AnnotateAndRename(RenameRewriterParameters parameters) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.Session.d__26.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26.MoveNext() at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCrefParameter(Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService+Expander.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SeparatedSyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCrefParameterList(Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterListSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterListSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService+Expander.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService+Expander.VisitNameMemberCref(Microsoft.CodeAnalysis.CSharp.Syntax.NameMemberCrefSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.NameMemberCrefSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService+Expander.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expand(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.SyntaxAnnotation, System.Func`2, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Complexify(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitQualifiedCref(Microsoft.CodeAnalysis.CSharp.Syntax.QualifiedCrefSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.QualifiedCrefSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlCrefAttribute(Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlEmptyElement(Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlElement(Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitDocumentationCommentTrivia(Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitTrivia(Microsoft.CodeAnalysis.SyntaxTrivia) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement(Microsoft.CodeAnalysis.SyntaxTrivia) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList(Microsoft.CodeAnalysis.SyntaxTriviaList) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitToken(Microsoft.CodeAnalysis.SyntaxToken) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.VisitToken(Microsoft.CodeAnalysis.SyntaxToken) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList(Microsoft.CodeAnalysis.SyntaxTokenList) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitPropertyDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.AnnotateAndRename(Microsoft.CodeAnalysis.Rename.RenameRewriterParameters) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26, Microsoft.CodeAnalysis.Workspaces, ",True,"Crash in rename+simplify type names. - I believe i was renaming CodeFixProvider. Maybe it's because this typename was referenced in some sort of cref? Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.InvalidCastException: Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberAccessExpressionSyntax' to type 'Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax'. at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCrefParameter(CrefParameterSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCrefParameterList(CrefParameterListSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterListSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitNameMemberCref(NameMemberCrefSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.NameMemberCrefSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation annotationForReplacedAliasIdentifier, Func`2 expandInsideNode, Boolean expandParameter, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Complexify(SyntaxNode originalNode, SyntaxNode newNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitQualifiedCref(QualifiedCrefSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.QualifiedCrefSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlCrefAttribute(XmlCrefAttributeSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlEmptyElement(XmlEmptyElementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlElement(XmlElementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitDocumentationCommentTrivia(DocumentationCommentTriviaSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitTrivia(SyntaxTrivia trivia) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement(SyntaxTrivia element) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList(SyntaxTriviaList list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitToken(SyntaxToken token) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.VisitToken(SyntaxToken token) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList(SyntaxTokenList list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitPropertyDeclaration(PropertyDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(ClassDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(NamespaceDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.AnnotateAndRename(RenameRewriterParameters parameters) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.Session.d__26.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26.MoveNext() at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCrefParameter(Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService+Expander.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SeparatedSyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCrefParameterList(Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterListSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterListSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService+Expander.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService+Expander.VisitNameMemberCref(Microsoft.CodeAnalysis.CSharp.Syntax.NameMemberCrefSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.NameMemberCrefSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService+Expander.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expand(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.SyntaxAnnotation, System.Func`2, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Complexify(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitQualifiedCref(Microsoft.CodeAnalysis.CSharp.Syntax.QualifiedCrefSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.QualifiedCrefSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlCrefAttribute(Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlEmptyElement(Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitXmlElement(Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitDocumentationCommentTrivia(Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitTrivia(Microsoft.CodeAnalysis.SyntaxTrivia) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement(Microsoft.CodeAnalysis.SyntaxTrivia) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList(Microsoft.CodeAnalysis.SyntaxTriviaList) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitToken(Microsoft.CodeAnalysis.SyntaxToken) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.VisitToken(Microsoft.CodeAnalysis.SyntaxToken) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList(Microsoft.CodeAnalysis.SyntaxTokenList) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitPropertyDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.AnnotateAndRename(Microsoft.CodeAnalysis.Rename.RenameRewriterParameters) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26, Microsoft.CodeAnalysis.Workspaces, ",1,crash in rename simplify type names i believe i was renaming codefixprovider maybe it s because this typename was referenced in some sort of cref application devenv exe framework version description the application requested process termination through system environment failfast string message message system invalidcastexception unable to cast object of type microsoft codeanalysis csharp syntax memberaccessexpressionsyntax to type microsoft codeanalysis csharp syntax typesyntax at microsoft codeanalysis csharp csharpsyntaxrewriter visitcrefparameter crefparametersyntax node at microsoft codeanalysis csharp syntax crefparametersyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist separatedsyntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitcrefparameterlist crefparameterlistsyntax node at microsoft codeanalysis csharp syntax crefparameterlistsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visitnamemembercref namemembercrefsyntax node at microsoft codeanalysis csharp syntax namemembercrefsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expand syntaxnode node semanticmodel semanticmodel syntaxannotation annotationforreplacedaliasidentifier func expandinsidenode boolean expandparameter cancellationtoken cancellationtoken at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter complexify syntaxnode originalnode syntaxnode newnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitqualifiedcref qualifiedcrefsyntax node at microsoft codeanalysis csharp syntax qualifiedcrefsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitxmlcrefattribute xmlcrefattributesyntax node at microsoft codeanalysis csharp syntax xmlcrefattributesyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitxmlemptyelement xmlemptyelementsyntax node at microsoft codeanalysis csharp syntax xmlemptyelementsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitxmlelement xmlelementsyntax node at microsoft codeanalysis csharp syntax xmlelementsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitdocumentationcommenttrivia documentationcommenttriviasyntax node at microsoft codeanalysis csharp syntax documentationcommenttriviasyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visittrivia syntaxtrivia trivia at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement syntaxtrivia element at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxtrivialist list at microsoft codeanalysis csharp csharpsyntaxrewriter visittoken syntaxtoken token at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visittoken syntaxtoken token at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxtokenlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitpropertydeclaration propertydeclarationsyntax node at microsoft codeanalysis csharp syntax propertydeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitclassdeclaration classdeclarationsyntax node at microsoft codeanalysis csharp syntax classdeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitnamespacedeclaration namespacedeclarationsyntax node at microsoft codeanalysis csharp syntax namespacedeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitcompilationunit compilationunitsyntax node at microsoft codeanalysis csharp syntax compilationunitsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice annotateandrename renamerewriterparameters parameters at microsoft codeanalysis rename conflictengine conflictresolver session d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis rename conflictengine conflictresolver session d movenext at microsoft codeanalysis csharp csharpsyntaxrewriter visitcrefparameter microsoft codeanalysis csharp syntax crefparametersyntax at microsoft codeanalysis csharp syntax crefparametersyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis separatedsyntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitcrefparameterlist microsoft codeanalysis csharp syntax crefparameterlistsyntax at microsoft codeanalysis csharp syntax crefparameterlistsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visitnamemembercref microsoft codeanalysis csharp syntax namemembercrefsyntax at microsoft codeanalysis csharp syntax namemembercrefsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp simplification csharpsimplificationservice expand microsoft codeanalysis syntaxnode microsoft codeanalysis semanticmodel microsoft codeanalysis syntaxannotation system func boolean system threading cancellationtoken at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter complexify microsoft codeanalysis syntaxnode microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitqualifiedcref microsoft codeanalysis csharp syntax qualifiedcrefsyntax at microsoft codeanalysis csharp syntax qualifiedcrefsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitxmlcrefattribute microsoft codeanalysis csharp syntax xmlcrefattributesyntax at microsoft codeanalysis csharp syntax xmlcrefattributesyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitxmlemptyelement microsoft codeanalysis csharp syntax xmlemptyelementsyntax at microsoft codeanalysis csharp syntax xmlemptyelementsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitxmlelement microsoft codeanalysis csharp syntax xmlelementsyntax at microsoft codeanalysis csharp syntax xmlelementsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitdocumentationcommenttrivia microsoft codeanalysis csharp syntax documentationcommenttriviasyntax at microsoft codeanalysis csharp syntax documentationcommenttriviasyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visittrivia microsoft codeanalysis syntaxtrivia at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement microsoft codeanalysis syntaxtrivia at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxtrivialist at microsoft codeanalysis csharp csharpsyntaxrewriter visittoken microsoft codeanalysis syntaxtoken at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visittoken microsoft codeanalysis syntaxtoken at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxtokenlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitpropertydeclaration microsoft codeanalysis csharp syntax propertydeclarationsyntax at microsoft codeanalysis csharp syntax propertydeclarationsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitclassdeclaration microsoft codeanalysis csharp syntax classdeclarationsyntax at microsoft codeanalysis csharp syntax classdeclarationsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitnamespacedeclaration microsoft codeanalysis csharp syntax namespacedeclarationsyntax at microsoft codeanalysis csharp syntax namespacedeclarationsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitcompilationunit microsoft codeanalysis csharp syntax compilationunitsyntax at microsoft codeanalysis csharp syntax compilationunitsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice annotateandrename microsoft codeanalysis rename renamerewriterparameters at microsoft codeanalysis rename conflictengine conflictresolver session d movenext at system runtime compilerservices asynctaskmethodbuilder start microsoft codeanalysis rename conflictengine conflictresolver session d microsoft codeanalysis workspaces ,1 804,10576099390.0,IssuesEvent,2019-10-07 17:06:30,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Use a singleton for AnalyzerActions.Empty,Area-Analyzers Concept-Continuous Improvement Developer Community Tenet-Reliability,"**Version Used**: Unknown :link: https://developercommunity.visualstudio.com/content/problem/531240/occasional-outofmemoryexception.html One of the heap dumps showed 3,486,047 instances of Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, but most of these were at most 5,000 were not empty. Using a singleton for the empty case would save a large amount of memory. As a step past this, we could attempt avoid placing empty items in the dictionary at all, and internally treat missing the same as empty.",True,"Use a singleton for AnalyzerActions.Empty - **Version Used**: Unknown :link: https://developercommunity.visualstudio.com/content/problem/531240/occasional-outofmemoryexception.html One of the heap dumps showed 3,486,047 instances of Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, but most of these were at most 5,000 were not empty. Using a singleton for the empty case would save a large amount of memory. As a step past this, we could attempt avoid placing empty items in the dictionary at all, and internally treat missing the same as empty.",1,use a singleton for analyzeractions empty version used unknown link one of the heap dumps showed instances of microsoft codeanalysis diagnostics analyzeractions but most of these were at most were not empty using a singleton for the empty case would save a large amount of memory as a step past this we could attempt avoid placing empty items in the dictionary at all and internally treat missing the same as empty ,1 330,6627250620.0,IssuesEvent,2017-09-23 00:11:46,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,SqlConnection.Finalize can cause crashes,Area-IDE Bug Tenet-Reliability up-for-grabs Urgency-Soon,"**Version Used**: Builds as new as 15.0.26730.15 **Steps to Reproduce**: Unknown **Expected Behavior**: `SqlConnection` instances are not finalized. **Actual Behavior**: `SqlConnection.Finalize()` is getting called on an unknown code path, resulting in a crash. :memo: This was supposed to be corrected by #20806, but it's still showing up.",True,"SqlConnection.Finalize can cause crashes - **Version Used**: Builds as new as 15.0.26730.15 **Steps to Reproduce**: Unknown **Expected Behavior**: `SqlConnection` instances are not finalized. **Actual Behavior**: `SqlConnection.Finalize()` is getting called on an unknown code path, resulting in a crash. :memo: This was supposed to be corrected by #20806, but it's still showing up.",1,sqlconnection finalize can cause crashes version used builds as new as steps to reproduce unknown expected behavior sqlconnection instances are not finalized actual behavior sqlconnection finalize is getting called on an unknown code path resulting in a crash memo this was supposed to be corrected by but it s still showing up ,1 707,9979386976.0,IssuesEvent,2019-07-09 22:40:57,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Completion crashes (fault) if more than instance of Roslyn completion service (different languages) are attached to the single completion session,Area-IDE Tenet-Reliability,"from activity.log ``` Exception from ActivityLog.xml: System.ArgumentException: An entry with the same key already exists. at System.Collections.Specialized.ListDictionary.Add(Object key, Object value) at System.Collections.Specialized.HybridDictionary.Add(Object key, Object value) at Microsoft.VisualStudio.Utilities.PropertyCollection.AddProperty(Object key, Object property) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.AsyncCompletion.CompletionSource.<GetCompletionContextAsync>d__23.MoveNext() --- 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 Microsoft.VisualStudio.Text.Utilities.GuardedOperations.<CallExtensionPointAsync>d__34`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",True,"Completion crashes (fault) if more than instance of Roslyn completion service (different languages) are attached to the single completion session - from activity.log ``` Exception from ActivityLog.xml: System.ArgumentException: An entry with the same key already exists. at System.Collections.Specialized.ListDictionary.Add(Object key, Object value) at System.Collections.Specialized.HybridDictionary.Add(Object key, Object value) at Microsoft.VisualStudio.Utilities.PropertyCollection.AddProperty(Object key, Object property) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.AsyncCompletion.CompletionSource.<GetCompletionContextAsync>d__23.MoveNext() --- 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 Microsoft.VisualStudio.Text.Utilities.GuardedOperations.<CallExtensionPointAsync>d__34`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",1,completion crashes fault if more than instance of roslyn completion service different languages are attached to the single completion session from activity log exception from activitylog xml system argumentexception an entry with the same key already exists at system collections specialized listdictionary add object key object value at system collections specialized hybriddictionary add object key object value at microsoft visualstudio utilities propertycollection addproperty object key object property at microsoft codeanalysis editor implementation intellisense asynccompletion completionsource lt getcompletioncontextasync gt d movenext 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 microsoft visualstudio text utilities guardedoperations lt callextensionpointasync gt d movenext end of stack trace from previous location where exception was thrown at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject ,1 1782,19730074396.0,IssuesEvent,2022-01-14 00:52:07,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Debugger crashes while trying to access a multidimensional array by executing the code step by step,Bug Area-Interactive Tenet-Reliability,"**Version Used**: .NET 5.0 Visual Studio 2019 v16.11.7 **Steps to Reproduce**: 1. Define a multidimensional array, of any type, with arbitrary dimensions and initialize it, with arbitrary values. 2. Set a breakpoint in the previous statement. 3. Execute the code in step by step mode, by pressing F11. Example: ``` class Program { static void Main(string[] args) { // When a breakpoint is set at the next statement, // the debugger crashes while executing step by step (presing F11). // If the progam is executed without breakpoints, execution // behaves as expected, without crashing. string[,] array = new string[3, 2] { { ""this"", ""is"" }, { ""a"", ""debugger"" }, { ""crashing"", ""test"" } }; // This will also crash if executed step by step Console.WriteLine(array[0,0]); } } ``` **Expected Behavior**: Code is executed without crashing the debug session **Actual Behavior**: The debugging session crashes if: - The execution path reaches a statement where a multidimensional array is read or written, AND - Such statement is executed in step by step mode (by setting a breakpoint and then pressing F11) ![Crash1](https://user-images.githubusercontent.com/94723727/142705481-ada646f8-8f8c-45d2-a586-2012facf6055.png) ![Crash2](https://user-images.githubusercontent.com/94723727/142705484-3214bae6-443b-4620-9d93-479ecdda0ae9.png) ",True,"Debugger crashes while trying to access a multidimensional array by executing the code step by step - **Version Used**: .NET 5.0 Visual Studio 2019 v16.11.7 **Steps to Reproduce**: 1. Define a multidimensional array, of any type, with arbitrary dimensions and initialize it, with arbitrary values. 2. Set a breakpoint in the previous statement. 3. Execute the code in step by step mode, by pressing F11. Example: ``` class Program { static void Main(string[] args) { // When a breakpoint is set at the next statement, // the debugger crashes while executing step by step (presing F11). // If the progam is executed without breakpoints, execution // behaves as expected, without crashing. string[,] array = new string[3, 2] { { ""this"", ""is"" }, { ""a"", ""debugger"" }, { ""crashing"", ""test"" } }; // This will also crash if executed step by step Console.WriteLine(array[0,0]); } } ``` **Expected Behavior**: Code is executed without crashing the debug session **Actual Behavior**: The debugging session crashes if: - The execution path reaches a statement where a multidimensional array is read or written, AND - Such statement is executed in step by step mode (by setting a breakpoint and then pressing F11) ![Crash1](https://user-images.githubusercontent.com/94723727/142705481-ada646f8-8f8c-45d2-a586-2012facf6055.png) ![Crash2](https://user-images.githubusercontent.com/94723727/142705484-3214bae6-443b-4620-9d93-479ecdda0ae9.png) ",1,debugger crashes while trying to access a multidimensional array by executing the code step by step version used net visual studio steps to reproduce define a multidimensional array of any type with arbitrary dimensions and initialize it with arbitrary values set a breakpoint in the previous statement execute the code in step by step mode by pressing example class program static void main string args when a breakpoint is set at the next statement the debugger crashes while executing step by step presing if the progam is executed without breakpoints execution behaves as expected without crashing string array new string this is a debugger crashing test this will also crash if executed step by step console writeline array expected behavior code is executed without crashing the debug session actual behavior the debugging session crashes if the execution path reaches a statement where a multidimensional array is read or written and such statement is executed in step by step mode by setting a breakpoint and then pressing ,1 973,11888390837.0,IssuesEvent,2020-03-28 08:09:44,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,StackOverflowException in OOP,Area-Compilers Tenet-Reliability,"**Version Used**: 16.5 Preview 2 ``` 00000029d6ffc770 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc7b0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffc7c0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffc7d0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc810 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffc870 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffc890 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc8d0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffc8e0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffc8f0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc930 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffc990 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffc9b0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc9f0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffca00 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffca10 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffca50 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcab0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffcad0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcb10 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcb20 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffcb30 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcb70 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcbd0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffcbf0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcc30 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcc40 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffcc50 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcc90 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffccf0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffcd10 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcd50 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcd60 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffcd70 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcdb0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffce10 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffce30 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffce70 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffce80 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffce90 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffced0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcf30 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffcf50 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcf90 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcfa0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffcfb0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcff0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd050 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd070 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd0b0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd0c0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd0d0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd110 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd170 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd190 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd1d0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd1e0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd1f0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd230 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd290 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd2b0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd2f0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd300 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd310 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd350 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd3b0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd3d0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd410 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd420 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd430 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd470 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd4d0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd4f0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd530 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd540 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd550 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd590 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd5f0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd610 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd650 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd660 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd670 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd6b0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd710 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd730 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd770 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd780 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd790 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd7d0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd830 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd850 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd890 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd8f0 00007ffd37b904dc (MethodDesc 00007ffd33531648 +0x37c Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.MethodsAreEquivalent(Microsoft.CodeAnalysis.IMethodSymbol, Microsoft.CodeAnalysis.IMethodSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd910 00007ffd337a3948 (MethodDesc 00007ffd33420d48 +0x228 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd920 00007ffd337a370a (MethodDesc 00007ffd3341fca8 +0x1a Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer.GetKindAndUnwrapAlias(Microsoft.CodeAnalysis.ISymbol ByRef)), calling 00007ffd34240ce0 00000029d6ffd950 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd960 00007ffd373c1bf1 (MethodDesc 00007ffd37458d58 +0x31 System.Linq.ImmutableArrayExtensions.Any[[System.__Canon, mscorlib]](System.Collections.Immutable.ImmutableArray`1, System.Func`2)) 00000029d6ffd970 00007ffd337d598b (MethodDesc 00007ffd3341fb08 +0x2b Microsoft.CodeAnalysis.FindSymbols.MetadataUnifyingEquivalenceComparer.IsInSource(Microsoft.CodeAnalysis.ISymbol)), calling clr!JIT_GetSharedGCStaticBase_InlineGetAppDomain 00000029d6ffd9b0 00007ffd37c9f5f7 (MethodDesc 00007ffd33530420 +0x87 Microsoft.CodeAnalysis.FindSymbols.MetadataUnifyingEquivalenceComparer.Equals(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd9f0 00007ffd37786257 (MethodDesc 00007ffd33565c40 +0x197 System.Collections.Concurrent.ConcurrentDictionary`2[[Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Microsoft.CodeAnalysis.Workspaces],[System.Byte, mscorlib]].TryAddInternal(Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Byte, Boolean, Boolean, Byte ByRef)), calling 00007ffd3421c120 00000029d6ffda00 00007ffd337ce268 (MethodDesc 00007ffd33410848 +0x18 Microsoft.CodeAnalysis.Shared.Extensions.ISymbolExtensions.IsAnonymousType(Microsoft.CodeAnalysis.ISymbol)), calling clr!JIT_IsInstanceOfInterface 00000029d6ffda10 00007ffd337ce268 (MethodDesc 00007ffd33410848 +0x18 Microsoft.CodeAnalysis.Shared.Extensions.ISymbolExtensions.IsAnonymousType(Microsoft.CodeAnalysis.ISymbol)), calling clr!JIT_IsInstanceOfInterface 00000029d6ffdac0 00007ffd3778609a (MethodDesc 00007ffd33565b70 +0x2a System.Collections.Concurrent.ConcurrentDictionary`2[[Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Microsoft.CodeAnalysis.Workspaces],[System.Byte, mscorlib]].TryAdd(Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Byte)), calling (MethodDesc 00007ffd33565c40 +0 System.Collections.Concurrent.ConcurrentDictionary`2[[Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Microsoft.CodeAnalysis.Workspaces],[System.Byte, mscorlib]].TryAddInternal(Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Byte, Boolean, Boolean, Byte ByRef)) 00000029d6ffdb00 00007ffd337d54fd (MethodDesc 00007ffd3341fbb0 +0x39d Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine+d__21.MoveNext()), calling (MethodDesc 00007ffd33565b70 +0 System.Collections.Concurrent.ConcurrentDictionary`2[[Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Microsoft.CodeAnalysis.Workspaces],[System.Byte, mscorlib]].TryAdd(Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Byte)) 00000029d6ffdc00 00007ffd37785c91 (MethodDesc 00007ffd336029e8 +0x81 System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine+d__21, Microsoft.CodeAnalysis.Workspaces]](d__21 ByRef)), calling (MethodDesc 00007ffd3341fbb0 +0 Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine+d__21.MoveNext()) 00000029d6ffdc10 00007ffd37786dc6 (MethodDesc 00007ffd33602660 +0xb6 System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine+<>c__DisplayClass21_1+<b__0>d, Microsoft.CodeAnalysis.Workspaces]](<b__0>d ByRef)), calling (MethodDesc 00007ffd924bff70 +0 System.Threading.ExecutionContextSwitcher.Undo()) ```",True,"StackOverflowException in OOP - **Version Used**: 16.5 Preview 2 ``` 00000029d6ffc770 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc7b0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffc7c0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffc7d0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc810 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffc870 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffc890 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc8d0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffc8e0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffc8f0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc930 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffc990 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffc9b0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffc9f0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffca00 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffca10 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffca50 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcab0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffcad0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcb10 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcb20 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffcb30 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcb70 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcbd0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffcbf0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcc30 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcc40 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffcc50 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcc90 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffccf0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffcd10 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcd50 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcd60 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffcd70 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcdb0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffce10 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffce30 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffce70 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffce80 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffce90 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffced0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcf30 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffcf50 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcf90 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffcfa0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffcfb0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffcff0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd050 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd070 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd0b0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd0c0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd0d0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd110 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd170 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd190 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd1d0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd1e0 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd1f0 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd230 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd290 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd2b0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd2f0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd300 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd310 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd350 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd3b0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd3d0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd410 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd420 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd430 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd470 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd4d0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd4f0 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd530 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd540 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd550 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd590 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd5f0 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd610 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd650 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd660 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd670 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd6b0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd710 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd730 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd770 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd780 00007ffd37cd1dc5 (MethodDesc 00007ffd33531798 +0x145 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.TypeParametersAreEquivalent(Microsoft.CodeAnalysis.ITypeParameterSymbol, Microsoft.CodeAnalysis.ITypeParameterSymbol, System.Collections.Generic.Dictionary`2)), calling 00007ffd39265d80 00000029d6ffd790 00007ffd337a3af1 (MethodDesc 00007ffd33420d48 +0x3d1 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd7d0 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd830 00007ffd33dbe30c (MethodDesc 00007ffd33420da8 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.HandleNamedTypesWorker(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd850 00007ffd337a377d (MethodDesc 00007ffd33420d48 +0x5d Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd890 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd8f0 00007ffd37b904dc (MethodDesc 00007ffd33531648 +0x37c Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.MethodsAreEquivalent(Microsoft.CodeAnalysis.IMethodSymbol, Microsoft.CodeAnalysis.IMethodSymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd910 00007ffd337a3948 (MethodDesc 00007ffd33420d48 +0x228 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)), calling clr!JIT_ChkCastInterface 00000029d6ffd920 00007ffd337a370a (MethodDesc 00007ffd3341fca8 +0x1a Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer.GetKindAndUnwrapAlias(Microsoft.CodeAnalysis.ISymbol ByRef)), calling 00007ffd34240ce0 00000029d6ffd950 00007ffd337a171d (MethodDesc 00007ffd33420d08 +0xdd Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)), calling (MethodDesc 00007ffd33420d48 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalentWorker(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.SymbolKind, System.Collections.Generic.Dictionary`2)) 00000029d6ffd960 00007ffd373c1bf1 (MethodDesc 00007ffd37458d58 +0x31 System.Linq.ImmutableArrayExtensions.Any[[System.__Canon, mscorlib]](System.Collections.Immutable.ImmutableArray`1, System.Func`2)) 00000029d6ffd970 00007ffd337d598b (MethodDesc 00007ffd3341fb08 +0x2b Microsoft.CodeAnalysis.FindSymbols.MetadataUnifyingEquivalenceComparer.IsInSource(Microsoft.CodeAnalysis.ISymbol)), calling clr!JIT_GetSharedGCStaticBase_InlineGetAppDomain 00000029d6ffd9b0 00007ffd37c9f5f7 (MethodDesc 00007ffd33530420 +0x87 Microsoft.CodeAnalysis.FindSymbols.MetadataUnifyingEquivalenceComparer.Equals(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol)), calling (MethodDesc 00007ffd33420d08 +0 Microsoft.CodeAnalysis.Shared.Utilities.SymbolEquivalenceComparer+EquivalenceVisitor.AreEquivalent(Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.ISymbol, System.Collections.Generic.Dictionary`2)) 00000029d6ffd9f0 00007ffd37786257 (MethodDesc 00007ffd33565c40 +0x197 System.Collections.Concurrent.ConcurrentDictionary`2[[Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Microsoft.CodeAnalysis.Workspaces],[System.Byte, mscorlib]].TryAddInternal(Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Byte, Boolean, Boolean, Byte ByRef)), calling 00007ffd3421c120 00000029d6ffda00 00007ffd337ce268 (MethodDesc 00007ffd33410848 +0x18 Microsoft.CodeAnalysis.Shared.Extensions.ISymbolExtensions.IsAnonymousType(Microsoft.CodeAnalysis.ISymbol)), calling clr!JIT_IsInstanceOfInterface 00000029d6ffda10 00007ffd337ce268 (MethodDesc 00007ffd33410848 +0x18 Microsoft.CodeAnalysis.Shared.Extensions.ISymbolExtensions.IsAnonymousType(Microsoft.CodeAnalysis.ISymbol)), calling clr!JIT_IsInstanceOfInterface 00000029d6ffdac0 00007ffd3778609a (MethodDesc 00007ffd33565b70 +0x2a System.Collections.Concurrent.ConcurrentDictionary`2[[Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Microsoft.CodeAnalysis.Workspaces],[System.Byte, mscorlib]].TryAdd(Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Byte)), calling (MethodDesc 00007ffd33565c40 +0 System.Collections.Concurrent.ConcurrentDictionary`2[[Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Microsoft.CodeAnalysis.Workspaces],[System.Byte, mscorlib]].TryAddInternal(Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Byte, Boolean, Boolean, Byte ByRef)) 00000029d6ffdb00 00007ffd337d54fd (MethodDesc 00007ffd3341fbb0 +0x39d Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine+d__21.MoveNext()), calling (MethodDesc 00007ffd33565b70 +0 System.Collections.Concurrent.ConcurrentDictionary`2[[Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Microsoft.CodeAnalysis.Workspaces],[System.Byte, mscorlib]].TryAdd(Microsoft.CodeAnalysis.FindSymbols.SymbolAndProjectId, Byte)) 00000029d6ffdc00 00007ffd37785c91 (MethodDesc 00007ffd336029e8 +0x81 System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine+d__21, Microsoft.CodeAnalysis.Workspaces]](d__21 ByRef)), calling (MethodDesc 00007ffd3341fbb0 +0 Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine+d__21.MoveNext()) 00000029d6ffdc10 00007ffd37786dc6 (MethodDesc 00007ffd33602660 +0xb6 System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine+<>c__DisplayClass21_1+<b__0>d, Microsoft.CodeAnalysis.Workspaces]](<b__0>d ByRef)), calling (MethodDesc 00007ffd924bff70 +0 System.Threading.ExecutionContextSwitcher.Undo()) ```",1,stackoverflowexception in oop version used preview methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor typeparametersareequivalent microsoft codeanalysis itypeparametersymbol microsoft codeanalysis itypeparametersymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor handlenamedtypesworker microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor methodsareequivalent microsoft codeanalysis imethodsymbol microsoft codeanalysis imethodsymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary calling clr jit chkcastinterface methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer getkindandunwrapalias microsoft codeanalysis isymbol byref calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalentworker microsoft codeanalysis isymbol microsoft codeanalysis isymbol microsoft codeanalysis symbolkind system collections generic dictionary methoddesc system linq immutablearrayextensions any system collections immutable immutablearray system func methoddesc microsoft codeanalysis findsymbols metadataunifyingequivalencecomparer isinsource microsoft codeanalysis isymbol calling clr jit getsharedgcstaticbase inlinegetappdomain methoddesc microsoft codeanalysis findsymbols metadataunifyingequivalencecomparer equals microsoft codeanalysis isymbol microsoft codeanalysis isymbol calling methoddesc microsoft codeanalysis shared utilities symbolequivalencecomparer equivalencevisitor areequivalent microsoft codeanalysis isymbol microsoft codeanalysis isymbol system collections generic dictionary methoddesc system collections concurrent concurrentdictionary tryaddinternal microsoft codeanalysis findsymbols symbolandprojectid byte boolean boolean byte byref calling methoddesc microsoft codeanalysis shared extensions isymbolextensions isanonymoustype microsoft codeanalysis isymbol calling clr jit isinstanceofinterface methoddesc microsoft codeanalysis shared extensions isymbolextensions isanonymoustype microsoft codeanalysis isymbol calling clr jit isinstanceofinterface methoddesc system collections concurrent concurrentdictionary tryadd microsoft codeanalysis findsymbols symbolandprojectid byte calling methoddesc system collections concurrent concurrentdictionary tryaddinternal microsoft codeanalysis findsymbols symbolandprojectid byte boolean boolean byte byref methoddesc microsoft codeanalysis findsymbols findreferencessearchengine d movenext calling methoddesc system collections concurrent concurrentdictionary tryadd microsoft codeanalysis findsymbols symbolandprojectid byte methoddesc system runtime compilerservices asynctaskmethodbuilder start d byref calling methoddesc microsoft codeanalysis findsymbols findreferencessearchengine d movenext methoddesc system runtime compilerservices asynctaskmethodbuilder start b d byref calling methoddesc system threading executioncontextswitcher undo ,1 357,6892101660.0,IssuesEvent,2017-11-22 19:34:58,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS crash: AbstractInternalsVisibleToCompletionProvider.GetAttributeSyntaxNodeOfToken throws NRE,4 - In Review Area-IDE Bug Tenet-Reliability,"``` at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.Kind(SyntaxNode node) in E:\A\_work\24\s\src\Compilers\CSharp\Portable\CSharpExtensions.cs:line 161 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxFactsService.IsStringLiteralExpression(SyntaxNode node) in E:\A\_work\24\s\src\Workspaces\CSharp\Portable\LanguageServices\CSharpSyntaxFactsService.cs:line 1314 at Microsoft.CodeAnalysis.Completion.Providers.AbstractInternalsVisibleToCompletionProvider.GetAttributeSyntaxNodeOfToken(ISyntaxFactsService syntaxFactsService, SyntaxToken token) in E:\A\_work\24\s\src\Features\Core\Portable\Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs:line 78 at Microsoft.CodeAnalysis.Completion.Providers.AbstractInternalsVisibleToCompletionProvider.d__4.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs:line 55 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__31.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\CompletionServiceWithProviders.cs:line 449 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__24.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\CompletionServiceWithProviders.cs:line 311 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__22.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\CompletionServiceWithProviders.cs:line 241 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Completion.CompletionService.d__11.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\CompletionService.cs:line 183 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller.Session.ModelComputer.d__13.MoveNext() in E:\A\_work\24\s\src\EditorFeatures\Core\Implementation\IntelliSense\Completion\Controller.Session_ComputeModel.cs:line 103 ``` Crash dump: %internal_share%\public\tomat\Bugs\22690 VS build: 15.5.0 P1 (26927.1) ",True,"VS crash: AbstractInternalsVisibleToCompletionProvider.GetAttributeSyntaxNodeOfToken throws NRE - ``` at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.Kind(SyntaxNode node) in E:\A\_work\24\s\src\Compilers\CSharp\Portable\CSharpExtensions.cs:line 161 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxFactsService.IsStringLiteralExpression(SyntaxNode node) in E:\A\_work\24\s\src\Workspaces\CSharp\Portable\LanguageServices\CSharpSyntaxFactsService.cs:line 1314 at Microsoft.CodeAnalysis.Completion.Providers.AbstractInternalsVisibleToCompletionProvider.GetAttributeSyntaxNodeOfToken(ISyntaxFactsService syntaxFactsService, SyntaxToken token) in E:\A\_work\24\s\src\Features\Core\Portable\Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs:line 78 at Microsoft.CodeAnalysis.Completion.Providers.AbstractInternalsVisibleToCompletionProvider.d__4.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs:line 55 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__31.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\CompletionServiceWithProviders.cs:line 449 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__24.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\CompletionServiceWithProviders.cs:line 311 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__22.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\CompletionServiceWithProviders.cs:line 241 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Completion.CompletionService.d__11.MoveNext() in E:\A\_work\24\s\src\Features\Core\Portable\Completion\CompletionService.cs:line 183 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 184 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 157 at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller.Session.ModelComputer.d__13.MoveNext() in E:\A\_work\24\s\src\EditorFeatures\Core\Implementation\IntelliSense\Completion\Controller.Session_ComputeModel.cs:line 103 ``` Crash dump: %internal_share%\public\tomat\Bugs\22690 VS build: 15.5.0 P1 (26927.1) ",1,vs crash abstractinternalsvisibletocompletionprovider getattributesyntaxnodeoftoken throws nre at microsoft codeanalysis csharp csharpextensions kind syntaxnode node in e a work s src compilers csharp portable csharpextensions cs line at microsoft codeanalysis csharp csharpsyntaxfactsservice isstringliteralexpression syntaxnode node in e a work s src workspaces csharp portable languageservices csharpsyntaxfactsservice cs line at microsoft codeanalysis completion providers abstractinternalsvisibletocompletionprovider getattributesyntaxnodeoftoken isyntaxfactsservice syntaxfactsservice syntaxtoken token in e a work s src features core portable completion providers abstractinternalsvisibletocompletionprovider cs line at microsoft codeanalysis completion providers abstractinternalsvisibletocompletionprovider d movenext in e a work s src features core portable completion providers abstractinternalsvisibletocompletionprovider cs line at system runtime compilerservices taskawaiter throwfornonsuccess task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at microsoft codeanalysis completion completionservicewithproviders d movenext in e a work s src features core portable completion completionservicewithproviders cs line at system runtime compilerservices taskawaiter throwfornonsuccess task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at microsoft codeanalysis completion completionservicewithproviders d movenext in e a work s src features core portable completion completionservicewithproviders cs line at system runtime compilerservices taskawaiter throwfornonsuccess task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at microsoft codeanalysis completion completionservicewithproviders d movenext in e a work s src features core portable completion completionservicewithproviders cs line at system runtime compilerservices taskawaiter throwfornonsuccess task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at microsoft codeanalysis completion completionservice d movenext in e a work s src features core portable completion completionservice cs line at system runtime compilerservices taskawaiter throwfornonsuccess task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at microsoft codeanalysis editor implementation intellisense completion controller session modelcomputer d movenext in e a work s src editorfeatures core implementation intellisense completion controller session computemodel cs line crash dump internal share public tomat bugs vs build ,1 1008,12151510989.0,IssuesEvent,2020-04-24 20:06:49,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Roslyn throws exception when compiling project,Area-Compilers Bug Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/983261/roslyn-throws-exception-when-compiling-project.html)._ --- When I build a project with Visual Studio 2019, Roslyn throws an exception. The exception changes each time I try to build the project. Here's one of them: ``` 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : Excepci├│n no controlada: System.EntryPointNotFoundException: No se encontr├│ el punto de entrada. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.IParameterTypeInformation.GetType(EmitContext context) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.SerializeParameterInformation(ParameterTypeEncoder encoder, IParameterTypeInformation parameterTypeInformation) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.SerializeReturnValueAndParameters(MethodSignatureEncoder encoder, ISignature signature, ImmutableArray`1 varargParameters) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.GetMethodSignatureHandleAndBlob(IMethodReference methodReference, ImmutableArray`1& signatureBlob) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.PopulateMethodTableRows(Int32[] methodBodyOffsets) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.PopulateTypeSystemTables(Int32[] methodBodyOffsets, BlobBuilder mappedFieldDataWriter, BlobBuilder resourceWriter, BlobBuilder dynamicAnalysisDataOpt, Blob& mvidFixup) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.BuildMetadataAndIL(PdbWriter nativePdbWriterOpt, BlobBuilder ilBuilder, BlobBuilder mappedFieldDataBuilder, BlobBuilder managedResourceDataBuilder, Blob& mvidFixup, Blob& mvidStringFixup) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.PeWriter.WritePeToStream(EmitContext context, CommonMessageProvider messageProvider, Func`1 getPeStream, Func`1 getPortablePdbStreamOpt, PdbWriter nativePdbWriterOpt, String pdbPathOpt, Boolean metadataOnly, Boolean isDeterministic, Boolean emitTestCoverageData, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.Compilation.SerializePeToStream(CommonPEModuleBuilder moduleBeingBuilt, DiagnosticBag metadataDiagnostics, CommonMessageProvider messageProvider, Func`1 getPeStream, Func`1 getMetadataPeStreamOpt, Func`1 getPortablePdbStreamOpt, PdbWriter nativePdbWriterOpt, String pdbPathOpt, Boolean metadataOnly, Boolean includePrivateMembers, Boolean isDeterministic, Boolean emitTestCoverageData, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.Compilation.SerializeToPeStream(CommonPEModuleBuilder moduleBeingBuilt, EmitStreamProvider peStreamProvider, EmitStreamProvider metadataPEStreamProvider, EmitStreamProvider pdbStreamProvider, Func`2 testSymWriterFactory, DiagnosticBag diagnostics, Boolean metadataOnly, Boolean includePrivateMembers, Boolean emitTestCoverageData, String pePdbFilePath, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommonCompiler.CompileAndEmit(TouchedFileLogger touchedFilesLogger, Compilation& compilation, ImmutableArray`1 analyzers, ImmutableArray`1 additionalTextFiles, AnalyzerConfigSet analyzerConfigSet, ImmutableArray`1 sourceFileAnalyzerConfigOptions, ImmutableArray`1 embeddedTexts, DiagnosticBag diagnostics, CancellationToken cancellationToken, CancellationTokenSource& analyzerCts, Boolean& reportAnalyzer, AnalyzerDriver& analyzerDriver) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommonCompiler.RunCore(TextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommonCompiler.Run(TextWriter consoleOutput, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.<>c__DisplayClass1_0.b__0(TextWriter tw) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommandLine.ConsoleUtil.RunWithUtf8Output[T](Func`2 func) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.Run(String[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommandLine.BuildClient.RunLocalCompilation(String[] arguments, BuildPaths buildPaths, TextWriter textWriter) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommandLine.BuildClient.RunCompilation(IEnumerable`1 originalArguments, BuildPaths buildPaths, TextWriter textWriter, String pipeName) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommandLine.BuildClient.Run(IEnumerable`1 arguments, RequestLanguage language, CompileFunc compileFunc) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main(String[] args) ========== Compilar: 0 correctos, 1 incorrectos, 2 actualizados, 0 omitidos ========== ``` --- ### Original Comments #### Visual Studio Feedback System on 4/8/2020, 09:04 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Jared Parsons [MSFT] on 4/14/2020, 08:00 PM:

Thanks for taking the time to file this feedback issue. Unfortunately there is not enough information here for us to reproduce the problem. Can you provide a code sample that demonstrates the problem?

#### Dzianis Kosy on 4/19/2020, 11:07 AM: (private comment, text removed) #### Visual Studio Feedback System on 4/20/2020, 01:41 PM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

--- ### Original Solutions #### Dzianis Kosy solved on 4/19/2020, 11:10 AM, 0 votes:

Try to compile CodeJam.sln: codejam.zip

",True,"Roslyn throws exception when compiling project - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/983261/roslyn-throws-exception-when-compiling-project.html)._ --- When I build a project with Visual Studio 2019, Roslyn throws an exception. The exception changes each time I try to build the project. Here's one of them: ``` 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : Excepci├│n no controlada: System.EntryPointNotFoundException: No se encontr├│ el punto de entrada. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.IParameterTypeInformation.GetType(EmitContext context) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.SerializeParameterInformation(ParameterTypeEncoder encoder, IParameterTypeInformation parameterTypeInformation) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.SerializeReturnValueAndParameters(MethodSignatureEncoder encoder, ISignature signature, ImmutableArray`1 varargParameters) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.GetMethodSignatureHandleAndBlob(IMethodReference methodReference, ImmutableArray`1& signatureBlob) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.PopulateMethodTableRows(Int32[] methodBodyOffsets) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.PopulateTypeSystemTables(Int32[] methodBodyOffsets, BlobBuilder mappedFieldDataWriter, BlobBuilder resourceWriter, BlobBuilder dynamicAnalysisDataOpt, Blob& mvidFixup) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.MetadataWriter.BuildMetadataAndIL(PdbWriter nativePdbWriterOpt, BlobBuilder ilBuilder, BlobBuilder mappedFieldDataBuilder, BlobBuilder managedResourceDataBuilder, Blob& mvidFixup, Blob& mvidStringFixup) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.Cci.PeWriter.WritePeToStream(EmitContext context, CommonMessageProvider messageProvider, Func`1 getPeStream, Func`1 getPortablePdbStreamOpt, PdbWriter nativePdbWriterOpt, String pdbPathOpt, Boolean metadataOnly, Boolean isDeterministic, Boolean emitTestCoverageData, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.Compilation.SerializePeToStream(CommonPEModuleBuilder moduleBeingBuilt, DiagnosticBag metadataDiagnostics, CommonMessageProvider messageProvider, Func`1 getPeStream, Func`1 getMetadataPeStreamOpt, Func`1 getPortablePdbStreamOpt, PdbWriter nativePdbWriterOpt, String pdbPathOpt, Boolean metadataOnly, Boolean includePrivateMembers, Boolean isDeterministic, Boolean emitTestCoverageData, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.Compilation.SerializeToPeStream(CommonPEModuleBuilder moduleBeingBuilt, EmitStreamProvider peStreamProvider, EmitStreamProvider metadataPEStreamProvider, EmitStreamProvider pdbStreamProvider, Func`2 testSymWriterFactory, DiagnosticBag diagnostics, Boolean metadataOnly, Boolean includePrivateMembers, Boolean emitTestCoverageData, String pePdbFilePath, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommonCompiler.CompileAndEmit(TouchedFileLogger touchedFilesLogger, Compilation& compilation, ImmutableArray`1 analyzers, ImmutableArray`1 additionalTextFiles, AnalyzerConfigSet analyzerConfigSet, ImmutableArray`1 sourceFileAnalyzerConfigOptions, ImmutableArray`1 embeddedTexts, DiagnosticBag diagnostics, CancellationToken cancellationToken, CancellationTokenSource& analyzerCts, Boolean& reportAnalyzer, AnalyzerDriver& analyzerDriver) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommonCompiler.RunCore(TextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommonCompiler.Run(TextWriter consoleOutput, CancellationToken cancellationToken) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.<>c__DisplayClass1_0.b__0(TextWriter tw) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommandLine.ConsoleUtil.RunWithUtf8Output[T](Func`2 func) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.Run(String[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommandLine.BuildClient.RunLocalCompilation(String[] arguments, BuildPaths buildPaths, TextWriter textWriter) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommandLine.BuildClient.RunCompilation(IEnumerable`1 originalArguments, BuildPaths buildPaths, TextWriter textWriter, String pipeName) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CommandLine.BuildClient.Run(IEnumerable`1 arguments, RequestLanguage language, CompileFunc compileFunc) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error : en Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main(String[] args) ========== Compilar: 0 correctos, 1 incorrectos, 2 actualizados, 0 omitidos ========== ``` --- ### Original Comments #### Visual Studio Feedback System on 4/8/2020, 09:04 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Jared Parsons [MSFT] on 4/14/2020, 08:00 PM:

Thanks for taking the time to file this feedback issue. Unfortunately there is not enough information here for us to reproduce the problem. Can you provide a code sample that demonstrates the problem?

#### Dzianis Kosy on 4/19/2020, 11:07 AM: (private comment, text removed) #### Visual Studio Feedback System on 4/20/2020, 01:41 PM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

--- ### Original Solutions #### Dzianis Kosy solved on 4/19/2020, 11:10 AM, 0 votes:

Try to compile CodeJam.sln: codejam.zip

",1,roslyn throws exception when compiling project this issue has been moved from when i build a project with visual studio roslyn throws an exception the exception changes each time i try to build the project here s one of them c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error excepci├│n no controlada system entrypointnotfoundexception no se encontr├│ el punto de entrada c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft cci iparametertypeinformation gettype emitcontext context c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft cci metadatawriter serializeparameterinformation parametertypeencoder encoder iparametertypeinformation parametertypeinformation c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft cci metadatawriter serializereturnvalueandparameters methodsignatureencoder encoder isignature signature immutablearray varargparameters c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft cci metadatawriter getmethodsignaturehandleandblob imethodreference methodreference immutablearray signatureblob c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft cci metadatawriter populatemethodtablerows methodbodyoffsets c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft cci metadatawriter populatetypesystemtables methodbodyoffsets blobbuilder mappedfielddatawriter blobbuilder resourcewriter blobbuilder dynamicanalysisdataopt blob mvidfixup c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft cci metadatawriter buildmetadataandil pdbwriter nativepdbwriteropt blobbuilder ilbuilder blobbuilder mappedfielddatabuilder blobbuilder managedresourcedatabuilder blob mvidfixup blob mvidstringfixup c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft cci pewriter writepetostream emitcontext context commonmessageprovider messageprovider func getpestream func getportablepdbstreamopt pdbwriter nativepdbwriteropt string pdbpathopt boolean metadataonly boolean isdeterministic boolean emittestcoveragedata nullable privatekeyopt cancellationtoken cancellationtoken c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis compilation serializepetostream commonpemodulebuilder modulebeingbuilt diagnosticbag metadatadiagnostics commonmessageprovider messageprovider func getpestream func getmetadatapestreamopt func getportablepdbstreamopt pdbwriter nativepdbwriteropt string pdbpathopt boolean metadataonly boolean includeprivatemembers boolean isdeterministic boolean emittestcoveragedata nullable privatekeyopt cancellationtoken cancellationtoken c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis compilation serializetopestream commonpemodulebuilder modulebeingbuilt emitstreamprovider pestreamprovider emitstreamprovider metadatapestreamprovider emitstreamprovider pdbstreamprovider func testsymwriterfactory diagnosticbag diagnostics boolean metadataonly boolean includeprivatemembers boolean emittestcoveragedata string pepdbfilepath nullable privatekeyopt cancellationtoken cancellationtoken c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis commoncompiler compileandemit touchedfilelogger touchedfileslogger compilation compilation immutablearray analyzers immutablearray additionaltextfiles analyzerconfigset analyzerconfigset immutablearray sourcefileanalyzerconfigoptions immutablearray embeddedtexts diagnosticbag diagnostics cancellationtoken cancellationtoken cancellationtokensource analyzercts boolean reportanalyzer analyzerdriver analyzerdriver c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis commoncompiler runcore textwriter consoleoutput errorlogger errorlogger cancellationtoken cancellationtoken c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis commoncompiler run textwriter consoleoutput cancellationtoken cancellationtoken c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis csharp commandline csc c b textwriter tw c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis commandline consoleutil func func c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis csharp commandline csc run string args buildpaths buildpaths textwriter textwriter ianalyzerassemblyloader analyzerloader c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis commandline buildclient runlocalcompilation string arguments buildpaths buildpaths textwriter textwriter c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis commandline buildclient runcompilation ienumerable originalarguments buildpaths buildpaths textwriter textwriter string pipename c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis commandline buildclient run ienumerable arguments requestlanguage language compilefunc compilefunc c program files microsoft visual studio community msbuild current bin roslyn microsoft csharp core targets error en microsoft codeanalysis csharp commandline program main string args compilar correctos incorrectos actualizados omitidos original comments visual studio feedback system on pm we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps jared parsons on pm thanks for taking the time to file this feedback issue unfortunately there is not enough information here for us to reproduce the problem can you provide a code sample that demonstrates the problem dzianis kosy on am private comment text removed visual studio feedback system on pm this issue is currently being investigated our team will get back to you if either more information is needed a workaround is available or the issue is resolved original solutions dzianis kosy solved on am votes try to compile codejam sln a target blank href ,1 530,8356529030.0,IssuesEvent,2018-10-02 18:45:28,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Fix failure to dispose 'scope' after failure to dispose 'connection',Area-IDE Bug Tenet-Reliability help wanted,"In the following code, an exception during the call to `connection.Dispose` will result in `scope` not getting disposed. This eventually leads to an exception in the finalizer of `PinnedRemotableDataScope`. https://github.com/dotnet/roslyn/blob/1f082e40860963edcd81d1567069aae924d9369f/src/Workspaces/Core/Portable/Remote/RemoteHostSessionHelpers.cs#L43-L46 ",True,"Fix failure to dispose 'scope' after failure to dispose 'connection' - In the following code, an exception during the call to `connection.Dispose` will result in `scope` not getting disposed. This eventually leads to an exception in the finalizer of `PinnedRemotableDataScope`. https://github.com/dotnet/roslyn/blob/1f082e40860963edcd81d1567069aae924d9369f/src/Workspaces/Core/Portable/Remote/RemoteHostSessionHelpers.cs#L43-L46 ",1,fix failure to dispose scope after failure to dispose connection in the following code an exception during the call to connection dispose will result in scope not getting disposed this eventually leads to an exception in the finalizer of pinnedremotabledatascope ,1 1154,13424306924.0,IssuesEvent,2020-09-06 04:13:54,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Hang during shutdown in Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.UnregisterGlobalOperationNotifications,Area-IDE Bug Tenet-Reliability,"**Version Used**: 16.5.29707.192 built by: MASTER This is a random hang I hit during shutdown. The UI was already closed I think but it seems we deadlocked somehow shutting down the OOP process: ``` mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) Line 203 C# mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout) Line 213 C# mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 688 C# mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 3320 C# mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 3259 C# mscorlib.dll!System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 3167 C# [Waiting on Async Operation, Open Tasks View in Parallel Stacks Window to view Async Call Stacks] > Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.UnregisterGlobalOperationNotifications() Line 213 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.OnStopped() Line 165 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.RemoteHostClientService.Disable() Line 141 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage.DisableRemoteHostClientService() Line 201 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage.Dispose.AnonymousMethod__18_0() Line 141 C# ```",True,"Hang during shutdown in Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.UnregisterGlobalOperationNotifications - **Version Used**: 16.5.29707.192 built by: MASTER This is a random hang I hit during shutdown. The UI was already closed I think but it seems we deadlocked somehow shutting down the OOP process: ``` mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) Line 203 C# mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout) Line 213 C# mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 688 C# mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 3320 C# mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 3259 C# mscorlib.dll!System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 3167 C# [Waiting on Async Operation, Open Tasks View in Parallel Stacks Window to view Async Call Stacks] > Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.UnregisterGlobalOperationNotifications() Line 213 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.OnStopped() Line 165 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.RemoteHostClientService.Disable() Line 141 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage.DisableRemoteHostClientService() Line 201 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage.Dispose.AnonymousMethod__18_0() Line 141 C# ```",1,hang during shutdown in microsoft visualstudio languageservices remote servicehubremotehostclient unregisterglobaloperationnotifications version used built by master this is a random hang i hit during shutdown the ui was already closed i think but it seems we deadlocked somehow shutting down the oop process mscorlib dll system threading monitor wait object obj int millisecondstimeout bool exitcontext line c mscorlib dll system threading monitor wait object obj int millisecondstimeout line c mscorlib dll system threading manualreseteventslim wait int millisecondstimeout system threading cancellationtoken cancellationtoken line c mscorlib dll system threading tasks task spinthenblockingwait int millisecondstimeout system threading cancellationtoken cancellationtoken line c mscorlib dll system threading tasks task internalwait int millisecondstimeout system threading cancellationtoken cancellationtoken line c mscorlib dll system threading tasks task wait int millisecondstimeout system threading cancellationtoken cancellationtoken line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices remote servicehubremotehostclient unregisterglobaloperationnotifications line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices remote servicehubremotehostclient onstopped line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices remote remotehostclientservicefactory remotehostclientservice disable line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation languageservice abstractpackage disableremotehostclientservice line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation languageservice abstractpackage dispose anonymousmethod line c ,1 1578,17186497793.0,IssuesEvent,2021-07-16 03:19:59,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Document highlighting crash,Area-IDE Bug Tenet-Reliability,"Version: Version 17.0.0 Preview 3.0 [31509.305.main] Not sure specifically what caused it, was just editing EditAndContinueTests.cs and got a yellow bar ![image](https://user-images.githubusercontent.com/754264/125362957-1b345e00-e3b3-11eb-8c65-8090c6c7c7a7.png) Stack: ``` StreamJsonRpc.RemoteInvocationException: Unexpected false - line 149 at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__17`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.InvalidOperationException: Unexpected false - line 149 at Roslyn.Utilities.Contract.Fail(String message, Int32 lineNumber) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__28.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteDocumentHighlightsService.<>c__DisplayClass2_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__12`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",True,"Document highlighting crash - Version: Version 17.0.0 Preview 3.0 [31509.305.main] Not sure specifically what caused it, was just editing EditAndContinueTests.cs and got a yellow bar ![image](https://user-images.githubusercontent.com/754264/125362957-1b345e00-e3b3-11eb-8c65-8090c6c7c7a7.png) Stack: ``` StreamJsonRpc.RemoteInvocationException: Unexpected false - line 149 at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__17`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.InvalidOperationException: Unexpected false - line 149 at Roslyn.Utilities.Contract.Fail(String message, Int32 lineNumber) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__28.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentHighlighting.AbstractDocumentHighlightsService.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteDocumentHighlightsService.<>c__DisplayClass2_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__12`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",1,document highlighting crash version version preview not sure specifically what caused it was just editing editandcontinuetests cs and got a yellow bar stack streamjsonrpc remoteinvocationexception unexpected false line at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredserviceconnection d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject rpc server exception system invalidoperationexception unexpected false line at roslyn utilities contract fail string message linenumber at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis findsymbols symbolfinder d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis documenthighlighting abstractdocumenthighlightsservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis documenthighlighting abstractdocumenthighlightsservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis documenthighlighting abstractdocumenthighlightsservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotedocumenthighlightsservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredservicebase d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject ,1 268,5920885698.0,IssuesEvent,2017-05-22 21:24:42,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Visual Studio crashed in IncrementalAnalyzerProcessor opening Roslyn solution,4 - In Review Area-Analyzers Bug Tenet-Reliability,"Build: VisualStudio.15.int.vsuwpt/15.2.0-Preview+26410.1.vsuwpt Opened Roslyn, and was looking at source and VS crashed with the following: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentNullException: Value cannot be null. Parameter name: obj at System.Threading.Monitor.Pulse(Object obj) at System.Threading.SemaphoreSlim.Release(Int32 releaseCount) at StreamJsonRpc.DelimitedMessageHandler.d__23.MoveNext() --- 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.ValidateEnd(Task task) at StreamJsonRpc.JsonRpc.d__56`1.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.JsonRpcClient.d__4`1.MoveNext() --- 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 Microsoft.CodeAnalysis.Remote.RemoteHostClientExtensions.d__8`1.MoveNext() --- 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 Microsoft.CodeAnalysis.DesignerAttributes.AbstractDesignerAttributeService.d__4.MoveNext() --- 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 Microsoft.CodeAnalysis.DesignerAttributes.AbstractDesignerAttributeService.d__3.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Implementation.DesignerAttribute.DesignerAttributeIncrementalAnalyzer.d__9.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.VisualStudio.LanguageServices.Implementation.DesignerAttribute.DesignerAttributeIncrementalAnalyzer.d__8.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass31_1`1.<b__0>d.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__33`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__33`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass31_1`1+<b__0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Implementation.DesignerAttribute.DesignerAttributeIncrementalAnalyzer+d__8.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Implementation.DesignerAttribute.DesignerAttributeIncrementalAnalyzer+d__9.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.CodeAnalysis.DesignerAttributes.AbstractDesignerAttributeService+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.CodeAnalysis.DesignerAttributes.AbstractDesignerAttributeService+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.CodeAnalysis.Remote.RemoteHostClientExtensions+d__8`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Remote.JsonRpcClient+d__4`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at StreamJsonRpc.JsonRpc+d__56`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at StreamJsonRpc.DelimitedMessageHandler+d__23.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.Task`1) at StreamJsonRpc.HeaderDelimitedMessageHandler+d__24.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",True,"Visual Studio crashed in IncrementalAnalyzerProcessor opening Roslyn solution - Build: VisualStudio.15.int.vsuwpt/15.2.0-Preview+26410.1.vsuwpt Opened Roslyn, and was looking at source and VS crashed with the following: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentNullException: Value cannot be null. Parameter name: obj at System.Threading.Monitor.Pulse(Object obj) at System.Threading.SemaphoreSlim.Release(Int32 releaseCount) at StreamJsonRpc.DelimitedMessageHandler.d__23.MoveNext() --- 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.ValidateEnd(Task task) at StreamJsonRpc.JsonRpc.d__56`1.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.JsonRpcClient.d__4`1.MoveNext() --- 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 Microsoft.CodeAnalysis.Remote.RemoteHostClientExtensions.d__8`1.MoveNext() --- 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 Microsoft.CodeAnalysis.DesignerAttributes.AbstractDesignerAttributeService.d__4.MoveNext() --- 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 Microsoft.CodeAnalysis.DesignerAttributes.AbstractDesignerAttributeService.d__3.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Implementation.DesignerAttribute.DesignerAttributeIncrementalAnalyzer.d__9.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.VisualStudio.LanguageServices.Implementation.DesignerAttribute.DesignerAttributeIncrementalAnalyzer.d__8.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass31_1`1.<b__0>d.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__33`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__33`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass31_1`1+<b__0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Implementation.DesignerAttribute.DesignerAttributeIncrementalAnalyzer+d__8.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Implementation.DesignerAttribute.DesignerAttributeIncrementalAnalyzer+d__9.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.CodeAnalysis.DesignerAttributes.AbstractDesignerAttributeService+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.CodeAnalysis.DesignerAttributes.AbstractDesignerAttributeService+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.CodeAnalysis.Remote.RemoteHostClientExtensions+d__8`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Remote.JsonRpcClient+d__4`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetException(System.Exception) at StreamJsonRpc.JsonRpc+d__56`1[[Microsoft.CodeAnalysis.DesignerAttributes.DesignerAttributeResult, Microsoft.CodeAnalysis.Features, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at StreamJsonRpc.DelimitedMessageHandler+d__23.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.Task`1) at StreamJsonRpc.HeaderDelimitedMessageHandler+d__24.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",1,visual studio crashed in incrementalanalyzerprocessor opening roslyn solution build visualstudio int vsuwpt preview vsuwpt opened roslyn and was looking at source and vs crashed with the following application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentnullexception value cannot be null parameter name obj at system threading monitor pulse object obj at system threading semaphoreslim release releasecount at streamjsonrpc delimitedmessagehandler d movenext 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 validateend task task at streamjsonrpc jsonrpc d movenext 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 microsoft visualstudio languageservices remote jsonrpcclient d movenext 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 microsoft codeanalysis remote remotehostclientextensions d movenext 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 microsoft codeanalysis designerattributes abstractdesignerattributeservice d movenext 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 microsoft codeanalysis designerattributes abstractdesignerattributeservice d movenext 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 microsoft visualstudio languageservices implementation designerattribute designerattributeincrementalanalyzer d movenext 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 validateend task task at microsoft visualstudio languageservices implementation designerattribute designerattributeincrementalanalyzer d movenext 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 microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b d movenext 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 microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft visualstudio languageservices implementation designerattribute designerattributeincrementalanalyzer d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft visualstudio languageservices implementation designerattribute designerattributeincrementalanalyzer d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft codeanalysis designerattributes abstractdesignerattributeservice d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft codeanalysis designerattributes abstractdesignerattributeservice d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft codeanalysis remote remotehostclientextensions d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft visualstudio languageservices remote jsonrpcclient d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at streamjsonrpc jsonrpc d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at streamjsonrpc delimitedmessagehandler d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks task at streamjsonrpc headerdelimitedmessagehandler d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback ,1 1067,12750832432.0,IssuesEvent,2020-06-27 07:11:42,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,TouchDocumentAction sequences have unbounded size,Area-IDE Bug Tenet-Reliability,"**Version Used**: Visual Studio 2019 version 16.6.2 **Steps to Reproduce**: 1. Open a project with a large source file 1. Using an external tool/script, repeatedly ""touch"" the large source file on disk **Expected Behavior**: Visual Studio eventually processes the file changes. **Actual Behavior**: Visual Studio crashes. **Details**: The `TouchDocumentAction` object representing an external change to a document that still needs to be documented has unbounded size. The two state fields need to be updated to use temporary storage instead of holding the entire contents of the file (both the old text and the new text) in memory until processing is complete. https://github.com/dotnet/roslyn/blob/5bfb295d2abef1e427a382793b63caf9158ed466/src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.CompilationAndGeneratorDriverTranslationAction_Actions.cs#L22-L23",True,"TouchDocumentAction sequences have unbounded size - **Version Used**: Visual Studio 2019 version 16.6.2 **Steps to Reproduce**: 1. Open a project with a large source file 1. Using an external tool/script, repeatedly ""touch"" the large source file on disk **Expected Behavior**: Visual Studio eventually processes the file changes. **Actual Behavior**: Visual Studio crashes. **Details**: The `TouchDocumentAction` object representing an external change to a document that still needs to be documented has unbounded size. The two state fields need to be updated to use temporary storage instead of holding the entire contents of the file (both the old text and the new text) in memory until processing is complete. https://github.com/dotnet/roslyn/blob/5bfb295d2abef1e427a382793b63caf9158ed466/src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.CompilationAndGeneratorDriverTranslationAction_Actions.cs#L22-L23",1,touchdocumentaction sequences have unbounded size version used visual studio version steps to reproduce open a project with a large source file using an external tool script repeatedly touch the large source file on disk expected behavior visual studio eventually processes the file changes actual behavior visual studio crashes details the touchdocumentaction object representing an external change to a document that still needs to be documented has unbounded size the two state fields need to be updated to use temporary storage instead of holding the entire contents of the file both the old text and the new text in memory until processing is complete ,1 297,6047975697.0,IssuesEvent,2017-06-12 15:30:00,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Dogfooding crash in memory mapped files,Area-IDE Bug Tenet-Reliability,"**Version Used**: VS 2017 Preview 15.3 P 2, + latest Roslyn signed VSIX: 2.3.06181101 **Steps to Reproduce**: 1. Had Roslyn.sln open, rebased my branch to get the latest changes from master (but there weren't any). **Actual Behavior**: VS Crash. **Dump:** `""\\mlangfs1\public\kevinpi\TemporaryStorageAccessDenied.dmp""` **Callstack:** ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at Microsoft.CodeAnalysis.Host.TemporaryStorageServiceFactory+MemoryMappedInfo+SharedReadableStream.ReadByte() at System.IO.BinaryReader.ReadByte() at Roslyn.Utilities.ObjectReader.ReadValueWorker() at Roslyn.Utilities.ObjectReader.b__25_0() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(System.Object) at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart(System.Object) ```",True,"Dogfooding crash in memory mapped files - **Version Used**: VS 2017 Preview 15.3 P 2, + latest Roslyn signed VSIX: 2.3.06181101 **Steps to Reproduce**: 1. Had Roslyn.sln open, rebased my branch to get the latest changes from master (but there weren't any). **Actual Behavior**: VS Crash. **Dump:** `""\\mlangfs1\public\kevinpi\TemporaryStorageAccessDenied.dmp""` **Callstack:** ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at Microsoft.CodeAnalysis.Host.TemporaryStorageServiceFactory+MemoryMappedInfo+SharedReadableStream.ReadByte() at System.IO.BinaryReader.ReadByte() at Roslyn.Utilities.ObjectReader.ReadValueWorker() at Roslyn.Utilities.ObjectReader.b__25_0() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(System.Object) at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart(System.Object) ```",1,dogfooding crash in memory mapped files version used vs preview p latest roslyn signed vsix steps to reproduce had roslyn sln open rebased my branch to get the latest changes from master but there weren t any actual behavior vs crash dump public kevinpi temporarystorageaccessdenied dmp callstack application devenv exe framework version description the process was terminated due to an unhandled exception exception info system accessviolationexception at microsoft codeanalysis host temporarystorageservicefactory memorymappedinfo sharedreadablestream readbyte at system io binaryreader readbyte at roslyn utilities objectreader readvalueworker at roslyn utilities objectreader b at system threading tasks task innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks threadpooltaskscheduler longrunningthreadwork system object at system threading threadhelper threadstart context system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object at system threading threadhelper threadstart system object ,1 1071,12798704085.0,IssuesEvent,2020-07-02 14:19:16,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS crashes with possibly invalid [MemberNotNull] annotation,Area-Compilers New Language Feature - Nullable Reference Types Tenet-Reliability,"**Version Used**: ``` Microsoft Visual Studio Professional 2019 Preview Version 16.6.0 Preview 6.0 VisualStudio.16.Preview/16.6.0-pre.6.0+30105.148 Microsoft .NET Framework Version 4.8.03752 ``` **Steps to Reproduce**: Paste the following code into VS. ``` using System.Diagnostics.CodeAnalysis; class C { public string? field; [MemberNotNull(""field"")] public static void M() { } public void Test() { M(); field.ToString(); } } namespace System.Diagnostics.CodeAnalysis { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true)] public sealed class MemberNotNullAttribute : Attribute { public MemberNotNullAttribute(params string[] members) { } public MemberNotNullAttribute(string member) { } } } ``` **Expected Behavior**: No crash. Probably some warnings **Actual Behavior**: VS crashes **Notes** The following test currently crashes in Roslyn's master branch with a `NullReferenceException` ``` commit 27654b066e600a350706a13ebd67d1da542c1a7b Merge: 436d17816f6 0c9f90368a5 Author: msftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com> Date: Thu May 7 05:33:48 2020 +0000 Merge pull request #44029 from dotnet/merges/release/dev16.7-preview1-to-master Merge release/dev16.7-preview1 to master ``` ``` [Fact] public void Test() { var source = @""using System.Diagnostics.CodeAnalysis; class C { public string? field; [MemberNotNull(""""field"""")] public static void M() { } public void Test() { M(); field.ToString(); } }""; var comp = CreateCompilation( new[] { source, MemberNotNullAttributeDefinition }, options: WithNonNullTypesTrue(), targetFramework: TargetFramework.NetCoreApp30, parseOptions: TestOptions.RegularPreview); comp.VerifyDiagnostics(); } ``` ``` System.NullReferenceException: Object reference not set to an instance of an object. System.NullReferenceException Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.LocalDataFlowPass`2.GetOrCreateSlot(Symbol symbol, Int32 containingSlot, Boolean forceSlotEvenIfEmpty) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\LocalDataFlowPass.cs:line 123 at Microsoft.CodeAnalysis.CSharp.NullableWalker.GetOrCreateSlot(Symbol symbol, Int32 containingSlot, Boolean forceSlotEvenIfEmpty) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 1275 at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__getSlotForFieldOrProperty|44_13(Symbol member) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 718 at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__makeMemberMaybeNull|44_7(MethodSymbol method, String memberName) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 594 at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__makeMembersMaybeNull|44_6(MethodSymbol method, ImmutableArray`1 members) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 585 at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__makeNotNullMembersMaybeNull|44_5() in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 572 at Microsoft.CodeAnalysis.CSharp.NullableWalker.Scan(Boolean& badRegion) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 436 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Analyze(Boolean& badRegion, Optional`1 initialState) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 435 at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(NullableWalker walker, Symbol symbol, DiagnosticBag diagnostics, VariableState initialState, Builder snapshotBuilderOpt) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 971 at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(CSharpCompilation compilation, Symbol symbol, BoundNode node, Binder binder, Conversions conversions, DiagnosticBag diagnostics, Boolean useMethodSignatureParameterTypes, MethodSymbol delegateInvokeMethodOpt, VariableState initialState, Builder analyzedNullabilityMapOpt, Builder snapshotBuilderOpt, ArrayBuilder`1 returnTypesOpt) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 951 at Microsoft.CodeAnalysis.CSharp.NullableWalker.AnalyzeAndRewrite(CSharpCompilation compilation, Symbol symbol, BoundNode node, Binder binder, DiagnosticBag diagnostics, Boolean createSnapshots, SnapshotManager& snapshotManager, ImmutableDictionary`2& remappedSymbols) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 788 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested, InitialState& forSemanticModel) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 1682 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 986 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 511 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 401 at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in C:\Work\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs:line 141 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- 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.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 316 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 155 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2448 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2417 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2325 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2319 at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) in C:\Work\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs:line 413 at ```",True,"VS crashes with possibly invalid [MemberNotNull] annotation - **Version Used**: ``` Microsoft Visual Studio Professional 2019 Preview Version 16.6.0 Preview 6.0 VisualStudio.16.Preview/16.6.0-pre.6.0+30105.148 Microsoft .NET Framework Version 4.8.03752 ``` **Steps to Reproduce**: Paste the following code into VS. ``` using System.Diagnostics.CodeAnalysis; class C { public string? field; [MemberNotNull(""field"")] public static void M() { } public void Test() { M(); field.ToString(); } } namespace System.Diagnostics.CodeAnalysis { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true)] public sealed class MemberNotNullAttribute : Attribute { public MemberNotNullAttribute(params string[] members) { } public MemberNotNullAttribute(string member) { } } } ``` **Expected Behavior**: No crash. Probably some warnings **Actual Behavior**: VS crashes **Notes** The following test currently crashes in Roslyn's master branch with a `NullReferenceException` ``` commit 27654b066e600a350706a13ebd67d1da542c1a7b Merge: 436d17816f6 0c9f90368a5 Author: msftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com> Date: Thu May 7 05:33:48 2020 +0000 Merge pull request #44029 from dotnet/merges/release/dev16.7-preview1-to-master Merge release/dev16.7-preview1 to master ``` ``` [Fact] public void Test() { var source = @""using System.Diagnostics.CodeAnalysis; class C { public string? field; [MemberNotNull(""""field"""")] public static void M() { } public void Test() { M(); field.ToString(); } }""; var comp = CreateCompilation( new[] { source, MemberNotNullAttributeDefinition }, options: WithNonNullTypesTrue(), targetFramework: TargetFramework.NetCoreApp30, parseOptions: TestOptions.RegularPreview); comp.VerifyDiagnostics(); } ``` ``` System.NullReferenceException: Object reference not set to an instance of an object. System.NullReferenceException Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.LocalDataFlowPass`2.GetOrCreateSlot(Symbol symbol, Int32 containingSlot, Boolean forceSlotEvenIfEmpty) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\LocalDataFlowPass.cs:line 123 at Microsoft.CodeAnalysis.CSharp.NullableWalker.GetOrCreateSlot(Symbol symbol, Int32 containingSlot, Boolean forceSlotEvenIfEmpty) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 1275 at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__getSlotForFieldOrProperty|44_13(Symbol member) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 718 at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__makeMemberMaybeNull|44_7(MethodSymbol method, String memberName) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 594 at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__makeMembersMaybeNull|44_6(MethodSymbol method, ImmutableArray`1 members) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 585 at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__makeNotNullMembersMaybeNull|44_5() in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 572 at Microsoft.CodeAnalysis.CSharp.NullableWalker.Scan(Boolean& badRegion) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 436 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Analyze(Boolean& badRegion, Optional`1 initialState) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 435 at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(NullableWalker walker, Symbol symbol, DiagnosticBag diagnostics, VariableState initialState, Builder snapshotBuilderOpt) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 971 at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(CSharpCompilation compilation, Symbol symbol, BoundNode node, Binder binder, Conversions conversions, DiagnosticBag diagnostics, Boolean useMethodSignatureParameterTypes, MethodSymbol delegateInvokeMethodOpt, VariableState initialState, Builder analyzedNullabilityMapOpt, Builder snapshotBuilderOpt, ArrayBuilder`1 returnTypesOpt) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 951 at Microsoft.CodeAnalysis.CSharp.NullableWalker.AnalyzeAndRewrite(CSharpCompilation compilation, Symbol symbol, BoundNode node, Binder binder, DiagnosticBag diagnostics, Boolean createSnapshots, SnapshotManager& snapshotManager, ImmutableDictionary`2& remappedSymbols) in C:\Work\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\NullableWalker.cs:line 788 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested, InitialState& forSemanticModel) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 1682 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 986 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 511 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 401 at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in C:\Work\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs:line 141 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- 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.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 316 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 155 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2448 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2417 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2325 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) in C:\Work\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2319 at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) in C:\Work\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs:line 413 at ```",1,vs crashes with possibly invalid annotation version used microsoft visual studio professional preview version preview visualstudio preview pre microsoft net framework version steps to reproduce paste the following code into vs using system diagnostics codeanalysis class c public string field public static void m public void test m field tostring namespace system diagnostics codeanalysis public sealed class membernotnullattribute attribute public membernotnullattribute params string members public membernotnullattribute string member expected behavior no crash probably some warnings actual behavior vs crashes notes the following test currently crashes in roslyn s master branch with a nullreferenceexception commit merge author msftbot date thu may merge pull request from dotnet merges release to master merge release to master public void test var source using system diagnostics codeanalysis class c public string field public static void m public void test m field tostring var comp createcompilation new source membernotnullattributedefinition options withnonnulltypestrue targetframework targetframework parseoptions testoptions regularpreview comp verifydiagnostics system nullreferenceexception object reference not set to an instance of an object system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis csharp localdataflowpass getorcreateslot symbol symbol containingslot boolean forceslotevenifempty in c work roslyn src compilers csharp portable flowanalysis localdataflowpass cs line at microsoft codeanalysis csharp nullablewalker getorcreateslot symbol symbol containingslot boolean forceslotevenifempty in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp nullablewalker g getslotforfieldorproperty symbol member in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp nullablewalker g makemembermaybenull methodsymbol method string membername in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp nullablewalker g makemembersmaybenull methodsymbol method immutablearray members in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp nullablewalker g makenotnullmembersmaybenull in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp nullablewalker scan boolean badregion in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp abstractflowpass analyze boolean badregion optional initialstate in c work roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp nullablewalker analyze nullablewalker walker symbol symbol diagnosticbag diagnostics variablestate initialstate builder snapshotbuilderopt in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp nullablewalker analyze csharpcompilation compilation symbol symbol boundnode node binder binder conversions conversions diagnosticbag diagnostics boolean usemethodsignatureparametertypes methodsymbol delegateinvokemethodopt variablestate initialstate builder analyzednullabilitymapopt builder snapshotbuilderopt arraybuilder returntypesopt in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp nullablewalker analyzeandrewrite csharpcompilation compilation symbol symbol boundnode node binder binder diagnosticbag diagnostics boolean createsnapshots snapshotmanager snapshotmanager immutabledictionary remappedsymbols in c work roslyn src compilers csharp portable flowanalysis nullablewalker cs line at microsoft codeanalysis csharp methodcompiler bindmethodbody methodsymbol method typecompilationstate compilationstate diagnosticbag diagnostics importchain importchain boolean originalbodynested initialstate forsemanticmodel in c work roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate in c work roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype in c work roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler c b in c work roslyn src compilers csharp portable compiler methodcompiler cs line at roslyn utilities uicultureutilities c b in c work roslyn src compilers core portable internalutilities uicultureutilities cs line at system threading tasks task innerinvoke at system threading tasks task execute 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 codeanalysis csharp methodcompiler waitforworkers in c work roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken in c work roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp csharpcompilation getdiagnosticsforallmethodbodies diagnosticbag diagnostics cancellationtoken cancellationtoken in c work roslyn src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis csharp csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages diagnosticbag diagnostics cancellationtoken cancellationtoken in c work roslyn src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis csharp csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages cancellationtoken cancellationtoken in c work roslyn src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis csharp csharpcompilation getdiagnostics cancellationtoken cancellationtoken in c work roslyn src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis diagnosticextensions verifydiagnostics tcompilation c diagnosticdescription expected in c work roslyn src test utilities portable diagnostics diagnosticextensions cs line at ,1 2032,22778502436.0,IssuesEvent,2022-07-08 16:50:42,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Specifying `file` class as generic constraints crashes the compiler with NRE,Bug Area-Compilers Tenet-Reliability New Language Feature - File-Local Types,"```csharp using System; file class C { } public class D where T : C { } // crash happens also if `public` is replaced with `file`. ``` Seen on SharpLab: ```csharp System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbolExtensions.VisitType[T](TypeWithAnnotations typeWithAnnotationsOpt, TypeSymbol type, Func`4 typeWithAnnotationsPredicate, Func`4 typePredicate, T arg, Boolean canDigThroughNullable, Boolean useDefaultType, Boolean visitCustomModifiers) in /_/src/Compilers/CSharp/Portable/Symbols/TypeSymbolExtensions.cs:line 692 at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbolExtensions.IsFileTypeOrUsesFileTypes(TypeSymbol type) in /_/src/Compilers/CSharp/Portable/Symbols/TypeSymbolExtensions.cs:line 1366 at Microsoft.CodeAnalysis.CSharp.Binder.CheckConstraintTypeVisibility(Symbol containingSymbol, Location location, TypeWithAnnotations constraintType, BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Constraints.cs:line 420 at Microsoft.CodeAnalysis.CSharp.Binder.RemoveInvalidConstraints(TypeParameterSymbol typeParameter, TypeParameterConstraintClause constraintClause, ArrayBuilder`1 syntaxNodesOpt, Boolean performOnlyCycleSafeValidation, BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Constraints.cs:line 381 at Microsoft.CodeAnalysis.CSharp.Binder.RemoveInvalidConstraints(ImmutableArray`1 typeParameters, ArrayBuilder`1 constraintClauses, ArrayBuilder`1 syntaxNodes, Boolean performOnlyCycleSafeValidation, BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Constraints.cs:line 349 at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeParameterConstraintClauses(Symbol containingSymbol, ImmutableArray`1 typeParameters, TypeParameterListSyntax typeParameterList, SyntaxList`1 clauses, BindingDiagnosticBag diagnostics, Boolean performOnlyCycleSafeValidation, Boolean isForOverride) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Constraints.cs:line 102 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.MakeTypeParameterConstraintTypes(BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamedTypeSymbol.cs:line 311 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.GetTypeParameterConstraintTypes() in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamedTypeSymbol.cs:line 281 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.GetTypeParameterConstraintTypes(Int32 ordinal) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamedTypeSymbol.cs:line 265 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbol.ResolveBounds(ConsList`1 inProgress, BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 582 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbolBase.GetBounds(ConsList`1 inProgress) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 239 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbolBase.GetConstraintTypes(ConsList`1 inProgress) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 94 at Microsoft.CodeAnalysis.CSharp.Symbols.TypeParameterSymbol.EnsureAllConstraintsAreResolved(ImmutableArray`1 typeParameters) in /_/src/Compilers/CSharp/Portable/Symbols/TypeParameterSymbol.cs:line 376 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbolBase.EnsureAllConstraintsAreResolved() in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 213 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbolBase.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 358 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs:line 567 at Microsoft.CodeAnalysis.CSharp.Symbol.ForceCompleteMemberByLocation(SourceLocation locationOpt, Symbol member, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Symbol.cs:line 827 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.<>c__DisplayClass63_1.b__0(Int32 i) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol_Completion.cs:line 59 at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass6_0`1.b__0(T param) in /_/src/Compilers/Core/Portable/InternalUtilities/UICultureUtilities.cs:line 171 at Roslyn.Utilities.RoslynParallel.<>c__DisplayClass1_0.g__errorHandlingBody|0(Int32 i) in /_/src/Compilers/Core/Portable/InternalUtilities/RoslynParallel.cs:line 43 at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) --- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) at System.Threading.Tasks.TaskReplicator.Replica.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) --- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException) at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body) at Roslyn.Utilities.RoslynParallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/InternalUtilities/RoslynParallel.cs:line 23 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol_Completion.cs:line 56 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceModuleSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceModuleSymbol.cs:line 225 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceAssemblySymbol.cs:line 902 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2946 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsWithoutFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2721 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2633 at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAllDiagnosticsWithoutStateTrackingAsync(ImmutableArray`1 analyzers, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 478 at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAllDiagnosticsAsync(CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 326 at MirrorSharp.Internal.Roslyn.RoslynSession.GetDiagnosticsAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynSession.cs:line 102 at MirrorSharp.Internal.Handlers.SlowUpdateHandler.ExecuteAsync(AsyncData data, WorkSession session, ICommandResultSender sender, CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Handlers\SlowUpdateHandler.cs:line 39 at MirrorSharp.Internal.Connection.ReceiveAndProcessInternalAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 118 at MirrorSharp.Internal.Connection.ReceiveAndProcessAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 73 ```",True,"Specifying `file` class as generic constraints crashes the compiler with NRE - ```csharp using System; file class C { } public class D where T : C { } // crash happens also if `public` is replaced with `file`. ``` Seen on SharpLab: ```csharp System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbolExtensions.VisitType[T](TypeWithAnnotations typeWithAnnotationsOpt, TypeSymbol type, Func`4 typeWithAnnotationsPredicate, Func`4 typePredicate, T arg, Boolean canDigThroughNullable, Boolean useDefaultType, Boolean visitCustomModifiers) in /_/src/Compilers/CSharp/Portable/Symbols/TypeSymbolExtensions.cs:line 692 at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbolExtensions.IsFileTypeOrUsesFileTypes(TypeSymbol type) in /_/src/Compilers/CSharp/Portable/Symbols/TypeSymbolExtensions.cs:line 1366 at Microsoft.CodeAnalysis.CSharp.Binder.CheckConstraintTypeVisibility(Symbol containingSymbol, Location location, TypeWithAnnotations constraintType, BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Constraints.cs:line 420 at Microsoft.CodeAnalysis.CSharp.Binder.RemoveInvalidConstraints(TypeParameterSymbol typeParameter, TypeParameterConstraintClause constraintClause, ArrayBuilder`1 syntaxNodesOpt, Boolean performOnlyCycleSafeValidation, BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Constraints.cs:line 381 at Microsoft.CodeAnalysis.CSharp.Binder.RemoveInvalidConstraints(ImmutableArray`1 typeParameters, ArrayBuilder`1 constraintClauses, ArrayBuilder`1 syntaxNodes, Boolean performOnlyCycleSafeValidation, BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Constraints.cs:line 349 at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeParameterConstraintClauses(Symbol containingSymbol, ImmutableArray`1 typeParameters, TypeParameterListSyntax typeParameterList, SyntaxList`1 clauses, BindingDiagnosticBag diagnostics, Boolean performOnlyCycleSafeValidation, Boolean isForOverride) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Constraints.cs:line 102 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.MakeTypeParameterConstraintTypes(BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamedTypeSymbol.cs:line 311 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.GetTypeParameterConstraintTypes() in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamedTypeSymbol.cs:line 281 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.GetTypeParameterConstraintTypes(Int32 ordinal) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamedTypeSymbol.cs:line 265 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbol.ResolveBounds(ConsList`1 inProgress, BindingDiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 582 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbolBase.GetBounds(ConsList`1 inProgress) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 239 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbolBase.GetConstraintTypes(ConsList`1 inProgress) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 94 at Microsoft.CodeAnalysis.CSharp.Symbols.TypeParameterSymbol.EnsureAllConstraintsAreResolved(ImmutableArray`1 typeParameters) in /_/src/Compilers/CSharp/Portable/Symbols/TypeParameterSymbol.cs:line 376 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbolBase.EnsureAllConstraintsAreResolved() in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 213 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceTypeParameterSymbolBase.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceTypeParameterSymbol.cs:line 358 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs:line 567 at Microsoft.CodeAnalysis.CSharp.Symbol.ForceCompleteMemberByLocation(SourceLocation locationOpt, Symbol member, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Symbol.cs:line 827 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.<>c__DisplayClass63_1.b__0(Int32 i) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol_Completion.cs:line 59 at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass6_0`1.b__0(T param) in /_/src/Compilers/Core/Portable/InternalUtilities/UICultureUtilities.cs:line 171 at Roslyn.Utilities.RoslynParallel.<>c__DisplayClass1_0.g__errorHandlingBody|0(Int32 i) in /_/src/Compilers/Core/Portable/InternalUtilities/RoslynParallel.cs:line 43 at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) --- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) at System.Threading.Tasks.TaskReplicator.Replica.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) --- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException) at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body) at Roslyn.Utilities.RoslynParallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/InternalUtilities/RoslynParallel.cs:line 23 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol_Completion.cs:line 56 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceModuleSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceModuleSymbol.cs:line 225 at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Symbols/Source/SourceAssemblySymbol.cs:line 902 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2946 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsWithoutFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2721 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2633 at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAllDiagnosticsWithoutStateTrackingAsync(ImmutableArray`1 analyzers, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 478 at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAllDiagnosticsAsync(CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 326 at MirrorSharp.Internal.Roslyn.RoslynSession.GetDiagnosticsAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynSession.cs:line 102 at MirrorSharp.Internal.Handlers.SlowUpdateHandler.ExecuteAsync(AsyncData data, WorkSession session, ICommandResultSender sender, CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Handlers\SlowUpdateHandler.cs:line 39 at MirrorSharp.Internal.Connection.ReceiveAndProcessInternalAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 118 at MirrorSharp.Internal.Connection.ReceiveAndProcessAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 73 ```",1,specifying file class as generic constraints crashes the compiler with nre csharp using system file class c public class d where t c crash happens also if public is replaced with file seen on sharplab csharp system aggregateexception one or more errors occurred object reference not set to an instance of an object system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis csharp symbols typesymbolextensions visittype typewithannotations typewithannotationsopt typesymbol type func typewithannotationspredicate func typepredicate t arg boolean candigthroughnullable boolean usedefaulttype boolean visitcustommodifiers in src compilers csharp portable symbols typesymbolextensions cs line at microsoft codeanalysis csharp symbols typesymbolextensions isfiletypeorusesfiletypes typesymbol type in src compilers csharp portable symbols typesymbolextensions cs line at microsoft codeanalysis csharp binder checkconstrainttypevisibility symbol containingsymbol location location typewithannotations constrainttype bindingdiagnosticbag diagnostics in src compilers csharp portable binder binder constraints cs line at microsoft codeanalysis csharp binder removeinvalidconstraints typeparametersymbol typeparameter typeparameterconstraintclause constraintclause arraybuilder syntaxnodesopt boolean performonlycyclesafevalidation bindingdiagnosticbag diagnostics in src compilers csharp portable binder binder constraints cs line at microsoft codeanalysis csharp binder removeinvalidconstraints immutablearray typeparameters arraybuilder constraintclauses arraybuilder syntaxnodes boolean performonlycyclesafevalidation bindingdiagnosticbag diagnostics in src compilers csharp portable binder binder constraints cs line at microsoft codeanalysis csharp binder bindtypeparameterconstraintclauses symbol containingsymbol immutablearray typeparameters typeparameterlistsyntax typeparameterlist syntaxlist clauses bindingdiagnosticbag diagnostics boolean performonlycyclesafevalidation boolean isforoverride in src compilers csharp portable binder binder constraints cs line at microsoft codeanalysis csharp symbols sourcenamedtypesymbol maketypeparameterconstrainttypes bindingdiagnosticbag diagnostics in src compilers csharp portable symbols source sourcenamedtypesymbol cs line at microsoft codeanalysis csharp symbols sourcenamedtypesymbol gettypeparameterconstrainttypes in src compilers csharp portable symbols source sourcenamedtypesymbol cs line at microsoft codeanalysis csharp symbols sourcenamedtypesymbol gettypeparameterconstrainttypes ordinal in src compilers csharp portable symbols source sourcenamedtypesymbol cs line at microsoft codeanalysis csharp symbols sourcetypeparametersymbol resolvebounds conslist inprogress bindingdiagnosticbag diagnostics in src compilers csharp portable symbols source sourcetypeparametersymbol cs line at microsoft codeanalysis csharp symbols sourcetypeparametersymbolbase getbounds conslist inprogress in src compilers csharp portable symbols source sourcetypeparametersymbol cs line at microsoft codeanalysis csharp symbols sourcetypeparametersymbolbase getconstrainttypes conslist inprogress in src compilers csharp portable symbols source sourcetypeparametersymbol cs line at microsoft codeanalysis csharp symbols typeparametersymbol ensureallconstraintsareresolved immutablearray typeparameters in src compilers csharp portable symbols typeparametersymbol cs line at microsoft codeanalysis csharp symbols sourcetypeparametersymbolbase ensureallconstraintsareresolved in src compilers csharp portable symbols source sourcetypeparametersymbol cs line at microsoft codeanalysis csharp symbols sourcetypeparametersymbolbase forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken in src compilers csharp portable symbols source sourcetypeparametersymbol cs line at microsoft codeanalysis csharp symbols sourcemembercontainertypesymbol forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken in src compilers csharp portable symbols source sourcemembercontainersymbol cs line at microsoft codeanalysis csharp symbol forcecompletememberbylocation sourcelocation locationopt symbol member cancellationtoken cancellationtoken in src compilers csharp portable symbols symbol cs line at microsoft codeanalysis csharp symbols sourcenamespacesymbol c b i in src compilers csharp portable symbols source sourcenamespacesymbol completion cs line at roslyn utilities uicultureutilities c b t param in src compilers core portable internalutilities uicultureutilities cs line at roslyn utilities roslynparallel c g errorhandlingbody i in src compilers core portable internalutilities roslynparallel cs line at system threading tasks parallel c b rangeworker currentworker timeout boolean replicationdelegateyieldedbeforecompletion end of stack trace from previous location at system threading tasks parallel c b rangeworker currentworker timeout boolean replicationdelegateyieldedbeforecompletion at system threading tasks taskreplicator replica execute end of inner exception stack trace at system threading tasks taskreplicator run replicatableuseraction action paralleloptions options boolean stoponfirstfailure at system threading tasks parallel forworker frominclusive toexclusive paralleloptions paralleloptions action body action bodywithstate func bodywithlocal func localinit action localfinally end of stack trace from previous location at system threading tasks parallel throwsinglecancellationexceptionorotherexception icollection exceptions cancellationtoken canceltoken exception otherexception at system threading tasks parallel forworker frominclusive toexclusive paralleloptions paralleloptions action body action bodywithstate func bodywithlocal func localinit action localfinally at system threading tasks parallel for frominclusive toexclusive paralleloptions paralleloptions action body at roslyn utilities roslynparallel for frominclusive toexclusive action body cancellationtoken cancellationtoken in src compilers core portable internalutilities roslynparallel cs line at microsoft codeanalysis csharp symbols sourcenamespacesymbol forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken in src compilers csharp portable symbols source sourcenamespacesymbol completion cs line at microsoft codeanalysis csharp symbols sourcemodulesymbol forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken in src compilers csharp portable symbols source sourcemodulesymbol cs line at microsoft codeanalysis csharp symbols sourceassemblysymbol forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken in src compilers csharp portable symbols source sourceassemblysymbol cs line at microsoft codeanalysis csharp csharpcompilation getsourcedeclarationdiagnostics syntaxtree syntaxtree nullable filterspanwithintree func locationfilteropt cancellationtoken cancellationtoken in src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis csharp csharpcompilation getdiagnosticswithoutfiltering compilationstage stage boolean includeearlierstages bindingdiagnosticbag builder cancellationtoken cancellationtoken in src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis csharp csharpcompilation getdiagnostics cancellationtoken cancellationtoken in src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis diagnostics compilationwithanalyzers getalldiagnosticswithoutstatetrackingasync immutablearray analyzers cancellationtoken cancellationtoken in src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line at microsoft codeanalysis diagnostics compilationwithanalyzers getalldiagnosticsasync cancellationtoken cancellationtoken in src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line at mirrorsharp internal roslyn roslynsession getdiagnosticsasync cancellationtoken cancellationtoken in d a sharplab sharplab roslyn branches dotnet main sharplab source external mirrorsharp common internal roslyn roslynsession cs line at mirrorsharp internal handlers slowupdatehandler executeasync asyncdata data worksession session icommandresultsender sender cancellationtoken cancellationtoken in d a sharplab sharplab roslyn branches dotnet main sharplab source external mirrorsharp common internal handlers slowupdatehandler cs line at mirrorsharp internal connection receiveandprocessinternalasync cancellationtoken cancellationtoken in d a sharplab sharplab roslyn branches dotnet main sharplab source external mirrorsharp common internal connection cs line at mirrorsharp internal connection receiveandprocessasync cancellationtoken cancellationtoken in d a sharplab sharplab roslyn branches dotnet main sharplab source external mirrorsharp common internal connection cs line ,1 2241,24423565818.0,IssuesEvent,2022-10-05 23:10:33,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Crash while editing,Bug Area-IDE Tenet-Reliability,"Got this crash while editing a using statement: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsEntirelyWithinSingleLineDocComment(SyntaxTree syntaxTree, Int32 position, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsEntirelyWithinNonUserCodeComment(SyntaxTree syntaxTree, Int32 position, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsInNonUserCode(SyntaxTree syntaxTree, Int32 position, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider.d__1.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider+d__1.MoveNext() at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsEntirelyWithinSingleLineDocComment(Microsoft.CodeAnalysis.SyntaxTree, Int32, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsEntirelyWithinNonUserCodeComment(Microsoft.CodeAnalysis.SyntaxTree, Int32, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsInNonUserCode(Microsoft.CodeAnalysis.SyntaxTree, Int32, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider+d__1.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider+d__1, Microsoft.CodeAnalysis.CSharp.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__1 ByRef) at Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider.ProvideCompletionsAsync(Microsoft.CodeAnalysis.Completion.CompletionContext) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__33.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__33, Microsoft.CodeAnalysis.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__33 ByRef) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.GetContextAsync(Microsoft.CodeAnalysis.Completion.CompletionProvider, Microsoft.CodeAnalysis.Document, Int32, Microsoft.CodeAnalysis.Completion.CompletionTrigger, Microsoft.CodeAnalysis.Options.OptionSet, System.Nullable`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__26.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Collections.Immutable.ImmutableArray`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.Collections.Immutable, Version=1.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].Start[[Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__26, Microsoft.CodeAnalysis.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__26 ByRef) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.ComputeNonEmptyCompletionContextsAsync(Microsoft.CodeAnalysis.Document, Int32, Microsoft.CodeAnalysis.Completion.CompletionTrigger, Microsoft.CodeAnalysis.Options.OptionSet, Microsoft.CodeAnalysis.Text.TextSpan, System.Collections.Immutable.ImmutableArray`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__24.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__24, Microsoft.CodeAnalysis.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__24 ByRef) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.GetCompletionsAsync(Microsoft.CodeAnalysis.Document, Int32, Microsoft.CodeAnalysis.Completion.CompletionTrigger, System.Collections.Immutable.ImmutableHashSet`1, Microsoft.CodeAnalysis.Options.OptionSet, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Completion.CompletionService+d__11.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Completion.CompletionService+d__11, Microsoft.CodeAnalysis.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__11 ByRef) at Microsoft.CodeAnalysis.Completion.CompletionService.GetCompletionsAndSetItemDocumentAsync(Microsoft.CodeAnalysis.Document, Int32, Microsoft.CodeAnalysis.Completion.CompletionTrigger, System.Collections.Immutable.ImmutableHashSet`1, Microsoft.CodeAnalysis.Options.OptionSet, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller+Session+ModelComputer+d__13.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller+Session+ModelComputer+d__13, Microsoft.CodeAnalysis.EditorFeatures, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__13 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller+Session+ModelComputer.DoInBackgroundAsync(System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller+Session+ModelComputer.b__12_0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass16_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.PrioritizedTaskScheduler.ThreadStart() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart() ``` Watson bucket is: ``` Fault bucket 125730739576, type 5 Event Name: PerfWatsonVS12Data Response: Not available Cab Id: 0 ```",True,"Crash while editing - Got this crash while editing a using statement: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsEntirelyWithinSingleLineDocComment(SyntaxTree syntaxTree, Int32 position, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsEntirelyWithinNonUserCodeComment(SyntaxTree syntaxTree, Int32 position, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsInNonUserCode(SyntaxTree syntaxTree, Int32 position, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider.d__1.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider+d__1.MoveNext() at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsEntirelyWithinSingleLineDocComment(Microsoft.CodeAnalysis.SyntaxTree, Int32, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsEntirelyWithinNonUserCodeComment(Microsoft.CodeAnalysis.SyntaxTree, Int32, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Extensions.SyntaxTreeExtensions.IsInNonUserCode(Microsoft.CodeAnalysis.SyntaxTree, Int32, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider+d__1.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider+d__1, Microsoft.CodeAnalysis.CSharp.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__1 ByRef) at Microsoft.CodeAnalysis.CSharp.Completion.Providers.EnumAndCompletionListTagCompletionProvider.ProvideCompletionsAsync(Microsoft.CodeAnalysis.Completion.CompletionContext) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__33.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__33, Microsoft.CodeAnalysis.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__33 ByRef) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.GetContextAsync(Microsoft.CodeAnalysis.Completion.CompletionProvider, Microsoft.CodeAnalysis.Document, Int32, Microsoft.CodeAnalysis.Completion.CompletionTrigger, Microsoft.CodeAnalysis.Options.OptionSet, System.Nullable`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__26.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Collections.Immutable.ImmutableArray`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.Collections.Immutable, Version=1.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].Start[[Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__26, Microsoft.CodeAnalysis.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__26 ByRef) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.ComputeNonEmptyCompletionContextsAsync(Microsoft.CodeAnalysis.Document, Int32, Microsoft.CodeAnalysis.Completion.CompletionTrigger, Microsoft.CodeAnalysis.Options.OptionSet, Microsoft.CodeAnalysis.Text.TextSpan, System.Collections.Immutable.ImmutableArray`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__24.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders+d__24, Microsoft.CodeAnalysis.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__24 ByRef) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.GetCompletionsAsync(Microsoft.CodeAnalysis.Document, Int32, Microsoft.CodeAnalysis.Completion.CompletionTrigger, System.Collections.Immutable.ImmutableHashSet`1, Microsoft.CodeAnalysis.Options.OptionSet, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Completion.CompletionService+d__11.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Completion.CompletionService+d__11, Microsoft.CodeAnalysis.Features, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__11 ByRef) at Microsoft.CodeAnalysis.Completion.CompletionService.GetCompletionsAndSetItemDocumentAsync(Microsoft.CodeAnalysis.Document, Int32, Microsoft.CodeAnalysis.Completion.CompletionTrigger, System.Collections.Immutable.ImmutableHashSet`1, Microsoft.CodeAnalysis.Options.OptionSet, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller+Session+ModelComputer+d__13.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller+Session+ModelComputer+d__13, Microsoft.CodeAnalysis.EditorFeatures, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__13 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller+Session+ModelComputer.DoInBackgroundAsync(System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller+Session+ModelComputer.b__12_0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass16_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.PrioritizedTaskScheduler.ThreadStart() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart() ``` Watson bucket is: ``` Fault bucket 125730739576, type 5 Event Name: PerfWatsonVS12Data Response: Not available Cab Id: 0 ```",1,crash while editing got this crash while editing a using statement application devenv exe framework version description the application requested process termination through system environment failfast string message message system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis csharp extensions syntaxtreeextensions isentirelywithinsinglelinedoccomment syntaxtree syntaxtree position cancellationtoken cancellationtoken at microsoft codeanalysis csharp extensions syntaxtreeextensions isentirelywithinnonusercodecomment syntaxtree syntaxtree position cancellationtoken cancellationtoken at microsoft codeanalysis csharp extensions syntaxtreeextensions isinnonusercode syntaxtree syntaxtree position cancellationtoken cancellationtoken at microsoft codeanalysis csharp completion providers enumandcompletionlisttagcompletionprovider d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis csharp completion providers enumandcompletionlisttagcompletionprovider d movenext at microsoft codeanalysis csharp extensions syntaxtreeextensions isentirelywithinsinglelinedoccomment microsoft codeanalysis syntaxtree system threading cancellationtoken at microsoft codeanalysis csharp extensions syntaxtreeextensions isentirelywithinnonusercodecomment microsoft codeanalysis syntaxtree system threading cancellationtoken at microsoft codeanalysis csharp extensions syntaxtreeextensions isinnonusercode microsoft codeanalysis syntaxtree system threading cancellationtoken at microsoft codeanalysis csharp completion providers enumandcompletionlisttagcompletionprovider d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis csharp completion providers enumandcompletionlisttagcompletionprovider providecompletionsasync microsoft codeanalysis completion completioncontext at microsoft codeanalysis completion completionservicewithproviders d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis completion completionservicewithproviders getcontextasync microsoft codeanalysis completion completionprovider microsoft codeanalysis document microsoft codeanalysis completion completiontrigger microsoft codeanalysis options optionset system nullable system threading cancellationtoken at microsoft codeanalysis completion completionservicewithproviders d movenext at system runtime compilerservices asynctaskmethodbuilder system collections immutable version culture neutral publickeytoken start d byref at microsoft codeanalysis completion completionservicewithproviders computenonemptycompletioncontextsasync microsoft codeanalysis document microsoft codeanalysis completion completiontrigger microsoft codeanalysis options optionset microsoft codeanalysis text textspan system collections immutable immutablearray system threading cancellationtoken at microsoft codeanalysis completion completionservicewithproviders d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis completion completionservicewithproviders getcompletionsasync microsoft codeanalysis document microsoft codeanalysis completion completiontrigger system collections immutable immutablehashset microsoft codeanalysis options optionset system threading cancellationtoken at microsoft codeanalysis completion completionservice d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis completion completionservice getcompletionsandsetitemdocumentasync microsoft codeanalysis document microsoft codeanalysis completion completiontrigger system collections immutable immutablehashset microsoft codeanalysis options optionset system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense completion controller session modelcomputer d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation intellisense completion controller session modelcomputer doinbackgroundasync system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense completion controller session modelcomputer b microsoft codeanalysis editor implementation intellisense completion model system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense modelcomputation c b system threading tasks task at roslyn utilities taskextensions c b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks taskscheduler tryexecutetask system threading tasks task at microsoft codeanalysis editor implementation intellisense completion prioritizedtaskscheduler threadstart at system threading threadhelper threadstart context system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object at system threading threadhelper threadstart watson bucket is fault bucket type event name response not available cab id ,1 1247,14268865868.0,IssuesEvent,2020-11-20 23:30:26,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Attempting to navigate to generated source crashes the IDE,Area-IDE Bug New Feature - Source Generators Tenet-Reliability,"**Version Used**: Visual Studio 2019 version 16.7 Preview 3 **Steps to Reproduce**: 1. Open **Samples.sln** in dotnet/roslyn-sdk 2. Open **UseAutoNotifyGenerator.cs** 3. Place the caret within the `ExampleViewModel` class 4. From the member navigation bar, select `Text` **Expected Behavior**: The IDE shows the generated code for the `Text` property. **Actual Behavior**: The IDE crashes. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at Microsoft.CodeAnalysis.Editor.Extensibility.NavigationBar.AbstractNavigationBarItemService.NavigateToVirtualTreePoint(Microsoft.CodeAnalysis.Solution, Microsoft.CodeAnalysis.Editor.Shared.Utilities.VirtualTreePoint) at Microsoft.CodeAnalysis.Editor.Extensibility.NavigationBar.AbstractNavigationBarItemService.NavigateToSymbolItem(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Editor.Extensibility.NavigationBar.NavigationBarSymbolItem, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.CSharp.NavigationBar.CSharpNavigationBarItemService.NavigateToItem(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Editor.NavigationBarItem, Microsoft.VisualStudio.Text.Editor.ITextView, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.NavigateToItem(Microsoft.CodeAnalysis.Editor.NavigationBarItem, Microsoft.CodeAnalysis.Document, Microsoft.VisualStudio.Text.ITextSnapshot, Microsoft.CodeAnalysis.Editor.INavigationBarItemService, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.ProcessItemSelectionSynchronously(Microsoft.CodeAnalysis.Editor.NavigationBarItem, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController+<>c__DisplayClass21_0.b__0(Microsoft.CodeAnalysis.Editor.Host.IWaitContext) at Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.VisualStudioWaitIndicator.Wait(System.String, System.String, Boolean, Boolean, System.Action`1) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.OnItemSelected(System.Object, Microsoft.CodeAnalysis.Editor.NavigationBarItemSelectedEventArgs) at Microsoft.VisualStudio.LanguageServices.Implementation.NavigationBar.NavigationBarClient.Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBarClient.OnItemChosen(Int32, Int32) at Microsoft.VisualStudio.Editor.Implementation.VsDropDownBarAdapterMargin.ChooseSelected(System.Windows.Controls.ComboBox) at Microsoft.VisualStudio.Editor.Implementation.VsDropDownBarAdapterMargin.comboBox_PreviewMouseUp(System.Object, System.Windows.Input.MouseButtonEventArgs) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs) at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) ```",True,"Attempting to navigate to generated source crashes the IDE - **Version Used**: Visual Studio 2019 version 16.7 Preview 3 **Steps to Reproduce**: 1. Open **Samples.sln** in dotnet/roslyn-sdk 2. Open **UseAutoNotifyGenerator.cs** 3. Place the caret within the `ExampleViewModel` class 4. From the member navigation bar, select `Text` **Expected Behavior**: The IDE shows the generated code for the `Text` property. **Actual Behavior**: The IDE crashes. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at Microsoft.CodeAnalysis.Editor.Extensibility.NavigationBar.AbstractNavigationBarItemService.NavigateToVirtualTreePoint(Microsoft.CodeAnalysis.Solution, Microsoft.CodeAnalysis.Editor.Shared.Utilities.VirtualTreePoint) at Microsoft.CodeAnalysis.Editor.Extensibility.NavigationBar.AbstractNavigationBarItemService.NavigateToSymbolItem(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Editor.Extensibility.NavigationBar.NavigationBarSymbolItem, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.CSharp.NavigationBar.CSharpNavigationBarItemService.NavigateToItem(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Editor.NavigationBarItem, Microsoft.VisualStudio.Text.Editor.ITextView, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.NavigateToItem(Microsoft.CodeAnalysis.Editor.NavigationBarItem, Microsoft.CodeAnalysis.Document, Microsoft.VisualStudio.Text.ITextSnapshot, Microsoft.CodeAnalysis.Editor.INavigationBarItemService, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.ProcessItemSelectionSynchronously(Microsoft.CodeAnalysis.Editor.NavigationBarItem, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController+<>c__DisplayClass21_0.b__0(Microsoft.CodeAnalysis.Editor.Host.IWaitContext) at Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.VisualStudioWaitIndicator.Wait(System.String, System.String, Boolean, Boolean, System.Action`1) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.OnItemSelected(System.Object, Microsoft.CodeAnalysis.Editor.NavigationBarItemSelectedEventArgs) at Microsoft.VisualStudio.LanguageServices.Implementation.NavigationBar.NavigationBarClient.Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBarClient.OnItemChosen(Int32, Int32) at Microsoft.VisualStudio.Editor.Implementation.VsDropDownBarAdapterMargin.ChooseSelected(System.Windows.Controls.ComboBox) at Microsoft.VisualStudio.Editor.Implementation.VsDropDownBarAdapterMargin.comboBox_PreviewMouseUp(System.Object, System.Windows.Input.MouseButtonEventArgs) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs) at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) ```",1,attempting to navigate to generated source crashes the ide version used visual studio version preview steps to reproduce open samples sln in dotnet roslyn sdk open useautonotifygenerator cs place the caret within the exampleviewmodel class from the member navigation bar select text expected behavior the ide shows the generated code for the text property actual behavior the ide crashes application devenv exe framework version description the process was terminated due to an unhandled exception exception info system nullreferenceexception at microsoft codeanalysis editor extensibility navigationbar abstractnavigationbaritemservice navigatetovirtualtreepoint microsoft codeanalysis solution microsoft codeanalysis editor shared utilities virtualtreepoint at microsoft codeanalysis editor extensibility navigationbar abstractnavigationbaritemservice navigatetosymbolitem microsoft codeanalysis document microsoft codeanalysis editor extensibility navigationbar navigationbarsymbolitem system threading cancellationtoken at microsoft codeanalysis editor csharp navigationbar csharpnavigationbaritemservice navigatetoitem microsoft codeanalysis document microsoft codeanalysis editor navigationbaritem microsoft visualstudio text editor itextview system threading cancellationtoken at microsoft codeanalysis editor implementation navigationbar navigationbarcontroller navigatetoitem microsoft codeanalysis editor navigationbaritem microsoft codeanalysis document microsoft visualstudio text itextsnapshot microsoft codeanalysis editor inavigationbaritemservice system threading cancellationtoken at microsoft codeanalysis editor implementation navigationbar navigationbarcontroller processitemselectionsynchronously microsoft codeanalysis editor navigationbaritem system threading cancellationtoken at microsoft codeanalysis editor implementation navigationbar navigationbarcontroller c b microsoft codeanalysis editor host iwaitcontext at microsoft visualstudio languageservices implementation utilities visualstudiowaitindicator wait system string system string boolean boolean system action at microsoft codeanalysis editor implementation navigationbar navigationbarcontroller onitemselected system object microsoft codeanalysis editor navigationbaritemselectedeventargs at microsoft visualstudio languageservices implementation navigationbar navigationbarclient microsoft visualstudio textmanager interop ivsdropdownbarclient onitemchosen at microsoft visualstudio editor implementation vsdropdownbaradaptermargin chooseselected system windows controls combobox at microsoft visualstudio editor implementation vsdropdownbaradaptermargin combobox previewmouseup system object system windows input mousebuttoneventargs at system windows input mousebuttoneventargs invokeeventhandler system delegate system object at system windows routedeventargs invokehandler system delegate system object at system windows routedeventhandlerinfo invokehandler system object system windows routedeventargs at system windows eventroute invokehandlersimpl system object system windows routedeventargs boolean at system windows uielement raiseeventimpl system windows dependencyobject system windows routedeventargs at system windows uielement raisetrustedevent system windows routedeventargs at system windows uielement raiseevent system windows routedeventargs boolean at system windows input inputmanager processstagingarea at system windows input inputmanager processinput system windows input inputeventargs at system windows input inputprovidersite reportinput system windows input inputreport at system windows interop hwndmouseinputprovider reportinput intptr system windows input inputmode system windows input rawmouseactions at system windows interop hwndmouseinputprovider filtermessage intptr ms internal interop windowmessage intptr intptr boolean byref at system windows interop hwndsource inputfiltermessage intptr intptr intptr boolean byref at ms hwndwrapper wndproc intptr intptr intptr boolean byref at ms hwndsubclass dispatchercallbackoperation system object at system windows threading exceptionwrapper internalrealcall system delegate system object at system windows threading exceptionwrapper trycatchwhen system object system delegate system object system delegate at system windows threading dispatcher legacyinvokeimpl system windows threading dispatcherpriority system timespan system delegate system object at ms hwndsubclass subclasswndproc intptr intptr intptr ,1 328,6622136820.0,IssuesEvent,2017-09-21 22:02:45,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,WorkCoordinator.Reanalyze should avoid duplicate scheduling,Area-Analyzers Tenet-Performance Tenet-Reliability Urgency-Now,"**Version Used**: 15.3 :memo: Observed 18,000 scheduled operations during analysis of a heap dump provided for a ""low memory"" condition. The `HashSet` instances required to queue the requested analysis operations accounted for nearly 1GiB of memory overhead. `WorkCoordinator.Reanalyze` schedules analysis operations on sets of documents: https://github.com/dotnet/roslyn/blob/c83a39086d062ae46e4eb333970b0cf59feba1a2/src/Features/Core/Portable/SolutionCrawler/WorkCoordinator.cs#L166-L170 These analysis operations may take time. To avoid unnecessary memory overhead, operations should not be scheduled for a `DocumentId` when another scheduled operation will already update that document.",True,"WorkCoordinator.Reanalyze should avoid duplicate scheduling - **Version Used**: 15.3 :memo: Observed 18,000 scheduled operations during analysis of a heap dump provided for a ""low memory"" condition. The `HashSet` instances required to queue the requested analysis operations accounted for nearly 1GiB of memory overhead. `WorkCoordinator.Reanalyze` schedules analysis operations on sets of documents: https://github.com/dotnet/roslyn/blob/c83a39086d062ae46e4eb333970b0cf59feba1a2/src/Features/Core/Portable/SolutionCrawler/WorkCoordinator.cs#L166-L170 These analysis operations may take time. To avoid unnecessary memory overhead, operations should not be scheduled for a `DocumentId` when another scheduled operation will already update that document.",1,workcoordinator reanalyze should avoid duplicate scheduling version used memo observed scheduled operations during analysis of a heap dump provided for a low memory condition the hashset instances required to queue the requested analysis operations accounted for nearly of memory overhead workcoordinator reanalyze schedules analysis operations on sets of documents these analysis operations may take time to avoid unnecessary memory overhead operations should not be scheduled for a documentid when another scheduled operation will already update that document ,1 2085,23256008050.0,IssuesEvent,2022-08-04 09:19:25,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,CompilationAndGeneratorDriverTranslationAction throws FileNotFoundException during clean,Bug Area-IDE Tenet-Reliability,"Hit the following exception while doing a clean operation for a project, it seems to be coming from `CompilationAndGeneratorDriverTranslationAction.TouchDocumentAction.TransformCompilationAsync`: **Exception:** `System.IO.FileNotFoundException: 'Could not find file '<%user%>\source\repos\WorkerService1\WorkerService1\obj\Release\net6.0\WorkerService1.AssemblyInfo.cs'.'` **Dump:** `<%ManagedLanguagesFileShare%>\public\mavasani\Dump_FileNotFoundException\devenv.dmp` **Call Stack:** ``` mscorlib.dll!System.IO.__Error.WinIOError(int errorCode, string maybeFullPath) Unknown mscorlib.dll!System.IO.FileInfo.Length.get() Unknown > Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.FileUtilities.GetFileLength(string fullPath) Line 390 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FileTextLoader.ValidateFileLength(string path) Line 218 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FileTextLoader.LoadTextAndVersionAsync(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.DocumentId documentId, System.Threading.CancellationToken cancellationToken) Line 74 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.TextLoader.LoadTextAsync(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.DocumentId documentId, System.Threading.CancellationToken cancellationToken) Line 54 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.TextDocumentState.CreateRecoverableText.AnonymousMethod__0(System.Threading.CancellationToken cancellationToken) Line 117 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncLazy.StartAsynchronousComputation(Roslyn.Utilities.AsyncLazy.AsynchronousComputationToStart computationToStart, Roslyn.Utilities.AsyncLazy.Request requestToCompleteSynchronously, System.Threading.CancellationToken callerCancellationToken) Line 395 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncLazy.GetValueAsync(System.Threading.CancellationToken cancellationToken) Line 352 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.RecoverableTextAndVersion.GetValueAsync(System.Threading.CancellationToken cancellationToken) Line 101 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.DocumentState.FullyParseTreeAsync(Roslyn.Utilities.ValueSource newTextSource, Microsoft.CodeAnalysis.ProjectId cacheKey, string filePath, Microsoft.CodeAnalysis.ParseOptions options, Microsoft.CodeAnalysis.Host.HostLanguageServices languageServices, Microsoft.CodeAnalysis.PreservationMode mode, System.Threading.CancellationToken cancellationToken) Line 138 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.DocumentState.CreateLazyFullyParsedTree.AnonymousMethod__0(System.Threading.CancellationToken c) Line 122 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncLazy.StartAsynchronousComputation(Roslyn.Utilities.AsyncLazy.AsynchronousComputationToStart computationToStart, Roslyn.Utilities.AsyncLazy.Request requestToCompleteSynchronously, System.Threading.CancellationToken callerCancellationToken) Line 395 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncLazy.GetValueAsync(System.Threading.CancellationToken cancellationToken) Line 352 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.DocumentState.GetSyntaxTreeAsync(System.Threading.CancellationToken cancellationToken) Line 682 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.UpdateDocumentInCompilationAsync(Microsoft.CodeAnalysis.Compilation compilation, Microsoft.CodeAnalysis.DocumentState oldDocument, Microsoft.CodeAnalysis.DocumentState newDocument, System.Threading.CancellationToken cancellationToken) Line 1384 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationAndGeneratorDriverTranslationAction.TouchDocumentAction.TransformCompilationAsync(Microsoft.CodeAnalysis.Compilation oldCompilation, System.Threading.CancellationToken cancellationToken) Line 34 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildDeclarationCompilationFromInProgressAsync(Microsoft.CodeAnalysis.Host.HostWorkspaceServices solutionServices, Microsoft.CodeAnalysis.SolutionState.CompilationTracker.InProgressState state, Microsoft.CodeAnalysis.Compilation compilationWithoutGenerators, System.Threading.CancellationToken cancellationToken) Line 657 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildFinalStateFromInProgressStateAsync(Microsoft.CodeAnalysis.SolutionState solution, Microsoft.CodeAnalysis.SolutionState.CompilationTracker.InProgressState state, Microsoft.CodeAnalysis.Compilation inProgressCompilation, System.Threading.CancellationToken cancellationToken) Line 616 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildCompilationInfoAsync(Microsoft.CodeAnalysis.SolutionState solution, System.Threading.CancellationToken cancellationToken) Line 532 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetOrBuildCompilationInfoAsync(Microsoft.CodeAnalysis.SolutionState solution, bool lockGate, System.Threading.CancellationToken cancellationToken) Line 472 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetCompilationSlowAsync(Microsoft.CodeAnalysis.SolutionState solution, System.Threading.CancellationToken cancellationToken) Line 395 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetCompilationAsync(Microsoft.CodeAnalysis.SolutionState solution, System.Threading.CancellationToken cancellationToken) Line 389 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.GetCompilationAsync(Microsoft.CodeAnalysis.ProjectState project, System.Threading.CancellationToken cancellationToken) Line 1745 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Project.GetCompilationAsync(System.Threading.CancellationToken cancellationToken) Line 470 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Host.BackgroundCompiler.AddCompilationsForVisibleDocumentsAsync.__GetCompilationAsync|1(Microsoft.CodeAnalysis.ProjectId projectId) Line 159 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Host.BackgroundCompiler.AddCompilationsForVisibleDocumentsAsync(Microsoft.CodeAnalysis.Solution solution, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder compilations, System.Threading.CancellationToken cancellationToken) Line 140 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Host.BackgroundCompiler.AddCompilationsForVisibleDocumentsAsync(Microsoft.CodeAnalysis.Collections.ImmutableSegmentedList cancellationTokens, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder compilations, System.Threading.CancellationToken disposalToken) Line 118 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Host.BackgroundCompiler.BuildCompilationsForVisibleDocumentsAsync(Microsoft.CodeAnalysis.Collections.ImmutableSegmentedList cancellationTokens, System.Threading.CancellationToken disposalToken) Line 91 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncBatchingWorkQueue.Convert.AnonymousMethod__0(Microsoft.CodeAnalysis.Collections.ImmutableSegmentedList items, System.Threading.CancellationToken ct) Line 43 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncBatchingWorkQueue.ProcessNextBatchAsync(System.Threading.CancellationToken cancellationToken) Line 183 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncBatchingWorkQueue.AddWork.__ContinueAfterDelay|12_1(System.Threading.Tasks.Task lastTask) Line 163 C# [External Code] ```",True,"CompilationAndGeneratorDriverTranslationAction throws FileNotFoundException during clean - Hit the following exception while doing a clean operation for a project, it seems to be coming from `CompilationAndGeneratorDriverTranslationAction.TouchDocumentAction.TransformCompilationAsync`: **Exception:** `System.IO.FileNotFoundException: 'Could not find file '<%user%>\source\repos\WorkerService1\WorkerService1\obj\Release\net6.0\WorkerService1.AssemblyInfo.cs'.'` **Dump:** `<%ManagedLanguagesFileShare%>\public\mavasani\Dump_FileNotFoundException\devenv.dmp` **Call Stack:** ``` mscorlib.dll!System.IO.__Error.WinIOError(int errorCode, string maybeFullPath) Unknown mscorlib.dll!System.IO.FileInfo.Length.get() Unknown > Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.FileUtilities.GetFileLength(string fullPath) Line 390 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FileTextLoader.ValidateFileLength(string path) Line 218 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.FileTextLoader.LoadTextAndVersionAsync(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.DocumentId documentId, System.Threading.CancellationToken cancellationToken) Line 74 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.TextLoader.LoadTextAsync(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.DocumentId documentId, System.Threading.CancellationToken cancellationToken) Line 54 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.TextDocumentState.CreateRecoverableText.AnonymousMethod__0(System.Threading.CancellationToken cancellationToken) Line 117 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncLazy.StartAsynchronousComputation(Roslyn.Utilities.AsyncLazy.AsynchronousComputationToStart computationToStart, Roslyn.Utilities.AsyncLazy.Request requestToCompleteSynchronously, System.Threading.CancellationToken callerCancellationToken) Line 395 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncLazy.GetValueAsync(System.Threading.CancellationToken cancellationToken) Line 352 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.RecoverableTextAndVersion.GetValueAsync(System.Threading.CancellationToken cancellationToken) Line 101 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.DocumentState.FullyParseTreeAsync(Roslyn.Utilities.ValueSource newTextSource, Microsoft.CodeAnalysis.ProjectId cacheKey, string filePath, Microsoft.CodeAnalysis.ParseOptions options, Microsoft.CodeAnalysis.Host.HostLanguageServices languageServices, Microsoft.CodeAnalysis.PreservationMode mode, System.Threading.CancellationToken cancellationToken) Line 138 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.DocumentState.CreateLazyFullyParsedTree.AnonymousMethod__0(System.Threading.CancellationToken c) Line 122 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncLazy.StartAsynchronousComputation(Roslyn.Utilities.AsyncLazy.AsynchronousComputationToStart computationToStart, Roslyn.Utilities.AsyncLazy.Request requestToCompleteSynchronously, System.Threading.CancellationToken callerCancellationToken) Line 395 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncLazy.GetValueAsync(System.Threading.CancellationToken cancellationToken) Line 352 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.DocumentState.GetSyntaxTreeAsync(System.Threading.CancellationToken cancellationToken) Line 682 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.UpdateDocumentInCompilationAsync(Microsoft.CodeAnalysis.Compilation compilation, Microsoft.CodeAnalysis.DocumentState oldDocument, Microsoft.CodeAnalysis.DocumentState newDocument, System.Threading.CancellationToken cancellationToken) Line 1384 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationAndGeneratorDriverTranslationAction.TouchDocumentAction.TransformCompilationAsync(Microsoft.CodeAnalysis.Compilation oldCompilation, System.Threading.CancellationToken cancellationToken) Line 34 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildDeclarationCompilationFromInProgressAsync(Microsoft.CodeAnalysis.Host.HostWorkspaceServices solutionServices, Microsoft.CodeAnalysis.SolutionState.CompilationTracker.InProgressState state, Microsoft.CodeAnalysis.Compilation compilationWithoutGenerators, System.Threading.CancellationToken cancellationToken) Line 657 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildFinalStateFromInProgressStateAsync(Microsoft.CodeAnalysis.SolutionState solution, Microsoft.CodeAnalysis.SolutionState.CompilationTracker.InProgressState state, Microsoft.CodeAnalysis.Compilation inProgressCompilation, System.Threading.CancellationToken cancellationToken) Line 616 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildCompilationInfoAsync(Microsoft.CodeAnalysis.SolutionState solution, System.Threading.CancellationToken cancellationToken) Line 532 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetOrBuildCompilationInfoAsync(Microsoft.CodeAnalysis.SolutionState solution, bool lockGate, System.Threading.CancellationToken cancellationToken) Line 472 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetCompilationSlowAsync(Microsoft.CodeAnalysis.SolutionState solution, System.Threading.CancellationToken cancellationToken) Line 395 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetCompilationAsync(Microsoft.CodeAnalysis.SolutionState solution, System.Threading.CancellationToken cancellationToken) Line 389 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.SolutionState.GetCompilationAsync(Microsoft.CodeAnalysis.ProjectState project, System.Threading.CancellationToken cancellationToken) Line 1745 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Project.GetCompilationAsync(System.Threading.CancellationToken cancellationToken) Line 470 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Host.BackgroundCompiler.AddCompilationsForVisibleDocumentsAsync.__GetCompilationAsync|1(Microsoft.CodeAnalysis.ProjectId projectId) Line 159 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Host.BackgroundCompiler.AddCompilationsForVisibleDocumentsAsync(Microsoft.CodeAnalysis.Solution solution, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder compilations, System.Threading.CancellationToken cancellationToken) Line 140 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Host.BackgroundCompiler.AddCompilationsForVisibleDocumentsAsync(Microsoft.CodeAnalysis.Collections.ImmutableSegmentedList cancellationTokens, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder compilations, System.Threading.CancellationToken disposalToken) Line 118 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Host.BackgroundCompiler.BuildCompilationsForVisibleDocumentsAsync(Microsoft.CodeAnalysis.Collections.ImmutableSegmentedList cancellationTokens, System.Threading.CancellationToken disposalToken) Line 91 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncBatchingWorkQueue.Convert.AnonymousMethod__0(Microsoft.CodeAnalysis.Collections.ImmutableSegmentedList items, System.Threading.CancellationToken ct) Line 43 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncBatchingWorkQueue.ProcessNextBatchAsync(System.Threading.CancellationToken cancellationToken) Line 183 C# Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.AsyncBatchingWorkQueue.AddWork.__ContinueAfterDelay|12_1(System.Threading.Tasks.Task lastTask) Line 163 C# [External Code] ```",1,compilationandgeneratordrivertranslationaction throws filenotfoundexception during clean hit the following exception while doing a clean operation for a project it seems to be coming from compilationandgeneratordrivertranslationaction touchdocumentaction transformcompilationasync exception system io filenotfoundexception could not find file source repos obj release assemblyinfo cs dump public mavasani dump filenotfoundexception devenv dmp call stack mscorlib dll system io error winioerror int errorcode string maybefullpath unknown mscorlib dll system io fileinfo length get unknown microsoft codeanalysis workspaces dll roslyn utilities fileutilities getfilelength string fullpath line c microsoft codeanalysis workspaces dll microsoft codeanalysis filetextloader validatefilelength string path line c microsoft codeanalysis workspaces dll microsoft codeanalysis filetextloader loadtextandversionasync microsoft codeanalysis workspace workspace microsoft codeanalysis documentid documentid system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis textloader loadtextasync microsoft codeanalysis workspace workspace microsoft codeanalysis documentid documentid system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis textdocumentstate createrecoverabletext anonymousmethod system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll roslyn utilities asynclazy startasynchronouscomputation roslyn utilities asynclazy asynchronouscomputationtostart computationtostart roslyn utilities asynclazy request requesttocompletesynchronously system threading cancellationtoken callercancellationtoken line c microsoft codeanalysis workspaces dll roslyn utilities asynclazy getvalueasync system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis recoverabletextandversion getvalueasync system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis documentstate fullyparsetreeasync roslyn utilities valuesource newtextsource microsoft codeanalysis projectid cachekey string filepath microsoft codeanalysis parseoptions options microsoft codeanalysis host hostlanguageservices languageservices microsoft codeanalysis preservationmode mode system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis documentstate createlazyfullyparsedtree anonymousmethod system threading cancellationtoken c line c microsoft codeanalysis workspaces dll roslyn utilities asynclazy startasynchronouscomputation roslyn utilities asynclazy asynchronouscomputationtostart computationtostart roslyn utilities asynclazy request requesttocompletesynchronously system threading cancellationtoken callercancellationtoken line c microsoft codeanalysis workspaces dll roslyn utilities asynclazy getvalueasync system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis documentstate getsyntaxtreeasync system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate updatedocumentincompilationasync microsoft codeanalysis compilation compilation microsoft codeanalysis documentstate olddocument microsoft codeanalysis documentstate newdocument system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate compilationandgeneratordrivertranslationaction touchdocumentaction transformcompilationasync microsoft codeanalysis compilation oldcompilation system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate compilationtracker builddeclarationcompilationfrominprogressasync microsoft codeanalysis host hostworkspaceservices solutionservices microsoft codeanalysis solutionstate compilationtracker inprogressstate state microsoft codeanalysis compilation compilationwithoutgenerators system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate compilationtracker buildfinalstatefrominprogressstateasync microsoft codeanalysis solutionstate solution microsoft codeanalysis solutionstate compilationtracker inprogressstate state microsoft codeanalysis compilation inprogresscompilation system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate compilationtracker buildcompilationinfoasync microsoft codeanalysis solutionstate solution system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate compilationtracker getorbuildcompilationinfoasync microsoft codeanalysis solutionstate solution bool lockgate system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate compilationtracker getcompilationslowasync microsoft codeanalysis solutionstate solution system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate compilationtracker getcompilationasync microsoft codeanalysis solutionstate solution system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis solutionstate getcompilationasync microsoft codeanalysis projectstate project system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis project getcompilationasync system threading cancellationtoken cancellationtoken line c microsoft codeanalysis features dll microsoft codeanalysis host backgroundcompiler addcompilationsforvisibledocumentsasync getcompilationasync microsoft codeanalysis projectid projectid line c microsoft codeanalysis features dll microsoft codeanalysis host backgroundcompiler addcompilationsforvisibledocumentsasync microsoft codeanalysis solution solution microsoft codeanalysis pooledobjects arraybuilder compilations system threading cancellationtoken cancellationtoken line c microsoft codeanalysis features dll microsoft codeanalysis host backgroundcompiler addcompilationsforvisibledocumentsasync microsoft codeanalysis collections immutablesegmentedlist cancellationtokens microsoft codeanalysis pooledobjects arraybuilder compilations system threading cancellationtoken disposaltoken line c microsoft codeanalysis features dll microsoft codeanalysis host backgroundcompiler buildcompilationsforvisibledocumentsasync microsoft codeanalysis collections immutablesegmentedlist cancellationtokens system threading cancellationtoken disposaltoken line c microsoft codeanalysis workspaces dll roslyn utilities asyncbatchingworkqueue convert anonymousmethod microsoft codeanalysis collections immutablesegmentedlist items system threading cancellationtoken ct line c microsoft codeanalysis workspaces dll roslyn utilities asyncbatchingworkqueue processnextbatchasync system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll roslyn utilities asyncbatchingworkqueue addwork continueafterdelay system threading tasks task lasttask line c ,1 1090,13038653486.0,IssuesEvent,2020-07-28 15:31:09,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Generation of record equality is not resilient to missing APIs,Area-Compilers Bug New Language Feature - Records Tenet-Reliability,"``` [Fact] public void Equality_22() { var source = @"" record C { int x = 0; } ""; var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseDll); comp.MakeMemberMissing(WellKnownMember.System_Collections_Generic_EqualityComparer_T__get_Default); comp.VerifyEmitDiagnostics( ); } ``` Observed: ``` Microsoft.CodeAnalysis.CSharp.UnitTests.Semantics.RecordTests.Equality_22 [FAIL] Microsoft.CodeAnalysis.CSharp.SyntheticBoundNodeFactory+MissingPredefinedMember : (2,1): error CS0656: Missing compiler required member 'System.Collections.Generic.EqualityComparer`1.get_Default' Stack Trace: F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\SyntheticBoundNodeFactory.cs(359,0): at Microsoft.CodeAnalysis.CSharp.SyntheticBoundNodeFactory.WellKnownMember(WellKnownMember wm, Boolean isOptional) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\SyntheticBoundNodeFactory.cs(374,0): at Microsoft.CodeAnalysis.CSharp.SyntheticBoundNodeFactory.WellKnownMethod(WellKnownMember wm) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodBodySynthesizer.Lowered.cs(316,0): at Microsoft.CodeAnalysis.CSharp.Symbols.MethodBodySynthesizer.GenerateFieldEquals(BoundExpression initialExpression, BoundExpression otherReceiver, ArrayBuilder`1 fields, SyntheticBoundNodeFactory F) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Symbols\Synthesized\Records\SynthesizedRecordEquals.cs(241,0): at Microsoft.CodeAnalysis.CSharp.Symbols.SynthesizedRecordEquals.GenerateMethodBody(TypeCompilationState compilationState, DiagnosticBag diagnostics) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(932,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(506,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(396,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() F:\GitHub\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs(141,0): at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(311,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(155,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs(2846,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2542,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2485,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, Stream metadataPEStream, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(343,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.GetEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, IEnumerable`1 manifestResources) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(332,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, DiagnosticDescription[] expected) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(349,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) F:\GitHub\roslyn\src\Compilers\CSharp\Test\Semantic\Semantics\RecordTests.cs(6468,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.Semantics.RecordTests.Equality_22() ``` ",True,"Generation of record equality is not resilient to missing APIs - ``` [Fact] public void Equality_22() { var source = @"" record C { int x = 0; } ""; var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseDll); comp.MakeMemberMissing(WellKnownMember.System_Collections_Generic_EqualityComparer_T__get_Default); comp.VerifyEmitDiagnostics( ); } ``` Observed: ``` Microsoft.CodeAnalysis.CSharp.UnitTests.Semantics.RecordTests.Equality_22 [FAIL] Microsoft.CodeAnalysis.CSharp.SyntheticBoundNodeFactory+MissingPredefinedMember : (2,1): error CS0656: Missing compiler required member 'System.Collections.Generic.EqualityComparer`1.get_Default' Stack Trace: F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\SyntheticBoundNodeFactory.cs(359,0): at Microsoft.CodeAnalysis.CSharp.SyntheticBoundNodeFactory.WellKnownMember(WellKnownMember wm, Boolean isOptional) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\SyntheticBoundNodeFactory.cs(374,0): at Microsoft.CodeAnalysis.CSharp.SyntheticBoundNodeFactory.WellKnownMethod(WellKnownMember wm) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodBodySynthesizer.Lowered.cs(316,0): at Microsoft.CodeAnalysis.CSharp.Symbols.MethodBodySynthesizer.GenerateFieldEquals(BoundExpression initialExpression, BoundExpression otherReceiver, ArrayBuilder`1 fields, SyntheticBoundNodeFactory F) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Symbols\Synthesized\Records\SynthesizedRecordEquals.cs(241,0): at Microsoft.CodeAnalysis.CSharp.Symbols.SynthesizedRecordEquals.GenerateMethodBody(TypeCompilationState compilationState, DiagnosticBag diagnostics) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(932,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(506,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(396,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() F:\GitHub\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs(141,0): at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(311,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(155,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs(2846,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2542,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2485,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, Stream metadataPEStream, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(343,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.GetEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, IEnumerable`1 manifestResources) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(332,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, DiagnosticDescription[] expected) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(349,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) F:\GitHub\roslyn\src\Compilers\CSharp\Test\Semantic\Semantics\RecordTests.cs(6468,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.Semantics.RecordTests.Equality_22() ``` ",1,generation of record equality is not resilient to missing apis public void equality var source record c int x var comp createcompilation source parseoptions testoptions regularpreview options testoptions releasedll comp makemembermissing wellknownmember system collections generic equalitycomparer t get default comp verifyemitdiagnostics observed microsoft codeanalysis csharp unittests semantics recordtests equality microsoft codeanalysis csharp syntheticboundnodefactory missingpredefinedmember error missing compiler required member system collections generic equalitycomparer get default stack trace f github roslyn src compilers csharp portable lowering syntheticboundnodefactory cs at microsoft codeanalysis csharp syntheticboundnodefactory wellknownmember wellknownmember wm boolean isoptional f github roslyn src compilers csharp portable lowering syntheticboundnodefactory cs at microsoft codeanalysis csharp syntheticboundnodefactory wellknownmethod wellknownmember wm f github roslyn src compilers csharp portable compiler methodbodysynthesizer lowered cs at microsoft codeanalysis csharp symbols methodbodysynthesizer generatefieldequals boundexpression initialexpression boundexpression otherreceiver arraybuilder fields syntheticboundnodefactory f f github roslyn src compilers csharp portable symbols synthesized records synthesizedrecordequals cs at microsoft codeanalysis csharp symbols synthesizedrecordequals generatemethodbody typecompilationstate compilationstate diagnosticbag diagnostics f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler c b f github roslyn src compilers core portable internalutilities uicultureutilities cs at roslyn utilities uicultureutilities c b at system threading tasks task innerinvoke at system threading tasks task c b object obj at system threading executioncontext runfromthreadpooldispatchloop thread threadpoolthread executioncontext executioncontext contextcallback callback object state end of stack trace from previous location where exception was thrown at system threading executioncontext runfromthreadpooldispatchloop thread threadpoolthread executioncontext executioncontext contextcallback callback object state at system threading tasks task executewiththreadlocal task currenttaskslot thread threadpoolthread end of stack trace from previous location where exception was thrown f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler waitforworkers f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken f github roslyn src compilers csharp portable compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation compilemethods commonpemodulebuilder modulebuilder boolean emittingpdb boolean emitmetadataonly boolean emittestcoveragedata diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken f github roslyn src compilers core portable compilation compilation cs at microsoft codeanalysis compilation emit stream pestream stream metadatapestream stream pdbstream stream xmldocumentationstream stream ienumerable manifestresources emitoptions options imethodsymbol debugentrypoint stream sourcelinkstream ienumerable embeddedtexts compilationtestdata testdata cancellationtoken cancellationtoken f github roslyn src compilers core portable compilation compilation cs at microsoft codeanalysis compilation emit stream pestream stream pdbstream stream xmldocumentationstream stream ienumerable manifestresources emitoptions options imethodsymbol debugentrypoint stream sourcelinkstream ienumerable embeddedtexts stream metadatapestream cancellationtoken cancellationtoken f github roslyn src test utilities portable diagnostics diagnosticextensions cs at microsoft codeanalysis diagnosticextensions getemitdiagnostics tcompilation c emitoptions options ienumerable manifestresources f github roslyn src test utilities portable diagnostics diagnosticextensions cs at microsoft codeanalysis diagnosticextensions verifyemitdiagnostics tcompilation c emitoptions options diagnosticdescription expected f github roslyn src test utilities portable diagnostics diagnosticextensions cs at microsoft codeanalysis diagnosticextensions verifyemitdiagnostics tcompilation c diagnosticdescription expected f github roslyn src compilers csharp test semantic semantics recordtests cs at microsoft codeanalysis csharp unittests semantics recordtests equality ,1 175,4998792537.0,IssuesEvent,2016-12-09 21:02:21,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Crash while reading locked .editorconfig file,Area-IDE Bug Tenet-Reliability,"Seen in an integration test run: ``` The process cannot access the file 'd:\j\workspace\windows_vsi_p---ad02e19d\Open\Binaries\Temp\0peyk1s2.zh0\CSProj\.editorconfig' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) in f:\dd\ndp\clr\src\BCL\system\io\__error.cs:line 184 at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) in f:\dd\ndp\clr\src\BCL\system\io\filestream.cs:line 878 at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) in f:\dd\ndp\clr\src\BCL\system\io\filestream.cs:line 595 at System.IO.FileStream..ctor(String path, FileMode mode) in f:\dd\ndp\clr\src\BCL\system\io\filestream.cs:line 512 at Microsoft.VisualStudio.CodingConventions.EditorConfig.EditorConfig.d__11.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 176 at Microsoft.VisualStudio.CodingConventions.EditorConfig.EditorConfigCache.d__4.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 176 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 156 at Microsoft.VisualStudio.CodingConventions.EditorConfig.EditorConfigCache.d__1.MoveNext() ```",True,"Crash while reading locked .editorconfig file - Seen in an integration test run: ``` The process cannot access the file 'd:\j\workspace\windows_vsi_p---ad02e19d\Open\Binaries\Temp\0peyk1s2.zh0\CSProj\.editorconfig' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) in f:\dd\ndp\clr\src\BCL\system\io\__error.cs:line 184 at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) in f:\dd\ndp\clr\src\BCL\system\io\filestream.cs:line 878 at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) in f:\dd\ndp\clr\src\BCL\system\io\filestream.cs:line 595 at System.IO.FileStream..ctor(String path, FileMode mode) in f:\dd\ndp\clr\src\BCL\system\io\filestream.cs:line 512 at Microsoft.VisualStudio.CodingConventions.EditorConfig.EditorConfig.d__11.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 176 at Microsoft.VisualStudio.CodingConventions.EditorConfig.EditorConfigCache.d__4.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 176 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs:line 156 at Microsoft.VisualStudio.CodingConventions.EditorConfig.EditorConfigCache.d__1.MoveNext() ```",1,crash while reading locked editorconfig file seen in an integration test run the process cannot access the file d j workspace windows vsi p open binaries temp csproj editorconfig because it is being used by another process at system io error winioerror errorcode string maybefullpath in f dd ndp clr src bcl system io error cs line at system io filestream init string path filemode mode fileaccess access rights boolean userights fileshare share buffersize fileoptions options security attributes secattrs string msgpath boolean bfromproxy boolean uselongpath boolean checkhost in f dd ndp clr src bcl system io filestream cs line at system io filestream ctor string path filemode mode fileaccess access fileshare share buffersize fileoptions options string msgpath boolean bfromproxy in f dd ndp clr src bcl system io filestream cs line at system io filestream ctor string path filemode mode in f dd ndp clr src bcl system io filestream cs line at microsoft visualstudio codingconventions editorconfig editorconfig d movenext at system runtime compilerservices taskawaiter throwfornonsuccess task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at microsoft visualstudio codingconventions editorconfig editorconfigcache d movenext at system runtime compilerservices taskawaiter throwfornonsuccess task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task in f dd ndp clr src bcl system runtime compilerservices taskawaiter cs line at microsoft visualstudio codingconventions editorconfig editorconfigcache d movenext ,1 1402,15855564164.0,IssuesEvent,2021-04-08 00:12:48,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Lock ordering deadlock in TableDataSource,Area-IDE Bug Tenet-Reliability,"🔗 This is the root cause of AB#1296045 The following code takes two locks in order: https://github.com/dotnet/roslyn/blob/275f4c790945c73ca308716ba56c224a95e13ca9/src/VisualStudio/Core/Def/Implementation/TableDataSource/AbstractTableDataSource.cs#L200-L205 https://github.com/dotnet/roslyn/blob/275f4c790945c73ca308716ba56c224a95e13ca9/src/VisualStudio/Core/Def/Implementation/TableDataSource/TableEntriesFactory.cs#L84 The following code takes the same two locks in opposite order: https://github.com/dotnet/roslyn/blob/275f4c790945c73ca308716ba56c224a95e13ca9/src/VisualStudio/Core/Def/Implementation/TableDataSource/TableEntriesFactory.cs#L48-L56 https://github.com/dotnet/roslyn/blob/275f4c790945c73ca308716ba56c224a95e13ca9/src/VisualStudio/Core/Def/Implementation/TableDataSource/AbstractTableDataSource.cs#L295",True,"Lock ordering deadlock in TableDataSource - 🔗 This is the root cause of AB#1296045 The following code takes two locks in order: https://github.com/dotnet/roslyn/blob/275f4c790945c73ca308716ba56c224a95e13ca9/src/VisualStudio/Core/Def/Implementation/TableDataSource/AbstractTableDataSource.cs#L200-L205 https://github.com/dotnet/roslyn/blob/275f4c790945c73ca308716ba56c224a95e13ca9/src/VisualStudio/Core/Def/Implementation/TableDataSource/TableEntriesFactory.cs#L84 The following code takes the same two locks in opposite order: https://github.com/dotnet/roslyn/blob/275f4c790945c73ca308716ba56c224a95e13ca9/src/VisualStudio/Core/Def/Implementation/TableDataSource/TableEntriesFactory.cs#L48-L56 https://github.com/dotnet/roslyn/blob/275f4c790945c73ca308716ba56c224a95e13ca9/src/VisualStudio/Core/Def/Implementation/TableDataSource/AbstractTableDataSource.cs#L295",1,lock ordering deadlock in tabledatasource 🔗 this is the root cause of ab the following code takes two locks in order the following code takes the same two locks in opposite order ,1 577,8690257278.0,IssuesEvent,2018-12-03 21:02:55,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,reopened,"Changing constraint from ""struct"" to ""unmanaged"" causes stack overflow and VS crash.",Area-Compilers Bug Tenet-Reliability,"I'm working on some code in VS 2017 (v 15.9.2) using v 7.3 of C#. This is a small console app but does some low level memory manipulation. I was refactoring the code earlier and decided that a constraint could be adjusted to `unmanaged `rather than `struct `to support some richer operations. Before this change the code compiles and runs exactly as expected. The code here is basically a generic `struct `where the `T `is itself constrained to be `struct `- changing this constraint to `unmanaged `is what leads to the failure. I then decided to edit `Program.cs` in notepad just to change the constraint and then re-opened the solution in VS. I opened the solution (but not `Program.cs`) and ran a build, the build soon failed with stack overflow. I then opened `Program.cs `again (in VS 2017) and VS simply freezes, stops interacting and responding to mouse etc. Left for long enough it abruptly dies and restarts. I did explore the `unmanaged `constraint recently but in a simple test app and probably used an earlier version of C# than 7.3 - I had no issues. So I simply opened the solution and changed each project to C# 7.2 but again as soon as I opened Program.cs VS freezes, same thing happens when I try C# 7.1 and C# 7.0 too. NOTE: This is not a runtime issue, so don't suspect that the logic itself is involved, this is an IDE/compiler issue. Thoughts?",True,"Changing constraint from ""struct"" to ""unmanaged"" causes stack overflow and VS crash. - I'm working on some code in VS 2017 (v 15.9.2) using v 7.3 of C#. This is a small console app but does some low level memory manipulation. I was refactoring the code earlier and decided that a constraint could be adjusted to `unmanaged `rather than `struct `to support some richer operations. Before this change the code compiles and runs exactly as expected. The code here is basically a generic `struct `where the `T `is itself constrained to be `struct `- changing this constraint to `unmanaged `is what leads to the failure. I then decided to edit `Program.cs` in notepad just to change the constraint and then re-opened the solution in VS. I opened the solution (but not `Program.cs`) and ran a build, the build soon failed with stack overflow. I then opened `Program.cs `again (in VS 2017) and VS simply freezes, stops interacting and responding to mouse etc. Left for long enough it abruptly dies and restarts. I did explore the `unmanaged `constraint recently but in a simple test app and probably used an earlier version of C# than 7.3 - I had no issues. So I simply opened the solution and changed each project to C# 7.2 but again as soon as I opened Program.cs VS freezes, same thing happens when I try C# 7.1 and C# 7.0 too. NOTE: This is not a runtime issue, so don't suspect that the logic itself is involved, this is an IDE/compiler issue. Thoughts?",1,changing constraint from struct to unmanaged causes stack overflow and vs crash i m working on some code in vs v using v of c this is a small console app but does some low level memory manipulation i was refactoring the code earlier and decided that a constraint could be adjusted to unmanaged rather than struct to support some richer operations before this change the code compiles and runs exactly as expected the code here is basically a generic struct where the t is itself constrained to be struct changing this constraint to unmanaged is what leads to the failure i then decided to edit program cs in notepad just to change the constraint and then re opened the solution in vs i opened the solution but not program cs and ran a build the build soon failed with stack overflow i then opened program cs again in vs and vs simply freezes stops interacting and responding to mouse etc left for long enough it abruptly dies and restarts i did explore the unmanaged constraint recently but in a simple test app and probably used an earlier version of c than i had no issues so i simply opened the solution and changed each project to c but again as soon as i opened program cs vs freezes same thing happens when i try c and c too note this is not a runtime issue so don t suspect that the logic itself is involved this is an ide compiler issue thoughts ,1 1059,12652616393.0,IssuesEvent,2020-06-17 04:10:24,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Binder crash with nullable reference types,3 - Working Area-Compilers New Language Feature - Pattern Matching Tenet-Reliability,"**Version Used**: master branch, june 12 **Steps to Reproduce**: Compile the following code ```c# public class C { public void M(object o) { var t = o is string? { }; } } ``` **Actual Behavior**: > System.IndexOutOfRangeException: Index was outside the bounds of the array. > at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbolExtensions.GetNullableUnderlyingTypeWithAnnotations(TypeSymbol type) in /_/src/Compilers/CSharp/Portable/Symbols/TypeSymbolExtensions.cs:line 142 > at Microsoft.CodeAnalysis.CSharp.Binder.CheckValidPatternType(SyntaxNode typeSyntax, TypeSymbol inputType, TypeSymbol patternType, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 442 > at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeForPattern(TypeSyntax typeSyntax, TypeSymbol inputType, DiagnosticBag diagnostics, Boolean& hasErrors) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 508 > at Microsoft.CodeAnalysis.CSharp.Binder.BindRecursivePatternType(TypeSyntax typeSyntax, TypeSymbol inputType, DiagnosticBag diagnostics, Boolean& hasErrors, BoundTypeExpression& boundDeclType) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 603 > at Microsoft.CodeAnalysis.CSharp.Binder.BindRecursivePattern(RecursivePatternSyntax node, TypeSymbol inputType, UInt32 inputValEscape, Boolean permitDesignations, Boolean hasErrors, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 702 > at Microsoft.CodeAnalysis.CSharp.Binder.BindPattern(PatternSyntax node, TypeSymbol inputType, UInt32 inputValEscape, Boolean permitDesignations, Boolean hasErrors, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 157 > at Microsoft.CodeAnalysis.CSharp.Binder.BindIsPatternExpression(IsPatternExpressionSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 41 > at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Expressions.cs:line 725 > at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Expressions.cs:line 460 > at Microsoft.CodeAnalysis.CSharp.Binder.BindInferredVariableInitializer(DiagnosticBag diagnostics, ExpressionSyntax initializer, BindValueKind valueKind, RefKind refKind, CSharpSyntaxNode errorSyntax) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 878 > at Microsoft.CodeAnalysis.CSharp.Binder.BindVariableDeclaration(SourceLocalSymbol localSymbol, LocalDeclarationKind kind, Boolean isVar, VariableDeclaratorSyntax declarator, TypeSyntax typeSyntax, TypeWithAnnotations declTypeOpt, AliasSymbol aliasOpt, DiagnosticBag diagnostics, Boolean includeBoundType, CSharpSyntaxNode associatedSyntaxNode) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 991 > at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationStatementParts(LocalDeclarationStatementSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 692 > at Microsoft.CodeAnalysis.CSharp.Binder.BindLocalDeclarationStatement(LocalDeclarationStatementSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 679 > at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 160 > at Microsoft.CodeAnalysis.CSharp.Binder.BindBlockParts(BlockSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 1731 > at Microsoft.CodeAnalysis.CSharp.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 1713 > at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 160 > at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode declaration, BlockSyntax blockBody, ArrowExpressionClauseSyntax expressionBody, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 3392 > at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode syntax, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 3289 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested, InitialState& forSemanticModel) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 1773 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 890 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 506 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 402 > at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in /_/src/Compilers/Core/Portable/InternalUtilities/UICultureUtilities.cs:line 143 > at System.Threading.Tasks.Task.InnerInvoke() > at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) > at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) > --- End of stack trace from previous location where exception was thrown --- > at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) > at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) > --- End of stack trace from previous location where exception was thrown --- > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 311 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 203 > at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2511 > at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2468 > at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2370 > at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAllDiagnosticsWithoutStateTrackingAsync(ImmutableArray`1 analyzers, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 448 ",True,"Binder crash with nullable reference types - **Version Used**: master branch, june 12 **Steps to Reproduce**: Compile the following code ```c# public class C { public void M(object o) { var t = o is string? { }; } } ``` **Actual Behavior**: > System.IndexOutOfRangeException: Index was outside the bounds of the array. > at Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbolExtensions.GetNullableUnderlyingTypeWithAnnotations(TypeSymbol type) in /_/src/Compilers/CSharp/Portable/Symbols/TypeSymbolExtensions.cs:line 142 > at Microsoft.CodeAnalysis.CSharp.Binder.CheckValidPatternType(SyntaxNode typeSyntax, TypeSymbol inputType, TypeSymbol patternType, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 442 > at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeForPattern(TypeSyntax typeSyntax, TypeSymbol inputType, DiagnosticBag diagnostics, Boolean& hasErrors) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 508 > at Microsoft.CodeAnalysis.CSharp.Binder.BindRecursivePatternType(TypeSyntax typeSyntax, TypeSymbol inputType, DiagnosticBag diagnostics, Boolean& hasErrors, BoundTypeExpression& boundDeclType) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 603 > at Microsoft.CodeAnalysis.CSharp.Binder.BindRecursivePattern(RecursivePatternSyntax node, TypeSymbol inputType, UInt32 inputValEscape, Boolean permitDesignations, Boolean hasErrors, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 702 > at Microsoft.CodeAnalysis.CSharp.Binder.BindPattern(PatternSyntax node, TypeSymbol inputType, UInt32 inputValEscape, Boolean permitDesignations, Boolean hasErrors, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 157 > at Microsoft.CodeAnalysis.CSharp.Binder.BindIsPatternExpression(IsPatternExpressionSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs:line 41 > at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Expressions.cs:line 725 > at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Expressions.cs:line 460 > at Microsoft.CodeAnalysis.CSharp.Binder.BindInferredVariableInitializer(DiagnosticBag diagnostics, ExpressionSyntax initializer, BindValueKind valueKind, RefKind refKind, CSharpSyntaxNode errorSyntax) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 878 > at Microsoft.CodeAnalysis.CSharp.Binder.BindVariableDeclaration(SourceLocalSymbol localSymbol, LocalDeclarationKind kind, Boolean isVar, VariableDeclaratorSyntax declarator, TypeSyntax typeSyntax, TypeWithAnnotations declTypeOpt, AliasSymbol aliasOpt, DiagnosticBag diagnostics, Boolean includeBoundType, CSharpSyntaxNode associatedSyntaxNode) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 991 > at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationStatementParts(LocalDeclarationStatementSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 692 > at Microsoft.CodeAnalysis.CSharp.Binder.BindLocalDeclarationStatement(LocalDeclarationStatementSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 679 > at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 160 > at Microsoft.CodeAnalysis.CSharp.Binder.BindBlockParts(BlockSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 1731 > at Microsoft.CodeAnalysis.CSharp.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 1713 > at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 160 > at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode declaration, BlockSyntax blockBody, ArrowExpressionClauseSyntax expressionBody, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 3392 > at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode syntax, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Binder/Binder_Statements.cs:line 3289 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested, InitialState& forSemanticModel) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 1773 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 890 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 506 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 402 > at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in /_/src/Compilers/Core/Portable/InternalUtilities/UICultureUtilities.cs:line 143 > at System.Threading.Tasks.Task.InnerInvoke() > at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) > at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) > --- End of stack trace from previous location where exception was thrown --- > at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) > at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) > --- End of stack trace from previous location where exception was thrown --- > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 311 > at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 203 > at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2511 > at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2468 > at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2370 > at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAllDiagnosticsWithoutStateTrackingAsync(ImmutableArray`1 analyzers, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 448 ",1,binder crash with nullable reference types version used master branch june steps to reproduce compile the following code c public class c public void m object o var t o is string actual behavior system indexoutofrangeexception index was outside the bounds of the array at microsoft codeanalysis csharp symbols typesymbolextensions getnullableunderlyingtypewithannotations typesymbol type in src compilers csharp portable symbols typesymbolextensions cs line at microsoft codeanalysis csharp binder checkvalidpatterntype syntaxnode typesyntax typesymbol inputtype typesymbol patterntype diagnosticbag diagnostics in src compilers csharp portable binder binder patterns cs line at microsoft codeanalysis csharp binder bindtypeforpattern typesyntax typesyntax typesymbol inputtype diagnosticbag diagnostics boolean haserrors in src compilers csharp portable binder binder patterns cs line at microsoft codeanalysis csharp binder bindrecursivepatterntype typesyntax typesyntax typesymbol inputtype diagnosticbag diagnostics boolean haserrors boundtypeexpression bounddecltype in src compilers csharp portable binder binder patterns cs line at microsoft codeanalysis csharp binder bindrecursivepattern recursivepatternsyntax node typesymbol inputtype inputvalescape boolean permitdesignations boolean haserrors diagnosticbag diagnostics in src compilers csharp portable binder binder patterns cs line at microsoft codeanalysis csharp binder bindpattern patternsyntax node typesymbol inputtype inputvalescape boolean permitdesignations boolean haserrors diagnosticbag diagnostics in src compilers csharp portable binder binder patterns cs line at microsoft codeanalysis csharp binder bindispatternexpression ispatternexpressionsyntax node diagnosticbag diagnostics in src compilers csharp portable binder binder patterns cs line at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed in src compilers csharp portable binder binder expressions cs line at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed in src compilers csharp portable binder binder expressions cs line at microsoft codeanalysis csharp binder bindinferredvariableinitializer diagnosticbag diagnostics expressionsyntax initializer bindvaluekind valuekind refkind refkind csharpsyntaxnode errorsyntax in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder bindvariabledeclaration sourcelocalsymbol localsymbol localdeclarationkind kind boolean isvar variabledeclaratorsyntax declarator typesyntax typesyntax typewithannotations decltypeopt aliassymbol aliasopt diagnosticbag diagnostics boolean includeboundtype csharpsyntaxnode associatedsyntaxnode in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder binddeclarationstatementparts localdeclarationstatementsyntax node diagnosticbag diagnostics in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder bindlocaldeclarationstatement localdeclarationstatementsyntax node diagnosticbag diagnostics in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder bindstatement statementsyntax node diagnosticbag diagnostics in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder bindblockparts blocksyntax node diagnosticbag diagnostics in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder bindblock blocksyntax node diagnosticbag diagnostics in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder bindstatement statementsyntax node diagnosticbag diagnostics in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder bindmethodbody csharpsyntaxnode declaration blocksyntax blockbody arrowexpressionclausesyntax expressionbody diagnosticbag diagnostics in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp binder bindmethodbody csharpsyntaxnode syntax diagnosticbag diagnostics in src compilers csharp portable binder binder statements cs line at microsoft codeanalysis csharp methodcompiler bindmethodbody methodsymbol method typecompilationstate compilationstate diagnosticbag diagnostics importchain importchain boolean originalbodynested initialstate forsemanticmodel in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler c b in src compilers csharp portable compiler methodcompiler cs line at roslyn utilities uicultureutilities c b in src compilers core portable internalutilities uicultureutilities cs line at system threading tasks task innerinvoke at system threading tasks task c b object obj at system threading executioncontext runinternal executioncontext executioncontext contextcallback callback object state end of stack trace from previous location where exception was thrown at system threading executioncontext runinternal executioncontext executioncontext contextcallback callback object state at system threading tasks task executewiththreadlocal task currenttaskslot thread threadpoolthread end of stack trace from previous location where exception was thrown at microsoft codeanalysis csharp methodcompiler waitforworkers in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp csharpcompilation getdiagnosticsforallmethodbodies diagnosticbag diagnostics cancellationtoken cancellationtoken in src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis csharp csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages diagnosticbag diagnostics cancellationtoken cancellationtoken in src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis csharp csharpcompilation getdiagnostics cancellationtoken cancellationtoken in src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis diagnostics compilationwithanalyzers getalldiagnosticswithoutstatetrackingasync immutablearray analyzers cancellationtoken cancellationtoken in src compilers core portable diagnosticanalyzer compilationwithanalyzers cs line ,1 2357,24903141952.0,IssuesEvent,2022-10-29 00:23:34,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,blend crash when on foreach,Bug Area-Compilers Tenet-Reliability Investigation Required Developer Community,"when a list.ForEach is change to foreach without first clearing the body of the ForEach Blend crashes. _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/159058/blend-crash-when-on-foreach.html VSTS ticketId: 532392_ _These are the original issue comments:_ Jinu Joseph [MSFT] on ‎12‎/‎7‎/‎2017, 08:26 PM (18 days ago):

We appreciate you taking the time to report this problem. We are currently prioritizing problems that are impacting a broad set of our customers, so we may not be able to investigate this one immediately. We know this problem is important to you, so we will continue to monitor it.

_These are the original issue solutions:_ (no solutions)",True,"blend crash when on foreach - when a list.ForEach is change to foreach without first clearing the body of the ForEach Blend crashes. _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/159058/blend-crash-when-on-foreach.html VSTS ticketId: 532392_ _These are the original issue comments:_ Jinu Joseph [MSFT] on ‎12‎/‎7‎/‎2017, 08:26 PM (18 days ago):

We appreciate you taking the time to report this problem. We are currently prioritizing problems that are impacting a broad set of our customers, so we may not be able to investigate this one immediately. We know this problem is important to you, so we will continue to monitor it.

_These are the original issue solutions:_ (no solutions)",1,blend crash when on foreach when a list foreach is change to foreach without first clearing the body of the foreach blend crashes this issue has been moved from vsts ticketid these are the original issue comments jinu joseph on ‎ ‎ ‎ ‎ ‎ pm days ago we appreciate you taking the time to report this problem we are currently prioritizing problems that are impacting a broad set of our customers so we may not be able to investigate this one immediately we know this problem is important to you so we will continue to monitor it these are the original issue solutions no solutions ,1 2637,26811119117.0,IssuesEvent,2023-02-01 22:29:31,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,System.ArgumentException: Not a C# symbol.,Bug help wanted Area-IDE Tenet-Reliability Developer Community,"**VS2019 16.2.0 Preview 3.0** I have this simple method; ``` public static T NullObjectRetry<T>(Func<T> funcToRun) { var returnVal = funcToRun(); for (var i = 0; i < 10; i++) { if (returnVal == null) { Console.WriteLine("Retrying " + (i + 1) + " - " + (i + 1) * 1000 + " seconds"); Thread.Sleep((i + 1) * 1000); } else { break; } returnVal = funcToRun(); } return returnVal; } ``` Every time I try to use this method writing something like the below; ``` bool isValueTrue = TestUtils.NullObjectRetry(() => { if (fakeClass.GetBool() == false) return null; return true; }); ``` The second I begin to right a "return" statement within the function my VS just freezes and reboots; Looking at the event viewer there is an error saying; ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentException: Not a C# symbol. Parameter name: typeArguments ``` and an application error saying; ``` Faulting application name: devenv.exe, version: 16.2.29021.104, time stamp: 0x5d0d2e76 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0x80131623 Fault offset: 0x286a3212 Faulting process id: 0x5a0c Faulting application start time: 0x01d53c242a0d7616 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\devenv.exe Faulting module path: unknown Report Id: da99e1ae-fb52-4517-bff9-45eeab6c14e0 Faulting package full name: Faulting package-relative application ID: ``` I've attached to full stack trace. _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/648587/systemargumentexception-not-a-c-symbol.html VSTS ticketId: 948096_ _These are the original issue comments:_ Visual Studio Feedback System on 7/17/2019, 01:46 AM (34 hours ago):

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

_These are the original issue solutions:_ (no solutions)",True,"System.ArgumentException: Not a C# symbol. - **VS2019 16.2.0 Preview 3.0** I have this simple method; ``` public static T NullObjectRetry<T>(Func<T> funcToRun) { var returnVal = funcToRun(); for (var i = 0; i < 10; i++) { if (returnVal == null) { Console.WriteLine("Retrying " + (i + 1) + " - " + (i + 1) * 1000 + " seconds"); Thread.Sleep((i + 1) * 1000); } else { break; } returnVal = funcToRun(); } return returnVal; } ``` Every time I try to use this method writing something like the below; ``` bool isValueTrue = TestUtils.NullObjectRetry(() => { if (fakeClass.GetBool() == false) return null; return true; }); ``` The second I begin to right a "return" statement within the function my VS just freezes and reboots; Looking at the event viewer there is an error saying; ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentException: Not a C# symbol. Parameter name: typeArguments ``` and an application error saying; ``` Faulting application name: devenv.exe, version: 16.2.29021.104, time stamp: 0x5d0d2e76 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0x80131623 Fault offset: 0x286a3212 Faulting process id: 0x5a0c Faulting application start time: 0x01d53c242a0d7616 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\devenv.exe Faulting module path: unknown Report Id: da99e1ae-fb52-4517-bff9-45eeab6c14e0 Faulting package full name: Faulting package-relative application ID: ``` I've attached to full stack trace. _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/648587/systemargumentexception-not-a-c-symbol.html VSTS ticketId: 948096_ _These are the original issue comments:_ Visual Studio Feedback System on 7/17/2019, 01:46 AM (34 hours ago):

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

_These are the original issue solutions:_ (no solutions)",1,system argumentexception not a c symbol preview i have this simple method public static t nullobjectretry lt t gt func lt t gt functorun var returnval functorun for var i i lt i if returnval null console writeline quot retrying quot i quot quot i quot seconds quot thread sleep i else break returnval functorun return returnval every time i try to use this method writing something like the below bool isvaluetrue testutils nullobjectretry gt if fakeclass getbool false return null return true the second i begin to right a quot return quot statement within the function my vs just freezes and reboots looking at the event viewer there is an error saying application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentexception not a c symbol parameter name typearguments and an application error saying faulting application name devenv exe version time stamp faulting module name unknown version time stamp exception code fault offset faulting process id faulting application start time faulting application path c program files microsoft visual studio preview ide devenv exe faulting module path unknown report id faulting package full name faulting package relative application id i ve attached to full stack trace this issue has been moved from vsts ticketid these are the original issue comments visual studio feedback system on am hours ago we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps these are the original issue solutions no solutions ,1 1093,13051135860.0,IssuesEvent,2020-07-29 16:34:31,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,ArgumentException in Microsoft.CodeAnalysis.SymbolKey.ErrorTypeSymbolKey.Resolve,Area-IDE Bug Developer Community Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/818029/visual-studio-crashes-while-doing-code-analysis-in.html)._ --- Visual Studio 2019 16.3.9 just crashed with the trace below. I was working in 7 files with changes which were not recovered. Why can an analyzer crash the IDE? There's no apparent way for me to reproduce, as I don't know what triggered the crash. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentException: Wrong number of type arguments Parameter name: typeArguments at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Construct(ImmutableArray`1 typeArguments, Boolean unbound) at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Microsoft.CodeAnalysis.INamedTypeSymbol.Construct(ITypeSymbol[] typeArguments) at Microsoft.CodeAnalysis.SymbolKey.ErrorTypeSymbolKey.Resolve(SymbolKeyReader reader) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKey() at Microsoft.CodeAnalysis.SymbolKey.Reader`1.ReadArray[T](Func`1 readFunction) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyArray[TSymbol]() at Microsoft.CodeAnalysis.SymbolKey.MethodSymbolKey.Resolve(SymbolKeyReader reader, Boolean isPartialMethodImplementationPart, IMethodSymbol method) at Microsoft.CodeAnalysis.SymbolKey.MethodSymbolKey.Resolve(SymbolKeyReader reader, String metadataName, Int32 arity, Boolean isPartialMethodImplementationPart, PooledArrayBuilder`1 parameterRefKinds, Int32 beforeParametersPosition, IMethodSymbol method) at Microsoft.CodeAnalysis.SymbolKey.MethodSymbolKey.Resolve(SymbolKeyReader reader) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKey() at Microsoft.CodeAnalysis.SymbolKey.ResolveString(String symbolKey, Compilation compilation, Boolean ignoreAssemblyKey, Boolean resolveLocations, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__7.MoveNext() --- 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 Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__5.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.d__39.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter+d__39.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter+d__39.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SyntaxToken, Microsoft.CodeAnalysis, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Start[[Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter+d__39, Microsoft.CodeAnalysis.CSharp.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__39 ByRef) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.RenameAndAnnotateAsync(Microsoft.CodeAnalysis.SyntaxToken, Microsoft.CodeAnalysis.SyntaxToken, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.VisitToken(Microsoft.CodeAnalysis.SyntaxToken) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitIdentifierName(Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMemberAccessExpression(Microsoft.CodeAnalysis.CSharp.Syntax.MemberAccessExpressionSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.MemberAccessExpressionSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitInvocationExpression(Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.VisitInvocationExpression(Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitReturnStatement(Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMethodDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.AnnotateAndRename(Microsoft.CodeAnalysis.Rename.RenameRewriterParameters) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__26 ByRef) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session.AnnotateAndRename_WorkerAsync(Microsoft.CodeAnalysis.Solution, Microsoft.CodeAnalysis.Solution, System.Collections.Generic.HashSet`1, System.Collections.Generic.ISet`1, Microsoft.CodeAnalysis.Rename.ConflictEngine.RenamedSpansTracker, Boolean) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__18.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__18, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__18 ByRef) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session.ResolveConflictsAsync() at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.ResolveConflictsAsync(Microsoft.CodeAnalysis.Rename.RenameLocations, System.String, System.String, Microsoft.CodeAnalysis.Options.OptionSet, System.Func`2,System.Nullable`1>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Rename.Renamer+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.Renamer+d__3, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__3 ByRef) at Microsoft.CodeAnalysis.Rename.Renamer.RenameAsync(Microsoft.CodeAnalysis.Rename.RenameLocations, System.String, System.Func`2, System.Func`2,System.Nullable`1>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Rename.Renamer+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Rename.RenameLocations+d__26.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Rename.RenameLocations+d__30.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` --- ### Original Comments #### Visual Studio Feedback System on 11/13/2019, 01:41 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Visual Studio Feedback System on 11/15/2019, 03:05 PM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

--- ### Original Solutions #### Paul Graves solved on 11/21/2019, 10:56 AM, 0 votes:

I have a reproducible error in a solution in the very latest VS 2019 16.3.10 and W10 Pro 1903 18362.476

The exact stack location of the out of memory occurs randomly but it is always within Microsoft.CodeAnalysis:

Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Collections.Immutable.ImmutableArray`1.Builder.ToArray() at Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1.ToImmutableAndFree() at Microsoft.CodeAnalysis.CSharp.Symbols.AbstractTypeMap.SubstituteTypes(ImmutableArray`1 original) at Microsoft.CodeAnalysis.CSharp.OverloadResolution.IsApplicable[TMember](TMember member, TMember leastOverriddenMember, ArrayBuilder`1 typeArgumentsBuilder, AnalyzedArguments arguments, EffectiveParameters originalEffectiveParameters, EffectiveParameters constructedEffectiveParameters, ImmutableArray`1 argsToParamsMap, Boolean hasAnyRefOmittedArgument, Boolean inferWithDynamic, Boolean completeResults, HashSet`1& useSiteDiagnostics) at Microsoft.CodeAnalysis.CSharp.OverloadResolution.IsMemberApplicableInNormalForm[TMember](TMember member, TMember leastOverriddenMember, ArrayBuilder`1 typeArguments, AnalyzedArguments arguments, Boolean isMethodGroupConversion, Boolean allowRefOmittedArguments, Boolean inferWithDynamic, Boolean completeResults, HashSet`1& useSiteDiagnostics) at Microsoft.CodeAnalysis.CSharp.OverloadResolution.AddMemberToCandidateSet[TMember](TMember member, ArrayBuilder`1 results, ArrayBuilder`1 members, ArrayBuilder`1 typeArguments, BoundExpression receiverOpt, AnalyzedArguments arguments, Boolean completeResults, Boolean isMethodGroupConversion, Boolean allowRefOmittedArguments, Dictionary`2 containingTypeMapOpt, Boolean inferWithDynamic, HashSet`1& useSiteDiagnostics, Boolean allowUnexpandedForm)

....

I believe this has been caused by someone managing to introduce into the codebase of the solution some new code that has c# 7.2 language features when the containing project is on a lower version of .NET that doesn't support these features.

If that project is in the solution (say as a unit test project as in our case) - it appears still to build but will crash the code analyser (presumably because it isn't expecting to see that syntax in that project .NET version!)

Having refactored these language features out, it has not been reproducible.

Hope this helps others as I have just lost over a day finding this out!

#### Manish Vasani on 11/21/2019, 11:08 AM:

Hi Paul,
Can you please submit a separate feedback ticket? The original reported bug is a crash from System.ArgumentException. Your report seems to be an unrelated OutOfMemory exception.

Regards,
Manish

",True,"ArgumentException in Microsoft.CodeAnalysis.SymbolKey.ErrorTypeSymbolKey.Resolve - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/818029/visual-studio-crashes-while-doing-code-analysis-in.html)._ --- Visual Studio 2019 16.3.9 just crashed with the trace below. I was working in 7 files with changes which were not recovered. Why can an analyzer crash the IDE? There's no apparent way for me to reproduce, as I don't know what triggered the crash. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentException: Wrong number of type arguments Parameter name: typeArguments at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Construct(ImmutableArray`1 typeArguments, Boolean unbound) at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Microsoft.CodeAnalysis.INamedTypeSymbol.Construct(ITypeSymbol[] typeArguments) at Microsoft.CodeAnalysis.SymbolKey.ErrorTypeSymbolKey.Resolve(SymbolKeyReader reader) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKey() at Microsoft.CodeAnalysis.SymbolKey.Reader`1.ReadArray[T](Func`1 readFunction) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKeyArray[TSymbol]() at Microsoft.CodeAnalysis.SymbolKey.MethodSymbolKey.Resolve(SymbolKeyReader reader, Boolean isPartialMethodImplementationPart, IMethodSymbol method) at Microsoft.CodeAnalysis.SymbolKey.MethodSymbolKey.Resolve(SymbolKeyReader reader, String metadataName, Int32 arity, Boolean isPartialMethodImplementationPart, PooledArrayBuilder`1 parameterRefKinds, Int32 beforeParametersPosition, IMethodSymbol method) at Microsoft.CodeAnalysis.SymbolKey.MethodSymbolKey.Resolve(SymbolKeyReader reader) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadWorker(SymbolKeyType type) at Microsoft.CodeAnalysis.SymbolKey.SymbolKeyReader.ReadSymbolKey() at Microsoft.CodeAnalysis.SymbolKey.ResolveString(String symbolKey, Compilation compilation, Boolean ignoreAssemblyKey, Boolean resolveLocations, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__7.MoveNext() --- 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 Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__5.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.d__39.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter+d__39.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter+d__39.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SyntaxToken, Microsoft.CodeAnalysis, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Start[[Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter+d__39, Microsoft.CodeAnalysis.CSharp.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__39 ByRef) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.RenameAndAnnotateAsync(Microsoft.CodeAnalysis.SyntaxToken, Microsoft.CodeAnalysis.SyntaxToken, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.VisitToken(Microsoft.CodeAnalysis.SyntaxToken) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitIdentifierName(Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMemberAccessExpression(Microsoft.CodeAnalysis.CSharp.Syntax.MemberAccessExpressionSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.MemberAccessExpressionSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitInvocationExpression(Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.VisitInvocationExpression(Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitReturnStatement(Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMethodDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.SyntaxList`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService+RenameRewriter.Visit(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.AnnotateAndRename(Microsoft.CodeAnalysis.Rename.RenameRewriterParameters) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__26, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__26 ByRef) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session.AnnotateAndRename_WorkerAsync(Microsoft.CodeAnalysis.Solution, Microsoft.CodeAnalysis.Solution, System.Collections.Generic.HashSet`1, System.Collections.Generic.ISet`1, Microsoft.CodeAnalysis.Rename.ConflictEngine.RenamedSpansTracker, Boolean) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__18.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session+d__18, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__18 ByRef) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver+Session.ResolveConflictsAsync() at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.ResolveConflictsAsync(Microsoft.CodeAnalysis.Rename.RenameLocations, System.String, System.String, Microsoft.CodeAnalysis.Options.OptionSet, System.Func`2,System.Nullable`1>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Rename.Renamer+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Rename.Renamer+d__3, Microsoft.CodeAnalysis.Workspaces, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__3 ByRef) at Microsoft.CodeAnalysis.Rename.Renamer.RenameAsync(Microsoft.CodeAnalysis.Rename.RenameLocations, System.String, System.Func`2, System.Func`2,System.Nullable`1>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Rename.Renamer+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Rename.RenameLocations+d__26.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Rename.RenameLocations+d__30.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` --- ### Original Comments #### Visual Studio Feedback System on 11/13/2019, 01:41 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Visual Studio Feedback System on 11/15/2019, 03:05 PM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

--- ### Original Solutions #### Paul Graves solved on 11/21/2019, 10:56 AM, 0 votes:

I have a reproducible error in a solution in the very latest VS 2019 16.3.10 and W10 Pro 1903 18362.476

The exact stack location of the out of memory occurs randomly but it is always within Microsoft.CodeAnalysis:

Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Collections.Immutable.ImmutableArray`1.Builder.ToArray() at Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1.ToImmutableAndFree() at Microsoft.CodeAnalysis.CSharp.Symbols.AbstractTypeMap.SubstituteTypes(ImmutableArray`1 original) at Microsoft.CodeAnalysis.CSharp.OverloadResolution.IsApplicable[TMember](TMember member, TMember leastOverriddenMember, ArrayBuilder`1 typeArgumentsBuilder, AnalyzedArguments arguments, EffectiveParameters originalEffectiveParameters, EffectiveParameters constructedEffectiveParameters, ImmutableArray`1 argsToParamsMap, Boolean hasAnyRefOmittedArgument, Boolean inferWithDynamic, Boolean completeResults, HashSet`1& useSiteDiagnostics) at Microsoft.CodeAnalysis.CSharp.OverloadResolution.IsMemberApplicableInNormalForm[TMember](TMember member, TMember leastOverriddenMember, ArrayBuilder`1 typeArguments, AnalyzedArguments arguments, Boolean isMethodGroupConversion, Boolean allowRefOmittedArguments, Boolean inferWithDynamic, Boolean completeResults, HashSet`1& useSiteDiagnostics) at Microsoft.CodeAnalysis.CSharp.OverloadResolution.AddMemberToCandidateSet[TMember](TMember member, ArrayBuilder`1 results, ArrayBuilder`1 members, ArrayBuilder`1 typeArguments, BoundExpression receiverOpt, AnalyzedArguments arguments, Boolean completeResults, Boolean isMethodGroupConversion, Boolean allowRefOmittedArguments, Dictionary`2 containingTypeMapOpt, Boolean inferWithDynamic, HashSet`1& useSiteDiagnostics, Boolean allowUnexpandedForm)

....

I believe this has been caused by someone managing to introduce into the codebase of the solution some new code that has c# 7.2 language features when the containing project is on a lower version of .NET that doesn't support these features.

If that project is in the solution (say as a unit test project as in our case) - it appears still to build but will crash the code analyser (presumably because it isn't expecting to see that syntax in that project .NET version!)

Having refactored these language features out, it has not been reproducible.

Hope this helps others as I have just lost over a day finding this out!

#### Manish Vasani on 11/21/2019, 11:08 AM:

Hi Paul,
Can you please submit a separate feedback ticket? The original reported bug is a crash from System.ArgumentException. Your report seems to be an unrelated OutOfMemory exception.

Regards,
Manish

",1,argumentexception in microsoft codeanalysis symbolkey errortypesymbolkey resolve this issue has been moved from visual studio just crashed with the trace below i was working in files with changes which were not recovered why can an analyzer crash the ide there s no apparent way for me to reproduce as i don t know what triggered the crash application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentexception wrong number of type arguments parameter name typearguments at microsoft codeanalysis csharp symbols namedtypesymbol construct immutablearray typearguments boolean unbound at microsoft codeanalysis csharp symbols namedtypesymbol microsoft codeanalysis inamedtypesymbol construct itypesymbol typearguments at microsoft codeanalysis symbolkey errortypesymbolkey resolve symbolkeyreader reader at microsoft codeanalysis symbolkey symbolkeyreader readworker symbolkeytype type at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkey at microsoft codeanalysis symbolkey reader readarray func readfunction at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkeyarray at microsoft codeanalysis symbolkey methodsymbolkey resolve symbolkeyreader reader boolean ispartialmethodimplementationpart imethodsymbol method at microsoft codeanalysis symbolkey methodsymbolkey resolve symbolkeyreader reader string metadataname arity boolean ispartialmethodimplementationpart pooledarraybuilder parameterrefkinds beforeparametersposition imethodsymbol method at microsoft codeanalysis symbolkey methodsymbolkey resolve symbolkeyreader reader at microsoft codeanalysis symbolkey symbolkeyreader readworker symbolkeytype type at microsoft codeanalysis symbolkey symbolkeyreader readsymbolkey at microsoft codeanalysis symbolkey resolvestring string symbolkey compilation compilation boolean ignoreassemblykey boolean resolvelocations cancellationtoken cancellationtoken at microsoft codeanalysis findsymbols symbolfinder d movenext 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 microsoft codeanalysis findsymbols symbolfinder d movenext 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 validateend task task at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at system runtime compilerservices taskawaiter validateend system threading tasks task at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter renameandannotateasync microsoft codeanalysis syntaxtoken microsoft codeanalysis syntaxtoken boolean boolean at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visittoken microsoft codeanalysis syntaxtoken at microsoft codeanalysis csharp csharpsyntaxrewriter visitidentifiername microsoft codeanalysis csharp syntax identifiernamesyntax at microsoft codeanalysis csharp syntax identifiernamesyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitmemberaccessexpression microsoft codeanalysis csharp syntax memberaccessexpressionsyntax at microsoft codeanalysis csharp syntax memberaccessexpressionsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitinvocationexpression microsoft codeanalysis csharp syntax invocationexpressionsyntax at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visitinvocationexpression microsoft codeanalysis csharp syntax invocationexpressionsyntax at microsoft codeanalysis csharp syntax invocationexpressionsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitreturnstatement microsoft codeanalysis csharp syntax returnstatementsyntax at microsoft codeanalysis csharp syntax returnstatementsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitblock microsoft codeanalysis csharp syntax blocksyntax at microsoft codeanalysis csharp syntax blocksyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitmethoddeclaration microsoft codeanalysis csharp syntax methoddeclarationsyntax at microsoft codeanalysis csharp syntax methoddeclarationsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitclassdeclaration microsoft codeanalysis csharp syntax classdeclarationsyntax at microsoft codeanalysis csharp syntax classdeclarationsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitnamespacedeclaration microsoft codeanalysis csharp syntax namespacedeclarationsyntax at microsoft codeanalysis csharp syntax namespacedeclarationsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement system canon at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist microsoft codeanalysis syntaxlist at microsoft codeanalysis csharp csharpsyntaxrewriter visitcompilationunit microsoft codeanalysis csharp syntax compilationunitsyntax at microsoft codeanalysis csharp syntax compilationunitsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit microsoft codeanalysis syntaxnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice annotateandrename microsoft codeanalysis rename renamerewriterparameters at microsoft codeanalysis rename conflictengine conflictresolver session d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis rename conflictengine conflictresolver session annotateandrename workerasync microsoft codeanalysis solution microsoft codeanalysis solution system collections generic hashset system collections generic iset microsoft codeanalysis rename conflictengine renamedspanstracker boolean at microsoft codeanalysis rename conflictengine conflictresolver session d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis rename conflictengine conflictresolver session resolveconflictsasync at microsoft codeanalysis rename conflictengine conflictresolver resolveconflictsasync microsoft codeanalysis rename renamelocations system string system string microsoft codeanalysis options optionset system func system nullable system threading cancellationtoken at microsoft codeanalysis rename renamer d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis rename renamer renameasync microsoft codeanalysis rename renamelocations system string system func system func system nullable system threading cancellationtoken at microsoft codeanalysis rename renamer d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis rename renamelocations d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis rename renamelocations d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback original comments visual studio feedback system on am we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps visual studio feedback system on pm this issue is currently being investigated our team will get back to you if either more information is needed a workaround is available or the issue is resolved original solutions paul graves solved on am votes i have a reproducible error in a solution in the very latest vs and pro the exact stack location of the out of memory occurs randomly but it is always within microsoft codeanalysis application devenv exe framework version description the application requested process termination through system environment failfast string message message system outofmemoryexception exception of type system outofmemoryexception was thrown at system collections immutable immutablearray builder toarray at microsoft codeanalysis pooledobjects arraybuilder toimmutableandfree at microsoft codeanalysis csharp symbols abstracttypemap substitutetypes immutablearray original at microsoft codeanalysis csharp overloadresolution isapplicable tmember member tmember leastoverriddenmember arraybuilder typeargumentsbuilder analyzedarguments arguments effectiveparameters originaleffectiveparameters effectiveparameters constructedeffectiveparameters immutablearray argstoparamsmap boolean hasanyrefomittedargument boolean inferwithdynamic boolean completeresults hashset usesitediagnostics at microsoft codeanalysis csharp overloadresolution ismemberapplicableinnormalform tmember member tmember leastoverriddenmember arraybuilder typearguments analyzedarguments arguments boolean ismethodgroupconversion boolean allowrefomittedarguments boolean inferwithdynamic boolean completeresults hashset usesitediagnostics at microsoft codeanalysis csharp overloadresolution addmembertocandidateset tmember member arraybuilder results arraybuilder members arraybuilder typearguments boundexpression receiveropt analyzedarguments arguments boolean completeresults boolean ismethodgroupconversion boolean allowrefomittedarguments dictionary containingtypemapopt boolean inferwithdynamic hashset usesitediagnostics boolean allowunexpandedform i believe this has been caused by someone managing to introduce into the codebase of the solution some new code that has c language features when the containing project is on a lower version of net that doesn t support these features if that project is in the solution say as a unit test project as in our case it appears still to build but will crash the code analyser presumably because it isn t expecting to see that syntax in that project net version having refactored these language features out it has not been reproducible hope this helps others as i have just lost over a day finding this out manish vasani on am hi paul can you please submit a separate feedback ticket the original reported bug is a crash from system argumentexception your report seems to be an unrelated outofmemory exception regards manish ,1 273,5950797059.0,IssuesEvent,2017-05-26 17:44:25,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,change Roslyn not to crash but do non-fatal watson on most of exception case,Area-IDE Feature Request Tenet-Reliability,"when we started Roslyn, we want to catch bug as soon as possible so we made any unexpected exception to fail fast (crash the host, most of time, VS). it was good while we were developing Roslyn, but even for RTM, we are still doing this. so something like a bug in todo list scanner will cause VS to crash. or a bug in colorizer, error list, navigation bar scanner will crash the VS. (some features that don't require explicit user action, basically it means, VS crash time to time randomly) this seems only serve us good not customer and we get this kind of bug (Devdiv # 1192910). I dont think having a bug in type coloring, or todo list scanning is important enough to crash user's VS with possible user data loss. we should change our policy to report non-fatal watson rather than crashing in most of those cases. and only let internals to get crashed in those situation (like the way we do in integration tests for those small cases where we use non-fatal watson) ",True,"change Roslyn not to crash but do non-fatal watson on most of exception case - when we started Roslyn, we want to catch bug as soon as possible so we made any unexpected exception to fail fast (crash the host, most of time, VS). it was good while we were developing Roslyn, but even for RTM, we are still doing this. so something like a bug in todo list scanner will cause VS to crash. or a bug in colorizer, error list, navigation bar scanner will crash the VS. (some features that don't require explicit user action, basically it means, VS crash time to time randomly) this seems only serve us good not customer and we get this kind of bug (Devdiv # 1192910). I dont think having a bug in type coloring, or todo list scanning is important enough to crash user's VS with possible user data loss. we should change our policy to report non-fatal watson rather than crashing in most of those cases. and only let internals to get crashed in those situation (like the way we do in integration tests for those small cases where we use non-fatal watson) ",1,change roslyn not to crash but do non fatal watson on most of exception case when we started roslyn we want to catch bug as soon as possible so we made any unexpected exception to fail fast crash the host most of time vs it was good while we were developing roslyn but even for rtm we are still doing this so something like a bug in todo list scanner will cause vs to crash or a bug in colorizer error list navigation bar scanner will crash the vs some features that don t require explicit user action basically it means vs crash time to time randomly this seems only serve us good not customer and we get this kind of bug devdiv i dont think having a bug in type coloring or todo list scanning is important enough to crash user s vs with possible user data loss we should change our policy to report non fatal watson rather than crashing in most of those cases and only let internals to get crashed in those situation like the way we do in integration tests for those small cases where we use non fatal watson ,1 979,11943547717.0,IssuesEvent,2020-04-02 23:36:05,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"Ternary operator bool?someVoid():default gives ""Failed to emit module"".",Area-Compilers Bug Tenet-Reliability,"**Version Used**: DotNetCore, any version. Not sure about other frameworks. **Steps to Reproduce**: 1. write code: ``` class Program { static void Main() { var someBool = new System.Random().Next(0, 2) == 1; _ = someBool ? SomeVoid() : default; } public static void SomeVoid() { return; } } ``` 2. Observe that, at least in Visual Studio, the code looks okay. I think Visual Studio uses Roslyn to analyze, so that's why I'm posting this issue here. 3. Try to build. **Expected Behavior**: Visual Studio should show that the code is unacceptable, as a value of type 'void' may not be assigned. **Actual Behavior**: Building fails with message ""Failed to emit module '...'"".",True,"Ternary operator bool?someVoid():default gives ""Failed to emit module"". - **Version Used**: DotNetCore, any version. Not sure about other frameworks. **Steps to Reproduce**: 1. write code: ``` class Program { static void Main() { var someBool = new System.Random().Next(0, 2) == 1; _ = someBool ? SomeVoid() : default; } public static void SomeVoid() { return; } } ``` 2. Observe that, at least in Visual Studio, the code looks okay. I think Visual Studio uses Roslyn to analyze, so that's why I'm posting this issue here. 3. Try to build. **Expected Behavior**: Visual Studio should show that the code is unacceptable, as a value of type 'void' may not be assigned. **Actual Behavior**: Building fails with message ""Failed to emit module '...'"".",1,ternary operator bool somevoid default gives failed to emit module version used dotnetcore any version not sure about other frameworks steps to reproduce write code class program static void main var somebool new system random next somebool somevoid default public static void somevoid return observe that at least in visual studio the code looks okay i think visual studio uses roslyn to analyze so that s why i m posting this issue here try to build expected behavior visual studio should show that the code is unacceptable as a value of type void may not be assigned actual behavior building fails with message failed to emit module ,1 2366,24944194191.0,IssuesEvent,2022-10-31 21:51:03,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Visual studio crash while typing inside string interpolation expression,Bug Area-IDE Tenet-Reliability,"**Version Used**: lab/d16.0stg **Steps to Reproduce**: type `Join()` as indicated by `[||]` ```C# private static void MergeIBCData(string dllPath, params string[] ibcfiles) { var ibcmergePath = @""C:\Tools\ibcmerge\IBCMerge.exe""; var p = Process.Start(fileName: ibcmergePath, arguments: $"" -mo {dllPath} {ibcfiles.[|Join()|]}""); } ``` ```ini Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.GetSelectedItem(Model currentModel, SignatureHelpItems items, ISignatureHelpProvider provider, Boolean& userSelected) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__4.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource) at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Int32) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.GetSelectedItem(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpItems, Microsoft.CodeAnalysis.SignatureHelp.ISignatureHelpProvider, Boolean ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` ",True,"Visual studio crash while typing inside string interpolation expression - **Version Used**: lab/d16.0stg **Steps to Reproduce**: type `Join()` as indicated by `[||]` ```C# private static void MergeIBCData(string dllPath, params string[] ibcfiles) { var ibcmergePath = @""C:\Tools\ibcmerge\IBCMerge.exe""; var p = Process.Start(fileName: ibcmergePath, arguments: $"" -mo {dllPath} {ibcfiles.[|Join()|]}""); } ``` ```ini Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.GetSelectedItem(Model currentModel, SignatureHelpItems items, ISignatureHelpProvider provider, Boolean& userSelected) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__4.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource) at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Int32) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.GetSelectedItem(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpItems, Microsoft.CodeAnalysis.SignatureHelp.ISignatureHelpProvider, Boolean ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` ",1,visual studio crash while typing inside string interpolation expression version used lab steps to reproduce type join as indicated by c private static void mergeibcdata string dllpath params string ibcfiles var ibcmergepath c tools ibcmerge ibcmerge exe var p process start filename ibcmergepath arguments mo dllpath ibcfiles ini application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentoutofrangeexception index was out of range must be non negative and less than the size of the collection parameter name index at system throwhelper throwargumentoutofrangeexception exceptionargument argument exceptionresource resource at system collections generic list get item index at microsoft codeanalysis editor implementation intellisense signaturehelp controller session getselecteditem model currentmodel signaturehelpitems items isignaturehelpprovider provider boolean userselected at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system throwhelper throwargumentoutofrangeexception system exceptionargument system exceptionresource at system collections generic list get item at microsoft codeanalysis editor implementation intellisense signaturehelp controller session getselecteditem microsoft codeanalysis editor implementation intellisense signaturehelp model microsoft codeanalysis signaturehelp signaturehelpitems microsoft codeanalysis signaturehelp isignaturehelpprovider boolean byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computemodelinbackgroundasync microsoft codeanalysis editor implementation intellisense signaturehelp model system collections immutable immutablearray microsoft visualstudio text snapshotpoint microsoft codeanalysis editor implementation intellisense disconnectedbuffergraph microsoft codeanalysis signaturehelp signaturehelptriggerinfo system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session c b microsoft codeanalysis editor implementation intellisense signaturehelp model system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense modelcomputation c b system threading tasks task at roslyn utilities taskextensions c b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback ,1 1340,15094743269.0,IssuesEvent,2021-02-07 07:58:17,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Navigation cannot be cancelled when more than one definition is present,Area-IDE Bug IDE-Navigation Tenet-Reliability,"**Version Used**: 352639e2 **Steps to Reproduce**: Attempt to navigate to a partial symbol with multiple parts while the solution is loading. **Expected Behavior**: Navigation can be cancelled. **Actual Behavior**: Navigation cannot be cancelled during this region of the operation: https://github.com/dotnet/roslyn/blob/58b8b424051527599277accddba7b324eb89a61d/src/EditorFeatures/Core/Host/IStreamingFindReferencesPresenter.cs#L102-L118 ⚠️ Cancelling on each pass of the loop is not sufficient here. The cancellation token must be available in the implementation of `OnDefinitionFoundAsync`, which appears to mean it needs to be tied to the cancellation token in `context`.",True,"Navigation cannot be cancelled when more than one definition is present - **Version Used**: 352639e2 **Steps to Reproduce**: Attempt to navigate to a partial symbol with multiple parts while the solution is loading. **Expected Behavior**: Navigation can be cancelled. **Actual Behavior**: Navigation cannot be cancelled during this region of the operation: https://github.com/dotnet/roslyn/blob/58b8b424051527599277accddba7b324eb89a61d/src/EditorFeatures/Core/Host/IStreamingFindReferencesPresenter.cs#L102-L118 ⚠️ Cancelling on each pass of the loop is not sufficient here. The cancellation token must be available in the implementation of `OnDefinitionFoundAsync`, which appears to mean it needs to be tied to the cancellation token in `context`.",1,navigation cannot be cancelled when more than one definition is present version used steps to reproduce attempt to navigate to a partial symbol with multiple parts while the solution is loading expected behavior navigation can be cancelled actual behavior navigation cannot be cancelled during this region of the operation ⚠️ cancelling on each pass of the loop is not sufficient here the cancellation token must be available in the implementation of ondefinitionfoundasync which appears to mean it needs to be tied to the cancellation token in context ,1 288,6022257221.0,IssuesEvent,2017-06-07 20:38:39,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS crashes when it tries to open a solution with WPF project after enabling LSL if only C++ workflow is installed,4 - In Review Area-IDE Bug Tenet-Reliability,"**Version Used**: VS: vsuvscore 26418.04 MS.VS.LanguageServices.Implementation: 2.3.0-beta1-61515-02 **Steps to Reproduce**: 1. On a machine where VS is installed with only C++ workflow, open a solution with a WPF project 2. Do not accept installing missing frameworks or missing features 3. The WPF project will be unloaded, this is expected 4. Change the solution property to enable Light Weight Solution load 5. Save the solution and close it 6. Open the solution in the same VS session **Expected Behavior**: VS does not crash **Actual Behavior**: VS crashes **Call Stack** ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker+d__60.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker+d__58.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Roslyn.Utilities.TaskExtensions+d__0.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0(System.Object) at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector.TryExecute() at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector+<>c.<.cctor>b__20_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) ``` ",True,"VS crashes when it tries to open a solution with WPF project after enabling LSL if only C++ workflow is installed - **Version Used**: VS: vsuvscore 26418.04 MS.VS.LanguageServices.Implementation: 2.3.0-beta1-61515-02 **Steps to Reproduce**: 1. On a machine where VS is installed with only C++ workflow, open a solution with a WPF project 2. Do not accept installing missing frameworks or missing features 3. The WPF project will be unloaded, this is expected 4. Change the solution property to enable Light Weight Solution load 5. Save the solution and close it 6. Open the solution in the same VS session **Expected Behavior**: VS does not crash **Actual Behavior**: VS crashes **Call Stack** ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker+d__60.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker+d__58.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Roslyn.Utilities.TaskExtensions+d__0.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0(System.Object) at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector.TryExecute() at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector+<>c.<.cctor>b__20_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) ``` ",1,vs crashes when it tries to open a solution with wpf project after enabling lsl if only c workflow is installed version used vs vsuvscore ms vs languageservices implementation steps to reproduce on a machine where vs is installed with only c workflow open a solution with a wpf project do not accept installing missing frameworks or missing features the wpf project will be unloaded this is expected change the solution property to enable light weight solution load save the solution and close it open the solution in the same vs session expected behavior vs does not crash actual behavior vs crashes call stack application devenv exe framework version description the process was terminated due to an unhandled exception exception info system nullreferenceexception at microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at roslyn utilities taskextensions d movenext at system runtime compilerservices asyncmethodbuildercore c b system object at microsoft visualstudio threading joinabletaskfactory singleexecuteprotector tryexecute at microsoft visualstudio threading joinabletaskfactory singleexecuteprotector c b system object at system windows threading exceptionwrapper internalrealcall system delegate system object at system windows threading exceptionwrapper trycatchwhen system object system delegate system object system delegate at system windows threading dispatcheroperation invokeimpl at system windows threading dispatcheroperation invokeinsecuritycontext system object at ms internal culturepreservingexecutioncontext callbackwrapper system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object at ms internal culturepreservingexecutioncontext run ms internal culturepreservingexecutioncontext system threading contextcallback system object at system windows threading dispatcheroperation invoke at system windows threading dispatcher processqueue at system windows threading dispatcher wndprochook intptr intptr intptr boolean byref at ms hwndwrapper wndproc intptr intptr intptr boolean byref at ms hwndsubclass dispatchercallbackoperation system object at system windows threading exceptionwrapper internalrealcall system delegate system object at system windows threading exceptionwrapper trycatchwhen system object system delegate system object system delegate at system windows threading dispatcher legacyinvokeimpl system windows threading dispatcherpriority system timespan system delegate system object at ms hwndsubclass subclasswndproc intptr intptr intptr ,1 151,4543052693.0,IssuesEvent,2016-09-10 00:03:54,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Compiler crashes when using a constant pattern against an expression that doesn't have a type,Area-Compilers Bug Language-C# New Language Feature - Pattern Matching Tenet-Reliability,"``` [Fact] public void ExpressionWithoutAType() { var source = @"" public class Vec { public static void Main() { if (null is 1) {} } } ""; CreateCompilationWithMscorlib45(source, options: TestOptions.DebugExe).VerifyDiagnostics( ); } ``` Observed: ``` Test 'M:Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests.ExpressionWithoutAType' failed: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. Binder\Semantics\Conversions\ConversionsBase.cs(1065,0): at Microsoft.CodeAnalysis.CSharp.ConversionsBase.HasImplicitEnumerationConversion(BoundExpression source, TypeSymbol destination) Binder\Semantics\Conversions\ConversionsBase.cs(786,0): at Microsoft.CodeAnalysis.CSharp.ConversionsBase.ClassifyImplicitBuiltInConversionFromExpression(BoundExpression sourceExpression, TypeSymbol source, TypeSymbol destination, HashSet`1& useSiteDiagnostics) Binder\Semantics\Conversions\ConversionsBase.cs(57,0): at Microsoft.CodeAnalysis.CSharp.ConversionsBase.ClassifyImplicitConversionFromExpression(BoundExpression sourceExpression, TypeSymbol destination, HashSet`1& useSiteDiagnostics) Binder\Binder_Statements.cs(2369,0): at Microsoft.CodeAnalysis.CSharp.Binder.GenerateConversionForAssignment(TypeSymbol targetType, BoundExpression expression, DiagnosticBag diagnostics, Boolean isDefaultParameter, RefKind refKind) Binder\Binder_Patterns.cs(140,0): at Microsoft.CodeAnalysis.CSharp.Binder.ConvertPatternExpression(TypeSymbol inputType, CSharpSyntaxNode node, BoundExpression expression, ConstantValue& constantValue, DiagnosticBag diagnostics) Binder\Binder_Patterns.cs(124,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindConstantPattern(CSharpSyntaxNode node, BoundExpression operand, TypeSymbol operandType, ExpressionSyntax patternExpression, Boolean hasErrors, DiagnosticBag diagnostics, Boolean& wasExpression, Boolean wasSwitchCase) Binder\Binder_Patterns.cs(38,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindPattern(PatternSyntax node, BoundExpression operand, TypeSymbol operandType, Boolean hasErrors, DiagnosticBag diagnostics, Boolean wasSwitchCase) Binder\Binder_Patterns.cs(17,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindIsPatternExpression(IsPatternExpressionSyntax node, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(623,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(396,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Statements.cs(2848,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindBooleanExpression(ExpressionSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(2804,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindIfStatement(IfStatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(50,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(2315,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindBlockParts(BlockSyntax node, DiagnosticBag diagnostics) Compiler\MethodCompiler.cs(1550,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested) Compiler\MethodCompiler.cs(878,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) Compiler\MethodCompiler.cs(433,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) Compiler\MethodCompiler.cs(323,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass20_0.b__0() InternalUtilities\UICultureUtilities.cs(136,0): at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- 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) Compiler\MethodCompiler.cs(238,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() Compiler\MethodCompiler.cs(137,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean generateDebugInfo, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2004,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(1971,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(1910,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) DiagnosticExtensions.cs(98,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) Semantics\PatternMatchingTests.cs(14567,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests.ExpressionWithoutAType() ``` ",True,"Compiler crashes when using a constant pattern against an expression that doesn't have a type - ``` [Fact] public void ExpressionWithoutAType() { var source = @"" public class Vec { public static void Main() { if (null is 1) {} } } ""; CreateCompilationWithMscorlib45(source, options: TestOptions.DebugExe).VerifyDiagnostics( ); } ``` Observed: ``` Test 'M:Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests.ExpressionWithoutAType' failed: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. Binder\Semantics\Conversions\ConversionsBase.cs(1065,0): at Microsoft.CodeAnalysis.CSharp.ConversionsBase.HasImplicitEnumerationConversion(BoundExpression source, TypeSymbol destination) Binder\Semantics\Conversions\ConversionsBase.cs(786,0): at Microsoft.CodeAnalysis.CSharp.ConversionsBase.ClassifyImplicitBuiltInConversionFromExpression(BoundExpression sourceExpression, TypeSymbol source, TypeSymbol destination, HashSet`1& useSiteDiagnostics) Binder\Semantics\Conversions\ConversionsBase.cs(57,0): at Microsoft.CodeAnalysis.CSharp.ConversionsBase.ClassifyImplicitConversionFromExpression(BoundExpression sourceExpression, TypeSymbol destination, HashSet`1& useSiteDiagnostics) Binder\Binder_Statements.cs(2369,0): at Microsoft.CodeAnalysis.CSharp.Binder.GenerateConversionForAssignment(TypeSymbol targetType, BoundExpression expression, DiagnosticBag diagnostics, Boolean isDefaultParameter, RefKind refKind) Binder\Binder_Patterns.cs(140,0): at Microsoft.CodeAnalysis.CSharp.Binder.ConvertPatternExpression(TypeSymbol inputType, CSharpSyntaxNode node, BoundExpression expression, ConstantValue& constantValue, DiagnosticBag diagnostics) Binder\Binder_Patterns.cs(124,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindConstantPattern(CSharpSyntaxNode node, BoundExpression operand, TypeSymbol operandType, ExpressionSyntax patternExpression, Boolean hasErrors, DiagnosticBag diagnostics, Boolean& wasExpression, Boolean wasSwitchCase) Binder\Binder_Patterns.cs(38,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindPattern(PatternSyntax node, BoundExpression operand, TypeSymbol operandType, Boolean hasErrors, DiagnosticBag diagnostics, Boolean wasSwitchCase) Binder\Binder_Patterns.cs(17,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindIsPatternExpression(IsPatternExpressionSyntax node, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(623,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(396,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Statements.cs(2848,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindBooleanExpression(ExpressionSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(2804,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindIfStatement(IfStatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(50,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(2315,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindBlockParts(BlockSyntax node, DiagnosticBag diagnostics) Compiler\MethodCompiler.cs(1550,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested) Compiler\MethodCompiler.cs(878,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) Compiler\MethodCompiler.cs(433,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) Compiler\MethodCompiler.cs(323,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass20_0.b__0() InternalUtilities\UICultureUtilities.cs(136,0): at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- 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) Compiler\MethodCompiler.cs(238,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() Compiler\MethodCompiler.cs(137,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean generateDebugInfo, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2004,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(1971,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(1910,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) DiagnosticExtensions.cs(98,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) Semantics\PatternMatchingTests.cs(14567,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests.ExpressionWithoutAType() ``` ",1,compiler crashes when using a constant pattern against an expression that doesn t have a type public void expressionwithoutatype var source public class vec public static void main if null is source options testoptions debugexe verifydiagnostics observed test m microsoft codeanalysis csharp unittests patternmatchingtests expressionwithoutatype failed object reference not set to an instance of an object system nullreferenceexception object reference not set to an instance of an object binder semantics conversions conversionsbase cs at microsoft codeanalysis csharp conversionsbase hasimplicitenumerationconversion boundexpression source typesymbol destination binder semantics conversions conversionsbase cs at microsoft codeanalysis csharp conversionsbase classifyimplicitbuiltinconversionfromexpression boundexpression sourceexpression typesymbol source typesymbol destination hashset usesitediagnostics binder semantics conversions conversionsbase cs at microsoft codeanalysis csharp conversionsbase classifyimplicitconversionfromexpression boundexpression sourceexpression typesymbol destination hashset usesitediagnostics binder binder statements cs at microsoft codeanalysis csharp binder generateconversionforassignment typesymbol targettype boundexpression expression diagnosticbag diagnostics boolean isdefaultparameter refkind refkind binder binder patterns cs at microsoft codeanalysis csharp binder convertpatternexpression typesymbol inputtype csharpsyntaxnode node boundexpression expression constantvalue constantvalue diagnosticbag diagnostics binder binder patterns cs at microsoft codeanalysis csharp binder bindconstantpattern csharpsyntaxnode node boundexpression operand typesymbol operandtype expressionsyntax patternexpression boolean haserrors diagnosticbag diagnostics boolean wasexpression boolean wasswitchcase binder binder patterns cs at microsoft codeanalysis csharp binder bindpattern patternsyntax node boundexpression operand typesymbol operandtype boolean haserrors diagnosticbag diagnostics boolean wasswitchcase binder binder patterns cs at microsoft codeanalysis csharp binder bindispatternexpression ispatternexpressionsyntax node diagnosticbag diagnostics binder binder expressions cs at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed binder binder expressions cs at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed binder binder statements cs at microsoft codeanalysis csharp binder bindbooleanexpression expressionsyntax node diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindifstatement ifstatementsyntax node diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindstatement statementsyntax node diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindblockparts blocksyntax node diagnosticbag diagnostics compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler bindmethodbody methodsymbol method typecompilationstate compilationstate diagnosticbag diagnostics importchain importchain boolean originalbodynested compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler c b internalutilities uicultureutilities cs at roslyn utilities uicultureutilities c b at system threading tasks task innerinvoke at system threading tasks task execute 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 compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler waitforworkers compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean generatedebuginfo boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation getdiagnosticsforallmethodbodies diagnosticbag diagnostics cancellationtoken cancellationtoken compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages cancellationtoken cancellationtoken compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation getdiagnostics cancellationtoken cancellationtoken diagnosticextensions cs at microsoft codeanalysis diagnosticextensions verifydiagnostics tcompilation c diagnosticdescription expected semantics patternmatchingtests cs at microsoft codeanalysis csharp unittests patternmatchingtests expressionwithoutatype ,1 2674,26961342690.0,IssuesEvent,2023-02-08 18:25:57,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Generate method into closed file hangs (but is cancellable),Bug Area-IDE Tenet-Reliability,"Saw this failure in an integration test earlier today and thought it to be infrastructure, but I just tried it out and it hangs on 26717.1.d15rel for me. The method is still generated when you cancel. Trying more recent 15.3 bits now and debugging.",True,"Generate method into closed file hangs (but is cancellable) - Saw this failure in an integration test earlier today and thought it to be infrastructure, but I just tried it out and it hangs on 26717.1.d15rel for me. The method is still generated when you cancel. Trying more recent 15.3 bits now and debugging.",1,generate method into closed file hangs but is cancellable saw this failure in an integration test earlier today and thought it to be infrastructure but i just tried it out and it hangs on for me the method is still generated when you cancel trying more recent bits now and debugging ,1 230,5523124069.0,IssuesEvent,2017-03-20 04:30:47,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Compiler crash when compiling nested lambda inside local function capturing both a local in the local function and a parameter >= 2 scopes outside local function,4 - In Review Area-Compilers Bug New Language Feature - Local Functions Tenet-Reliability Urgency-Soon,"Here is the simplest repro I can find: ```csharp [Fact] public void CaptureVarNestedLambdaSkipScope() { var src = @"" using System; class C { public static void Main() { var d = """"""""; { int x = 0; void M() { if (d != null) { Action a = () => x++; a(); } } M(); } } }""; CompileAndVerify(src, options: TestOptions.DebugExe, expectedOutput: ""1""); } ```",True,"Compiler crash when compiling nested lambda inside local function capturing both a local in the local function and a parameter >= 2 scopes outside local function - Here is the simplest repro I can find: ```csharp [Fact] public void CaptureVarNestedLambdaSkipScope() { var src = @"" using System; class C { public static void Main() { var d = """"""""; { int x = 0; void M() { if (d != null) { Action a = () => x++; a(); } } M(); } } }""; CompileAndVerify(src, options: TestOptions.DebugExe, expectedOutput: ""1""); } ```",1,compiler crash when compiling nested lambda inside local function capturing both a local in the local function and a parameter scopes outside local function here is the simplest repro i can find csharp public void capturevarnestedlambdaskipscope var src using system class c public static void main var d int x void m if d null action a x a m compileandverify src options testoptions debugexe expectedoutput ,1 172,4972191165.0,IssuesEvent,2016-12-05 20:51:09,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Crash in expand/reduce with Tuples.,Area-IDE Bug Tenet-Reliability,"``` Unexpected type syntax TupleType at Microsoft.CodeAna|ysis.CSharp.CSharpSyntaxFactsService.ExpandTypeName(TypeSyntax type, StringBuilder builder) at Microsoft.CodeAna|ysis.CSharp.CSharpSyntaxFactsService.ExpandTypeName(TypeSyntax type, StringBuilder builder) at Microsoft.CodeAna|ysis.CSharp.CSharpSyntaxFactsService.ExpandExplicitlnterfaceName(String identifier,ExplicitlnterfaceSpecifierSyntax explicitlnterfaceSpecifier) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxFactsService.TryGetDeclaredSymbolInfo(SyntaxNode node, DeclaredSymbollnfo&declaredSymbollnfo) at Microsoft.CodeAnalysis.FindSymb0|s.SyntaxTreelndex.CreateInfoAsync(Document document, CancellationTokencancellationToken) at Microsoft.CodeAnalysis.FindSymbols.SyntaxTreelndex.d_44.MoveNext0 at S .... .. ``` ![image](https://cloud.githubusercontent.com/assets/4564579/20467790/79642ed2-af43-11e6-97c8-df4722267a35.png) ",True,"Crash in expand/reduce with Tuples. - ``` Unexpected type syntax TupleType at Microsoft.CodeAna|ysis.CSharp.CSharpSyntaxFactsService.ExpandTypeName(TypeSyntax type, StringBuilder builder) at Microsoft.CodeAna|ysis.CSharp.CSharpSyntaxFactsService.ExpandTypeName(TypeSyntax type, StringBuilder builder) at Microsoft.CodeAna|ysis.CSharp.CSharpSyntaxFactsService.ExpandExplicitlnterfaceName(String identifier,ExplicitlnterfaceSpecifierSyntax explicitlnterfaceSpecifier) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxFactsService.TryGetDeclaredSymbolInfo(SyntaxNode node, DeclaredSymbollnfo&declaredSymbollnfo) at Microsoft.CodeAnalysis.FindSymb0|s.SyntaxTreelndex.CreateInfoAsync(Document document, CancellationTokencancellationToken) at Microsoft.CodeAnalysis.FindSymbols.SyntaxTreelndex.d_44.MoveNext0 at S .... .. ``` ![image](https://cloud.githubusercontent.com/assets/4564579/20467790/79642ed2-af43-11e6-97c8-df4722267a35.png) ",1,crash in expand reduce with tuples unexpected type syntax tupletype at microsoft codeana ysis csharp csharpsyntaxfactsservice expandtypename typesyntax type stringbuilder builder at microsoft codeana ysis csharp csharpsyntaxfactsservice expandtypename typesyntax type stringbuilder builder at microsoft codeana ysis csharp csharpsyntaxfactsservice expandexplicitlnterfacename string identifier explicitlnterfacespecifiersyntax explicitlnterfacespecifier at microsoft codeanalysis csharp csharpsyntaxfactsservice trygetdeclaredsymbolinfo syntaxnode node declaredsymbollnfo declaredsymbollnfo at microsoft codeanalysis s syntaxtreelndex createinfoasync document document cancellationtokencancellationtoken at microsoft codeanalysis findsymbols syntaxtreelndex d at s ,1 1862,20826654793.0,IssuesEvent,2022-03-18 21:59:52,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Unable to open .editorconfig files,Bug Area-IDE Tenet-Reliability Feature - Editor Config UI,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Unable-to-open-editorconfig-files/1568626)._ --- [severity:It's more difficult to complete my work] Attempting to add a new .editorconfig file to either Project or Solution results in a crash. This is using either the Default or .Net templates --- ### Original Comments #### Feedback Bot on 11/1/2021, 08:16 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 11/2/2021, 01:09 PM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

#### Jonathon Marolf [MSFT] on 11/2/2021, 01:19 PM:

fixed in this pull request: https://github.com/dotnet/roslyn/pull/57234

#### Feedback Bot on 11/2/2021, 01:19 PM:

A fix for this issue has been internally implemented and is being prepared for release. We’ll update you once it becomes available for download.

--- ### Original Solutions (no solutions)",True,"Unable to open .editorconfig files - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Unable-to-open-editorconfig-files/1568626)._ --- [severity:It's more difficult to complete my work] Attempting to add a new .editorconfig file to either Project or Solution results in a crash. This is using either the Default or .Net templates --- ### Original Comments #### Feedback Bot on 11/1/2021, 08:16 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 11/2/2021, 01:09 PM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

#### Jonathon Marolf [MSFT] on 11/2/2021, 01:19 PM:

fixed in this pull request: https://github.com/dotnet/roslyn/pull/57234

#### Feedback Bot on 11/2/2021, 01:19 PM:

A fix for this issue has been internally implemented and is being prepared for release. We’ll update you once it becomes available for download.

--- ### Original Solutions (no solutions)",1,unable to open editorconfig files this issue has been moved from attempting to add a new editorconfig file to either project or solution results in a crash this is using either the default or net templates original comments feedback bot on pm we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps feedback bot on pm this issue is currently being investigated our team will get back to you if either more information is needed a workaround is available or the issue is resolved jonathon marolf on pm fixed in this pull request a target blank href feedback bot on pm a fix for this issue has been internally implemented and is being prepared for release we’ll update you once it becomes available for download original solutions no solutions ,1 868,11184909707.0,IssuesEvent,2019-12-31 20:59:55,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Unexpected crash in compiler when late-bound AddressOf is assigned to an object,Area-Compilers Bug Language-VB Tenet-Reliability,"Compile the following library: ``` Option Strict Off Class Class1 Public Sub M(x As Object) Dim y = AddressOf x.Method'BIND:""AddressOf x.Method"" End Sub Public Sub M2(x As Boolean?) End Sub End Class ``` Observed: compiler crashes. Expected (from native compiler): ``` (5) : error BC30581: 'AddressOf' expression cannot be converted to 'Object' because 'Object' is not a delegate type. Dim y = AddressOf x.Method'BIND:""AddressOf x.Method"" ~~~~~~~~~~~~~~~~~~ ``` The scenario is taken from Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.IOperationTests.ParameterReference_LateAddressOfOperator unit-test. The unit test will be temporarily disabled in dotnet/features/UsedAssemblyReferences branch because the crash blocks a feature test hook. ",True,"Unexpected crash in compiler when late-bound AddressOf is assigned to an object - Compile the following library: ``` Option Strict Off Class Class1 Public Sub M(x As Object) Dim y = AddressOf x.Method'BIND:""AddressOf x.Method"" End Sub Public Sub M2(x As Boolean?) End Sub End Class ``` Observed: compiler crashes. Expected (from native compiler): ``` (5) : error BC30581: 'AddressOf' expression cannot be converted to 'Object' because 'Object' is not a delegate type. Dim y = AddressOf x.Method'BIND:""AddressOf x.Method"" ~~~~~~~~~~~~~~~~~~ ``` The scenario is taken from Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.IOperationTests.ParameterReference_LateAddressOfOperator unit-test. The unit test will be temporarily disabled in dotnet/features/UsedAssemblyReferences branch because the crash blocks a feature test hook. ",1,unexpected crash in compiler when late bound addressof is assigned to an object compile the following library option strict off class public sub m x as object dim y addressof x method bind addressof x method end sub public sub x as boolean end sub end class observed compiler crashes expected from native compiler error addressof expression cannot be converted to object because object is not a delegate type dim y addressof x method bind addressof x method the scenario is taken from microsoft codeanalysis visualbasic unittests semantics ioperationtests parameterreference lateaddressofoperator unit test the unit test will be temporarily disabled in dotnet features usedassemblyreferences branch because the crash blocks a feature test hook ,1 985,11954572720.0,IssuesEvent,2020-04-04 00:08:46,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS source editing crash when trying to add base class to partial class statement,Area-Compilers Bug New Language Feature - Nullable Reference Types Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/889133/vs-source-editing-crash-when-trying-to-add-base-cl.html)._ --- VS crash occurs when the colon is entered to define the base class. VS restarts The crash recorder hangs during the crash and does not capture the event Here are event log entries from crash. Faulting application name: devenv.exe, version: 16.4.29709.97, time stamp: 0x5e17b005 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0x80131623 Fault offset: 0x0622f6ea Faulting process id: 0x1b5c Faulting application start time: 0x01d5cd765a67b33a Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe Faulting module path: unknown Report Id: 5c7c0081-3ba6-4961-b7f3-1a482e78fbdb Faulting package full name: Faulting package-relative application ID: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__learnFromEqualsMethodArguments|151_1(BoundExpression left, TypeWithState leftType, BoundExpression right, TypeWithState rightType) at Microsoft.CodeAnalysis.CSharp.NullableWalker.LearnFromEqualsMethod(MethodSymbol method, BoundCall node, TypeWithState receiverType, ImmutableArray`1 results) at Microsoft.CodeAnalysis.CSharp.NullableWalker.ReinferMethodAndVisitArguments(BoundCall node, TypeWithState receiverType) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitCall(BoundCall node) at Microsoft.CodeAnalysis.CSharp.BoundCall.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitExpressionWithoutStackGuard(BoundExpression node) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitRvalue(BoundExpression node, Boolean isKnownToBeAnLvalue) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitConversion(BoundConversion node) at Microsoft.CodeAnalysis.CSharp.BoundConversion.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitExpressionWithoutStackGuard(BoundExpression node) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitIfStatement(BoundIfStatement node) at Microsoft.CodeAnalysis.CSharp.BoundIfStatement.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitBlock(BoundBlock node) at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitMethodBodies(BoundBlock blockBody, BoundBlock expressionBody) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node) at Microsoft.CodeAnalysis.CSharp.BoundNonConstructorMethodBody.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.Scan(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Scan(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.Analyze(Boolean& badRegion, Optional`1 initialState) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(NullableWalker walker, Symbol symbol, DiagnosticBag diagnostics, VariableState initialState, Builder snapshotBuilderOpt) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(CSharpCompilation compilation, Symbol symbol, BoundNode node, Binder binder, Conversions conversions, DiagnosticBag diagnostics, Boolean useMethodSignatureParameterTypes, MethodSymbol delegateInvokeMethodOpt, VariableState initialState, Builder analyzedNullabilityMapOpt, Builder snapshotBuilderOpt, ArrayBuilder`1 returnTypesOpt) at Microsoft.CodeAnalysis.CSharp.NullableWalker.AnalyzeAndRewrite(CSharpCompilation compilation, Symbol symbol, BoundNode node, Binder binder, DiagnosticBag diagnostics, Boolean createSnapshots, SnapshotManager& snapshotManager, ImmutableDictionary`2& remappedSymbols) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.RewriteNullableBoundNodesWithSnapshots(BoundNode boundRoot, Binder binder, DiagnosticBag diagnostics, Boolean createSnapshots, SnapshotManager& snapshotManager, ImmutableDictionary`2& remappedSymbols) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.g__bindAndRewrite|130_1(<>c__DisplayClass130_0& ) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.EnsureNullabilityAnalysisPerformedIfNecessary() at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node, CSharpSyntaxNode& bindableNode, BoundNode& lowestBoundNode, BoundNode& highestBoundNode, BoundNode& boundParent) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetSymbolInfoWorker(CSharpSyntaxNode node, SymbolInfoOptions options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetSymbolInfoWorker(CSharpSyntaxNode node, SymbolInfoOptions options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetSymbolInfo(ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetSymbolInfo(SemanticModel semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Classification.Classifiers.NameSyntaxClassifier.ClassifyTypeSyntax(NameSyntax name, SemanticModel semanticModel, ArrayBuilder`1 result, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Classification.Classifiers.NameSyntaxClassifier.AddClassifications(Workspace workspace, SyntaxNode syntax, SemanticModel semanticModel, ArrayBuilder`1 result, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.ClassifyNode(SyntaxNode syntax) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.ProcessNodes() at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.Classify(Workspace workspace, SemanticModel semanticModel, TextSpan textSpan, ArrayBuilder`1 list, Func`2 getNodeClassifiers, Func`2 getTokenClassifiers, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.d__5.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5.MoveNext() at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__learnFromEqualsMethodArguments|151_1(Microsoft.CodeAnalysis.CSharp.BoundExpression, Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithState, Microsoft.CodeAnalysis.CSharp.BoundExpression, Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithState) at Microsoft.CodeAnalysis.CSharp.NullableWalker.LearnFromEqualsMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol, Microsoft.CodeAnalysis.CSharp.BoundCall, Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithState, System.Collections.Immutable.ImmutableArray`1) at Microsoft.CodeAnalysis.CSharp.NullableWalker.ReinferMethodAndVisitArguments(Microsoft.CodeAnalysis.CSharp.BoundCall, Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithState) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitCall(Microsoft.CodeAnalysis.CSharp.BoundCall) at Microsoft.CodeAnalysis.CSharp.BoundCall.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitExpressionWithoutStackGuard(Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32 ByRef, Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitRvalue(Microsoft.CodeAnalysis.CSharp.BoundExpression, Boolean) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitConversion(Microsoft.CodeAnalysis.CSharp.BoundConversion) at Microsoft.CodeAnalysis.CSharp.BoundConversion.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitExpressionWithoutStackGuard(Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32 ByRef, Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitIfStatement(Microsoft.CodeAnalysis.CSharp.BoundIfStatement) at Microsoft.CodeAnalysis.CSharp.BoundIfStatement.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitStatement(Microsoft.CodeAnalysis.CSharp.BoundStatement) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitBlock(Microsoft.CodeAnalysis.CSharp.BoundBlock) at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitMethodBodies(Microsoft.CodeAnalysis.CSharp.BoundBlock, Microsoft.CodeAnalysis.CSharp.BoundBlock) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitNonConstructorMethodBody(Microsoft.CodeAnalysis.CSharp.BoundNonConstructorMethodBody) at Microsoft.CodeAnalysis.CSharp.BoundNonConstructorMethodBody.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Scan(Boolean ByRef) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Scan(Boolean ByRef) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Analyze(Boolean ByRef, Microsoft.CodeAnalysis.Optional`1) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(Microsoft.CodeAnalysis.CSharp.NullableWalker, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.DiagnosticBag, VariableState, Builder) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(Microsoft.CodeAnalysis.CSharp.CSharpCompilation, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.BoundNode, Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.CSharp.Conversions, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol, VariableState, Builder>, Builder, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1>) at Microsoft.CodeAnalysis.CSharp.NullableWalker.AnalyzeAndRewrite(Microsoft.CodeAnalysis.CSharp.CSharpCompilation, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.BoundNode, Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, SnapshotManager ByRef, System.Collections.Immutable.ImmutableDictionary`2 ByRef) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.RewriteNullableBoundNodesWithSnapshots(Microsoft.CodeAnalysis.CSharp.BoundNode, Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, SnapshotManager ByRef, System.Collections.Immutable.ImmutableDictionary`2 ByRef) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.g__bindAndRewrite|130_1(<>c__DisplayClass130_0 ByRef) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.EnsureNullabilityAnalysisPerformedIfNecessary() at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode ByRef, Microsoft.CodeAnalysis.CSharp.BoundNode ByRef, Microsoft.CodeAnalysis.CSharp.BoundNode ByRef, Microsoft.CodeAnalysis.CSharp.BoundNode ByRef) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetSymbolInfoWorker(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, SymbolInfoOptions, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetSymbolInfoWorker(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, SymbolInfoOptions, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetSymbolInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetSymbolInfo(Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Classification.Classifiers.NameSyntaxClassifier.ClassifyTypeSyntax(Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Classification.Classifiers.NameSyntaxClassifier.AddClassifications(Microsoft.CodeAnalysis.Workspace, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.ClassifyNode(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.ProcessNodes() at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.Classify(Microsoft.CodeAnalysis.Workspace, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.Text.TextSpan, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Func`2>, System.Func`2>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5, Microsoft.CodeAnalysis.Workspaces, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__5 ByRef) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.AddSemanticClassificationsAsync(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan, System.Func`2>, System.Func`2>, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Classification.AbstractClassificationService+d__2, Microsoft.CodeAnalysis.Workspaces, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__2 ByRef) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.AddSemanticClassificationsAsync(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan, System.Collections.Generic.List`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__2, Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__2 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities.ClassifySpansAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1, Microsoft.CodeAnalysis.Editor.DocumentSnapshotSpan, Microsoft.CodeAnalysis.Classification.IClassificationService, Microsoft.CodeAnalysis.Editor.Shared.Utilities.ClassificationTypeMap) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__0.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__0, Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__0 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities.ProduceTagsAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1, Microsoft.CodeAnalysis.Editor.DocumentSnapshotSpan, Microsoft.CodeAnalysis.Classification.IClassificationService, Microsoft.CodeAnalysis.Editor.Shared.Utilities.ClassificationTypeMap) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationViewTaggerProvider.ProduceTagsAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+d__70[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+d__70[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__70 ByRef) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].RecomputeTagsAsync(System.Object, System.Nullable`1, System.Nullable`1, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableDictionary`2>, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+<>c__DisplayClass63_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Shared.Threading.AsynchronousSerialWorkQueue+<>c__DisplayClass12_0.b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` --- ### Original Comments #### Fiona Niu[MSFT] on 1/19/2020, 00:09 AM:

Thank you for taking the time to log this issue! Could you please provide more information via the Visual Studio Feedback Tool(Help -> Send Feedback -> Report A Problem) so that we can conduct further research? The feedback tool will ensure that we collect the needed information for you without worrying about what to provide (recording, dump file or ETL trace).
Since this issue is now marked as Need More Info, that workflow is enabled in the Feedback Tool:

• Open Visual Studio Feedback tool.
• Click the banner letting you know that you have problems requesting your attention.
• Click this problem from the list
• Click "View their request and respond" from the problem details banner
• Add a comment, in the Attachments/Record: click Start Recording
• When the Steps Recorder tool appears, perform the steps that reproduce the problem.
• When you're done, choose the Stop Record button.
• Wait a few minutes for Visual Studio to collect and package the information that you recorded.
• Submit. You will be able to see the comment on Developer Community. For security reasons, your files come directly to us and don't appear on Developer Community.

For the full instructions, please see: https://docs.microsoft.com/en-us/visualstudio/ide/how-to-report-a-problem-with-visual-studio-2017?view=vs-2017#when-further-information-is-needed-need-more-info . For information about what data is collected, see https://docs.microsoft.com/en-us/visualstudio/ide/developer-community-privacy?view=vs-2017#data-we-collect
Get performance issues fixed quicker, please see https://docs.microsoft.com/en-us/visualstudio/ide/how-to-increase-chances-of-performance-issue-being-fixed?view=vs-2019.

We look forward to hearing from you!

#### Bruce Kohler on 1/19/2020, 11:49 AM: As requestd, atttempting to record problem. #### Fiona Niu[MSFT] on 2/4/2020, 11:47 PM:

Thanks a lot for providing the information. We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Visual Studio Feedback System on 2/20/2020, 05:59 PM: I have detected that for the last 35 days, this issue didn't have much product team activity and a very small amount of new votes or comments. Based on this, its severity, and affected area, it’s my experience that this issue is very unlikely to be fixed. #### Visual Studio Feedback System on 3/27/2020, 09:12 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

--- ### Original Solutions (no solutions)",True,"VS source editing crash when trying to add base class to partial class statement - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/889133/vs-source-editing-crash-when-trying-to-add-base-cl.html)._ --- VS crash occurs when the colon is entered to define the base class. VS restarts The crash recorder hangs during the crash and does not capture the event Here are event log entries from crash. Faulting application name: devenv.exe, version: 16.4.29709.97, time stamp: 0x5e17b005 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0x80131623 Fault offset: 0x0622f6ea Faulting process id: 0x1b5c Faulting application start time: 0x01d5cd765a67b33a Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe Faulting module path: unknown Report Id: 5c7c0081-3ba6-4961-b7f3-1a482e78fbdb Faulting package full name: Faulting package-relative application ID: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__learnFromEqualsMethodArguments|151_1(BoundExpression left, TypeWithState leftType, BoundExpression right, TypeWithState rightType) at Microsoft.CodeAnalysis.CSharp.NullableWalker.LearnFromEqualsMethod(MethodSymbol method, BoundCall node, TypeWithState receiverType, ImmutableArray`1 results) at Microsoft.CodeAnalysis.CSharp.NullableWalker.ReinferMethodAndVisitArguments(BoundCall node, TypeWithState receiverType) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitCall(BoundCall node) at Microsoft.CodeAnalysis.CSharp.BoundCall.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitExpressionWithoutStackGuard(BoundExpression node) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitRvalue(BoundExpression node, Boolean isKnownToBeAnLvalue) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitConversion(BoundConversion node) at Microsoft.CodeAnalysis.CSharp.BoundConversion.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitExpressionWithoutStackGuard(BoundExpression node) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitIfStatement(BoundIfStatement node) at Microsoft.CodeAnalysis.CSharp.BoundIfStatement.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitStatement(BoundStatement statement) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitBlock(BoundBlock node) at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitMethodBodies(BoundBlock blockBody, BoundBlock expressionBody) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node) at Microsoft.CodeAnalysis.CSharp.BoundNonConstructorMethodBody.Accept(BoundTreeVisitor visitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitWithStackGuard(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.VisitAlways(BoundNode node) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(BoundNode node) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.Scan(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Scan(Boolean& badRegion) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1.Analyze(Boolean& badRegion, Optional`1 initialState) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(NullableWalker walker, Symbol symbol, DiagnosticBag diagnostics, VariableState initialState, Builder snapshotBuilderOpt) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(CSharpCompilation compilation, Symbol symbol, BoundNode node, Binder binder, Conversions conversions, DiagnosticBag diagnostics, Boolean useMethodSignatureParameterTypes, MethodSymbol delegateInvokeMethodOpt, VariableState initialState, Builder analyzedNullabilityMapOpt, Builder snapshotBuilderOpt, ArrayBuilder`1 returnTypesOpt) at Microsoft.CodeAnalysis.CSharp.NullableWalker.AnalyzeAndRewrite(CSharpCompilation compilation, Symbol symbol, BoundNode node, Binder binder, DiagnosticBag diagnostics, Boolean createSnapshots, SnapshotManager& snapshotManager, ImmutableDictionary`2& remappedSymbols) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.RewriteNullableBoundNodesWithSnapshots(BoundNode boundRoot, Binder binder, DiagnosticBag diagnostics, Boolean createSnapshots, SnapshotManager& snapshotManager, ImmutableDictionary`2& remappedSymbols) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.g__bindAndRewrite|130_1(<>c__DisplayClass130_0& ) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.EnsureNullabilityAnalysisPerformedIfNecessary() at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node, CSharpSyntaxNode& bindableNode, BoundNode& lowestBoundNode, BoundNode& highestBoundNode, BoundNode& boundParent) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetSymbolInfoWorker(CSharpSyntaxNode node, SymbolInfoOptions options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetSymbolInfoWorker(CSharpSyntaxNode node, SymbolInfoOptions options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetSymbolInfo(ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetSymbolInfo(SemanticModel semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Classification.Classifiers.NameSyntaxClassifier.ClassifyTypeSyntax(NameSyntax name, SemanticModel semanticModel, ArrayBuilder`1 result, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Classification.Classifiers.NameSyntaxClassifier.AddClassifications(Workspace workspace, SyntaxNode syntax, SemanticModel semanticModel, ArrayBuilder`1 result, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.ClassifyNode(SyntaxNode syntax) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.ProcessNodes() at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.Worker.Classify(Workspace workspace, SemanticModel semanticModel, TextSpan textSpan, ArrayBuilder`1 list, Func`2 getNodeClassifiers, Func`2 getTokenClassifiers, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.d__5.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5.MoveNext() at Microsoft.CodeAnalysis.CSharp.NullableWalker.g__learnFromEqualsMethodArguments|151_1(Microsoft.CodeAnalysis.CSharp.BoundExpression, Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithState, Microsoft.CodeAnalysis.CSharp.BoundExpression, Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithState) at Microsoft.CodeAnalysis.CSharp.NullableWalker.LearnFromEqualsMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol, Microsoft.CodeAnalysis.CSharp.BoundCall, Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithState, System.Collections.Immutable.ImmutableArray`1) at Microsoft.CodeAnalysis.CSharp.NullableWalker.ReinferMethodAndVisitArguments(Microsoft.CodeAnalysis.CSharp.BoundCall, Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithState) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitCall(Microsoft.CodeAnalysis.CSharp.BoundCall) at Microsoft.CodeAnalysis.CSharp.BoundCall.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitExpressionWithoutStackGuard(Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32 ByRef, Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitRvalue(Microsoft.CodeAnalysis.CSharp.BoundExpression, Boolean) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitConversion(Microsoft.CodeAnalysis.CSharp.BoundConversion) at Microsoft.CodeAnalysis.CSharp.BoundConversion.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitExpressionWithoutStackGuard(Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32 ByRef, Microsoft.CodeAnalysis.CSharp.BoundExpression) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitIfStatement(Microsoft.CodeAnalysis.CSharp.BoundIfStatement) at Microsoft.CodeAnalysis.CSharp.BoundIfStatement.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitStatement(Microsoft.CodeAnalysis.CSharp.BoundStatement) at Microsoft.CodeAnalysis.CSharp.NullableWalker.VisitBlock(Microsoft.CodeAnalysis.CSharp.BoundBlock) at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitMethodBodies(Microsoft.CodeAnalysis.CSharp.BoundBlock, Microsoft.CodeAnalysis.CSharp.BoundBlock) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitNonConstructorMethodBody(Microsoft.CodeAnalysis.CSharp.BoundNonConstructorMethodBody) at Microsoft.CodeAnalysis.CSharp.BoundNonConstructorMethodBody.Accept(Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitAlways(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Visit(Microsoft.CodeAnalysis.CSharp.BoundNode) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Scan(Boolean ByRef) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Scan(Boolean ByRef) at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`1[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Analyze(Boolean ByRef, Microsoft.CodeAnalysis.Optional`1) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(Microsoft.CodeAnalysis.CSharp.NullableWalker, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.DiagnosticBag, VariableState, Builder) at Microsoft.CodeAnalysis.CSharp.NullableWalker.Analyze(Microsoft.CodeAnalysis.CSharp.CSharpCompilation, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.BoundNode, Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.CSharp.Conversions, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol, VariableState, Builder>, Builder, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1>) at Microsoft.CodeAnalysis.CSharp.NullableWalker.AnalyzeAndRewrite(Microsoft.CodeAnalysis.CSharp.CSharpCompilation, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.BoundNode, Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, SnapshotManager ByRef, System.Collections.Immutable.ImmutableDictionary`2 ByRef) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.RewriteNullableBoundNodesWithSnapshots(Microsoft.CodeAnalysis.CSharp.BoundNode, Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, SnapshotManager ByRef, System.Collections.Immutable.ImmutableDictionary`2 ByRef) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.g__bindAndRewrite|130_1(<>c__DisplayClass130_0 ByRef) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.EnsureNullabilityAnalysisPerformedIfNecessary() at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode ByRef, Microsoft.CodeAnalysis.CSharp.BoundNode ByRef, Microsoft.CodeAnalysis.CSharp.BoundNode ByRef, Microsoft.CodeAnalysis.CSharp.BoundNode ByRef) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetSymbolInfoWorker(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, SymbolInfoOptions, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetSymbolInfoWorker(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, SymbolInfoOptions, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetSymbolInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetSymbolInfo(Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Classification.Classifiers.NameSyntaxClassifier.ClassifyTypeSyntax(Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.Classification.Classifiers.NameSyntaxClassifier.AddClassifications(Microsoft.CodeAnalysis.Workspace, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.ClassifyNode(Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.ProcessNodes() at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+Worker.Classify(Microsoft.CodeAnalysis.Workspace, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.Text.TextSpan, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Func`2>, System.Func`2>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService+d__5, Microsoft.CodeAnalysis.Workspaces, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__5 ByRef) at Microsoft.CodeAnalysis.Classification.AbstractSyntaxClassificationService.AddSemanticClassificationsAsync(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan, System.Func`2>, System.Func`2>, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Classification.AbstractClassificationService+d__2, Microsoft.CodeAnalysis.Workspaces, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__2 ByRef) at Microsoft.CodeAnalysis.Classification.AbstractClassificationService.AddSemanticClassificationsAsync(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan, System.Collections.Generic.List`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__2, Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__2 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities.ClassifySpansAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1, Microsoft.CodeAnalysis.Editor.DocumentSnapshotSpan, Microsoft.CodeAnalysis.Classification.IClassificationService, Microsoft.CodeAnalysis.Editor.Shared.Utilities.ClassificationTypeMap) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__0.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities+d__0, Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__0 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationUtilities.ProduceTagsAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1, Microsoft.CodeAnalysis.Editor.DocumentSnapshotSpan, Microsoft.CodeAnalysis.Classification.IClassificationService, Microsoft.CodeAnalysis.Editor.Shared.Utilities.ClassificationTypeMap) at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SemanticClassificationViewTaggerProvider.ProduceTagsAsync(Microsoft.CodeAnalysis.Editor.Tagging.TaggerContext`1) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+d__70[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+d__70[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.EditorFeatures, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__70 ByRef) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].RecomputeTagsAsync(System.Object, System.Nullable`1, System.Nullable`1, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableDictionary`2>, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Tagging.AbstractAsynchronousTaggerProvider`1+TagSource+<>c__DisplayClass63_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Shared.Threading.AsynchronousSerialWorkQueue+<>c__DisplayClass12_0.b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` --- ### Original Comments #### Fiona Niu[MSFT] on 1/19/2020, 00:09 AM:

Thank you for taking the time to log this issue! Could you please provide more information via the Visual Studio Feedback Tool(Help -> Send Feedback -> Report A Problem) so that we can conduct further research? The feedback tool will ensure that we collect the needed information for you without worrying about what to provide (recording, dump file or ETL trace).
Since this issue is now marked as Need More Info, that workflow is enabled in the Feedback Tool:

• Open Visual Studio Feedback tool.
• Click the banner letting you know that you have problems requesting your attention.
• Click this problem from the list
• Click "View their request and respond" from the problem details banner
• Add a comment, in the Attachments/Record: click Start Recording
• When the Steps Recorder tool appears, perform the steps that reproduce the problem.
• When you're done, choose the Stop Record button.
• Wait a few minutes for Visual Studio to collect and package the information that you recorded.
• Submit. You will be able to see the comment on Developer Community. For security reasons, your files come directly to us and don't appear on Developer Community.

For the full instructions, please see: https://docs.microsoft.com/en-us/visualstudio/ide/how-to-report-a-problem-with-visual-studio-2017?view=vs-2017#when-further-information-is-needed-need-more-info . For information about what data is collected, see https://docs.microsoft.com/en-us/visualstudio/ide/developer-community-privacy?view=vs-2017#data-we-collect
Get performance issues fixed quicker, please see https://docs.microsoft.com/en-us/visualstudio/ide/how-to-increase-chances-of-performance-issue-being-fixed?view=vs-2019.

We look forward to hearing from you!

#### Bruce Kohler on 1/19/2020, 11:49 AM: As requestd, atttempting to record problem. #### Fiona Niu[MSFT] on 2/4/2020, 11:47 PM:

Thanks a lot for providing the information. We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Visual Studio Feedback System on 2/20/2020, 05:59 PM: I have detected that for the last 35 days, this issue didn't have much product team activity and a very small amount of new votes or comments. Based on this, its severity, and affected area, it’s my experience that this issue is very unlikely to be fixed. #### Visual Studio Feedback System on 3/27/2020, 09:12 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

--- ### Original Solutions (no solutions)",1,vs source editing crash when trying to add base class to partial class statement this issue has been moved from vs crash occurs when the colon is entered to define the base class vs restarts the crash recorder hangs during the crash and does not capture the event here are event log entries from crash faulting application name devenv exe version time stamp faulting module name unknown version time stamp exception code fault offset faulting process id faulting application start time faulting application path c program files microsoft visual studio professional ide devenv exe faulting module path unknown report id faulting package full name faulting package relative application id application devenv exe framework version description the application requested process termination through system environment failfast string message message system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis csharp nullablewalker g learnfromequalsmethodarguments boundexpression left typewithstate lefttype boundexpression right typewithstate righttype at microsoft codeanalysis csharp nullablewalker learnfromequalsmethod methodsymbol method boundcall node typewithstate receivertype immutablearray results at microsoft codeanalysis csharp nullablewalker reinfermethodandvisitarguments boundcall node typewithstate receivertype at microsoft codeanalysis csharp nullablewalker visitcall boundcall node at microsoft codeanalysis csharp boundcall accept boundtreevisitor visitor at microsoft codeanalysis csharp nullablewalker visitexpressionwithoutstackguard boundexpression node at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard recursiondepth boundexpression node at microsoft codeanalysis csharp abstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp abstractflowpass visitalways boundnode node at microsoft codeanalysis csharp nullablewalker visit boundnode node at microsoft codeanalysis csharp nullablewalker visitrvalue boundexpression node boolean isknowntobeanlvalue at microsoft codeanalysis csharp nullablewalker visitconversion boundconversion node at microsoft codeanalysis csharp boundconversion accept boundtreevisitor visitor at microsoft codeanalysis csharp nullablewalker visitexpressionwithoutstackguard boundexpression node at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard boundexpression node at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard recursiondepth boundexpression node at microsoft codeanalysis csharp abstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp abstractflowpass visitalways boundnode node at microsoft codeanalysis csharp nullablewalker visit boundnode node at microsoft codeanalysis csharp abstractflowpass visitifstatement boundifstatement node at microsoft codeanalysis csharp boundifstatement accept boundtreevisitor visitor at microsoft codeanalysis csharp abstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp abstractflowpass visitalways boundnode node at microsoft codeanalysis csharp nullablewalker visit boundnode node at microsoft codeanalysis csharp nullablewalker visitstatement boundstatement statement at microsoft codeanalysis csharp nullablewalker visitblock boundblock node at microsoft codeanalysis csharp boundblock accept boundtreevisitor visitor at microsoft codeanalysis csharp abstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp abstractflowpass visitalways boundnode node at microsoft codeanalysis csharp nullablewalker visit boundnode node at microsoft codeanalysis csharp abstractflowpass visitmethodbodies boundblock blockbody boundblock expressionbody at microsoft codeanalysis csharp abstractflowpass visitnonconstructormethodbody boundnonconstructormethodbody node at microsoft codeanalysis csharp boundnonconstructormethodbody accept boundtreevisitor visitor at microsoft codeanalysis csharp abstractflowpass visitwithstackguard boundnode node at microsoft codeanalysis csharp abstractflowpass visitalways boundnode node at microsoft codeanalysis csharp nullablewalker visit boundnode node at microsoft codeanalysis csharp abstractflowpass scan boolean badregion at microsoft codeanalysis csharp nullablewalker scan boolean badregion at microsoft codeanalysis csharp abstractflowpass analyze boolean badregion optional initialstate at microsoft codeanalysis csharp nullablewalker analyze nullablewalker walker symbol symbol diagnosticbag diagnostics variablestate initialstate builder snapshotbuilderopt at microsoft codeanalysis csharp nullablewalker analyze csharpcompilation compilation symbol symbol boundnode node binder binder conversions conversions diagnosticbag diagnostics boolean usemethodsignatureparametertypes methodsymbol delegateinvokemethodopt variablestate initialstate builder analyzednullabilitymapopt builder snapshotbuilderopt arraybuilder returntypesopt at microsoft codeanalysis csharp nullablewalker analyzeandrewrite csharpcompilation compilation symbol symbol boundnode node binder binder diagnosticbag diagnostics boolean createsnapshots snapshotmanager snapshotmanager immutabledictionary remappedsymbols at microsoft codeanalysis csharp methodbodysemanticmodel rewritenullableboundnodeswithsnapshots boundnode boundroot binder binder diagnosticbag diagnostics boolean createsnapshots snapshotmanager snapshotmanager immutabledictionary remappedsymbols at microsoft codeanalysis csharp membersemanticmodel g bindandrewrite c at microsoft codeanalysis csharp membersemanticmodel ensurenullabilityanalysisperformedifnecessary at microsoft codeanalysis csharp membersemanticmodel getboundnodes csharpsyntaxnode node at microsoft codeanalysis csharp membersemanticmodel getlowerboundnode csharpsyntaxnode node at microsoft codeanalysis csharp membersemanticmodel getboundnodes csharpsyntaxnode node csharpsyntaxnode bindablenode boundnode lowestboundnode boundnode highestboundnode boundnode boundparent at microsoft codeanalysis csharp membersemanticmodel getsymbolinfoworker csharpsyntaxnode node symbolinfooptions options cancellationtoken cancellationtoken at microsoft codeanalysis csharp syntaxtreesemanticmodel getsymbolinfoworker csharpsyntaxnode node symbolinfooptions options cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel getsymbolinfo expressionsyntax expression cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpextensions getsymbolinfo semanticmodel semanticmodel expressionsyntax expression cancellationtoken cancellationtoken at microsoft codeanalysis csharp classification classifiers namesyntaxclassifier classifytypesyntax namesyntax name semanticmodel semanticmodel arraybuilder result cancellationtoken cancellationtoken at microsoft codeanalysis csharp classification classifiers namesyntaxclassifier addclassifications workspace workspace syntaxnode syntax semanticmodel semanticmodel arraybuilder result cancellationtoken cancellationtoken at microsoft codeanalysis classification abstractsyntaxclassificationservice worker classifynode syntaxnode syntax at microsoft codeanalysis classification abstractsyntaxclassificationservice worker processnodes at microsoft codeanalysis classification abstractsyntaxclassificationservice worker classify workspace workspace semanticmodel semanticmodel textspan textspan arraybuilder list func getnodeclassifiers func gettokenclassifiers cancellationtoken cancellationtoken at microsoft codeanalysis classification abstractsyntaxclassificationservice d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis classification abstractsyntaxclassificationservice d movenext at microsoft codeanalysis csharp nullablewalker g learnfromequalsmethodarguments microsoft codeanalysis csharp boundexpression microsoft codeanalysis csharp symbols typewithstate microsoft codeanalysis csharp boundexpression microsoft codeanalysis csharp symbols typewithstate at microsoft codeanalysis csharp nullablewalker learnfromequalsmethod microsoft codeanalysis csharp symbols methodsymbol microsoft codeanalysis csharp boundcall microsoft codeanalysis csharp symbols typewithstate system collections immutable immutablearray at microsoft codeanalysis csharp nullablewalker reinfermethodandvisitarguments microsoft codeanalysis csharp boundcall microsoft codeanalysis csharp symbols typewithstate at microsoft codeanalysis csharp nullablewalker visitcall microsoft codeanalysis csharp boundcall at microsoft codeanalysis csharp boundcall accept microsoft codeanalysis csharp boundtreevisitor at microsoft codeanalysis csharp nullablewalker visitexpressionwithoutstackguard microsoft codeanalysis csharp boundexpression at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard byref microsoft codeanalysis csharp boundexpression at microsoft codeanalysis csharp abstractflowpass visitwithstackguard microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp abstractflowpass visitalways microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp nullablewalker visit microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp nullablewalker visitrvalue microsoft codeanalysis csharp boundexpression boolean at microsoft codeanalysis csharp nullablewalker visitconversion microsoft codeanalysis csharp boundconversion at microsoft codeanalysis csharp boundconversion accept microsoft codeanalysis csharp boundtreevisitor at microsoft codeanalysis csharp nullablewalker visitexpressionwithoutstackguard microsoft codeanalysis csharp boundexpression at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard microsoft codeanalysis csharp boundexpression at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard byref microsoft codeanalysis csharp boundexpression at microsoft codeanalysis csharp abstractflowpass visitwithstackguard microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp abstractflowpass visitalways microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp nullablewalker visit microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp abstractflowpass visitifstatement microsoft codeanalysis csharp boundifstatement at microsoft codeanalysis csharp boundifstatement accept microsoft codeanalysis csharp boundtreevisitor at microsoft codeanalysis csharp abstractflowpass visitwithstackguard microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp abstractflowpass visitalways microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp nullablewalker visit microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp nullablewalker visitstatement microsoft codeanalysis csharp boundstatement at microsoft codeanalysis csharp nullablewalker visitblock microsoft codeanalysis csharp boundblock at microsoft codeanalysis csharp boundblock accept microsoft codeanalysis csharp boundtreevisitor at microsoft codeanalysis csharp abstractflowpass visitwithstackguard microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp abstractflowpass visitalways microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp nullablewalker visit microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp abstractflowpass visitmethodbodies microsoft codeanalysis csharp boundblock microsoft codeanalysis csharp boundblock at microsoft codeanalysis csharp abstractflowpass visitnonconstructormethodbody microsoft codeanalysis csharp boundnonconstructormethodbody at microsoft codeanalysis csharp boundnonconstructormethodbody accept microsoft codeanalysis csharp boundtreevisitor at microsoft codeanalysis csharp abstractflowpass visitwithstackguard microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp abstractflowpass visitalways microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp nullablewalker visit microsoft codeanalysis csharp boundnode at microsoft codeanalysis csharp abstractflowpass scan boolean byref at microsoft codeanalysis csharp nullablewalker scan boolean byref at microsoft codeanalysis csharp abstractflowpass analyze boolean byref microsoft codeanalysis optional at microsoft codeanalysis csharp nullablewalker analyze microsoft codeanalysis csharp nullablewalker microsoft codeanalysis csharp symbol microsoft codeanalysis diagnosticbag variablestate builder at microsoft codeanalysis csharp nullablewalker analyze microsoft codeanalysis csharp csharpcompilation microsoft codeanalysis csharp symbol microsoft codeanalysis csharp boundnode microsoft codeanalysis csharp binder microsoft codeanalysis csharp conversions microsoft codeanalysis diagnosticbag boolean microsoft codeanalysis csharp symbols methodsymbol variablestate builder builder microsoft codeanalysis pooledobjects arraybuilder at microsoft codeanalysis csharp nullablewalker analyzeandrewrite microsoft codeanalysis csharp csharpcompilation microsoft codeanalysis csharp symbol microsoft codeanalysis csharp boundnode microsoft codeanalysis csharp binder microsoft codeanalysis diagnosticbag boolean snapshotmanager byref system collections immutable immutabledictionary byref at microsoft codeanalysis csharp methodbodysemanticmodel rewritenullableboundnodeswithsnapshots microsoft codeanalysis csharp boundnode microsoft codeanalysis csharp binder microsoft codeanalysis diagnosticbag boolean snapshotmanager byref system collections immutable immutabledictionary byref at microsoft codeanalysis csharp membersemanticmodel g bindandrewrite c byref at microsoft codeanalysis csharp membersemanticmodel ensurenullabilityanalysisperformedifnecessary at microsoft codeanalysis csharp membersemanticmodel getboundnodes microsoft codeanalysis csharp csharpsyntaxnode at microsoft codeanalysis csharp membersemanticmodel getlowerboundnode microsoft codeanalysis csharp csharpsyntaxnode at microsoft codeanalysis csharp membersemanticmodel getboundnodes microsoft codeanalysis csharp csharpsyntaxnode microsoft codeanalysis csharp csharpsyntaxnode byref microsoft codeanalysis csharp boundnode byref microsoft codeanalysis csharp boundnode byref microsoft codeanalysis csharp boundnode byref at microsoft codeanalysis csharp membersemanticmodel getsymbolinfoworker microsoft codeanalysis csharp csharpsyntaxnode symbolinfooptions system threading cancellationtoken at microsoft codeanalysis csharp syntaxtreesemanticmodel getsymbolinfoworker microsoft codeanalysis csharp csharpsyntaxnode symbolinfooptions system threading cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel getsymbolinfo microsoft codeanalysis csharp syntax expressionsyntax system threading cancellationtoken at microsoft codeanalysis csharp csharpextensions getsymbolinfo microsoft codeanalysis semanticmodel microsoft codeanalysis csharp syntax expressionsyntax system threading cancellationtoken at microsoft codeanalysis csharp classification classifiers namesyntaxclassifier classifytypesyntax microsoft codeanalysis csharp syntax namesyntax microsoft codeanalysis semanticmodel microsoft codeanalysis pooledobjects arraybuilder system threading cancellationtoken at microsoft codeanalysis csharp classification classifiers namesyntaxclassifier addclassifications microsoft codeanalysis workspace microsoft codeanalysis syntaxnode microsoft codeanalysis semanticmodel microsoft codeanalysis pooledobjects arraybuilder system threading cancellationtoken at microsoft codeanalysis classification abstractsyntaxclassificationservice worker classifynode microsoft codeanalysis syntaxnode at microsoft codeanalysis classification abstractsyntaxclassificationservice worker processnodes at microsoft codeanalysis classification abstractsyntaxclassificationservice worker classify microsoft codeanalysis workspace microsoft codeanalysis semanticmodel microsoft codeanalysis text textspan microsoft codeanalysis pooledobjects arraybuilder system func system func system threading cancellationtoken at microsoft codeanalysis classification abstractsyntaxclassificationservice d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis classification abstractsyntaxclassificationservice addsemanticclassificationsasync microsoft codeanalysis document microsoft codeanalysis text textspan system func system func microsoft codeanalysis pooledobjects arraybuilder system threading cancellationtoken at microsoft codeanalysis classification abstractclassificationservice d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis classification abstractclassificationservice addsemanticclassificationsasync microsoft codeanalysis document microsoft codeanalysis text textspan system collections generic list system threading cancellationtoken at microsoft codeanalysis editor implementation classification semanticclassificationutilities d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation classification semanticclassificationutilities classifyspansasync microsoft codeanalysis editor tagging taggercontext microsoft codeanalysis editor documentsnapshotspan microsoft codeanalysis classification iclassificationservice microsoft codeanalysis editor shared utilities classificationtypemap at microsoft codeanalysis editor implementation classification semanticclassificationutilities d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation classification semanticclassificationutilities producetagsasync microsoft codeanalysis editor tagging taggercontext microsoft codeanalysis editor documentsnapshotspan microsoft codeanalysis classification iclassificationservice microsoft codeanalysis editor shared utilities classificationtypemap at microsoft codeanalysis editor implementation classification semanticclassificationviewtaggerprovider producetagsasync microsoft codeanalysis editor tagging taggercontext at microsoft codeanalysis editor tagging abstractasynchronoustaggerprovider tagsource d movenext at system runtime compilerservices asynctaskmethodbuilder start microsoft codeanalysis editorfeatures version culture neutral publickeytoken d byref at microsoft codeanalysis editor tagging abstractasynchronoustaggerprovider tagsource recomputetagsasync system object system nullable system nullable system collections immutable immutablearray system collections immutable immutabledictionary boolean system threading cancellationtoken at microsoft codeanalysis editor tagging abstractasynchronoustaggerprovider tagsource c b system threading cancellationtoken at microsoft codeanalysis editor shared threading asynchronousserialworkqueue c b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback original comments fiona niu on am thank you for taking the time to log this issue could you please provide more information via the visual studio feedback tool help gt send feedback gt report a problem so that we can conduct further research the feedback tool will ensure that we collect the needed information for you without worrying about what to provide recording dump file or etl trace since this issue is now marked as need more info that workflow is enabled in the feedback tool • open visual studio feedback tool • click the banner letting you know that you have problems requesting your attention • click this problem from the list • click quot view their request and respond quot from the problem details banner • add a comment in the attachments record click start recording • when the steps recorder tool appears perform the steps that reproduce the problem • when you re done choose the stop record button • wait a few minutes for visual studio to collect and package the information that you recorded • submit you will be able to see the comment on developer community for security reasons your files come directly to us and don t appear on developer community for the full instructions please see a target blank href for information about what data is collected see a target blank href get performance issues fixed quicker please see a target blank href we look forward to hearing from you bruce kohler on am as requestd atttempting to record problem fiona niu on pm thanks a lot for providing the information we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps visual studio feedback system on pm i have detected that for the last days this issue didn t have much product team activity and a very small amount of new votes or comments based on this its severity and affected area it’s my experience that this issue is very unlikely to be fixed visual studio feedback system on am this issue is currently being investigated our team will get back to you if either more information is needed a workaround is available or the issue is resolved original solutions no solutions ,1 260,5813889424.0,IssuesEvent,2017-05-05 00:33:06,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,InvalidOperationException in Microsoft.CodeAnalysis.Workspaces,Area-IDE Bug Tenet-Reliability,"VS2015 Update 3, v14.0.25420.1 1. Solution with 180 projects. Includes CodeAnalysis on many projects. The project is targeted at .NET 4.0 and previously worked without issue on VS2013 i.e. breaking change in Roslyn DLLs somehow. We are using Visual Studio Installer projects (i.e. compiling a .vdproj file). Probably ~ 120 projects are compiled when compiling this setup project. > Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: devenv.exe Problem Signature 02: 14.0.25420.1 Problem Signature 03: 57685d85 Problem Signature 04: Microsoft.CodeAnalysis.Workspaces Problem Signature 05: 1.3.4.60902 Problem Signature 06: e4ebe076 Problem Signature 07: 278 Problem Signature 08: f Problem Signature 09: System.InvalidOperationException OS Version: 6.1.7601.2.1.0.274.10 Locale ID: 3081 Additional Information 1: 7ab1 Additional Information 2: 7ab131621a761fc79cfaad315b44af76 Additional Information 3: 8e52 Additional Information 4: 8e52f085ac7444f7bef020015eb0b172 I am not able to bundle source code samples due to a) size of solution, b) 3rd party control license dependencies, c) commercial confidence however can run tests/diagnostics as required. ",True,"InvalidOperationException in Microsoft.CodeAnalysis.Workspaces - VS2015 Update 3, v14.0.25420.1 1. Solution with 180 projects. Includes CodeAnalysis on many projects. The project is targeted at .NET 4.0 and previously worked without issue on VS2013 i.e. breaking change in Roslyn DLLs somehow. We are using Visual Studio Installer projects (i.e. compiling a .vdproj file). Probably ~ 120 projects are compiled when compiling this setup project. > Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: devenv.exe Problem Signature 02: 14.0.25420.1 Problem Signature 03: 57685d85 Problem Signature 04: Microsoft.CodeAnalysis.Workspaces Problem Signature 05: 1.3.4.60902 Problem Signature 06: e4ebe076 Problem Signature 07: 278 Problem Signature 08: f Problem Signature 09: System.InvalidOperationException OS Version: 6.1.7601.2.1.0.274.10 Locale ID: 3081 Additional Information 1: 7ab1 Additional Information 2: 7ab131621a761fc79cfaad315b44af76 Additional Information 3: 8e52 Additional Information 4: 8e52f085ac7444f7bef020015eb0b172 I am not able to bundle source code samples due to a) size of solution, b) 3rd party control license dependencies, c) commercial confidence however can run tests/diagnostics as required. ",1,invalidoperationexception in microsoft codeanalysis workspaces update solution with projects includes codeanalysis on many projects the project is targeted at net and previously worked without issue on i e breaking change in roslyn dlls somehow we are using visual studio installer projects i e compiling a vdproj file probably projects are compiled when compiling this setup project problem signature problem event name problem signature devenv exe problem signature problem signature problem signature microsoft codeanalysis workspaces problem signature problem signature problem signature problem signature f problem signature system invalidoperationexception os version locale id additional information additional information additional information additional information i am not able to bundle source code samples due to a size of solution b party control license dependencies c commercial confidence however can run tests diagnostics as required ,1 912,11582167044.0,IssuesEvent,2020-02-22 01:36:41,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"C#: Typing goto case (ValueTuple<,>) in switch statement crashes Visual Studio",Area-Compilers Bug Tenet-Reliability,"**Version Used**: VS2019 16.4.2 .NET Core 3.1 **Steps to Reproduce**: 1. Use the following code ```c# static void Example(object a, object b) { switch ((a, b)) { case (string str, int[] arr) _: break; case (string str, decimal[] arr) _: break; } } ``` 2. Copy/paste ``goto case (string str, decimal[] arr)`` before the first ``break;`` **Expected Behavior**: The goto case statement might not be valid, but Visual Studio should keep running. **Actual Behavior**: VS2019 16.4.2 crashes. **Exception info from Windows event log**: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.InvalidOperationException: This program location is thought to be unreachable. at Microsoft.CodeAnalysis.CSharp.Binder.BindDeconstructionVariable(TypeWithAnnotations declTypeWithAnnotations, SingleVariableDesignationSyntax designation, CSharpSyntaxNode syntax, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationVariablesForErrorRecovery(TypeWithAnnotations declTypeWithAnnotations, VariableDesignationSyntax node, CSharpSyntaxNode syntax, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationExpressionAsError(DeclarationExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindValue(ExpressionSyntax node, DiagnosticBag diagnostics, BindValueKind valueKind) at Microsoft.CodeAnalysis.CSharp.Binder.BindTupleExpression(TupleExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrExpression(ExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.Bind(Binder binder, CSharpSyntaxNode node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.Bind(Binder binder, CSharpSyntaxNode node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetTypeOfTupleLiteral(TupleExpressionSyntax declaratorSyntax) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetDeclaredSymbol(TupleExpressionSyntax declaratorSyntax, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDeclaredSymbol(TupleExpressionSyntax declaratorSyntax, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolCore(SyntaxNode node, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolsCore(SyntaxNode declaration, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState.IsDiagnosticSuppressed(String id, Location location, Func`3 getSemanticModel, SuppressMessageInfo& info) at Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState.ApplySourceSuppressions(Diagnostic diagnostic, Func`3 getSemanticModel, ISymbol symbolOpt) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSource(ImmutableArray`1 diagnostics, Compilation compilation, SuppressMessageAttributeState suppressMessageState, Func`3 getSemanticModel) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSourceOrByAnalyzers(ImmutableArray`1 diagnostics, Compilation compilation) at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(AnalysisScope analysisScope, AnalyzerDriver driver, Compilation compilation, Func`2 getAnalyzerActionCounts, Boolean fullAnalysisResultForAnalyzersInScope) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__64.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__64.MoveNext() at Microsoft.CodeAnalysis.CSharp.Binder.BindDeconstructionVariable(Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations, Microsoft.CodeAnalysis.CSharp.Syntax.SingleVariableDesignationSyntax, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationVariablesForErrorRecovery(Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationExpressionAsError(Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindValue(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, BindValueKind) at Microsoft.CodeAnalysis.CSharp.Binder.BindTupleExpression(Microsoft.CodeAnalysis.CSharp.Syntax.TupleExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.Bind(Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.Bind(Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetTypeOfTupleLiteral(Microsoft.CodeAnalysis.CSharp.Syntax.TupleExpressionSyntax) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetDeclaredSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.TupleExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDeclaredSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.TupleExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolCore(Microsoft.CodeAnalysis.SyntaxNode, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolsCore(Microsoft.CodeAnalysis.SyntaxNode, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState.IsDiagnosticSuppressed(System.String, Microsoft.CodeAnalysis.Location, System.Func`3, Microsoft.CodeAnalysis.Diagnostics.SuppressMessageInfo ByRef) at Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState.ApplySourceSuppressions(Microsoft.CodeAnalysis.Diagnostic, System.Func`3, Microsoft.CodeAnalysis.ISymbol) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSource(System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.Compilation, Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState, System.Func`3) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSourceOrByAnalyzers(System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.Compilation) at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(Microsoft.CodeAnalysis.Diagnostics.AnalysisScope, Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver, Microsoft.CodeAnalysis.Compilation, System.Func`2, Boolean) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__64.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__64, Microsoft.CodeAnalysis, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__64 ByRef) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.ComputeAnalyzerDiagnosticsCoreAsync(Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver, Microsoft.CodeAnalysis.Diagnostics.AsyncQueue`1, Microsoft.CodeAnalysis.Diagnostics.AnalysisScope, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+<>c__DisplayClass57_1+<b__1>d.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+<>c__DisplayClass57_1+<b__1>d, Microsoft.CodeAnalysis, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<b__1>d ByRef) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+<>c__DisplayClass57_1.b__1() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",True,"C#: Typing goto case (ValueTuple<,>) in switch statement crashes Visual Studio - **Version Used**: VS2019 16.4.2 .NET Core 3.1 **Steps to Reproduce**: 1. Use the following code ```c# static void Example(object a, object b) { switch ((a, b)) { case (string str, int[] arr) _: break; case (string str, decimal[] arr) _: break; } } ``` 2. Copy/paste ``goto case (string str, decimal[] arr)`` before the first ``break;`` **Expected Behavior**: The goto case statement might not be valid, but Visual Studio should keep running. **Actual Behavior**: VS2019 16.4.2 crashes. **Exception info from Windows event log**: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.InvalidOperationException: This program location is thought to be unreachable. at Microsoft.CodeAnalysis.CSharp.Binder.BindDeconstructionVariable(TypeWithAnnotations declTypeWithAnnotations, SingleVariableDesignationSyntax designation, CSharpSyntaxNode syntax, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationVariablesForErrorRecovery(TypeWithAnnotations declTypeWithAnnotations, VariableDesignationSyntax node, CSharpSyntaxNode syntax, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationExpressionAsError(DeclarationExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindValue(ExpressionSyntax node, DiagnosticBag diagnostics, BindValueKind valueKind) at Microsoft.CodeAnalysis.CSharp.Binder.BindTupleExpression(TupleExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrExpression(ExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.Bind(Binder binder, CSharpSyntaxNode node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.Bind(Binder binder, CSharpSyntaxNode node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(CSharpSyntaxNode node) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetTypeOfTupleLiteral(TupleExpressionSyntax declaratorSyntax) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetDeclaredSymbol(TupleExpressionSyntax declaratorSyntax, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDeclaredSymbol(TupleExpressionSyntax declaratorSyntax, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolCore(SyntaxNode node, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolsCore(SyntaxNode declaration, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState.IsDiagnosticSuppressed(String id, Location location, Func`3 getSemanticModel, SuppressMessageInfo& info) at Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState.ApplySourceSuppressions(Diagnostic diagnostic, Func`3 getSemanticModel, ISymbol symbolOpt) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSource(ImmutableArray`1 diagnostics, Compilation compilation, SuppressMessageAttributeState suppressMessageState, Func`3 getSemanticModel) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSourceOrByAnalyzers(ImmutableArray`1 diagnostics, Compilation compilation) at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(AnalysisScope analysisScope, AnalyzerDriver driver, Compilation compilation, Func`2 getAnalyzerActionCounts, Boolean fullAnalysisResultForAnalyzersInScope) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__64.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__64.MoveNext() at Microsoft.CodeAnalysis.CSharp.Binder.BindDeconstructionVariable(Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations, Microsoft.CodeAnalysis.CSharp.Syntax.SingleVariableDesignationSyntax, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationVariablesForErrorRecovery(Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Binder.BindDeclarationExpressionAsError(Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindValue(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, BindValueKind) at Microsoft.CodeAnalysis.CSharp.Binder.BindTupleExpression(Microsoft.CodeAnalysis.CSharp.Syntax.TupleExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.Bind(Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.MethodBodySemanticModel.Bind(Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetBoundNodes(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetLowerBoundNode(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetTypeOfTupleLiteral(Microsoft.CodeAnalysis.CSharp.Syntax.TupleExpressionSyntax) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetDeclaredSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.TupleExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDeclaredSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.TupleExpressionSyntax, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolCore(Microsoft.CodeAnalysis.SyntaxNode, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbolsCore(Microsoft.CodeAnalysis.SyntaxNode, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState.IsDiagnosticSuppressed(System.String, Microsoft.CodeAnalysis.Location, System.Func`3, Microsoft.CodeAnalysis.Diagnostics.SuppressMessageInfo ByRef) at Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState.ApplySourceSuppressions(Microsoft.CodeAnalysis.Diagnostic, System.Func`3, Microsoft.CodeAnalysis.ISymbol) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSource(System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.Compilation, Microsoft.CodeAnalysis.Diagnostics.SuppressMessageAttributeState, System.Func`3) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.FilterDiagnosticsSuppressedInSourceOrByAnalyzers(System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.Compilation) at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(Microsoft.CodeAnalysis.Diagnostics.AnalysisScope, Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver, Microsoft.CodeAnalysis.Compilation, System.Func`2, Boolean) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__64.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__64, Microsoft.CodeAnalysis, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__64 ByRef) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.ComputeAnalyzerDiagnosticsCoreAsync(Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver, Microsoft.CodeAnalysis.Diagnostics.AsyncQueue`1, Microsoft.CodeAnalysis.Diagnostics.AnalysisScope, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+<>c__DisplayClass57_1+<b__1>d.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+<>c__DisplayClass57_1+<b__1>d, Microsoft.CodeAnalysis, Version=3.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<b__1>d ByRef) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+<>c__DisplayClass57_1.b__1() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",1,c typing goto case valuetuple in switch statement crashes visual studio version used net core steps to reproduce use the following code c static void example object a object b switch a b case string str int arr break case string str decimal arr break copy paste goto case string str decimal arr before the first break expected behavior the goto case statement might not be valid but visual studio should keep running actual behavior crashes exception info from windows event log application devenv exe framework version description the application requested process termination through system environment failfast string message message system invalidoperationexception this program location is thought to be unreachable at microsoft codeanalysis csharp binder binddeconstructionvariable typewithannotations decltypewithannotations singlevariabledesignationsyntax designation csharpsyntaxnode syntax diagnosticbag diagnostics at microsoft codeanalysis csharp binder binddeclarationvariablesforerrorrecovery typewithannotations decltypewithannotations variabledesignationsyntax node csharpsyntaxnode syntax diagnosticbag diagnostics at microsoft codeanalysis csharp binder binddeclarationexpressionaserror declarationexpressionsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindvalue expressionsyntax node diagnosticbag diagnostics bindvaluekind valuekind at microsoft codeanalysis csharp binder bindtupleexpression tupleexpressionsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindnamespaceortypeorexpression expressionsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp csharpsemanticmodel bind binder binder csharpsyntaxnode node diagnosticbag diagnostics at microsoft codeanalysis csharp methodbodysemanticmodel bind binder binder csharpsyntaxnode node diagnosticbag diagnostics at microsoft codeanalysis csharp membersemanticmodel getboundnodes csharpsyntaxnode node at microsoft codeanalysis csharp membersemanticmodel getlowerboundnode csharpsyntaxnode node at microsoft codeanalysis csharp membersemanticmodel gettypeoftupleliteral tupleexpressionsyntax declaratorsyntax at microsoft codeanalysis csharp membersemanticmodel getdeclaredsymbol tupleexpressionsyntax declaratorsyntax cancellationtoken cancellationtoken at microsoft codeanalysis csharp syntaxtreesemanticmodel getdeclaredsymbol tupleexpressionsyntax declaratorsyntax cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel getdeclaredsymbolcore syntaxnode node cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel getdeclaredsymbolscore syntaxnode declaration cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics suppressmessageattributestate isdiagnosticsuppressed string id location location func getsemanticmodel suppressmessageinfo info at microsoft codeanalysis diagnostics suppressmessageattributestate applysourcesuppressions diagnostic diagnostic func getsemanticmodel isymbol symbolopt at microsoft codeanalysis diagnostics analyzerdriver filterdiagnosticssuppressedinsource immutablearray diagnostics compilation compilation suppressmessageattributestate suppressmessagestate func getsemanticmodel at microsoft codeanalysis diagnostics analyzerdriver filterdiagnosticssuppressedinsourceorbyanalyzers immutablearray diagnostics compilation compilation at microsoft codeanalysis diagnostics analysisresultbuilder applysuppressionsandstoreanalysisresult analysisscope analysisscope analyzerdriver driver compilation compilation func getanalyzeractioncounts boolean fullanalysisresultforanalyzersinscope at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis fatalerror report system exception system action at microsoft codeanalysis fatalerror reportunlesscanceled system exception at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext at microsoft codeanalysis csharp binder binddeconstructionvariable microsoft codeanalysis csharp symbols typewithannotations microsoft codeanalysis csharp syntax singlevariabledesignationsyntax microsoft codeanalysis csharp csharpsyntaxnode microsoft codeanalysis diagnosticbag at microsoft codeanalysis csharp binder binddeclarationvariablesforerrorrecovery microsoft codeanalysis csharp symbols typewithannotations microsoft codeanalysis csharp syntax variabledesignationsyntax microsoft codeanalysis csharp csharpsyntaxnode microsoft codeanalysis diagnosticbag at microsoft codeanalysis csharp binder binddeclarationexpressionaserror microsoft codeanalysis csharp syntax declarationexpressionsyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis csharp binder bindexpressioninternal microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag boolean boolean at microsoft codeanalysis csharp binder bindexpression microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag boolean boolean at microsoft codeanalysis csharp binder bindvalue microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag bindvaluekind at microsoft codeanalysis csharp binder bindtupleexpression microsoft codeanalysis csharp syntax tupleexpressionsyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis csharp binder bindexpressioninternal microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag boolean boolean at microsoft codeanalysis csharp binder bindexpression microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag boolean boolean at microsoft codeanalysis csharp binder bindnamespaceortypeorexpression microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis csharp csharpsemanticmodel bind microsoft codeanalysis csharp binder microsoft codeanalysis csharp csharpsyntaxnode microsoft codeanalysis diagnosticbag at microsoft codeanalysis csharp methodbodysemanticmodel bind microsoft codeanalysis csharp binder microsoft codeanalysis csharp csharpsyntaxnode microsoft codeanalysis diagnosticbag at microsoft codeanalysis csharp membersemanticmodel getboundnodes microsoft codeanalysis csharp csharpsyntaxnode at microsoft codeanalysis csharp membersemanticmodel getlowerboundnode microsoft codeanalysis csharp csharpsyntaxnode at microsoft codeanalysis csharp membersemanticmodel gettypeoftupleliteral microsoft codeanalysis csharp syntax tupleexpressionsyntax at microsoft codeanalysis csharp membersemanticmodel getdeclaredsymbol microsoft codeanalysis csharp syntax tupleexpressionsyntax system threading cancellationtoken at microsoft codeanalysis csharp syntaxtreesemanticmodel getdeclaredsymbol microsoft codeanalysis csharp syntax tupleexpressionsyntax system threading cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel getdeclaredsymbolcore microsoft codeanalysis syntaxnode system threading cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel getdeclaredsymbolscore microsoft codeanalysis syntaxnode system threading cancellationtoken at microsoft codeanalysis diagnostics suppressmessageattributestate isdiagnosticsuppressed system string microsoft codeanalysis location system func microsoft codeanalysis diagnostics suppressmessageinfo byref at microsoft codeanalysis diagnostics suppressmessageattributestate applysourcesuppressions microsoft codeanalysis diagnostic system func microsoft codeanalysis isymbol at microsoft codeanalysis diagnostics analyzerdriver filterdiagnosticssuppressedinsource system collections immutable immutablearray microsoft codeanalysis compilation microsoft codeanalysis diagnostics suppressmessageattributestate system func at microsoft codeanalysis diagnostics analyzerdriver filterdiagnosticssuppressedinsourceorbyanalyzers system collections immutable immutablearray microsoft codeanalysis compilation at microsoft codeanalysis diagnostics analysisresultbuilder applysuppressionsandstoreanalysisresult microsoft codeanalysis diagnostics analysisscope microsoft codeanalysis diagnostics analyzerdriver microsoft codeanalysis compilation system func boolean at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis diagnostics compilationwithanalyzers computeanalyzerdiagnosticscoreasync microsoft codeanalysis diagnostics analyzerdriver microsoft codeanalysis diagnostics asyncqueue microsoft codeanalysis diagnostics analysisscope system threading cancellationtoken at microsoft codeanalysis diagnostics compilationwithanalyzers c b d movenext at system runtime compilerservices asynctaskmethodbuilder start b d byref at microsoft codeanalysis diagnostics compilationwithanalyzers c b at system threading tasks task innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback ,1 2375,24988352405.0,IssuesEvent,2022-11-02 16:39:39,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Assertion failure in RemoveUnusedMembers.AbstractRemoveUnusedMembersDiagnosticAnalyzer`2,Bug help wanted Area-IDE Tenet-Reliability,"``` --------------------------- Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue --------------------------- at Microsoft.CodeAnalysis.RemoveUnusedMembers.AbstractRemoveUnusedMembersDiagnosticAnalyzer`2.CompilationAnalyzer.IsCandidateSymbol(ISymbol memberSymbol) in C:\R5\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs:line 593 at Microsoft.CodeAnalysis.RemoveUnusedMembers.AbstractRemoveUnusedMembersDiagnosticAnalyzer`2.CompilationAnalyzer.GetCandidateSymbolsReferencedInDocComments(INamedTypeSymbol namedTypeSymbol, Compilation compilation, CancellationToken cancellationToken) in C:\R5\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs:line 523 at Microsoft.CodeAnalysis.RemoveUnusedMembers.AbstractRemoveUnusedMembersDiagnosticAnalyzer`2.CompilationAnalyzer.OnSymbolEnd(SymbolAnalysisContext symbolEndContext, Boolean hasUnsupportedOperation) in C:\R5\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs:line 414 at Microsoft.CodeAnalysis.RemoveUnusedMembers.Ab...... ``` Dumps: `\\mlangfs1\public\tomat\Bugs\diagassert`",True,"Assertion failure in RemoveUnusedMembers.AbstractRemoveUnusedMembersDiagnosticAnalyzer`2 - ``` --------------------------- Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue --------------------------- at Microsoft.CodeAnalysis.RemoveUnusedMembers.AbstractRemoveUnusedMembersDiagnosticAnalyzer`2.CompilationAnalyzer.IsCandidateSymbol(ISymbol memberSymbol) in C:\R5\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs:line 593 at Microsoft.CodeAnalysis.RemoveUnusedMembers.AbstractRemoveUnusedMembersDiagnosticAnalyzer`2.CompilationAnalyzer.GetCandidateSymbolsReferencedInDocComments(INamedTypeSymbol namedTypeSymbol, Compilation compilation, CancellationToken cancellationToken) in C:\R5\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs:line 523 at Microsoft.CodeAnalysis.RemoveUnusedMembers.AbstractRemoveUnusedMembersDiagnosticAnalyzer`2.CompilationAnalyzer.OnSymbolEnd(SymbolAnalysisContext symbolEndContext, Boolean hasUnsupportedOperation) in C:\R5\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs:line 414 at Microsoft.CodeAnalysis.RemoveUnusedMembers.Ab...... ``` Dumps: `\\mlangfs1\public\tomat\Bugs\diagassert`",1,assertion failure in removeunusedmembers abstractremoveunusedmembersdiagnosticanalyzer assertion failed abort quit retry debug ignore continue at microsoft codeanalysis removeunusedmembers abstractremoveunusedmembersdiagnosticanalyzer compilationanalyzer iscandidatesymbol isymbol membersymbol in c src analyzers core analyzers removeunusedmembers abstractremoveunusedmembersdiagnosticanalyzer cs line at microsoft codeanalysis removeunusedmembers abstractremoveunusedmembersdiagnosticanalyzer compilationanalyzer getcandidatesymbolsreferencedindoccomments inamedtypesymbol namedtypesymbol compilation compilation cancellationtoken cancellationtoken in c src analyzers core analyzers removeunusedmembers abstractremoveunusedmembersdiagnosticanalyzer cs line at microsoft codeanalysis removeunusedmembers abstractremoveunusedmembersdiagnosticanalyzer compilationanalyzer onsymbolend symbolanalysiscontext symbolendcontext boolean hasunsupportedoperation in c src analyzers core analyzers removeunusedmembers abstractremoveunusedmembersdiagnosticanalyzer cs line at microsoft codeanalysis removeunusedmembers ab dumps public tomat bugs diagassert ,1 1643,18007271768.0,IssuesEvent,2021-09-16 02:24:38,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"error MSB6006: ""csc.exe"" exited with code -2146232797 on a complex switch expression",Bug Area-Compilers Tenet-Reliability New Language Feature - Pattern Matching,"**Version Used**: Visual Studio 16.7.5 **Steps to Reproduce**: Try compiling the following code snippet (I'm using the default .NET Core Console App in VS). The issue seems to have something to do with the complexity of the `switch` expression and amount of cases and usage of the `.Any`, but I cannot figure it out. ```csharp using System; using System.Linq; namespace Sample { internal class Row { public string Message { get; set; } } internal class Program { private static void Main() { Console.WriteLine(ProcessRow(new Row())); } private static string ProcessRow(Row row) { if (row == null) throw new ArgumentNullException(nameof(row)); return row switch { { Message: ""stringA"" } => ""stringB"", var r when new[] { ""stringC"", ""stringD"" }.Any(x => r.Message.Contains(x)) => ""stringE"", { Message: ""stringF"" } => ""stringG"", _ => ""stringH"", }; } } } ``` **Expected Behavior**: It either compiles (it looks valid to me) or gives me a reasonable error I can work with (if it's not actually valid code for some reason). **Actual Behavior**: It takes a while, and then finishes with: ``` MSB6006 ""csc.exe"" exited with code -2146232797. ``` I also tried it on [SharpLab](https://sharplab.io/) and it was giving me this stack trace (not sure if it's actually related): ``` System.InvalidOperationException: Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.SmallDictionary`2.HandleInsert(AvlNode node, AvlNode parent, K key, V value, Boolean add) in /_/src/Compilers/Core/Portable/Collections/SmallDictionary.cs:line 461 at Microsoft.CodeAnalysis.SmallDictionary`2.Insert(Int32 hashCode, K key, V value, Boolean add) in /_/src/Compilers/Core/Portable/Collections/SmallDictionary.cs:line 310 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.DeclareLocals[TSymbol](Scope scope, ImmutableArray`1 locals, Boolean declareAsFree) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 780 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitNestedFunction(MethodSymbol functionSymbol, BoundBlock body) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 582 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitLambda(BoundLambda node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 430 at Microsoft.CodeAnalysis.CSharp.BoundLambda.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 7002 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 88 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 218 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitConversion(BoundConversion node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9014 at Microsoft.CodeAnalysis.CSharp.BoundConversion.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2513 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 88 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 218 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList[T](ImmutableArray`1 list) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 22 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitCall(BoundCall node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9408 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitCall(BoundCall node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 442 at Microsoft.CodeAnalysis.CSharp.BoundCall.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 5694 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 88 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 238 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 218 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitConditionalGoto(BoundConditionalGoto node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 521 at Microsoft.CodeAnalysis.CSharp.BoundConditionalGoto.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 4434 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitSequencePointWithSpan(BoundSequencePointWithSpan node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9040 at Microsoft.CodeAnalysis.CSharp.BoundSequencePointWithSpan.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2724 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList[T](ImmutableArray`1 list) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 22 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitScope(BoundScope node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9052 at Microsoft.CodeAnalysis.CSharp.BoundScope.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2891 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList[T](ImmutableArray`1 list) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 22 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitBlock(BoundBlock node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 404 at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2862 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitSequencePoint(BoundSequencePoint node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9035 at Microsoft.CodeAnalysis.CSharp.BoundSequencePoint.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2696 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList[T](ImmutableArray`1 list) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 22 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitBlock(BoundBlock node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 404 at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2862 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.Build() in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 379 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.Build(BoundNode node, MethodSymbol topLevelMethod, HashSet`1 methodsConvertedToDelegates, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 365 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.Analyze(BoundNode node, MethodSymbol method, Int32 topLevelMethodOrdinal, MethodSymbol substitutedSourceMethod, VariableSlotAllocator slotAllocatorOpt, TypeCompilationState compilationState, ArrayBuilder`1 closureDebugInfo, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.cs:line 77 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Rewrite(BoundStatement loweredBody, NamedTypeSymbol thisType, ParameterSymbol thisParameter, MethodSymbol method, Int32 methodOrdinal, MethodSymbol substitutedSourceMethod, ArrayBuilder`1 lambdaDebugInfoBuilder, ArrayBuilder`1 closureDebugInfoBuilder, VariableSlotAllocator slotAllocatorOpt, TypeCompilationState compilationState, DiagnosticBag diagnostics, HashSet`1 assignLocals) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.cs:line 240 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.LowerBodyOrInitializer(MethodSymbol method, Int32 methodOrdinal, BoundStatement body, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState, Boolean instrumentForDynamicAnalysis, DebugDocumentProvider debugDocumentProvider, ImmutableArray`1& dynamicAnalysisSpans, DiagnosticBag diagnostics, VariableSlotAllocator& lazyVariableSlotAllocator, ArrayBuilder`1 lambdaDebugInfoBuilder, ArrayBuilder`1 closureDebugInfoBuilder, StateMachineTypeSymbol& stateMachineTypeOpt) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 1400 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 886 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 508 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 404 at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in /_/src/Compilers/Core/Portable/InternalUtilities/UICultureUtilities.cs:line 141 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 313 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 205 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2937 at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/Compilation/Compilation.cs:line 2561 at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, Stream metadataPEStream, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/Compilation/Compilation.cs:line 2517 at SharpLab.Server.Compilation.Compiler.TryCompileToStreamAsync(MemoryStream assemblyStream, MemoryStream symbolStream, IWorkSession session, IList`1 diagnostics, CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-master\sharplab\source\Server\Compilation\Compiler.cs:line 31 at SharpLab.Server.MirrorSharp.SlowUpdate.ProcessAsync(IWorkSession session, IList`1 diagnostics, CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-master\sharplab\source\Server\MirrorSharp\SlowUpdate.cs:line 110 at MirrorSharp.Internal.Handlers.SlowUpdateHandler.ExecuteAsync(AsyncData data, WorkSession session, ICommandResultSender sender, CancellationToken cancellationToken) at MirrorSharp.Internal.Connection.ReceiveAndProcessInternalAsync(CancellationToken cancellationToken) at MirrorSharp.Internal.Connection.ReceiveAndProcessAsync(CancellationToken cancellationToken) ``` Might be somehow related to #40251 or #48259. ",True,"error MSB6006: ""csc.exe"" exited with code -2146232797 on a complex switch expression - **Version Used**: Visual Studio 16.7.5 **Steps to Reproduce**: Try compiling the following code snippet (I'm using the default .NET Core Console App in VS). The issue seems to have something to do with the complexity of the `switch` expression and amount of cases and usage of the `.Any`, but I cannot figure it out. ```csharp using System; using System.Linq; namespace Sample { internal class Row { public string Message { get; set; } } internal class Program { private static void Main() { Console.WriteLine(ProcessRow(new Row())); } private static string ProcessRow(Row row) { if (row == null) throw new ArgumentNullException(nameof(row)); return row switch { { Message: ""stringA"" } => ""stringB"", var r when new[] { ""stringC"", ""stringD"" }.Any(x => r.Message.Contains(x)) => ""stringE"", { Message: ""stringF"" } => ""stringG"", _ => ""stringH"", }; } } } ``` **Expected Behavior**: It either compiles (it looks valid to me) or gives me a reasonable error I can work with (if it's not actually valid code for some reason). **Actual Behavior**: It takes a while, and then finishes with: ``` MSB6006 ""csc.exe"" exited with code -2146232797. ``` I also tried it on [SharpLab](https://sharplab.io/) and it was giving me this stack trace (not sure if it's actually related): ``` System.InvalidOperationException: Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.SmallDictionary`2.HandleInsert(AvlNode node, AvlNode parent, K key, V value, Boolean add) in /_/src/Compilers/Core/Portable/Collections/SmallDictionary.cs:line 461 at Microsoft.CodeAnalysis.SmallDictionary`2.Insert(Int32 hashCode, K key, V value, Boolean add) in /_/src/Compilers/Core/Portable/Collections/SmallDictionary.cs:line 310 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.DeclareLocals[TSymbol](Scope scope, ImmutableArray`1 locals, Boolean declareAsFree) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 780 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitNestedFunction(MethodSymbol functionSymbol, BoundBlock body) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 582 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitLambda(BoundLambda node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 430 at Microsoft.CodeAnalysis.CSharp.BoundLambda.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 7002 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 88 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 218 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitConversion(BoundConversion node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9014 at Microsoft.CodeAnalysis.CSharp.BoundConversion.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2513 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 88 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 218 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList[T](ImmutableArray`1 list) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 22 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitCall(BoundCall node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9408 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitCall(BoundCall node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 442 at Microsoft.CodeAnalysis.CSharp.BoundCall.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 5694 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 88 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 238 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 218 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitConditionalGoto(BoundConditionalGoto node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 521 at Microsoft.CodeAnalysis.CSharp.BoundConditionalGoto.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 4434 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitSequencePointWithSpan(BoundSequencePointWithSpan node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9040 at Microsoft.CodeAnalysis.CSharp.BoundSequencePointWithSpan.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2724 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList[T](ImmutableArray`1 list) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 22 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitScope(BoundScope node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9052 at Microsoft.CodeAnalysis.CSharp.BoundScope.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2891 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList[T](ImmutableArray`1 list) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 22 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitBlock(BoundBlock node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 404 at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2862 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitSequencePoint(BoundSequencePoint node) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 9035 at Microsoft.CodeAnalysis.CSharp.BoundSequencePoint.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2696 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList[T](ImmutableArray`1 list) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 22 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.VisitBlock(BoundBlock node) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 404 at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 2862 at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeWalker.cs:line 78 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.Build() in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 379 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.ScopeTreeBuilder.Build(BoundNode node, MethodSymbol topLevelMethod, HashSet`1 methodsConvertedToDelegates, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.Tree.cs:line 365 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Analysis.Analyze(BoundNode node, MethodSymbol method, Int32 topLevelMethodOrdinal, MethodSymbol substitutedSourceMethod, VariableSlotAllocator slotAllocatorOpt, TypeCompilationState compilationState, ArrayBuilder`1 closureDebugInfo, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.Analysis.cs:line 77 at Microsoft.CodeAnalysis.CSharp.ClosureConversion.Rewrite(BoundStatement loweredBody, NamedTypeSymbol thisType, ParameterSymbol thisParameter, MethodSymbol method, Int32 methodOrdinal, MethodSymbol substitutedSourceMethod, ArrayBuilder`1 lambdaDebugInfoBuilder, ArrayBuilder`1 closureDebugInfoBuilder, VariableSlotAllocator slotAllocatorOpt, TypeCompilationState compilationState, DiagnosticBag diagnostics, HashSet`1 assignLocals) in /_/src/Compilers/CSharp/Portable/Lowering/ClosureConversion/ClosureConversion.cs:line 240 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.LowerBodyOrInitializer(MethodSymbol method, Int32 methodOrdinal, BoundStatement body, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState, Boolean instrumentForDynamicAnalysis, DebugDocumentProvider debugDocumentProvider, ImmutableArray`1& dynamicAnalysisSpans, DiagnosticBag diagnostics, VariableSlotAllocator& lazyVariableSlotAllocator, ArrayBuilder`1 lambdaDebugInfoBuilder, ArrayBuilder`1 closureDebugInfoBuilder, StateMachineTypeSymbol& stateMachineTypeOpt) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 1400 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 886 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 508 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 404 at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in /_/src/Compilers/Core/Portable/InternalUtilities/UICultureUtilities.cs:line 141 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 313 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 205 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2937 at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/Compilation/Compilation.cs:line 2561 at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, Stream metadataPEStream, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/Compilation/Compilation.cs:line 2517 at SharpLab.Server.Compilation.Compiler.TryCompileToStreamAsync(MemoryStream assemblyStream, MemoryStream symbolStream, IWorkSession session, IList`1 diagnostics, CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-master\sharplab\source\Server\Compilation\Compiler.cs:line 31 at SharpLab.Server.MirrorSharp.SlowUpdate.ProcessAsync(IWorkSession session, IList`1 diagnostics, CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-master\sharplab\source\Server\MirrorSharp\SlowUpdate.cs:line 110 at MirrorSharp.Internal.Handlers.SlowUpdateHandler.ExecuteAsync(AsyncData data, WorkSession session, ICommandResultSender sender, CancellationToken cancellationToken) at MirrorSharp.Internal.Connection.ReceiveAndProcessInternalAsync(CancellationToken cancellationToken) at MirrorSharp.Internal.Connection.ReceiveAndProcessAsync(CancellationToken cancellationToken) ``` Might be somehow related to #40251 or #48259. ",1,error csc exe exited with code on a complex switch expression version used visual studio steps to reproduce try compiling the following code snippet i m using the default net core console app in vs the issue seems to have something to do with the complexity of the switch expression and amount of cases and usage of the any but i cannot figure it out csharp using system using system linq namespace sample internal class row public string message get set internal class program private static void main console writeline processrow new row private static string processrow row row if row null throw new argumentnullexception nameof row return row switch message stringa stringb var r when new stringc stringd any x r message contains x stringe message stringf stringg stringh expected behavior it either compiles it looks valid to me or gives me a reasonable error i can work with if it s not actually valid code for some reason actual behavior it takes a while and then finishes with csc exe exited with code i also tried it on and it was giving me this stack trace not sure if it s actually related system invalidoperationexception operation is not valid due to the current state of the object at microsoft codeanalysis smalldictionary handleinsert avlnode node avlnode parent k key v value boolean add in src compilers core portable collections smalldictionary cs line at microsoft codeanalysis smalldictionary insert hashcode k key v value boolean add in src compilers core portable collections smalldictionary cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder declarelocals scope scope immutablearray locals boolean declareasfree in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder visitnestedfunction methodsymbol functionsymbol boundblock body in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder visitlambda boundlambda node in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp boundlambda accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visitexpressionwithoutstackguard boundexpression node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard recursiondepth boundexpression node in src compilers csharp portable boundtree boundtreevisitors cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitconversion boundconversion node in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundconversion accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visitexpressionwithoutstackguard boundexpression node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard recursiondepth boundexpression node in src compilers csharp portable boundtree boundtreevisitors cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitlist immutablearray list in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitcall boundcall node in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder visitcall boundcall node in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp boundcall accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visitexpressionwithoutstackguard boundexpression node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard boundexpression node in src compilers csharp portable boundtree boundtreevisitors cs line at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard recursiondepth boundexpression node in src compilers csharp portable boundtree boundtreevisitors cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder visitconditionalgoto boundconditionalgoto node in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp boundconditionalgoto accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitsequencepointwithspan boundsequencepointwithspan node in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundsequencepointwithspan accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitlist immutablearray list in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitscope boundscope node in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundscope accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitlist immutablearray list in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder visitblock boundblock node in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp boundblock accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitsequencepoint boundsequencepoint node in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundsequencepoint accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp boundtreewalker visitlist immutablearray list in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder visitblock boundblock node in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp boundblock accept boundtreevisitor visitor in src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreewalkerwithstackguard visit boundnode node in src compilers csharp portable boundtree boundtreewalker cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder build in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp closureconversion analysis scopetreebuilder build boundnode node methodsymbol toplevelmethod hashset methodsconvertedtodelegates diagnosticbag diagnostics in src compilers csharp portable lowering closureconversion closureconversion analysis tree cs line at microsoft codeanalysis csharp closureconversion analysis analyze boundnode node methodsymbol method toplevelmethodordinal methodsymbol substitutedsourcemethod variableslotallocator slotallocatoropt typecompilationstate compilationstate arraybuilder closuredebuginfo diagnosticbag diagnostics in src compilers csharp portable lowering closureconversion closureconversion analysis cs line at microsoft codeanalysis csharp closureconversion rewrite boundstatement loweredbody namedtypesymbol thistype parametersymbol thisparameter methodsymbol method methodordinal methodsymbol substitutedsourcemethod arraybuilder lambdadebuginfobuilder arraybuilder closuredebuginfobuilder variableslotallocator slotallocatoropt typecompilationstate compilationstate diagnosticbag diagnostics hashset assignlocals in src compilers csharp portable lowering closureconversion closureconversion cs line at microsoft codeanalysis csharp methodcompiler lowerbodyorinitializer methodsymbol method methodordinal boundstatement body synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate boolean instrumentfordynamicanalysis debugdocumentprovider debugdocumentprovider immutablearray dynamicanalysisspans diagnosticbag diagnostics variableslotallocator lazyvariableslotallocator arraybuilder lambdadebuginfobuilder arraybuilder closuredebuginfobuilder statemachinetypesymbol statemachinetypeopt in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler c b in src compilers csharp portable compiler methodcompiler cs line at roslyn utilities uicultureutilities c b in src compilers core portable internalutilities uicultureutilities cs line at system threading tasks task innerinvoke at system threading tasks task c b object obj at system threading executioncontext runinternal executioncontext executioncontext contextcallback callback object state end of stack trace from previous location where exception was thrown at system threading executioncontext runinternal executioncontext executioncontext contextcallback callback object state at system threading tasks task executewiththreadlocal task currenttaskslot thread threadpoolthread end of stack trace from previous location where exception was thrown at microsoft codeanalysis csharp methodcompiler waitforworkers in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken in src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp csharpcompilation compilemethods commonpemodulebuilder modulebuilder boolean emittingpdb boolean emitmetadataonly boolean emittestcoveragedata diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken in src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis compilation emit stream pestream stream metadatapestream stream pdbstream stream xmldocumentationstream stream ienumerable manifestresources emitoptions options imethodsymbol debugentrypoint stream sourcelinkstream ienumerable embeddedtexts compilationtestdata testdata cancellationtoken cancellationtoken in src compilers core portable compilation compilation cs line at microsoft codeanalysis compilation emit stream pestream stream pdbstream stream xmldocumentationstream stream ienumerable manifestresources emitoptions options imethodsymbol debugentrypoint stream sourcelinkstream ienumerable embeddedtexts stream metadatapestream cancellationtoken cancellationtoken in src compilers core portable compilation compilation cs line at sharplab server compilation compiler trycompiletostreamasync memorystream assemblystream memorystream symbolstream iworksession session ilist diagnostics cancellationtoken cancellationtoken in d a sharplab sharplab roslyn branches dotnet master sharplab source server compilation compiler cs line at sharplab server mirrorsharp slowupdate processasync iworksession session ilist diagnostics cancellationtoken cancellationtoken in d a sharplab sharplab roslyn branches dotnet master sharplab source server mirrorsharp slowupdate cs line at mirrorsharp internal handlers slowupdatehandler executeasync asyncdata data worksession session icommandresultsender sender cancellationtoken cancellationtoken at mirrorsharp internal connection receiveandprocessinternalasync cancellationtoken cancellationtoken at mirrorsharp internal connection receiveandprocessasync cancellationtoken cancellationtoken might be somehow related to or ,1 617,9011734284.0,IssuesEvent,2019-02-05 15:21:53,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,"RemoveDocumentAction holds onto DocumentState, leading to crashes",Area-IDE Bug Developer Community IDE-Project Tenet-Reliability,"**Version Used**: Visual Studio 2019 Preview 1.1. 🔗 One heap demonstrating this issue can be found in https://devdiv.visualstudio.com/DevDiv/_workitems/edit/758630. **Steps to Reproduce**: Unknown, but likely one of the causes is source control branch switching. A large number of `RemoveDocumentAction` instances are held in memory, each of which points to a `DocumentState`. The state causes tremendous memory overhead leading to slow processing of actions and eventual OutOfMemoryException crashes. **Expected Behavior**: `RemoveDocumentAction` does not contain a reference to a parsed syntax tree. **Actual Behavior**: `RemoveDocumentAction` does contain a reference to a parsed syntax tree.",True,"RemoveDocumentAction holds onto DocumentState, leading to crashes - **Version Used**: Visual Studio 2019 Preview 1.1. 🔗 One heap demonstrating this issue can be found in https://devdiv.visualstudio.com/DevDiv/_workitems/edit/758630. **Steps to Reproduce**: Unknown, but likely one of the causes is source control branch switching. A large number of `RemoveDocumentAction` instances are held in memory, each of which points to a `DocumentState`. The state causes tremendous memory overhead leading to slow processing of actions and eventual OutOfMemoryException crashes. **Expected Behavior**: `RemoveDocumentAction` does not contain a reference to a parsed syntax tree. **Actual Behavior**: `RemoveDocumentAction` does contain a reference to a parsed syntax tree.",1,removedocumentaction holds onto documentstate leading to crashes version used visual studio preview 🔗 one heap demonstrating this issue can be found in steps to reproduce unknown but likely one of the causes is source control branch switching a large number of removedocumentaction instances are held in memory each of which points to a documentstate the state causes tremendous memory overhead leading to slow processing of actions and eventual outofmemoryexception crashes expected behavior removedocumentaction does not contain a reference to a parsed syntax tree actual behavior removedocumentaction does contain a reference to a parsed syntax tree ,1 1087,12975361162.0,IssuesEvent,2020-07-21 16:52:14,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"MSB6006 ""csc.exe"" exited with code -2146232797 - Roslyn can't seem to handle a switch expression in an exception filter",4 - In Review Area-Compilers Bug Tenet-Reliability Urgency-Soon,"**Version Used**: Version 16.7.0 Preview 3.1 Enterprise **Steps to Reproduce**: When you have the following code (as part of a try-catch block) ``` catch (Exception e) when (e.Message switch { AConstant => true, AnotherConstant => true, _ => false }) { throw new SomeException(e.Message); } ``` you will get the abоve mentioned error when you build it, along with dll files possibly missing if you cleaned up your application. **Expected Behavior**: The above code to work as expected. **Actual Behavior**: Project fails to compile with an obscure error message. - MSB6006 ""csc.exe"" exited with code -2146232797",True,"MSB6006 ""csc.exe"" exited with code -2146232797 - Roslyn can't seem to handle a switch expression in an exception filter - **Version Used**: Version 16.7.0 Preview 3.1 Enterprise **Steps to Reproduce**: When you have the following code (as part of a try-catch block) ``` catch (Exception e) when (e.Message switch { AConstant => true, AnotherConstant => true, _ => false }) { throw new SomeException(e.Message); } ``` you will get the abоve mentioned error when you build it, along with dll files possibly missing if you cleaned up your application. **Expected Behavior**: The above code to work as expected. **Actual Behavior**: Project fails to compile with an obscure error message. - MSB6006 ""csc.exe"" exited with code -2146232797",1, csc exe exited with code roslyn can t seem to handle a switch expression in an exception filter version used version preview enterprise steps to reproduce when you have the following code as part of a try catch block catch exception e when e message switch aconstant true anotherconstant true false throw new someexception e message you will get the abоve mentioned error when you build it along with dll files possibly missing if you cleaned up your application expected behavior the above code to work as expected actual behavior project fails to compile with an obscure error message csc exe exited with code ,1 1047,12501249484.0,IssuesEvent,2020-06-02 00:42:06,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,System.NullReferenceException in DecisionDagRewriter,Area-Compilers Bug Tenet-Reliability,"Replace VerifyDiagnostics with VerifyEmitDiagnostics in Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests3.Relational_SignedEnumExhaustive unit-test and run it. ``` Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests3.Relational_SignedEnumExhaustive [FAIL] System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(634,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.g__splitCases|15_0(ImmutableArray`1 cases, BinaryOperatorKind op, ConstantValue value, <>c__DisplayClass15_0& ) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(616,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.PushEqualityTestsIntoTree(SyntaxNode syntax, ValueDispatchNode otherwise, ImmutableArray`1 cases, IValueSetFactory fac) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(587,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.GatherValueDispatchNodes(BoundDecisionDagNode node, HashSet`1 loweredNodes, BoundDagTemp input, IValueSetFactory fac) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(565,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.GatherValueDispatchNodes(BoundDecisionDagNode node, HashSet`1 loweredNodes, BoundDagTemp input, IValueSetFactory fac) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(538,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.GatherValueDispatchNodes(BoundDecisionDagNode node, HashSet`1 loweredNodes, BoundDagTemp input) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(495,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.GenerateSwitchDispatch(BoundDecisionDagNode node, HashSet`1 loweredNodes) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(396,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.LowerDecisionDagCore(BoundDecisionDag decisionDag) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_BasePatternSwitchLocalRewriter.cs(72,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.BaseSwitchLocalRewriter.LowerDecisionDag(BoundDecisionDag decisionDag) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs(62,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.SwitchExpressionLocalRewriter.LowerSwitchExpression(BoundConvertedSwitchExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs(40,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.SwitchExpressionLocalRewriter.Rewrite(LocalRewriter localRewriter, BoundConvertedSwitchExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs(26,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(4398,0): at Microsoft.CodeAnalysis.CSharp.BoundConvertedSwitchExpression.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(149,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(98,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(235,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(214,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(93,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(209,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitExpressionImpl(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(168,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(9841,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriter.VisitReturnStatement(BoundReturnStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs(17,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitReturnStatement(BoundReturnStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(2962,0): at Microsoft.CodeAnalysis.CSharp.BoundReturnStatement.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(194,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitStatement(BoundStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(103,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitPossibleUsingDeclaration(BoundStatement node, ImmutableArray`1 statements, Int32 statementIndex, Boolean& replacedLocalDeclarations) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(61,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitStatementSubList(ArrayBuilder`1 builder, ImmutableArray`1 statements, Int32 startIndex) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(22,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitBlock(BoundBlock node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(2694,0): at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(194,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitStatement(BoundStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(109,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Rewrite(CSharpCompilation compilation, MethodSymbol method, Int32 methodOrdinal, NamedTypeSymbol containingType, BoundStatement statement, TypeCompilationState compilationState, SynthesizedSubmissionFields previousSubmissionFields, Boolean allowOmissionOfConditionalCalls, Boolean instrumentForDynamicAnalysis, ImmutableArray`1& dynamicAnalysisSpans, DebugDocumentProvider debugDocumentProvider, BindingDiagnosticBag diagnostics, Boolean& sawLambdas, Boolean& sawLocalFunctions, Boolean& sawAwaitInExceptionHandler) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(1324,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.LowerBodyOrInitializer(MethodSymbol method, Int32 methodOrdinal, BoundStatement body, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState, Boolean instrumentForDynamicAnalysis, DebugDocumentProvider debugDocumentProvider, ImmutableArray`1& dynamicAnalysisSpans, BindingDiagnosticBag diagnostics, VariableSlotAllocator& lazyVariableSlotAllocator, ArrayBuilder`1 lambdaDebugInfoBuilder, ArrayBuilder`1 closureDebugInfoBuilder, StateMachineTypeSymbol& stateMachineTypeOpt) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(1152,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(522,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(412,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass23_0.b__0() F:\GitHub\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs(141,0): at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(327,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(162,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, Boolean emitMethodBodies, BindingDiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs(2962,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2516,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2460,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, Stream metadataPEStream, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(343,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.GetEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, IEnumerable`1 manifestResources) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(332,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, DiagnosticDescription[] expected) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(349,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) F:\GitHub\roslyn\src\Compilers\CSharp\Test\Semantic\Semantics\PatternMatchingTests3.cs(2968,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests3.Relational_SignedEnumExhaustive() ```",True,"System.NullReferenceException in DecisionDagRewriter - Replace VerifyDiagnostics with VerifyEmitDiagnostics in Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests3.Relational_SignedEnumExhaustive unit-test and run it. ``` Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests3.Relational_SignedEnumExhaustive [FAIL] System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(634,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.g__splitCases|15_0(ImmutableArray`1 cases, BinaryOperatorKind op, ConstantValue value, <>c__DisplayClass15_0& ) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(616,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.PushEqualityTestsIntoTree(SyntaxNode syntax, ValueDispatchNode otherwise, ImmutableArray`1 cases, IValueSetFactory fac) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(587,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.GatherValueDispatchNodes(BoundDecisionDagNode node, HashSet`1 loweredNodes, BoundDagTemp input, IValueSetFactory fac) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(565,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.GatherValueDispatchNodes(BoundDecisionDagNode node, HashSet`1 loweredNodes, BoundDagTemp input, IValueSetFactory fac) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(538,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.GatherValueDispatchNodes(BoundDecisionDagNode node, HashSet`1 loweredNodes, BoundDagTemp input) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(495,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.GenerateSwitchDispatch(BoundDecisionDagNode node, HashSet`1 loweredNodes) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs(396,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.DecisionDagRewriter.LowerDecisionDagCore(BoundDecisionDag decisionDag) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_BasePatternSwitchLocalRewriter.cs(72,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.BaseSwitchLocalRewriter.LowerDecisionDag(BoundDecisionDag decisionDag) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs(62,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.SwitchExpressionLocalRewriter.LowerSwitchExpression(BoundConvertedSwitchExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs(40,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.SwitchExpressionLocalRewriter.Rewrite(LocalRewriter localRewriter, BoundConvertedSwitchExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs(26,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(4398,0): at Microsoft.CodeAnalysis.CSharp.BoundConvertedSwitchExpression.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(149,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(98,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(235,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(214,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(93,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(209,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitExpressionImpl(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(168,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(9841,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriter.VisitReturnStatement(BoundReturnStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs(17,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitReturnStatement(BoundReturnStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(2962,0): at Microsoft.CodeAnalysis.CSharp.BoundReturnStatement.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(194,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitStatement(BoundStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(103,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitPossibleUsingDeclaration(BoundStatement node, ImmutableArray`1 statements, Int32 statementIndex, Boolean& replacedLocalDeclarations) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(61,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitStatementSubList(ArrayBuilder`1 builder, ImmutableArray`1 statements, Int32 startIndex) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(22,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitBlock(BoundBlock node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(2694,0): at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(194,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitStatement(BoundStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(109,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Rewrite(CSharpCompilation compilation, MethodSymbol method, Int32 methodOrdinal, NamedTypeSymbol containingType, BoundStatement statement, TypeCompilationState compilationState, SynthesizedSubmissionFields previousSubmissionFields, Boolean allowOmissionOfConditionalCalls, Boolean instrumentForDynamicAnalysis, ImmutableArray`1& dynamicAnalysisSpans, DebugDocumentProvider debugDocumentProvider, BindingDiagnosticBag diagnostics, Boolean& sawLambdas, Boolean& sawLocalFunctions, Boolean& sawAwaitInExceptionHandler) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(1324,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.LowerBodyOrInitializer(MethodSymbol method, Int32 methodOrdinal, BoundStatement body, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState, Boolean instrumentForDynamicAnalysis, DebugDocumentProvider debugDocumentProvider, ImmutableArray`1& dynamicAnalysisSpans, BindingDiagnosticBag diagnostics, VariableSlotAllocator& lazyVariableSlotAllocator, ArrayBuilder`1 lambdaDebugInfoBuilder, ArrayBuilder`1 closureDebugInfoBuilder, StateMachineTypeSymbol& stateMachineTypeOpt) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(1152,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(522,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(412,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass23_0.b__0() F:\GitHub\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs(141,0): at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(327,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(162,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, Boolean emitMethodBodies, BindingDiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs(2962,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2516,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2460,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, Stream metadataPEStream, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(343,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.GetEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, IEnumerable`1 manifestResources) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(332,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, DiagnosticDescription[] expected) F:\GitHub\roslyn\src\Test\Utilities\Portable\Diagnostics\DiagnosticExtensions.cs(349,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) F:\GitHub\roslyn\src\Compilers\CSharp\Test\Semantic\Semantics\PatternMatchingTests3.cs(2968,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests3.Relational_SignedEnumExhaustive() ```",1,system nullreferenceexception in decisiondagrewriter replace verifydiagnostics with verifyemitdiagnostics in microsoft codeanalysis csharp unittests relational signedenumexhaustive unit test and run it microsoft codeanalysis csharp unittests relational signedenumexhaustive system nullreferenceexception object reference not set to an instance of an object stack trace f github roslyn src compilers csharp portable lowering localrewriter localrewriter decisiondagrewriter cs at microsoft codeanalysis csharp localrewriter decisiondagrewriter g splitcases immutablearray cases binaryoperatorkind op constantvalue value c f github roslyn src compilers csharp portable lowering localrewriter localrewriter decisiondagrewriter cs at microsoft codeanalysis csharp localrewriter decisiondagrewriter pushequalitytestsintotree syntaxnode syntax valuedispatchnode otherwise immutablearray cases ivaluesetfactory fac f github roslyn src compilers csharp portable lowering localrewriter localrewriter decisiondagrewriter cs at microsoft codeanalysis csharp localrewriter decisiondagrewriter gathervaluedispatchnodes bounddecisiondagnode node hashset lowerednodes bounddagtemp input ivaluesetfactory fac f github roslyn src compilers csharp portable lowering localrewriter localrewriter decisiondagrewriter cs at microsoft codeanalysis csharp localrewriter decisiondagrewriter gathervaluedispatchnodes bounddecisiondagnode node hashset lowerednodes bounddagtemp input ivaluesetfactory fac f github roslyn src compilers csharp portable lowering localrewriter localrewriter decisiondagrewriter cs at microsoft codeanalysis csharp localrewriter decisiondagrewriter gathervaluedispatchnodes bounddecisiondagnode node hashset lowerednodes bounddagtemp input f github roslyn src compilers csharp portable lowering localrewriter localrewriter decisiondagrewriter cs at microsoft codeanalysis csharp localrewriter decisiondagrewriter generateswitchdispatch bounddecisiondagnode node hashset lowerednodes f github roslyn src compilers csharp portable lowering localrewriter localrewriter decisiondagrewriter cs at microsoft codeanalysis csharp localrewriter decisiondagrewriter lowerdecisiondagcore bounddecisiondag decisiondag f github roslyn src compilers csharp portable lowering localrewriter localrewriter basepatternswitchlocalrewriter cs at microsoft codeanalysis csharp localrewriter baseswitchlocalrewriter lowerdecisiondag bounddecisiondag decisiondag f github roslyn src compilers csharp portable lowering localrewriter localrewriter switchexpression cs at microsoft codeanalysis csharp localrewriter switchexpressionlocalrewriter lowerswitchexpression boundconvertedswitchexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter switchexpression cs at microsoft codeanalysis csharp localrewriter switchexpressionlocalrewriter rewrite localrewriter localrewriter boundconvertedswitchexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter switchexpression cs at microsoft codeanalysis csharp localrewriter visitconvertedswitchexpression boundconvertedswitchexpression node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundconvertedswitchexpression accept boundtreevisitor visitor f github roslyn src compilers csharp portable boundtree boundtreevisitors cs at microsoft codeanalysis csharp boundtreevisitor visit boundnode node f github roslyn src compilers csharp portable boundtree boundtreerewriter cs at microsoft codeanalysis csharp boundtreerewriterwithstackguard visitexpressionwithoutstackguard boundexpression node f github roslyn src compilers csharp portable boundtree boundtreevisitors cs at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard boundexpression node f github roslyn src compilers csharp portable boundtree boundtreevisitors cs at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard recursiondepth boundexpression node f github roslyn src compilers csharp portable boundtree boundtreerewriter cs at microsoft codeanalysis csharp boundtreerewriterwithstackguard visitexpressionwithstackguard boundexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visitexpressionimpl boundexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visit boundnode node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundtreerewriter visitreturnstatement boundreturnstatement node f github roslyn src compilers csharp portable lowering localrewriter localrewriter returnstatement cs at microsoft codeanalysis csharp localrewriter visitreturnstatement boundreturnstatement node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundreturnstatement accept boundtreevisitor visitor f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visitstatement boundstatement node f github roslyn src compilers csharp portable lowering localrewriter localrewriter block cs at microsoft codeanalysis csharp localrewriter visitpossibleusingdeclaration boundstatement node immutablearray statements statementindex boolean replacedlocaldeclarations f github roslyn src compilers csharp portable lowering localrewriter localrewriter block cs at microsoft codeanalysis csharp localrewriter visitstatementsublist arraybuilder builder immutablearray statements startindex f github roslyn src compilers csharp portable lowering localrewriter localrewriter block cs at microsoft codeanalysis csharp localrewriter visitblock boundblock node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundblock accept boundtreevisitor visitor f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visitstatement boundstatement node f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter rewrite csharpcompilation compilation methodsymbol method methodordinal namedtypesymbol containingtype boundstatement statement typecompilationstate compilationstate synthesizedsubmissionfields previoussubmissionfields boolean allowomissionofconditionalcalls boolean instrumentfordynamicanalysis immutablearray dynamicanalysisspans debugdocumentprovider debugdocumentprovider bindingdiagnosticbag diagnostics boolean sawlambdas boolean sawlocalfunctions boolean sawawaitinexceptionhandler f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler lowerbodyorinitializer methodsymbol method methodordinal boundstatement body synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate boolean instrumentfordynamicanalysis debugdocumentprovider debugdocumentprovider immutablearray dynamicanalysisspans bindingdiagnosticbag diagnostics variableslotallocator lazyvariableslotallocator arraybuilder lambdadebuginfobuilder arraybuilder closuredebuginfobuilder statemachinetypesymbol statemachinetypeopt f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler c b f github roslyn src compilers core portable internalutilities uicultureutilities cs at roslyn utilities uicultureutilities c b at system threading tasks task innerinvoke at system threading tasks task c b object obj at system threading executioncontext runfromthreadpooldispatchloop thread threadpoolthread executioncontext executioncontext contextcallback callback object state end of stack trace from previous location where exception was thrown at system threading executioncontext runfromthreadpooldispatchloop thread threadpoolthread executioncontext executioncontext contextcallback callback object state at system threading tasks task executewiththreadlocal task currenttaskslot thread threadpoolthread end of stack trace from previous location where exception was thrown f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler waitforworkers f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors boolean emitmethodbodies bindingdiagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken f github roslyn src compilers csharp portable compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation compilemethods commonpemodulebuilder modulebuilder boolean emittingpdb boolean emitmetadataonly boolean emittestcoveragedata diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken f github roslyn src compilers core portable compilation compilation cs at microsoft codeanalysis compilation emit stream pestream stream metadatapestream stream pdbstream stream xmldocumentationstream stream ienumerable manifestresources emitoptions options imethodsymbol debugentrypoint stream sourcelinkstream ienumerable embeddedtexts compilationtestdata testdata cancellationtoken cancellationtoken f github roslyn src compilers core portable compilation compilation cs at microsoft codeanalysis compilation emit stream pestream stream pdbstream stream xmldocumentationstream stream ienumerable manifestresources emitoptions options imethodsymbol debugentrypoint stream sourcelinkstream ienumerable embeddedtexts stream metadatapestream cancellationtoken cancellationtoken f github roslyn src test utilities portable diagnostics diagnosticextensions cs at microsoft codeanalysis diagnosticextensions getemitdiagnostics tcompilation c emitoptions options ienumerable manifestresources f github roslyn src test utilities portable diagnostics diagnosticextensions cs at microsoft codeanalysis diagnosticextensions verifyemitdiagnostics tcompilation c emitoptions options diagnosticdescription expected f github roslyn src test utilities portable diagnostics diagnosticextensions cs at microsoft codeanalysis diagnosticextensions verifyemitdiagnostics tcompilation c diagnosticdescription expected f github roslyn src compilers csharp test semantic semantics cs at microsoft codeanalysis csharp unittests relational signedenumexhaustive ,1 453,7614030635.0,IssuesEvent,2018-05-02 00:10:52,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"UpgradeProject crashes IDE with ""Unable to check out the files from source control""",Area-IDE Bug Resolution-Fixed Tenet-Reliability,"I’m getting a crash when using the UpgradeProject fixer. It comes from `void EnsureEditableDocuments(IEnumerable documents)` The input is a single document, which apparently has a null path. I see a few possible interpretations, but I don’t know what’s the proper expectations: 1. We should not be checking this document in the first place 2. We should check this document, but it should have a path 3. It’s ok for the check to fail, but the exception should not blow up the IDE I have a repro project and a minidump if needed. `[0] = (DocumentId, #15fef80d-55d3-442e-91f5-88ec51476497 - C:\Users\jcouv\AppData\Local\Temp\.NETFramework,Version=v4.6.AssemblyAttributes.cs)` The result from QueryEditFiles is` -2147467261`. ``` > Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.EnsureEditableDocuments(System.Collections.Generic.IEnumerable documents) Line 1111 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.EnsureEditableDocuments(Microsoft.CodeAnalysis.DocumentId[] documents) Line 1123 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.ApplyDocumentTextChanged(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText) Line 855 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ApplyChangedDocument(Microsoft.CodeAnalysis.ProjectChanges projectChanges, Microsoft.CodeAnalysis.DocumentId documentId) Line 1335 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ApplyProjectChanges(Microsoft.CodeAnalysis.ProjectChanges projectChanges) Line 1283 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.TryApplyChanges(Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker) Line 1075 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.TryApplyChanges(Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker) Line 169 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.CodeActions.ApplyChangesOperation.TryApply(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 44 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.ProcessOperations(Microsoft.CodeAnalysis.Workspace workspace, System.Collections.Immutable.ImmutableArray operations, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 258 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.ApplyAsync(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Document fromDocument, System.Collections.Immutable.ImmutableArray operations, string title, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 164 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeWorker(System.Func getFromDocument, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 164 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeCore.AnonymousMethod__0() Line 133 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformAction(Microsoft.CodeAnalysis.Extensions.IExtensionManager extensionManager, object extension, System.Action action) Line 22 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeCore(System.Func getFromDocument, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 131 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InnerInvoke(Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 121 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.Invoke.AnonymousMethod__0(Microsoft.CodeAnalysis.Editor.Host.IWaitContext waitContext) Line 107 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.VisualStudioWaitIndicator.Wait(string title, string message, bool allowCancel, bool showProgress, System.Action action) Line 43 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.Invoke(System.Threading.CancellationToken cancellationToken) Line 103 C# [External Code] ``` ",True,"UpgradeProject crashes IDE with ""Unable to check out the files from source control"" - I’m getting a crash when using the UpgradeProject fixer. It comes from `void EnsureEditableDocuments(IEnumerable documents)` The input is a single document, which apparently has a null path. I see a few possible interpretations, but I don’t know what’s the proper expectations: 1. We should not be checking this document in the first place 2. We should check this document, but it should have a path 3. It’s ok for the check to fail, but the exception should not blow up the IDE I have a repro project and a minidump if needed. `[0] = (DocumentId, #15fef80d-55d3-442e-91f5-88ec51476497 - C:\Users\jcouv\AppData\Local\Temp\.NETFramework,Version=v4.6.AssemblyAttributes.cs)` The result from QueryEditFiles is` -2147467261`. ``` > Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.EnsureEditableDocuments(System.Collections.Generic.IEnumerable documents) Line 1111 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.EnsureEditableDocuments(Microsoft.CodeAnalysis.DocumentId[] documents) Line 1123 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.ApplyDocumentTextChanged(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText) Line 855 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ApplyChangedDocument(Microsoft.CodeAnalysis.ProjectChanges projectChanges, Microsoft.CodeAnalysis.DocumentId documentId) Line 1335 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ApplyProjectChanges(Microsoft.CodeAnalysis.ProjectChanges projectChanges) Line 1283 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.TryApplyChanges(Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker) Line 1075 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.TryApplyChanges(Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker) Line 169 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.CodeActions.ApplyChangesOperation.TryApply(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 44 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.ProcessOperations(Microsoft.CodeAnalysis.Workspace workspace, System.Collections.Immutable.ImmutableArray operations, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 258 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.ApplyAsync(Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Document fromDocument, System.Collections.Immutable.ImmutableArray operations, string title, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 164 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeWorker(System.Func getFromDocument, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 164 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeCore.AnonymousMethod__0() Line 133 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformAction(Microsoft.CodeAnalysis.Extensions.IExtensionManager extensionManager, object extension, System.Action action) Line 22 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeCore(System.Func getFromDocument, Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 131 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InnerInvoke(Microsoft.CodeAnalysis.Shared.Utilities.IProgressTracker progressTracker, System.Threading.CancellationToken cancellationToken) Line 121 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.Invoke.AnonymousMethod__0(Microsoft.CodeAnalysis.Editor.Host.IWaitContext waitContext) Line 107 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.VisualStudioWaitIndicator.Wait(string title, string message, bool allowCancel, bool showProgress, System.Action action) Line 43 C# Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.Invoke(System.Threading.CancellationToken cancellationToken) Line 103 C# [External Code] ``` ",1,upgradeproject crashes ide with unable to check out the files from source control i’m getting a crash when using the upgradeproject fixer it comes from void ensureeditabledocuments ienumerable documents the input is a single document which apparently has a null path i see a few possible interpretations but i don’t know what’s the proper expectations we should not be checking this document in the first place we should check this document but it should have a path it’s ok for the check to fail but the exception should not blow up the ide i have a repro project and a minidump if needed documentid c users jcouv appdata local temp netframework version assemblyattributes cs the result from queryeditfiles is microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl ensureeditabledocuments system collections generic ienumerable documents line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl ensureeditabledocuments microsoft codeanalysis documentid documents line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl applydocumenttextchanged microsoft codeanalysis documentid documentid microsoft codeanalysis text sourcetext newtext line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace applychangeddocument microsoft codeanalysis projectchanges projectchanges microsoft codeanalysis documentid documentid line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace applyprojectchanges microsoft codeanalysis projectchanges projectchanges line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace tryapplychanges microsoft codeanalysis solution newsolution microsoft codeanalysis shared utilities iprogresstracker progresstracker line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl tryapplychanges microsoft codeanalysis solution newsolution microsoft codeanalysis shared utilities iprogresstracker progresstracker line c microsoft codeanalysis workspaces dll microsoft codeanalysis codeactions applychangesoperation tryapply microsoft codeanalysis workspace workspace microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation codeactions codeactionedithandlerservice processoperations microsoft codeanalysis workspace workspace system collections immutable immutablearray operations microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation codeactions codeactionedithandlerservice applyasync microsoft codeanalysis workspace workspace microsoft codeanalysis document fromdocument system collections immutable immutablearray operations string title microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation suggestions suggestedaction invokeworker system func getfromdocument microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation suggestions suggestedaction invokecore anonymousmethod line c microsoft codeanalysis workspaces dll microsoft codeanalysis extensions iextensionmanagerextensions performaction microsoft codeanalysis extensions iextensionmanager extensionmanager object extension system action action line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation suggestions suggestedaction invokecore system func getfromdocument microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation suggestions suggestedaction innerinvoke microsoft codeanalysis shared utilities iprogresstracker progresstracker system threading cancellationtoken cancellationtoken line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation suggestions suggestedaction invoke anonymousmethod microsoft codeanalysis editor host iwaitcontext waitcontext line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation utilities visualstudiowaitindicator wait string title string message bool allowcancel bool showprogress system action action line c microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor implementation suggestions suggestedaction invoke system threading cancellationtoken cancellationtoken line c ,1 408,7347632667.0,IssuesEvent,2018-03-08 02:56:38,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Adding a dammit operator can hang Visual Studio,Area-IDE Bug New Language Feature - Nullable Reference Types Tenet-Reliability,"**Version Used**: VS 15.5 Preview 4 with the Nullable Reference Types Preview 11152017 **Steps to Reproduce**: ```csharp using System.Threading; class bar { bar() { var foo = new Timer(callback); // Shows CS8622 for callback } private static void callback(object? _) { } } ``` When you add a `!` after callback in `Timer`'s constructor VS hangs / crashes. ",True,"Adding a dammit operator can hang Visual Studio - **Version Used**: VS 15.5 Preview 4 with the Nullable Reference Types Preview 11152017 **Steps to Reproduce**: ```csharp using System.Threading; class bar { bar() { var foo = new Timer(callback); // Shows CS8622 for callback } private static void callback(object? _) { } } ``` When you add a `!` after callback in `Timer`'s constructor VS hangs / crashes. ",1,adding a dammit operator can hang visual studio version used vs preview with the nullable reference types preview steps to reproduce csharp using system threading class bar bar var foo new timer callback shows for callback private static void callback object when you add a after callback in timer s constructor vs hangs crashes ,1 1153,13423694321.0,IssuesEvent,2020-09-06 00:01:07,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Serialize document states without loading text,Area-IDE Bug Concept-OOP Tenet-Reliability help wanted,"**Version Used**: 16.6 Preview 3 Currently `DocumentStateChecksums` loads the text of documents here: https://github.com/dotnet/roslyn/blob/1b17eae2aaa77c8c5f057dc657fc2a9d93fadb59/src/Workspaces/Core/Portable/Workspace/Solution/StateChecksums.cs#L239 This operation can load a large number of documents into a dictionary which are not all in use at the same time. This operation should instead place a _recoverable_ text in the dictionary, which can be loaded on demand at a point where it is needed. 🔗 This is the root cause of https://developercommunity.visualstudio.com/content/problem/1008598/vs-2019-constantly-crashing-because-of-addition-of.html",True,"Serialize document states without loading text - **Version Used**: 16.6 Preview 3 Currently `DocumentStateChecksums` loads the text of documents here: https://github.com/dotnet/roslyn/blob/1b17eae2aaa77c8c5f057dc657fc2a9d93fadb59/src/Workspaces/Core/Portable/Workspace/Solution/StateChecksums.cs#L239 This operation can load a large number of documents into a dictionary which are not all in use at the same time. This operation should instead place a _recoverable_ text in the dictionary, which can be loaded on demand at a point where it is needed. 🔗 This is the root cause of https://developercommunity.visualstudio.com/content/problem/1008598/vs-2019-constantly-crashing-because-of-addition-of.html",1,serialize document states without loading text version used preview currently documentstatechecksums loads the text of documents here this operation can load a large number of documents into a dictionary which are not all in use at the same time this operation should instead place a recoverable text in the dictionary which can be loaded on demand at a point where it is needed 🔗 this is the root cause of ,1 988,11984425444.0,IssuesEvent,2020-04-07 15:50:37,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Work scheduler should prefer to complete operations requiring temporary storage,Area-IDE Tenet-Reliability,"**Version Used**: 16.6 Preview 2 In several memory investigations, I have observed situations where a large number of temporary storage stream buffers are held by callback actions of tasks that are scheduled but not yet complete. I believe this occurs during the processing of many `ReadTextAsync` operations: https://github.com/dotnet/roslyn/blob/9bdb18aec903d4a628f107f749d31e296770c9a1/src/Workspaces/Core/Portable/TemporaryStorage/TemporaryStorageServiceFactory.cs#L232-L245 It may be possible to reduce virtual memory usage within a 32-bit process by modifying the way operations are scheduled to prefer completing the processing of an already-mapped stream to the creation of a new one. For example, a read delay proportional to the total size of currently mapped views could be used to delay the creation of new views. ",True,"Work scheduler should prefer to complete operations requiring temporary storage - **Version Used**: 16.6 Preview 2 In several memory investigations, I have observed situations where a large number of temporary storage stream buffers are held by callback actions of tasks that are scheduled but not yet complete. I believe this occurs during the processing of many `ReadTextAsync` operations: https://github.com/dotnet/roslyn/blob/9bdb18aec903d4a628f107f749d31e296770c9a1/src/Workspaces/Core/Portable/TemporaryStorage/TemporaryStorageServiceFactory.cs#L232-L245 It may be possible to reduce virtual memory usage within a 32-bit process by modifying the way operations are scheduled to prefer completing the processing of an already-mapped stream to the creation of a new one. For example, a read delay proportional to the total size of currently mapped views could be used to delay the creation of new views. ",1,work scheduler should prefer to complete operations requiring temporary storage version used preview in several memory investigations i have observed situations where a large number of temporary storage stream buffers are held by callback actions of tasks that are scheduled but not yet complete i believe this occurs during the processing of many readtextasync operations it may be possible to reduce virtual memory usage within a bit process by modifying the way operations are scheduled to prefer completing the processing of an already mapped stream to the creation of a new one for example a read delay proportional to the total size of currently mapped views could be used to delay the creation of new views ,1 1061,12695228826.0,IssuesEvent,2020-06-22 08:04:03,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,NRE in GoToDefMouseHandler.SetMouseCursorAndNavigableSpanHelperAsync,Area-IDE Bug Tenet-Reliability,"**Version Used**: Latest VS2019 16.7 dogfood builds **Steps to Reproduce**: Just saw the below NRE in activity log ``` System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.VisualStudio.Language.Intellisense.Implementation.GoToDefMouseHandler.d__33.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Language.Intellisense.Implementation.GoToDefMouseHandler.d__33.MoveNext() --- 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 Microsoft.VisualStudio.Language.Intellisense.Implementation.GoToDefMouseHandler.<>c__DisplayClass32_0.<b__0>d.MoveNext() --- 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 Microsoft.VisualStudio.Threading.JoinableTask.d__68.MoveNext() --- 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 Microsoft.VisualStudio.Threading.JoinableTask`1.d__3.MoveNext() --- 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 Microsoft.VisualStudio.Language.Intellisense.Implementation.GoToDefMouseHandler.d__32.MoveNext() --- 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 Microsoft.VisualStudio.Text.Utilities.GuardedOperations.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) -- ```",True,"NRE in GoToDefMouseHandler.SetMouseCursorAndNavigableSpanHelperAsync - **Version Used**: Latest VS2019 16.7 dogfood builds **Steps to Reproduce**: Just saw the below NRE in activity log ``` System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.VisualStudio.Language.Intellisense.Implementation.GoToDefMouseHandler.d__33.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Language.Intellisense.Implementation.GoToDefMouseHandler.d__33.MoveNext() --- 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 Microsoft.VisualStudio.Language.Intellisense.Implementation.GoToDefMouseHandler.<>c__DisplayClass32_0.<b__0>d.MoveNext() --- 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 Microsoft.VisualStudio.Threading.JoinableTask.d__68.MoveNext() --- 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 Microsoft.VisualStudio.Threading.JoinableTask`1.d__3.MoveNext() --- 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 Microsoft.VisualStudio.Language.Intellisense.Implementation.GoToDefMouseHandler.d__32.MoveNext() --- 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 Microsoft.VisualStudio.Text.Utilities.GuardedOperations.d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) -- ```",1,nre in gotodefmousehandler setmousecursorandnavigablespanhelperasync version used latest dogfood builds steps to reproduce just saw the below nre in activity log system nullreferenceexception object reference not set to an instance of an object at microsoft visualstudio language intellisense implementation gotodefmousehandler d movenext end of stack trace from previous location where exception was thrown at microsoft visualstudio language intellisense implementation gotodefmousehandler d movenext 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 microsoft visualstudio language intellisense implementation gotodefmousehandler c b d movenext 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 microsoft visualstudio threading joinabletask d movenext 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 microsoft visualstudio threading joinabletask d movenext 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 microsoft visualstudio language intellisense implementation gotodefmousehandler d movenext 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 microsoft visualstudio text utilities guardedoperations d movenext end of stack trace from previous location where exception was thrown at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject ,1 315,6558696615.0,IssuesEvent,2017-09-06 22:42:21,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,IDE crashes when editing code that involves stackalloc expressions,Area-Compilers Bug Language-C# New Language Feature - Readonly References Tenet-Reliability,"When I am trying to edit stuff that involves stackalloc I frequently see a crash with the following stack. It seems that semantic model is not robust against broken code when stackalloc is involved. ============== Message: System.InvalidCastException: Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.BoundBadExpression' to type 'Microsoft.CodeAnalysis.CSharp.BoundConversion'. at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetTypeInfoForNode(BoundNode lowestBoundNode, BoundNode highestBoundNode, BoundNode boundNodeForSyntacticParent) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetTypeInfo(ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetTypeInfoFromNode(SyntaxNode node, CancellationToken cancellationToken) ",True,"IDE crashes when editing code that involves stackalloc expressions - When I am trying to edit stuff that involves stackalloc I frequently see a crash with the following stack. It seems that semantic model is not robust against broken code when stackalloc is involved. ============== Message: System.InvalidCastException: Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.BoundBadExpression' to type 'Microsoft.CodeAnalysis.CSharp.BoundConversion'. at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetTypeInfoForNode(BoundNode lowestBoundNode, BoundNode highestBoundNode, BoundNode boundNodeForSyntacticParent) at Microsoft.CodeAnalysis.CSharp.MemberSemanticModel.GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetTypeInfo(ExpressionSyntax expression, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetTypeInfoFromNode(SyntaxNode node, CancellationToken cancellationToken) ",1,ide crashes when editing code that involves stackalloc expressions when i am trying to edit stuff that involves stackalloc i frequently see a crash with the following stack it seems that semantic model is not robust against broken code when stackalloc is involved message system invalidcastexception unable to cast object of type microsoft codeanalysis csharp boundbadexpression to type microsoft codeanalysis csharp boundconversion at microsoft codeanalysis csharp csharpsemanticmodel gettypeinfofornode boundnode lowestboundnode boundnode highestboundnode boundnode boundnodeforsyntacticparent at microsoft codeanalysis csharp membersemanticmodel gettypeinfoworker csharpsyntaxnode node cancellationtoken cancellationtoken at microsoft codeanalysis csharp syntaxtreesemanticmodel gettypeinfoworker csharpsyntaxnode node cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel gettypeinfo expressionsyntax expression cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpsemanticmodel gettypeinfofromnode syntaxnode node cancellationtoken cancellationtoken ,1 2368,24945286452.0,IssuesEvent,2022-10-31 23:12:19,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,crash on VB signature help,Bug Area-IDE Tenet-Reliability IDE-IntelliSense," invoke signature help on /**/ explicitly. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.GetSelectedItem(Model currentModel, SignatureHelpItems items, ISignatureHelpProvider provider, Boolean& userSelected) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__4.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource) at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Int32) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.GetSelectedItem(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpItems, Microsoft.CodeAnalysis.SignatureHelp.ISignatureHelpProvider, Boolean ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=3.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",True,"crash on VB signature help - invoke signature help on /**/ explicitly. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.GetSelectedItem(Model currentModel, SignatureHelpItems items, ISignatureHelpProvider provider, Boolean& userSelected) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.d__4.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource) at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Int32) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.GetSelectedItem(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpItems, Microsoft.CodeAnalysis.SignatureHelp.ISignatureHelpProvider, Boolean ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=3.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task`1) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ```",1,crash on vb signature help invoke signature help on explicitly application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentoutofrangeexception index was out of range must be non negative and less than the size of the collection parameter name index at system throwhelper throwargumentoutofrangeexception exceptionargument argument exceptionresource resource at system collections generic list get item index at microsoft codeanalysis editor implementation intellisense signaturehelp controller session getselecteditem model currentmodel signaturehelpitems items isignaturehelpprovider provider boolean userselected at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system throwhelper throwargumentoutofrangeexception system exceptionargument system exceptionresource at system collections generic list get item at microsoft codeanalysis editor implementation intellisense signaturehelp controller session getselecteditem microsoft codeanalysis editor implementation intellisense signaturehelp model microsoft codeanalysis signaturehelp signaturehelpitems microsoft codeanalysis signaturehelp isignaturehelpprovider boolean byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computemodelinbackgroundasync microsoft codeanalysis editor implementation intellisense signaturehelp model system collections immutable immutablearray microsoft visualstudio text snapshotpoint microsoft codeanalysis editor implementation intellisense disconnectedbuffergraph microsoft codeanalysis signaturehelp signaturehelptriggerinfo system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session c b microsoft codeanalysis editor implementation intellisense signaturehelp model system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense modelcomputation c b system threading tasks task at roslyn utilities taskextensions c b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback ,1 885,11456198622.0,IssuesEvent,2020-02-06 20:42:09,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,System.NullReferenceException in CSharp.Binder.FixMethodGroupWithTypeOrValue,Area-Compilers Bug Language-C# Tenet-Reliability,"``` [WorkItem(718761, ""https://devdiv.visualstudio.com/DevDiv/_workitems/edit/718761"")] [Fact] public void WorkItem718761() { string source = @"" class C1 { C2 C2; void Test() { _ = new System.Action(C2.ReferenceEquals); } } class C2 { } ""; var compilation = CreateCompilation(source); compilation.VerifyDiagnostics(); } ``` Observed: ``` Microsoft.CodeAnalysis.CSharp.UnitTests.ColorColorTests.WorkItem718761 [FAIL] System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: Binder\Binder_Conversions.cs(547,0): at Microsoft.CodeAnalysis.CSharp.Binder.FixMethodGroupWithTypeOrValue(BoundMethodGroup group, Conversion conversion, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(4095,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindDelegateCreationExpression(ObjectCreationExpressionSyntax node, NamedTypeSymbol type, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(3971,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindObjectCreationExpression(ObjectCreationExpressionSyntax node, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(490,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(423,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(230,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindValue(ExpressionSyntax node, DiagnosticBag diagnostics, BindValueKind valueKind) Binder\Binder_Statements.cs(1391,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindAssignment(AssignmentExpressionSyntax node, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(498,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(423,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(230,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindValue(ExpressionSyntax node, DiagnosticBag diagnostics, BindValueKind valueKind) Binder\Binder_Expressions.cs(236,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindRValueWithoutTargetType(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean reportDefaultMissingType) Binder\Binder_Statements.cs(615,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionStatement(CSharpSyntaxNode node, ExpressionSyntax syntax, Boolean allowsAnyExpression, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(608,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionStatement(ExpressionStatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(56,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(1691,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindBlockParts(BlockSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(1679,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(47,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(3239,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode declaration, BlockSyntax blockBody, ArrowExpressionClauseSyntax expressionBody, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(3187,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode syntax, DiagnosticBag diagnostics) Compiler\MethodCompiler.cs(1681,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested, InitialState& forSemanticModel) Compiler\MethodCompiler.cs(985,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) Compiler\MethodCompiler.cs(511,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) Compiler\MethodCompiler.cs(389,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamedType(NamedTypeSymbol symbol, TypeCompilationState arg) Symbols\NamedTypeSymbol.cs(575,0): at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) Compiler\MethodCompiler.cs(368,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) Compiler\MethodCompiler.cs(154,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2436,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2405,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2313,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2307,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) agnostics\DiagnosticExtensions.cs(100,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) ntic\Semantics\ColorColorTests.cs(2170,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.ColorColorTests.WorkItem718761() ```",True,"System.NullReferenceException in CSharp.Binder.FixMethodGroupWithTypeOrValue - ``` [WorkItem(718761, ""https://devdiv.visualstudio.com/DevDiv/_workitems/edit/718761"")] [Fact] public void WorkItem718761() { string source = @"" class C1 { C2 C2; void Test() { _ = new System.Action(C2.ReferenceEquals); } } class C2 { } ""; var compilation = CreateCompilation(source); compilation.VerifyDiagnostics(); } ``` Observed: ``` Microsoft.CodeAnalysis.CSharp.UnitTests.ColorColorTests.WorkItem718761 [FAIL] System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: Binder\Binder_Conversions.cs(547,0): at Microsoft.CodeAnalysis.CSharp.Binder.FixMethodGroupWithTypeOrValue(BoundMethodGroup group, Conversion conversion, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(4095,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindDelegateCreationExpression(ObjectCreationExpressionSyntax node, NamedTypeSymbol type, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(3971,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindObjectCreationExpression(ObjectCreationExpressionSyntax node, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(490,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(423,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(230,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindValue(ExpressionSyntax node, DiagnosticBag diagnostics, BindValueKind valueKind) Binder\Binder_Statements.cs(1391,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindAssignment(AssignmentExpressionSyntax node, DiagnosticBag diagnostics) Binder\Binder_Expressions.cs(498,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(423,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) Binder\Binder_Expressions.cs(230,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindValue(ExpressionSyntax node, DiagnosticBag diagnostics, BindValueKind valueKind) Binder\Binder_Expressions.cs(236,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindRValueWithoutTargetType(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean reportDefaultMissingType) Binder\Binder_Statements.cs(615,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionStatement(CSharpSyntaxNode node, ExpressionSyntax syntax, Boolean allowsAnyExpression, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(608,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionStatement(ExpressionStatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(56,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(1691,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindBlockParts(BlockSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(1679,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(47,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(3239,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode declaration, BlockSyntax blockBody, ArrowExpressionClauseSyntax expressionBody, DiagnosticBag diagnostics) Binder\Binder_Statements.cs(3187,0): at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode syntax, DiagnosticBag diagnostics) Compiler\MethodCompiler.cs(1681,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested, InitialState& forSemanticModel) Compiler\MethodCompiler.cs(985,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) Compiler\MethodCompiler.cs(511,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) Compiler\MethodCompiler.cs(389,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamedType(NamedTypeSymbol symbol, TypeCompilationState arg) Symbols\NamedTypeSymbol.cs(575,0): at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) Compiler\MethodCompiler.cs(368,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) Compiler\MethodCompiler.cs(154,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2436,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(DiagnosticBag diagnostics, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2405,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2313,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) Compilation\CSharpCompilation.cs(2307,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) agnostics\DiagnosticExtensions.cs(100,0): at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) ntic\Semantics\ColorColorTests.cs(2170,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.ColorColorTests.WorkItem718761() ```",1,system nullreferenceexception in csharp binder fixmethodgroupwithtypeorvalue public void string source class void test new system action referenceequals class var compilation createcompilation source compilation verifydiagnostics observed microsoft codeanalysis csharp unittests colorcolortests system nullreferenceexception object reference not set to an instance of an object stack trace binder binder conversions cs at microsoft codeanalysis csharp binder fixmethodgroupwithtypeorvalue boundmethodgroup group conversion conversion diagnosticbag diagnostics binder binder expressions cs at microsoft codeanalysis csharp binder binddelegatecreationexpression objectcreationexpressionsyntax node namedtypesymbol type diagnosticbag diagnostics binder binder expressions cs at microsoft codeanalysis csharp binder bindobjectcreationexpression objectcreationexpressionsyntax node diagnosticbag diagnostics binder binder expressions cs at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed binder binder expressions cs at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed binder binder expressions cs at microsoft codeanalysis csharp binder bindvalue expressionsyntax node diagnosticbag diagnostics bindvaluekind valuekind binder binder statements cs at microsoft codeanalysis csharp binder bindassignment assignmentexpressionsyntax node diagnosticbag diagnostics binder binder expressions cs at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed binder binder expressions cs at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed binder binder expressions cs at microsoft codeanalysis csharp binder bindvalue expressionsyntax node diagnosticbag diagnostics bindvaluekind valuekind binder binder expressions cs at microsoft codeanalysis csharp binder bindrvaluewithouttargettype expressionsyntax node diagnosticbag diagnostics boolean reportdefaultmissingtype binder binder statements cs at microsoft codeanalysis csharp binder bindexpressionstatement csharpsyntaxnode node expressionsyntax syntax boolean allowsanyexpression diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindexpressionstatement expressionstatementsyntax node diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindstatement statementsyntax node diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindblockparts blocksyntax node diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindblock blocksyntax node diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindstatement statementsyntax node diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindmethodbody csharpsyntaxnode declaration blocksyntax blockbody arrowexpressionclausesyntax expressionbody diagnosticbag diagnostics binder binder statements cs at microsoft codeanalysis csharp binder bindmethodbody csharpsyntaxnode syntax diagnosticbag diagnostics compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler bindmethodbody methodsymbol method typecompilationstate compilationstate diagnosticbag diagnostics importchain importchain boolean originalbodynested initialstate forsemanticmodel compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler visitnamedtype namedtypesymbol symbol typecompilationstate arg symbols namedtypesymbol cs at microsoft codeanalysis csharp symbols namedtypesymbol accept csharpsymbolvisitor visitor targument argument compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilenamespace namespacesymbol symbol compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation getdiagnosticsforallmethodbodies diagnosticbag diagnostics cancellationtoken cancellationtoken compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages diagnosticbag diagnostics cancellationtoken cancellationtoken compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages cancellationtoken cancellationtoken compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation getdiagnostics cancellationtoken cancellationtoken agnostics diagnosticextensions cs at microsoft codeanalysis diagnosticextensions verifydiagnostics tcompilation c diagnosticdescription expected ntic semantics colorcolortests cs at microsoft codeanalysis csharp unittests colorcolortests ,1 448,7573968079.0,IssuesEvent,2018-04-23 19:27:01,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Reduce allocation requirements in WriteObjectWorker,4 - In Review Area-Compilers Bug Investigation Required Tenet-Reliability,"The dictionaries used by `WriteObjectWorker` can become large, and occasionally fail when the IDE is under memory pressure. We should identify sets of objects which cannot be multiply-referenced within the object getting serialized, and avoid adding these objects to the map. https://github.com/dotnet/roslyn/blob/878ffad23b8b06cb229c9ab31eada7634a473508/src/Compilers/Core/Portable/Serialization/ObjectWriter.cs#L805 :link: Watson (internal issue for this): https://devdiv.visualstudio.com/DevDiv/_workitems/edit/485537",True,"Reduce allocation requirements in WriteObjectWorker - The dictionaries used by `WriteObjectWorker` can become large, and occasionally fail when the IDE is under memory pressure. We should identify sets of objects which cannot be multiply-referenced within the object getting serialized, and avoid adding these objects to the map. https://github.com/dotnet/roslyn/blob/878ffad23b8b06cb229c9ab31eada7634a473508/src/Compilers/Core/Portable/Serialization/ObjectWriter.cs#L805 :link: Watson (internal issue for this): https://devdiv.visualstudio.com/DevDiv/_workitems/edit/485537",1,reduce allocation requirements in writeobjectworker the dictionaries used by writeobjectworker can become large and occasionally fail when the ide is under memory pressure we should identify sets of objects which cannot be multiply referenced within the object getting serialized and avoid adding these objects to the map link watson internal issue for this ,1 1160,13466907995.0,IssuesEvent,2020-09-10 00:07:56,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Visual Studio crashes,Area-IDE Bug Tenet-Reliability,"**Version Used**: Microsoft Visual Studio Professional 2019 Preview Version 16.8.0 Preview 2.0 **Steps to Reproduce**: 1. Add the attached file to a newly created C# project 2. open the file 3. type { in line 152 just before the existing brace **Expected Behavior**: Brace appears in the editor **Actual Behavior**: Visual Studio crashes",True,"Visual Studio crashes - **Version Used**: Microsoft Visual Studio Professional 2019 Preview Version 16.8.0 Preview 2.0 **Steps to Reproduce**: 1. Add the attached file to a newly created C# project 2. open the file 3. type { in line 152 just before the existing brace **Expected Behavior**: Brace appears in the editor **Actual Behavior**: Visual Studio crashes",1,visual studio crashes version used microsoft visual studio professional preview version preview steps to reproduce add the attached file to a newly created c project open the file type in line just before the existing brace expected behavior brace appears in the editor actual behavior visual studio crashes,1 1046,12501249432.0,IssuesEvent,2020-06-02 00:42:05,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,IDE crashes when using relational pattern on bool constant,4 - In Review Area-Compilers Bug Tenet-Reliability,"**Version Used**: 16.7P1, master (69b3bf5) **Steps to Reproduce**: ```c# class C { void M() { _ = is < true; } } ``` **Expected Behavior**: Compiler errors. **Actual Behavior**: The IDE crashes. ``` System.ArgumentException: relation at Microsoft.CodeAnalysis.CSharp.ValueSetFactory.BoolValueSetFactory.Related(BinaryOperatorKind relation, Boolean value) at Microsoft.CodeAnalysis.CSharp.ValueSetFactory.BoolValueSetFactory.Microsoft.CodeAnalysis.CSharp.IValueSetFactory.Related(BinaryOperatorKind relation, ConstantValue value) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.g__resultForRelation|34_0(BinaryOperatorKind relation, ConstantValue value, <>c__DisplayClass34_0& ) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.SplitValues(ImmutableDictionary`2 values, BoundDagTest test) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.SplitCases(ImmutableArray`1 statesForCases, ImmutableDictionary`2 values, BoundDagTest test, ImmutableArray`1& whenTrue, ImmutableArray`1& whenFalse, ImmutableDictionary`2& whenTrueValues, ImmutableDictionary`2& whenFalseValues, Boolean& foundExplicitNullTest) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.MakeDecisionDag(ImmutableArray`1 casesForRootNode) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.MakeBoundDecisionDag(SyntaxNode syntax, ImmutableArray`1 cases) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.CreateDecisionDagForIsPattern(SyntaxNode syntax, BoundExpression inputExpression, BoundPattern pattern, LabelSymbol whenTrueLabel) at Microsoft.CodeAnalysis.CSharp.Binder.MakeIsPatternExpression(SyntaxNode node, BoundExpression expression, BoundPattern pattern, TypeSymbol boolType, Boolean hasErrors, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindIsPatternExpression(IsPatternExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindAssignment(AssignmentExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionStatement(CSharpSyntaxNode node, ExpressionSyntax syntax, Boolean allowsAnyExpression, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindBlockParts(BlockSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode declaration, BlockSyntax blockBody, ArrowExpressionClauseSyntax expressionBody, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode syntax, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested, InitialState& forSemanticModel) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamedType(NamedTypeSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForMethodBodiesInTree(SyntaxTree tree, Nullable`1 span, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForSyntaxTree(CompilationStage stage, SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Boolean includeEarlierStages, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDiagnostics(Nullable`1 span, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GenerateCompilationEvents(AnalysisScope analysisScope, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__55.MoveNext() ```",True,"IDE crashes when using relational pattern on bool constant - **Version Used**: 16.7P1, master (69b3bf5) **Steps to Reproduce**: ```c# class C { void M() { _ = is < true; } } ``` **Expected Behavior**: Compiler errors. **Actual Behavior**: The IDE crashes. ``` System.ArgumentException: relation at Microsoft.CodeAnalysis.CSharp.ValueSetFactory.BoolValueSetFactory.Related(BinaryOperatorKind relation, Boolean value) at Microsoft.CodeAnalysis.CSharp.ValueSetFactory.BoolValueSetFactory.Microsoft.CodeAnalysis.CSharp.IValueSetFactory.Related(BinaryOperatorKind relation, ConstantValue value) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.g__resultForRelation|34_0(BinaryOperatorKind relation, ConstantValue value, <>c__DisplayClass34_0& ) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.SplitValues(ImmutableDictionary`2 values, BoundDagTest test) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.SplitCases(ImmutableArray`1 statesForCases, ImmutableDictionary`2 values, BoundDagTest test, ImmutableArray`1& whenTrue, ImmutableArray`1& whenFalse, ImmutableDictionary`2& whenTrueValues, ImmutableDictionary`2& whenFalseValues, Boolean& foundExplicitNullTest) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.MakeDecisionDag(ImmutableArray`1 casesForRootNode) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.MakeBoundDecisionDag(SyntaxNode syntax, ImmutableArray`1 cases) at Microsoft.CodeAnalysis.CSharp.DecisionDagBuilder.CreateDecisionDagForIsPattern(SyntaxNode syntax, BoundExpression inputExpression, BoundPattern pattern, LabelSymbol whenTrueLabel) at Microsoft.CodeAnalysis.CSharp.Binder.MakeIsPatternExpression(SyntaxNode node, BoundExpression expression, BoundPattern pattern, TypeSymbol boolType, Boolean hasErrors, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindIsPatternExpression(IsPatternExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindAssignment(AssignmentExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionInternal(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpression(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean invoked, Boolean indexed) at Microsoft.CodeAnalysis.CSharp.Binder.BindExpressionStatement(CSharpSyntaxNode node, ExpressionSyntax syntax, Boolean allowsAnyExpression, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindBlockParts(BlockSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode declaration, BlockSyntax blockBody, ArrowExpressionClauseSyntax expressionBody, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.Binder.BindMethodBody(CSharpSyntaxNode syntax, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.BindMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, ImportChain& importChain, Boolean& originalBodyNested, InitialState& forSemanticModel) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamedType(NamedTypeSymbol symbol, TypeCompilationState arg) at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept[TArgument,TResult](CSharpSymbolVisitor`2 visitor, TArgument argument) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForMethodBodiesInTree(SyntaxTree tree, Nullable`1 span, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForSyntaxTree(CompilationStage stage, SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Boolean includeEarlierStages, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDiagnostics(Nullable`1 span, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GenerateCompilationEvents(AnalysisScope analysisScope, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__55.MoveNext() ```",1,ide crashes when using relational pattern on bool constant version used master steps to reproduce c class c void m is true expected behavior compiler errors actual behavior the ide crashes system argumentexception relation at microsoft codeanalysis csharp valuesetfactory boolvaluesetfactory related binaryoperatorkind relation boolean value at microsoft codeanalysis csharp valuesetfactory boolvaluesetfactory microsoft codeanalysis csharp ivaluesetfactory related binaryoperatorkind relation constantvalue value at microsoft codeanalysis csharp decisiondagbuilder g resultforrelation binaryoperatorkind relation constantvalue value c at microsoft codeanalysis csharp decisiondagbuilder splitvalues immutabledictionary values bounddagtest test at microsoft codeanalysis csharp decisiondagbuilder splitcases immutablearray statesforcases immutabledictionary values bounddagtest test immutablearray whentrue immutablearray whenfalse immutabledictionary whentruevalues immutabledictionary whenfalsevalues boolean foundexplicitnulltest at microsoft codeanalysis csharp decisiondagbuilder makedecisiondag immutablearray casesforrootnode at microsoft codeanalysis csharp decisiondagbuilder makebounddecisiondag syntaxnode syntax immutablearray cases at microsoft codeanalysis csharp decisiondagbuilder createdecisiondagforispattern syntaxnode syntax boundexpression inputexpression boundpattern pattern labelsymbol whentruelabel at microsoft codeanalysis csharp binder makeispatternexpression syntaxnode node boundexpression expression boundpattern pattern typesymbol booltype boolean haserrors diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindispatternexpression ispatternexpressionsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindassignment assignmentexpressionsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindexpressioninternal expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindexpression expressionsyntax node diagnosticbag diagnostics boolean invoked boolean indexed at microsoft codeanalysis csharp binder bindexpressionstatement csharpsyntaxnode node expressionsyntax syntax boolean allowsanyexpression diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindstatement statementsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindblockparts blocksyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindblock blocksyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindstatement statementsyntax node diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindmethodbody csharpsyntaxnode declaration blocksyntax blockbody arrowexpressionclausesyntax expressionbody diagnosticbag diagnostics at microsoft codeanalysis csharp binder bindmethodbody csharpsyntaxnode syntax diagnosticbag diagnostics at microsoft codeanalysis csharp methodcompiler bindmethodbody methodsymbol method typecompilationstate compilationstate diagnosticbag diagnostics importchain importchain boolean originalbodynested initialstate forsemanticmodel at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype at microsoft codeanalysis csharp methodcompiler visitnamedtype namedtypesymbol symbol typecompilationstate arg at microsoft codeanalysis csharp symbols namedtypesymbol accept csharpsymbolvisitor visitor targument argument at microsoft codeanalysis csharp methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpcompilation getdiagnosticsformethodbodiesintree syntaxtree tree nullable span cancellationtoken cancellationtoken at microsoft codeanalysis csharp csharpcompilation getdiagnosticsforsyntaxtree compilationstage stage syntaxtree syntaxtree nullable filterspanwithintree boolean includeearlierstages cancellationtoken cancellationtoken at microsoft codeanalysis csharp syntaxtreesemanticmodel getdiagnostics nullable span cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics compilationwithanalyzers generatecompilationevents analysisscope analysisscope cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext ,1 2411,25194204244.0,IssuesEvent,2022-11-12 09:41:17,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,ArgumentNullException in Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteBlockActionsCore,Bug help wanted Area-Analyzers Tenet-Reliability,"Saw the below exception during analyzer execution in the IDE in gold bar: ``` StreamJsonRpc.RemoteInvocationException: Value cannot be null. Parameter name: source at StreamJsonRpc.JsonRpc.d__143`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__16`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Cast[TResult](IEnumerable source) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteBlockActionsCore[TBlockStartAction,TBlockAction,TNodeAction,TNodeStateData,TNode,TLanguageKindEnum](IEnumerable`1 startActions, IEnumerable`1 actions, IEnumerable`1 endActions, DiagnosticAnalyzer analyzer, SyntaxNode declaredNode, ISymbol declaredSymbol, ImmutableArray`1 executableBlocks, Func`2 getNodesToAnalyze, SemanticModel semanticModel, Func`2 getKind, BlockAnalyzerStateData`2 analyzerState, Boolean isGeneratedCode) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.TryExecuteOperationBlockActions(IEnumerable`1 operationBlockStartActions, IEnumerable`1 operationBlockActions, IEnumerable`1 operationBlockEndActions, DiagnosticAnalyzer analyzer, SyntaxNode declaredNode, ISymbol declaredSymbol, ImmutableArray`1 operationBlocks, ImmutableArray`1 operations, SemanticModel semanticModel, Int32 declarationIndex, AnalysisScope analysisScope, AnalysisState analysisState, Boolean isGeneratedCode) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver`1.<>c__DisplayClass12_0.g__executeOperationsBlockActions|7(ImmutableArray`1 operationBlocksToAnalyze, ImmutableArray`1 operationsToAnalyze, IEnumerable`1 codeBlockActions) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver`1.<>c__DisplayClass12_0.g__executeExecutableCodeActions|3() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver`1.TryExecuteDeclaringReferenceActions(SyntaxReference decl, Int32 declarationIndex, SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, AnalysisState analysisState, GroupedAnalyzerActions coreActions, GroupedAnalyzerActions additionalPerSymbolActions, Boolean shouldExecuteSyntaxNodeActions, Boolean shouldExecuteOperationActions, Boolean shouldExecuteCodeBlockActions, Boolean shouldExecuteOperationBlockActions, Boolean isInGeneratedCode, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver`1.TryExecuteDeclaringReferenceActions(SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, AnalysisState analysisState, Boolean isGeneratedCodeSymbol, IGroupedAnalyzerActions additionalPerSymbolActions, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__132.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__131.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__129.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__128.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<>c__DisplayClass127_0.<b__2>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__127.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__96.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__94.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__72.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass67_1.<b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__67.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__66.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass66_0.<g__processPartialSymbolLocationsAsync|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__66.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__64.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteDiagnosticAnalyzerService.<>c__DisplayClass3_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__13`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",True,"ArgumentNullException in Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteBlockActionsCore - Saw the below exception during analyzer execution in the IDE in gold bar: ``` StreamJsonRpc.RemoteInvocationException: Value cannot be null. Parameter name: source at StreamJsonRpc.JsonRpc.d__143`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__16`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Cast[TResult](IEnumerable source) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteBlockActionsCore[TBlockStartAction,TBlockAction,TNodeAction,TNodeStateData,TNode,TLanguageKindEnum](IEnumerable`1 startActions, IEnumerable`1 actions, IEnumerable`1 endActions, DiagnosticAnalyzer analyzer, SyntaxNode declaredNode, ISymbol declaredSymbol, ImmutableArray`1 executableBlocks, Func`2 getNodesToAnalyze, SemanticModel semanticModel, Func`2 getKind, BlockAnalyzerStateData`2 analyzerState, Boolean isGeneratedCode) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.TryExecuteOperationBlockActions(IEnumerable`1 operationBlockStartActions, IEnumerable`1 operationBlockActions, IEnumerable`1 operationBlockEndActions, DiagnosticAnalyzer analyzer, SyntaxNode declaredNode, ISymbol declaredSymbol, ImmutableArray`1 operationBlocks, ImmutableArray`1 operations, SemanticModel semanticModel, Int32 declarationIndex, AnalysisScope analysisScope, AnalysisState analysisState, Boolean isGeneratedCode) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver`1.<>c__DisplayClass12_0.g__executeOperationsBlockActions|7(ImmutableArray`1 operationBlocksToAnalyze, ImmutableArray`1 operationsToAnalyze, IEnumerable`1 codeBlockActions) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver`1.<>c__DisplayClass12_0.g__executeExecutableCodeActions|3() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver`1.TryExecuteDeclaringReferenceActions(SyntaxReference decl, Int32 declarationIndex, SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, AnalysisState analysisState, GroupedAnalyzerActions coreActions, GroupedAnalyzerActions additionalPerSymbolActions, Boolean shouldExecuteSyntaxNodeActions, Boolean shouldExecuteOperationActions, Boolean shouldExecuteCodeBlockActions, Boolean shouldExecuteOperationBlockActions, Boolean isInGeneratedCode, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver`1.TryExecuteDeclaringReferenceActions(SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, AnalysisState analysisState, Boolean isGeneratedCodeSymbol, IGroupedAnalyzerActions additionalPerSymbolActions, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__132.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__131.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__129.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__128.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<>c__DisplayClass127_0.<b__2>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__127.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__96.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.d__94.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__72.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass67_1.<b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__67.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__66.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<>c__DisplayClass66_0.<g__processPartialSymbolLocationsAsync|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__66.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__64.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Diagnostics.Extensions.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.Diagnostics.DiagnosticComputer.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteDiagnosticAnalyzerService.<>c__DisplayClass3_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__13`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",1,argumentnullexception in microsoft codeanalysis diagnostics analyzerexecutor executeblockactionscore saw the below exception during analyzer execution in the ide in gold bar streamjsonrpc remoteinvocationexception value cannot be null parameter name source at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredserviceconnection d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject rpc server exception system argumentnullexception value cannot be null parameter name source at system linq enumerable cast ienumerable source at microsoft codeanalysis diagnostics analyzerexecutor executeblockactionscore ienumerable startactions ienumerable actions ienumerable endactions diagnosticanalyzer analyzer syntaxnode declarednode isymbol declaredsymbol immutablearray executableblocks func getnodestoanalyze semanticmodel semanticmodel func getkind blockanalyzerstatedata analyzerstate boolean isgeneratedcode at microsoft codeanalysis diagnostics analyzerexecutor tryexecuteoperationblockactions ienumerable operationblockstartactions ienumerable operationblockactions ienumerable operationblockendactions diagnosticanalyzer analyzer syntaxnode declarednode isymbol declaredsymbol immutablearray operationblocks immutablearray operations semanticmodel semanticmodel declarationindex analysisscope analysisscope analysisstate analysisstate boolean isgeneratedcode at microsoft codeanalysis diagnostics analyzerdriver c g executeoperationsblockactions immutablearray operationblockstoanalyze immutablearray operationstoanalyze ienumerable codeblockactions at microsoft codeanalysis diagnostics analyzerdriver c g executeexecutablecodeactions at microsoft codeanalysis diagnostics analyzerdriver tryexecutedeclaringreferenceactions syntaxreference decl declarationindex symboldeclaredcompilationevent symbolevent analysisscope analysisscope analysisstate analysisstate groupedanalyzeractions coreactions groupedanalyzeractions additionalpersymbolactions boolean shouldexecutesyntaxnodeactions boolean shouldexecuteoperationactions boolean shouldexecutecodeblockactions boolean shouldexecuteoperationblockactions boolean isingeneratedcode cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics analyzerdriver tryexecutedeclaringreferenceactions symboldeclaredcompilationevent symbolevent analysisscope analysisscope analysisstate analysisstate boolean isgeneratedcodesymbol igroupedanalyzeractions additionalpersymbolactions cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics analyzerdriver d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis diagnostics analyzerdriver d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics analyzerdriver d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers c g processpartialsymbollocationsasync d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis diagnostics extensions d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote diagnostics diagnosticcomputer d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotediagnosticanalyzerservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredservicebase d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject ,1 1194,13754882787.0,IssuesEvent,2020-10-06 17:36:05,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Click methods with function pointer parameters on tooltip may make VS crash,Area-IDE Bug New Feature - Function Pointers Tenet-Reliability,"**Version Used**: VS 16.7.5 **Steps to Reproduce**: 1. Type code ```csharp private static unsafe void M(delegate* f) { ... } private static int Call(int s) { ... } private static unsafe int OtherOne() { M(&Call); } ``` 2. Cursor move to above the method call `M(&Call)`, we can see the tooltip. 3. Click `M` in `M(&Call)` on the tooltip. **Expected Behavior**: Jump to the implementation. **Actual Behavior**: VS crashes.",True,"Click methods with function pointer parameters on tooltip may make VS crash - **Version Used**: VS 16.7.5 **Steps to Reproduce**: 1. Type code ```csharp private static unsafe void M(delegate* f) { ... } private static int Call(int s) { ... } private static unsafe int OtherOne() { M(&Call); } ``` 2. Cursor move to above the method call `M(&Call)`, we can see the tooltip. 3. Click `M` in `M(&Call)` on the tooltip. **Expected Behavior**: Jump to the implementation. **Actual Behavior**: VS crashes.",1,click methods with function pointer parameters on tooltip may make vs crash version used vs steps to reproduce type code csharp private static unsafe void m delegate f private static int call int s private static unsafe int otherone m call cursor move to above the method call m call we can see the tooltip click m in m call on the tooltip expected behavior jump to the implementation actual behavior vs crashes ,1 2751,27431212893.0,IssuesEvent,2023-03-02 01:35:06,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,autoformatting curley braces causes repeated crashes,Bug Area-IDE Tenet-Reliability Developer Community,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/1088818/autoformatting-curley-braces-causes-repeated-crash.html)._ --- 1. Many repaeted reaload after editor crashes using . Core 3.1, both on Visual Studio 2019 as 2019 perveiew, both latest versions. 2. Autoformatting curley braces causes repeated crashes see sceen shot --- ### Original Comments #### Visual Studio Feedback System on 6/24/2020, 02:08 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",True,"autoformatting curley braces causes repeated crashes - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/1088818/autoformatting-curley-braces-causes-repeated-crash.html)._ --- 1. Many repaeted reaload after editor crashes using . Core 3.1, both on Visual Studio 2019 as 2019 perveiew, both latest versions. 2. Autoformatting curley braces causes repeated crashes see sceen shot --- ### Original Comments #### Visual Studio Feedback System on 6/24/2020, 02:08 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",1,autoformatting curley braces causes repeated crashes this issue has been moved from many repaeted reaload after editor crashes using core both on visual studio as perveiew both latest versions autoformatting curley braces causes repeated crashes see sceen shot original comments visual studio feedback system on am we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps original solutions no solutions ,1 467,7700529704.0,IssuesEvent,2018-05-20 02:33:41,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Microsoft.CodeAnalysis.CSharp.PatternSwitchBinder.BindSwitchExpressionAndSections uses C# binder to bind sections that declare locals,Area-Compilers Bug Language-C# Tenet-Reliability,"See Microsoft.CodeAnalysis.CSharp.UnitTests.OutVarTests.ExpressionVariableInCase_1 unit-test for example A BoundSwitchSection is created instead of BoundPatternSwitchSection, locals are not preserved in the bound tree and not exposed in IOperation tree. This is blocking CFG work ",True,"Microsoft.CodeAnalysis.CSharp.PatternSwitchBinder.BindSwitchExpressionAndSections uses C# binder to bind sections that declare locals - See Microsoft.CodeAnalysis.CSharp.UnitTests.OutVarTests.ExpressionVariableInCase_1 unit-test for example A BoundSwitchSection is created instead of BoundPatternSwitchSection, locals are not preserved in the bound tree and not exposed in IOperation tree. This is blocking CFG work ",1,microsoft codeanalysis csharp patternswitchbinder bindswitchexpressionandsections uses c binder to bind sections that declare locals see microsoft codeanalysis csharp unittests outvartests expressionvariableincase unit test for example a boundswitchsection is created instead of boundpatternswitchsection locals are not preserved in the bound tree and not exposed in ioperation tree this is blocking cfg work ,1 2409,25187828694.0,IssuesEvent,2022-11-11 20:02:29,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Rename Crash,Bug help wanted Area-IDE Need More Info Tenet-Reliability Developer Community Feature - Rename,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/765196/重命名崩溃.html)._ --- Crash as soon as you rename --- ### Original Comments #### Fiona Niu[MSFT] on 10/9/2019, 01:36 AM:

Thank you for taking the time to log this issue!
I’ve tried to reproduce and investigate using the description, and attachments already provided. Unfortunately those aren’t enough and more information is needed in order to investigate it further.
The easiest way to provide all the information is to use the Visual Studio Feedback Tool. This will ensure that we collect the needed information for you without worrying about what to provide (recording, dump file or ETL trace).
Since this issue is now marked as Need More Info, that workflow is enabled in the Feedback Tool:

• Open Visual Studio Feedback tool.
• Click the banner letting you know that you have problems requesting your attention.
• Click this problem from the list
• Click "View their request and respond" from the problem details banner
• Add a comment, in the Attachments/Record: click Start Recording
• When the Steps Recorder tool appears, perform the steps that reproduce the problem.
• When you're done, choose the Stop Record button.
• Wait a few minutes for Visual Studio to collect and package the information that you recorded.
• Submit. You will be able to see the comment on Developer Community. For security reasons, your files come directly to us and don't appear on Developer Community.

For the full instructions, please see: https://docs.microsoft.com/en-us/visualstudio/ide/how-to-report-a-problem-with-visual-studio-2017?view=vs-2017#when-further-information-is-needed-need-more-info . For information about what data is collected, see https://docs.microsoft.com/en-us/visualstudio/ide/developer-community-privacy?view=vs-2017#data-we-collect

We look forward to hearing from you!

#### Fiona Niu[MSFT] on 10/10/2019, 00:25 AM:

Thanks a lot for providing the information. We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps. We’ll close the new ticket with the requested information.

--- ### Original Solutions (no solutions)",True,"Rename Crash - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/765196/重命名崩溃.html)._ --- Crash as soon as you rename --- ### Original Comments #### Fiona Niu[MSFT] on 10/9/2019, 01:36 AM:

Thank you for taking the time to log this issue!
I’ve tried to reproduce and investigate using the description, and attachments already provided. Unfortunately those aren’t enough and more information is needed in order to investigate it further.
The easiest way to provide all the information is to use the Visual Studio Feedback Tool. This will ensure that we collect the needed information for you without worrying about what to provide (recording, dump file or ETL trace).
Since this issue is now marked as Need More Info, that workflow is enabled in the Feedback Tool:

• Open Visual Studio Feedback tool.
• Click the banner letting you know that you have problems requesting your attention.
• Click this problem from the list
• Click "View their request and respond" from the problem details banner
• Add a comment, in the Attachments/Record: click Start Recording
• When the Steps Recorder tool appears, perform the steps that reproduce the problem.
• When you're done, choose the Stop Record button.
• Wait a few minutes for Visual Studio to collect and package the information that you recorded.
• Submit. You will be able to see the comment on Developer Community. For security reasons, your files come directly to us and don't appear on Developer Community.

For the full instructions, please see: https://docs.microsoft.com/en-us/visualstudio/ide/how-to-report-a-problem-with-visual-studio-2017?view=vs-2017#when-further-information-is-needed-need-more-info . For information about what data is collected, see https://docs.microsoft.com/en-us/visualstudio/ide/developer-community-privacy?view=vs-2017#data-we-collect

We look forward to hearing from you!

#### Fiona Niu[MSFT] on 10/10/2019, 00:25 AM:

Thanks a lot for providing the information. We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps. We’ll close the new ticket with the requested information.

--- ### Original Solutions (no solutions)",1,rename crash this issue has been moved from crash as soon as you rename original comments fiona niu on am thank you for taking the time to log this issue i’ve tried to reproduce and investigate using the description and attachments already provided unfortunately those aren’t enough and more information is needed in order to investigate it further the easiest way to provide all the information is to use the visual studio feedback tool this will ensure that we collect the needed information for you without worrying about what to provide recording dump file or etl trace since this issue is now marked as need more info that workflow is enabled in the feedback tool • open visual studio feedback tool • click the banner letting you know that you have problems requesting your attention • click this problem from the list • click quot view their request and respond quot from the problem details banner • add a comment in the attachments record click start recording • when the steps recorder tool appears perform the steps that reproduce the problem • when you re done choose the stop record button • wait a few minutes for visual studio to collect and package the information that you recorded • submit you will be able to see the comment on developer community for security reasons your files come directly to us and don t appear on developer community for the full instructions please see a target blank href for information about what data is collected see a target blank href we look forward to hearing from you fiona niu on am thanks a lot for providing the information we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps we’ll close the new ticket with the requested information original solutions no solutions ,1 147,4295207387.0,IssuesEvent,2016-07-19 05:43:55,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Invalid cyclical TypeSpec in referenced assembly causes stack overflow,Area-Compilers Bug Tenet-Reliability,"Although the EMCA-335 CLI specification does not permit `TypeSpec` tokens as modifiers, they are allowed in practice by ilasm, peverify, the CLR, and Roslyn. However, they open up the possibility of circular signatures, and the compiler hits a stack overflow while trying to decode one. I have started to document such spec issues in https://github.com/dotnet/corefx/pull/5435 and I'm now filing the bugs I found while experimenting to write that up. Native csc.exe had the same problem. # Repro steps * git clone https://github.com/nguerrera/signature-repros * cd signature-repros * build.bat * csc.exe UseSignatureCycle2.cs /r:SignatureCycle2.exe # Expected result * Compilation fails with suitable error message. # Actual result * Stack overflow cc @tmat @gafter @AlekseyTs ",True,"Invalid cyclical TypeSpec in referenced assembly causes stack overflow - Although the EMCA-335 CLI specification does not permit `TypeSpec` tokens as modifiers, they are allowed in practice by ilasm, peverify, the CLR, and Roslyn. However, they open up the possibility of circular signatures, and the compiler hits a stack overflow while trying to decode one. I have started to document such spec issues in https://github.com/dotnet/corefx/pull/5435 and I'm now filing the bugs I found while experimenting to write that up. Native csc.exe had the same problem. # Repro steps * git clone https://github.com/nguerrera/signature-repros * cd signature-repros * build.bat * csc.exe UseSignatureCycle2.cs /r:SignatureCycle2.exe # Expected result * Compilation fails with suitable error message. # Actual result * Stack overflow cc @tmat @gafter @AlekseyTs ",1,invalid cyclical typespec in referenced assembly causes stack overflow although the emca cli specification does not permit typespec tokens as modifiers they are allowed in practice by ilasm peverify the clr and roslyn however they open up the possibility of circular signatures and the compiler hits a stack overflow while trying to decode one i have started to document such spec issues in and i m now filing the bugs i found while experimenting to write that up native csc exe had the same problem repro steps git clone cd signature repros build bat csc exe cs r exe expected result compilation fails with suitable error message actual result stack overflow cc tmat gafter alekseyts ,1 750,10347842607.0,IssuesEvent,2019-09-04 18:21:16,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,LanguageSettingsPersister can be initialized on a background crashing package load,Area-IDE Bug Tenet-Reliability,"**Version Used**: Version 16.3.0 Preview 3.0 [29212.188.master] **Steps to Reproduce**: These are the steps I took: 1. Create a new C# Shared Project 2. Open a CPS-based C# solution in the same session closing the above **Expected Behavior**: No crash **Actual Behavior**: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part ""Microsoft.VisualStudio.LanguageServices.Implementation.Options.LanguageSettingsPersister"". ---> System.InvalidOperationException: Unexpected false at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) at Microsoft.CodeAnalysis.Editor.Shared.Utilities.ForegroundThreadAffinitizedObject.AssertIsForeground() at Microsoft.CodeAnalysis.Editor.Shared.Utilities.ForegroundThreadAffinitizedObject..ctor(IThreadingContext threadingContext, Boolean assertIsForeground) at Microsoft.VisualStudio.LanguageServices.Implementation.Options.LanguageSettingsPersister..ctor(IThreadingContext threadingContext, IServiceProvider serviceProvider, IGlobalOptionService optionService) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of inner exception stack trace --- at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.b__0() at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.b__0() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at Microsoft.CodeAnalysis.Options.GlobalOptionService.LoadOptionFromSerializerOrGetDefault(OptionKey optionKey) at Microsoft.CodeAnalysis.Options.GlobalOptionService.GetOption(OptionKey optionKey) at Microsoft.CodeAnalysis.Options.OptionServiceFactory.OptionService.GetOption(OptionKey optionKey) at Microsoft.CodeAnalysis.Options.WorkspaceOptionSet.GetOption(OptionKey optionKey) at Microsoft.CodeAnalysis.Options.OptionSet.GetOption[T](Option`1 option) at Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.RemoteHostClientService.Enable() at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2.EnableRemoteHostClientService() at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2.d__8.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage.d__2.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage+d__2.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2+d__8[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(Boolean) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(Boolean) at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2+d__23[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(Boolean) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(Boolean) at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2+d__24[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__8_0(System.Object) at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector.TryExecute() at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTask.Join(System.Threading.CancellationToken) at Microsoft.VisualStudio.Threading.JoinableTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Join(System.Threading.CancellationToken) at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper+<>c__DisplayClass33_1`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__3() at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper+<>c__DisplayClass33_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__1(System.Object, Microsoft.VisualStudio.Shell.BlockingTaskEventArgs) at Microsoft.VisualStudio.Services.VsTask.RaiseOnMarkedAsBlockingEvent(Microsoft.VisualStudio.Shell.Interop.IVsTask) at Microsoft.VisualStudio.Services.VsTask.InvokeWithWaitDialog[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1) at Microsoft.VisualStudio.Services.VsTask.InvokeWithWaitDialog(System.Action) at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean) at Microsoft.VisualStudio.Services.VsTask.GetResult() at Microsoft.VisualStudio.Shell.Interop.IVsUIShellOpenDocument.OpenSpecificEditor(UInt32, System.String, System.Guid ByRef, System.String, System.Guid ByRef, System.String, Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy, UInt32, IntPtr, Microsoft.VisualStudio.OLE.Interop.IServiceProvider, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.FileDocumentManager.Open(Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.SimpleHierarchyNode, Boolean, UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef, Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.WindowFrameShowAction) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.FileDocumentManager.OpenWithSpecific(Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.SimpleHierarchyNode, UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef, Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.WindowFrameShowAction) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode+<>c__DisplayClass490_0.b__0() at Microsoft.VisualStudio.ProjectSystem.VS.HResult.Invoke(System.Func`1, System.IServiceProvider, Microsoft.VisualStudio.ProjectSystem.IProjectFaultHandlerService, Microsoft.VisualStudio.ProjectSystem.UnconfiguredProject) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.ReopenItem(UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNodeWrapper.ReopenItem(UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef) at Microsoft.VisualStudio.Shell.Interop.IVsProject2.ReopenItem(UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService, Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo, Microsoft.VisualStudio.Platform.WindowManagement.ReopenDocumentOptions, Microsoft.VisualStudio.PlatformUI.Shell.DocumentGroup, Int32 ByRef) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(Microsoft.VisualStudio.Platform.WindowManagement.IWindowManagerPrivate, Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo, Microsoft.VisualStudio.Platform.WindowManagement.ReopenDocumentOptions, Microsoft.VisualStudio.PlatformUI.Shell.DocumentGroup, Int32 ByRef) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(Microsoft.VisualStudio.Platform.WindowManagement.IWindowManagerPrivate, Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo, Microsoft.VisualStudio.Platform.WindowManagement.ReopenDocumentOptions, Microsoft.VisualStudio.PlatformUI.Shell.DocumentGroup) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions+<>c__DisplayClass22_0.b__0(Microsoft.VisualStudio.Utilities.VersionedBinaryReader) at Microsoft.VisualStudio.Utilities.VersionedBinaryReader.ReadVersioned(Int32, ReadCallback, Boolean) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.LoadBinaryDocumentStates(Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService, Microsoft.VisualStudio.OLE.Interop.IStream) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.LoadDocumentStates(Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService, Microsoft.VisualStudio.OLE.Interop.IStream) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService+<>c__DisplayClass193_0.b__0() at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(System.Action, Boolean) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.LoadDocumentStates(Microsoft.VisualStudio.OLE.Interop.IStream, Int32) at Microsoft.VisualStudio.Shell.Interop.IVsSolution.OpenSolutionFile(UInt32, System.String) at Microsoft.VisualStudio.PlatformUI.Packages.MRU.ExtensionMethods.TryOpenProject(Microsoft.VisualStudio.Shell.Interop.IVsSolution, System.String, System.Guid) at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager+d__9.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__8_0(System.Object) at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector.TryExecute() at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector+<>c.<.cctor>b__20_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) ``` This component is a MEF component but it has UI thread affinity: http://index/?query=LanguageSettingsPersister&rightProject=Microsoft.VisualStudio.LanguageServices&file=Implementation%5COptions%5CLanguageSettingsPersister.cs&line=28. These concepts don't mix.",True,"LanguageSettingsPersister can be initialized on a background crashing package load - **Version Used**: Version 16.3.0 Preview 3.0 [29212.188.master] **Steps to Reproduce**: These are the steps I took: 1. Create a new C# Shared Project 2. Open a CPS-based C# solution in the same session closing the above **Expected Behavior**: No crash **Actual Behavior**: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part ""Microsoft.VisualStudio.LanguageServices.Implementation.Options.LanguageSettingsPersister"". ---> System.InvalidOperationException: Unexpected false at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) at Microsoft.CodeAnalysis.Editor.Shared.Utilities.ForegroundThreadAffinitizedObject.AssertIsForeground() at Microsoft.CodeAnalysis.Editor.Shared.Utilities.ForegroundThreadAffinitizedObject..ctor(IThreadingContext threadingContext, Boolean assertIsForeground) at Microsoft.VisualStudio.LanguageServices.Implementation.Options.LanguageSettingsPersister..ctor(IThreadingContext threadingContext, IServiceProvider serviceProvider, IGlobalOptionService optionService) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of inner exception stack trace --- at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.b__0() at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.b__0() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at Microsoft.CodeAnalysis.Options.GlobalOptionService.LoadOptionFromSerializerOrGetDefault(OptionKey optionKey) at Microsoft.CodeAnalysis.Options.GlobalOptionService.GetOption(OptionKey optionKey) at Microsoft.CodeAnalysis.Options.OptionServiceFactory.OptionService.GetOption(OptionKey optionKey) at Microsoft.CodeAnalysis.Options.WorkspaceOptionSet.GetOption(OptionKey optionKey) at Microsoft.CodeAnalysis.Options.OptionSet.GetOption[T](Option`1 option) at Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.RemoteHostClientService.Enable() at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2.EnableRemoteHostClientService() at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2.d__8.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage.d__2.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage+d__2.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage+d__2.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2+d__8[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(Boolean) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(Boolean) at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2+d__23[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(Boolean) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(Boolean) at Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage`2+d__24[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__8_0(System.Object) at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector.TryExecute() at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTask.Join(System.Threading.CancellationToken) at Microsoft.VisualStudio.Threading.JoinableTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Join(System.Threading.CancellationToken) at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper+<>c__DisplayClass33_1`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__3() at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper+<>c__DisplayClass33_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__1(System.Object, Microsoft.VisualStudio.Shell.BlockingTaskEventArgs) at Microsoft.VisualStudio.Services.VsTask.RaiseOnMarkedAsBlockingEvent(Microsoft.VisualStudio.Shell.Interop.IVsTask) at Microsoft.VisualStudio.Services.VsTask.InvokeWithWaitDialog[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1) at Microsoft.VisualStudio.Services.VsTask.InvokeWithWaitDialog(System.Action) at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean) at Microsoft.VisualStudio.Services.VsTask.GetResult() at Microsoft.VisualStudio.Shell.Interop.IVsUIShellOpenDocument.OpenSpecificEditor(UInt32, System.String, System.Guid ByRef, System.String, System.Guid ByRef, System.String, Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy, UInt32, IntPtr, Microsoft.VisualStudio.OLE.Interop.IServiceProvider, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.FileDocumentManager.Open(Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.SimpleHierarchyNode, Boolean, UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef, Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.WindowFrameShowAction) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.FileDocumentManager.OpenWithSpecific(Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.SimpleHierarchyNode, UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef, Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.WindowFrameShowAction) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode+<>c__DisplayClass490_0.b__0() at Microsoft.VisualStudio.ProjectSystem.VS.HResult.Invoke(System.Func`1, System.IServiceProvider, Microsoft.VisualStudio.ProjectSystem.IProjectFaultHandlerService, Microsoft.VisualStudio.ProjectSystem.UnconfiguredProject) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.ReopenItem(UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNodeWrapper.ReopenItem(UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef) at Microsoft.VisualStudio.Shell.Interop.IVsProject2.ReopenItem(UInt32, System.Guid ByRef, System.String, System.Guid ByRef, IntPtr, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService, Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo, Microsoft.VisualStudio.Platform.WindowManagement.ReopenDocumentOptions, Microsoft.VisualStudio.PlatformUI.Shell.DocumentGroup, Int32 ByRef) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(Microsoft.VisualStudio.Platform.WindowManagement.IWindowManagerPrivate, Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo, Microsoft.VisualStudio.Platform.WindowManagement.ReopenDocumentOptions, Microsoft.VisualStudio.PlatformUI.Shell.DocumentGroup, Int32 ByRef) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(Microsoft.VisualStudio.Platform.WindowManagement.IWindowManagerPrivate, Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo, Microsoft.VisualStudio.Platform.WindowManagement.ReopenDocumentOptions, Microsoft.VisualStudio.PlatformUI.Shell.DocumentGroup) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions+<>c__DisplayClass22_0.b__0(Microsoft.VisualStudio.Utilities.VersionedBinaryReader) at Microsoft.VisualStudio.Utilities.VersionedBinaryReader.ReadVersioned(Int32, ReadCallback, Boolean) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.LoadBinaryDocumentStates(Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService, Microsoft.VisualStudio.OLE.Interop.IStream) at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.LoadDocumentStates(Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService, Microsoft.VisualStudio.OLE.Interop.IStream) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService+<>c__DisplayClass193_0.b__0() at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(System.Action, Boolean) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.LoadDocumentStates(Microsoft.VisualStudio.OLE.Interop.IStream, Int32) at Microsoft.VisualStudio.Shell.Interop.IVsSolution.OpenSolutionFile(UInt32, System.String) at Microsoft.VisualStudio.PlatformUI.Packages.MRU.ExtensionMethods.TryOpenProject(Microsoft.VisualStudio.Shell.Interop.IVsSolution, System.String, System.Guid) at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager+d__9.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(System.Object) at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(System.Threading.ContextCallback, System.Object, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__8_0(System.Object) at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector.TryExecute() at Microsoft.VisualStudio.Threading.JoinableTaskFactory+SingleExecuteProtector+<>c.<.cctor>b__20_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) ``` This component is a MEF component but it has UI thread affinity: http://index/?query=LanguageSettingsPersister&rightProject=Microsoft.VisualStudio.LanguageServices&file=Implementation%5COptions%5CLanguageSettingsPersister.cs&line=28. These concepts don't mix.",1,languagesettingspersister can be initialized on a background crashing package load version used version preview steps to reproduce these are the steps i took create a new c shared project open a cps based c solution in the same session closing the above expected behavior no crash actual behavior application devenv exe framework version description the application requested process termination through system environment failfast string message message microsoft visualstudio composition compositionfailedexception an exception was thrown while initializing part microsoft visualstudio languageservices implementation options languagesettingspersister system invalidoperationexception unexpected false at roslyn utilities contract throwiffalse boolean condition string message at microsoft codeanalysis editor shared utilities foregroundthreadaffinitizedobject assertisforeground at microsoft codeanalysis editor shared utilities foregroundthreadaffinitizedobject ctor ithreadingcontext threadingcontext boolean assertisforeground at microsoft visualstudio languageservices implementation options languagesettingspersister ctor ithreadingcontext threadingcontext iserviceprovider serviceprovider iglobaloptionservice optionservice end of stack trace from previous location where exception was thrown at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of stack trace from previous location where exception was thrown at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of inner exception stack trace at microsoft visualstudio composition runtimeexportproviderfactory runtimeexportprovider runtimepartlifecycletracker createvalue at microsoft visualstudio composition exportprovider partlifecycletracker create at microsoft visualstudio composition exportprovider partlifecycletracker movenext partlifecyclestate nextstate at microsoft visualstudio composition exportprovider partlifecycletracker movetostate partlifecyclestate requiredstate at microsoft visualstudio composition exportprovider partlifecycletracker getvaluereadytoexpose at microsoft visualstudio composition runtimeexportproviderfactory runtimeexportprovider c b at microsoft visualstudio composition delegateservices c b at system lazy createvalue end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system lazy get value at microsoft codeanalysis options globaloptionservice loadoptionfromserializerorgetdefault optionkey optionkey at microsoft codeanalysis options globaloptionservice getoption optionkey optionkey at microsoft codeanalysis options optionservicefactory optionservice getoption optionkey optionkey at microsoft codeanalysis options workspaceoptionset getoption optionkey optionkey at microsoft codeanalysis options optionset getoption option option at microsoft visualstudio languageservices remote remotehostclientservicefactory remotehostclientservice enable at microsoft visualstudio languageservices implementation languageservice abstractpackage enableremotehostclientservice at microsoft visualstudio languageservices implementation languageservice abstractpackage d movenext 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 microsoft visualstudio languageservices csharp languageservice csharppackage d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft visualstudio languageservices csharp languageservice csharppackage d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at microsoft visualstudio languageservices csharp languageservice csharppackage d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation invokeaction system object at system threading tasks awaittaskcontinuation runcallback system threading contextcallback system object system threading tasks task byref at system threading tasks synchronizationcontextawaittaskcontinuation run system threading tasks task boolean at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft visualstudio languageservices implementation languageservice abstractpackage d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation invokeaction system object at system threading tasks awaittaskcontinuation runcallback system threading contextcallback system object system threading tasks task byref at system threading tasks synchronizationcontextawaittaskcontinuation run system threading tasks task boolean at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult boolean at system runtime compilerservices asynctaskmethodbuilder setresult boolean at microsoft visualstudio languageservices implementation languageservice abstractpackage d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation invokeaction system object at system threading tasks awaittaskcontinuation runcallback system threading contextcallback system object system threading tasks task byref at system threading tasks synchronizationcontextawaittaskcontinuation run system threading tasks task boolean at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult boolean at system runtime compilerservices asynctaskmethodbuilder setresult boolean at microsoft visualstudio languageservices implementation languageservice abstractpackage d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks synchronizationcontextawaittaskcontinuation c b system object at microsoft visualstudio threading joinabletaskfactory singleexecuteprotector tryexecute at microsoft visualstudio threading joinabletask completeoncurrentthread at microsoft visualstudio threading joinabletask join system threading cancellationtoken at microsoft visualstudio threading joinabletask join system threading cancellationtoken at microsoft visualstudio shell vstasklibraryhelper c b at microsoft visualstudio shell vstasklibraryhelper c b system object microsoft visualstudio shell blockingtaskeventargs at microsoft visualstudio services vstask raiseonmarkedasblockingevent microsoft visualstudio shell interop ivstask at microsoft visualstudio services vstask invokewithwaitdialog system func at microsoft visualstudio services vstask invokewithwaitdialog system action at microsoft visualstudio services vstask internalgetresult boolean at microsoft visualstudio services vstask getresult at microsoft visualstudio shell interop ivsuishellopendocument openspecificeditor system string system guid byref system string system guid byref system string microsoft visualstudio shell interop ivsuihierarchy intptr microsoft visualstudio ole interop iserviceprovider microsoft visualstudio shell interop ivswindowframe byref at microsoft visualstudio projectsystem vs implementation package filedocumentmanager open microsoft visualstudio projectsystem vs implementation package simplehierarchynode boolean system guid byref system string system guid byref intptr microsoft visualstudio shell interop ivswindowframe byref microsoft visualstudio projectsystem vs implementation package windowframeshowaction at microsoft visualstudio projectsystem vs implementation package filedocumentmanager openwithspecific microsoft visualstudio projectsystem vs implementation package simplehierarchynode system guid byref system string system guid byref intptr microsoft visualstudio shell interop ivswindowframe byref microsoft visualstudio projectsystem vs implementation package windowframeshowaction at microsoft visualstudio projectsystem vs implementation package projectnode c b at microsoft visualstudio projectsystem vs hresult invoke system func system iserviceprovider microsoft visualstudio projectsystem iprojectfaulthandlerservice microsoft visualstudio projectsystem unconfiguredproject at microsoft visualstudio projectsystem vs implementation package projectnode reopenitem system guid byref system string system guid byref intptr microsoft visualstudio shell interop ivswindowframe byref at microsoft visualstudio projectsystem vs implementation package projectnodewrapper reopenitem system guid byref system string system guid byref intptr microsoft visualstudio shell interop ivswindowframe byref at microsoft visualstudio shell interop reopenitem system guid byref system string system guid byref intptr microsoft visualstudio shell interop ivswindowframe byref at microsoft visualstudio platform windowmanagement solutionoptions reopendocumentframe microsoft visualstudio platform windowmanagement windowmanagerservice microsoft visualstudio platform windowmanagement stubwindowinfo microsoft visualstudio platform windowmanagement reopendocumentoptions microsoft visualstudio platformui shell documentgroup byref at microsoft visualstudio platform windowmanagement solutionoptions reopendocumentframe microsoft visualstudio platform windowmanagement iwindowmanagerprivate microsoft visualstudio platform windowmanagement stubwindowinfo microsoft visualstudio platform windowmanagement reopendocumentoptions microsoft visualstudio platformui shell documentgroup byref at microsoft visualstudio platform windowmanagement solutionoptions reopendocumentframe microsoft visualstudio platform windowmanagement iwindowmanagerprivate microsoft visualstudio platform windowmanagement stubwindowinfo microsoft visualstudio platform windowmanagement reopendocumentoptions microsoft visualstudio platformui shell documentgroup at microsoft visualstudio platform windowmanagement solutionoptions c b microsoft visualstudio utilities versionedbinaryreader at microsoft visualstudio utilities versionedbinaryreader readversioned readcallback boolean at microsoft visualstudio platform windowmanagement solutionoptions loadbinarydocumentstates microsoft visualstudio platform windowmanagement windowmanagerservice microsoft visualstudio ole interop istream at microsoft visualstudio platform windowmanagement solutionoptions loaddocumentstates microsoft visualstudio platform windowmanagement windowmanagerservice microsoft visualstudio ole interop istream at microsoft visualstudio platform windowmanagement windowmanagerservice c b at microsoft visualstudio errorhandler callwithcomconvention system action boolean at microsoft visualstudio platform windowmanagement windowmanagerservice loaddocumentstates microsoft visualstudio ole interop istream at microsoft visualstudio shell interop ivssolution opensolutionfile system string at microsoft visualstudio platformui packages mru extensionmethods tryopenproject microsoft visualstudio shell interop ivssolution system string system guid at microsoft visualstudio platformui codecontaineraccessmanager d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation invokeaction system object at system threading tasks awaittaskcontinuation runcallback system threading contextcallback system object system threading tasks task byref at system threading tasks synchronizationcontextawaittaskcontinuation run system threading tasks task boolean at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft visualstudio platformui codecontaineraccessmanager d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks synchronizationcontextawaittaskcontinuation c b system object at microsoft visualstudio threading joinabletaskfactory singleexecuteprotector tryexecute at microsoft visualstudio threading joinabletaskfactory singleexecuteprotector c b system object at system windows threading exceptionwrapper internalrealcall system delegate system object at system windows threading exceptionwrapper trycatchwhen system object system delegate system object system delegate at system windows threading dispatcheroperation invokeimpl at system windows threading dispatcheroperation invokeinsecuritycontext system object at ms internal culturepreservingexecutioncontext callbackwrapper system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object at ms internal culturepreservingexecutioncontext run ms internal culturepreservingexecutioncontext system threading contextcallback system object at system windows threading dispatcheroperation invoke at system windows threading dispatcher processqueue at system windows threading dispatcher wndprochook intptr intptr intptr boolean byref at ms hwndwrapper wndproc intptr intptr intptr boolean byref at ms hwndsubclass dispatchercallbackoperation system object at system windows threading exceptionwrapper internalrealcall system delegate system object at system windows threading exceptionwrapper trycatchwhen system object system delegate system object system delegate at system windows threading dispatcher legacyinvokeimpl system windows threading dispatcherpriority system timespan system delegate system object at ms hwndsubclass subclasswndproc intptr intptr intptr this component is a mef component but it has ui thread affinity these concepts don t mix ,1 724,10113975037.0,IssuesEvent,2019-07-30 18:02:45,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Renaming a variable when range syntax is in use results in crash,Area-Compilers Tenet-Reliability,"I'm not positive that this is an issue with Roslyn rather than Visual Studio, but I'm reporting it here just in case. I initially reported it on the [Feedback Hub](https://developercommunity.visualstudio.com/content/problem/645303/multiple-c-8-issues-intellisense-breaks-gathering.html), but it was marked as low priority (""Under Consideration""). * Visual Studio 2019.3.0 Preview 1.0 (prior preview versions also exhibit the issue) * .NET Core 3.0.0-preview7 (prior preview versions also exhibit the issue) * C# 8.0 preview If I attempt to rename `bar` to `foobar` in the following code by putting my cursor within it, pressing F2, and typing `foobar`, Visual Studio will immediately crash without showing an error dialog as soon as I've typed `foo`. Any unsaved changes will be lost. Normally, Visual Studio would report that there's a conflict when I reach `foo`, then allow me to continue typing the rest of the variable name; however, in this context, it crashes. If I change `data[..2]` to `data.Slice(0, 2)`, Visual Studio doesn't crash, and the rename is successful. ``` csharp using System; namespace BugReport { public static class Example { public static void Test(ReadOnlySpan data) { if (true) { var bar = 1; var foo = data[..2]; DoSomething(foo); } } private static void DoSomething(ReadOnlySpan _) { } } } ```",True,"Renaming a variable when range syntax is in use results in crash - I'm not positive that this is an issue with Roslyn rather than Visual Studio, but I'm reporting it here just in case. I initially reported it on the [Feedback Hub](https://developercommunity.visualstudio.com/content/problem/645303/multiple-c-8-issues-intellisense-breaks-gathering.html), but it was marked as low priority (""Under Consideration""). * Visual Studio 2019.3.0 Preview 1.0 (prior preview versions also exhibit the issue) * .NET Core 3.0.0-preview7 (prior preview versions also exhibit the issue) * C# 8.0 preview If I attempt to rename `bar` to `foobar` in the following code by putting my cursor within it, pressing F2, and typing `foobar`, Visual Studio will immediately crash without showing an error dialog as soon as I've typed `foo`. Any unsaved changes will be lost. Normally, Visual Studio would report that there's a conflict when I reach `foo`, then allow me to continue typing the rest of the variable name; however, in this context, it crashes. If I change `data[..2]` to `data.Slice(0, 2)`, Visual Studio doesn't crash, and the rename is successful. ``` csharp using System; namespace BugReport { public static class Example { public static void Test(ReadOnlySpan data) { if (true) { var bar = 1; var foo = data[..2]; DoSomething(foo); } } private static void DoSomething(ReadOnlySpan _) { } } } ```",1,renaming a variable when range syntax is in use results in crash i m not positive that this is an issue with roslyn rather than visual studio but i m reporting it here just in case i initially reported it on the but it was marked as low priority under consideration visual studio preview prior preview versions also exhibit the issue net core prior preview versions also exhibit the issue c preview if i attempt to rename bar to foobar in the following code by putting my cursor within it pressing and typing foobar visual studio will immediately crash without showing an error dialog as soon as i ve typed foo any unsaved changes will be lost normally visual studio would report that there s a conflict when i reach foo then allow me to continue typing the rest of the variable name however in this context it crashes if i change data to data slice visual studio doesn t crash and the rename is successful csharp using system namespace bugreport public static class example public static void test readonlyspan data if true var bar var foo data dosomething foo private static void dosomething readonlyspan ,1 569,8636120064.0,IssuesEvent,2018-11-23 05:08:39,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Hang in PackageInstallerService due to NFW when creating a new Console App (.NET Core),Area-IDE Investigation Required Tenet-Reliability,"VS hung while I was creating a Console App (.NET COre): Stack: ``` [Managed to Native Transition] Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.NoPumpSyncContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown mscorlib.dll!System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext syncContext, System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) Unknown mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) Unknown mscorlib.dll!System.Threading.WaitHandle.WaitOne() Unknown Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.PostWatsonReport(int maxReportsPerSession) Unknown Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.SessionChannel.WatsonSessionChannel.PostEvent(Microsoft.VisualStudio.Telemetry.TelemetryEvent telemetryEvent) Unknown Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.TelemetrySession.PostEvent(Microsoft.VisualStudio.Telemetry.TelemetryEvent telemetryEvent) Unknown Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.TelemetrySessionExtensions.PostFault(Microsoft.VisualStudio.Telemetry.TelemetrySession telemetrySession, string eventName, string description, System.Exception exceptionObject, System.Func gatherEventDetails, Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation[] correlatedWith) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.CodeAnalysis.ErrorReporting.WatsonReporter.Report(string description, System.Exception exception, System.Func callback) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.CodeAnalysis.ErrorReporting.WatsonReporter.Report(System.Exception exception) Unknown > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception, System.Action handler) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.ProcessProjectChange(Microsoft.CodeAnalysis.Solution solution, Microsoft.CodeAnalysis.ProjectId projectId) Unknown [Native to Managed Transition] mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task task) Unknown mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask>.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run>(System.Func>> asyncMethod, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown NuGet.VisualStudio.Implementation.dll!NuGet.VisualStudio.VsPackageInstallerServices.GetInstalledPackages(EnvDTE.Project project) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.PackageServicesProxy.GetInstalledPackages(EnvDTE.Project project) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.ProcessProjectChange(Microsoft.CodeAnalysis.Solution solution, Microsoft.CodeAnalysis.ProjectId projectId) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.ProcessBatchedChangesOnForeground(System.Threading.CancellationToken cancellationToken) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.OnWorkspaceChanged.AnonymousMethod__0(System.Threading.Tasks.Task _) Unknown mscorlib.dll!System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() Unknown mscorlib.dll!System.Threading.Tasks.Task.Execute() Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown mscorlib.dll!System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task task) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Shared.Utilities.SynchronizationContextTaskScheduler.PostCallback(object obj) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown ``` Underlying exception: ``` ArgumentException: The operation failed as details for project ConsoleApp125 could not be loaded. at NuGet.PackageManagement.VisualStudio.NetCorePackageReferenceProject.GetPackageSpecsAsync(DependencyGraphCacheContext context) at NuGet.VisualStudio.VsPackageInstallerServices.d__8.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.VisualStudio.VsPackageInstallerServices.<>c__DisplayClass10_0.<b__0>d.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions) at NuGet.VisualStudio.VsPackageInstallerServices.GetInstalledPackages(Project project) at Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.PackageServicesProxy.GetInstalledPackages(Project project) at Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.ProcessProjectChange(Solution solution, ProjectId projectId) at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",True,"Hang in PackageInstallerService due to NFW when creating a new Console App (.NET Core) - VS hung while I was creating a Console App (.NET COre): Stack: ``` [Managed to Native Transition] Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.NoPumpSyncContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown mscorlib.dll!System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext syncContext, System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) Unknown mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) Unknown mscorlib.dll!System.Threading.WaitHandle.WaitOne() Unknown Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.PostWatsonReport(int maxReportsPerSession) Unknown Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.SessionChannel.WatsonSessionChannel.PostEvent(Microsoft.VisualStudio.Telemetry.TelemetryEvent telemetryEvent) Unknown Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.TelemetrySession.PostEvent(Microsoft.VisualStudio.Telemetry.TelemetryEvent telemetryEvent) Unknown Microsoft.VisualStudio.Telemetry.dll!Microsoft.VisualStudio.Telemetry.TelemetrySessionExtensions.PostFault(Microsoft.VisualStudio.Telemetry.TelemetrySession telemetrySession, string eventName, string description, System.Exception exceptionObject, System.Func gatherEventDetails, Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation[] correlatedWith) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.CodeAnalysis.ErrorReporting.WatsonReporter.Report(string description, System.Exception exception, System.Func callback) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.CodeAnalysis.ErrorReporting.WatsonReporter.Report(System.Exception exception) Unknown > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception, System.Action handler) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.ProcessProjectChange(Microsoft.CodeAnalysis.Solution solution, Microsoft.CodeAnalysis.ProjectId projectId) Unknown [Native to Managed Transition] mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task task) Unknown mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask>.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run>(System.Func>> asyncMethod, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown NuGet.VisualStudio.Implementation.dll!NuGet.VisualStudio.VsPackageInstallerServices.GetInstalledPackages(EnvDTE.Project project) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.PackageServicesProxy.GetInstalledPackages(EnvDTE.Project project) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.ProcessProjectChange(Microsoft.CodeAnalysis.Solution solution, Microsoft.CodeAnalysis.ProjectId projectId) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.ProcessBatchedChangesOnForeground(System.Threading.CancellationToken cancellationToken) Unknown Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.OnWorkspaceChanged.AnonymousMethod__0(System.Threading.Tasks.Task _) Unknown mscorlib.dll!System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() Unknown mscorlib.dll!System.Threading.Tasks.Task.Execute() Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) Unknown mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown mscorlib.dll!System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task task) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.Editor.Shared.Utilities.SynchronizationContextTaskScheduler.PostCallback(object obj) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown ``` Underlying exception: ``` ArgumentException: The operation failed as details for project ConsoleApp125 could not be loaded. at NuGet.PackageManagement.VisualStudio.NetCorePackageReferenceProject.GetPackageSpecsAsync(DependencyGraphCacheContext context) at NuGet.VisualStudio.VsPackageInstallerServices.d__8.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.VisualStudio.VsPackageInstallerServices.<>c__DisplayClass10_0.<b__0>d.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions) at NuGet.VisualStudio.VsPackageInstallerServices.GetInstalledPackages(Project project) at Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.PackageServicesProxy.GetInstalledPackages(Project project) at Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.ProcessProjectChange(Solution solution, ProjectId projectId) at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",1,hang in packageinstallerservice due to nfw when creating a new console app net core vs hung while i was creating a console app net core stack microsoft visualstudio telemetry dll microsoft visualstudio telemetry windowserrorreporting nopumpsynccontext wait system intptr waithandles bool waitall int millisecondstimeout unknown mscorlib dll system threading synchronizationcontext invokewaitmethodhelper system threading synchronizationcontext synccontext system intptr waithandles bool waitall int millisecondstimeout unknown mscorlib dll system threading waithandle internalwaitone system runtime interopservices safehandle waitablesafehandle long millisecondstimeout bool hasthreadaffinity bool exitcontext unknown mscorlib dll system threading waithandle waitone int millisecondstimeout bool exitcontext unknown mscorlib dll system threading waithandle waitone unknown microsoft visualstudio telemetry dll microsoft visualstudio telemetry windowserrorreporting watsonreport postwatsonreport int maxreportspersession unknown microsoft visualstudio telemetry dll microsoft visualstudio telemetry sessionchannel watsonsessionchannel postevent microsoft visualstudio telemetry telemetryevent telemetryevent unknown microsoft visualstudio telemetry dll microsoft visualstudio telemetry telemetrysession postevent microsoft visualstudio telemetry telemetryevent telemetryevent unknown microsoft visualstudio telemetry dll microsoft visualstudio telemetry telemetrysessionextensions postfault microsoft visualstudio telemetry telemetrysession telemetrysession string eventname string description system exception exceptionobject system func gathereventdetails microsoft visualstudio telemetry telemetryeventcorrelation correlatedwith unknown microsoft visualstudio languageservices dll microsoft codeanalysis errorreporting watsonreporter report string description system exception exception system func callback unknown microsoft visualstudio languageservices dll microsoft codeanalysis errorreporting watsonreporter report system exception exception unknown microsoft codeanalysis workspaces dll microsoft codeanalysis errorreporting fatalerror report system exception exception system action handler unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices packaging packageinstallerservice processprojectchange microsoft codeanalysis solution solution microsoft codeanalysis projectid projectid unknown mscorlib dll system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task task unknown mscorlib dll system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task task unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletask completeoncurrentthread unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletask completeoncurrentthread unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory run system func asyncmethod microsoft visualstudio threading joinabletaskcreationoptions creationoptions unknown nuget visualstudio implementation dll nuget visualstudio vspackageinstallerservices getinstalledpackages envdte project project unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices packaging packageinstallerservice packageservicesproxy getinstalledpackages envdte project project unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices packaging packageinstallerservice processprojectchange microsoft codeanalysis solution solution microsoft codeanalysis projectid projectid unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices packaging packageinstallerservice processbatchedchangesonforeground system threading cancellationtoken cancellationtoken unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices packaging packageinstallerservice onworkspacechanged anonymousmethod system threading tasks task unknown mscorlib dll system threading tasks continuationtaskfromtask innerinvoke unknown mscorlib dll system threading tasks task execute unknown mscorlib dll system threading tasks task executioncontextcallback object obj unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading tasks task executewiththreadlocal ref system threading tasks task currenttaskslot unknown mscorlib dll system threading tasks task executeentry bool bpreventdoubleexecution unknown mscorlib dll system threading tasks taskscheduler tryexecutetask system threading tasks task task unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis editor shared utilities synchronizationcontexttaskscheduler postcallback object obj unknown windowsbase dll system windows threading exceptionwrapper internalrealcall system delegate callback object args int numargs unknown windowsbase dll system windows threading exceptionwrapper trycatchwhen object source system delegate callback object args int numargs system delegate catchhandler unknown windowsbase dll system windows threading dispatcheroperation invokeimpl unknown windowsbase dll system windows threading dispatcheroperation invokeinsecuritycontext object state unknown windowsbase dll ms internal culturepreservingexecutioncontext callbackwrapper object obj unknown mscorlib dll system threading executioncontext runinternal system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state bool preservesyncctx unknown mscorlib dll system threading executioncontext run system threading executioncontext executioncontext system threading contextcallback callback object state unknown windowsbase dll ms internal culturepreservingexecutioncontext run ms internal culturepreservingexecutioncontext executioncontext system threading contextcallback callback object state unknown windowsbase dll system windows threading dispatcheroperation invoke unknown windowsbase dll system windows threading dispatcher processqueue unknown windowsbase dll system windows threading dispatcher wndprochook system intptr hwnd int msg system intptr wparam system intptr lparam ref bool handled unknown windowsbase dll ms hwndwrapper wndproc system intptr hwnd int msg system intptr wparam system intptr lparam ref bool handled unknown windowsbase dll ms hwndsubclass dispatchercallbackoperation object o unknown windowsbase dll system windows threading exceptionwrapper internalrealcall system delegate callback object args int numargs unknown windowsbase dll system windows threading exceptionwrapper trycatchwhen object source system delegate callback object args int numargs system delegate catchhandler unknown windowsbase dll system windows threading dispatcher legacyinvokeimpl system windows threading dispatcherpriority priority system timespan timeout system delegate method object args int numargs unknown windowsbase dll ms hwndsubclass subclasswndproc system intptr hwnd int msg system intptr wparam system intptr lparam unknown underlying exception argumentexception the operation failed as details for project could not be loaded at nuget packagemanagement visualstudio netcorepackagereferenceproject getpackagespecsasync dependencygraphcachecontext context at nuget visualstudio vspackageinstallerservices d movenext at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at nuget visualstudio vspackageinstallerservices c b d movenext at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft visualstudio threading joinabletask completeoncurrentthread at microsoft visualstudio threading joinabletask completeoncurrentthread at microsoft visualstudio threading joinabletaskfactory run func asyncmethod joinabletaskcreationoptions creationoptions at nuget visualstudio vspackageinstallerservices getinstalledpackages project project at microsoft visualstudio languageservices packaging packageinstallerservice packageservicesproxy getinstalledpackages project project at microsoft visualstudio languageservices packaging packageinstallerservice processprojectchange solution solution projectid projectid at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject ,1 2127,23599824650.0,IssuesEvent,2022-08-23 23:59:21,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"Getting the ""Feature 'Navigate to' is currently unavailable due to an internal error"" error",Bug Area-IDE Tenet-Reliability,"**Version Used**: VS 2019 16.11.4 **Steps to Reproduce**: 1. Have a VB.NET file open, with multiple classes defined within it 2. Select one of the classes to refactor using Quick Actions and Refactoring... 3. I tried both selecting the first class in the file, the right-mouse button click on my selection 4. I select *Quick Actions and Refactoring...* from the popup - nothing happens 5. I tried Control-., - nothing happens **Expected Behavior**: I expected the Quick Actions and Refactorings... dialog to popup. It didn't. **Actual Behavior**: Sometimes nothing happened. Sometimes I'd get the error *Feature 'Navigate to' is currently unavailable due to an internal error* would come up. These are the only two things that happens. I clicked on that bar in VS 2019. This gave me this output: ``` > StreamJsonRpc.RemoteInvocationException: The span does not belong to a source snapshot of the projection snapshot at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: StreamJsonRpc.RemoteInvocationException: The span does not belong to a source snapshot of the projection snapshot at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteCallback`1.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigateToSearchService.<>c__DisplayClass3_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigateToSearchService.<>c__DisplayClass6_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__14.MoveNext() ``` I've looked this error in the issues here. I found two (#56607 and #54464). Although both had similarities to what I'm experiencing, I think this is different enough to warrant its own issue.",True,"Getting the ""Feature 'Navigate to' is currently unavailable due to an internal error"" error - **Version Used**: VS 2019 16.11.4 **Steps to Reproduce**: 1. Have a VB.NET file open, with multiple classes defined within it 2. Select one of the classes to refactor using Quick Actions and Refactoring... 3. I tried both selecting the first class in the file, the right-mouse button click on my selection 4. I select *Quick Actions and Refactoring...* from the popup - nothing happens 5. I tried Control-., - nothing happens **Expected Behavior**: I expected the Quick Actions and Refactorings... dialog to popup. It didn't. **Actual Behavior**: Sometimes nothing happened. Sometimes I'd get the error *Feature 'Navigate to' is currently unavailable due to an internal error* would come up. These are the only two things that happens. I clicked on that bar in VS 2019. This gave me this output: ``` > StreamJsonRpc.RemoteInvocationException: The span does not belong to a source snapshot of the projection snapshot at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: StreamJsonRpc.RemoteInvocationException: The span does not belong to a source snapshot of the projection snapshot at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteCallback`1.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigateToSearchService.<>c__DisplayClass3_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigateToSearchService.<>c__DisplayClass6_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__14.MoveNext() ``` I've looked this error in the issues here. I found two (#56607 and #54464). Although both had similarities to what I'm experiencing, I think this is different enough to warrant its own issue.",1,getting the feature navigate to is currently unavailable due to an internal error error version used vs steps to reproduce have a vb net file open with multiple classes defined within it select one of the classes to refactor using quick actions and refactoring i tried both selecting the first class in the file the right mouse button click on my selection i select quick actions and refactoring from the popup nothing happens i tried control nothing happens expected behavior i expected the quick actions and refactorings dialog to popup it didn t actual behavior sometimes nothing happened sometimes i d get the error feature navigate to is currently unavailable due to an internal error would come up these are the only two things that happens i clicked on that bar in vs this gave me this output streamjsonrpc remoteinvocationexception the span does not belong to a source snapshot of the projection snapshot at streamjsonrpc jsonrpc d movenext 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 validateend task task at microsoft codeanalysis remote brokeredserviceconnection d movenext end of stack trace from previous location where exception was thrown at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject rpc server exception streamjsonrpc remoteinvocationexception the span does not belong to a source snapshot of the projection snapshot at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotecallback d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotenavigatetosearchservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotenavigatetosearchservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredservicebase d movenext i ve looked this error in the issues here i found two and although both had similarities to what i m experiencing i think this is different enough to warrant its own issue ,1 86,3631776897.0,IssuesEvent,2016-02-11 04:27:08,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,NullReferenceException when local Const is used before its declaration,4 - In Review Area-Compilers Bug Language-VB Tenet-Reliability,"Ported from DevDiv 187850 ``` Public Class TestClass Shared Sub Main() Dim x as Integer = STR_DEF Const STR_DEF As String = vbNullString End Sub End Class ``` Observed: NullReferenceException > Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Conversions.ClassifyNumericConstantConversion(Microsoft.CodeAnalysis.VisualBasic.BoundExpression constantExpression, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol destination, Microsoft.CodeAnalysis.VisualBasic.Binder binder) Line 1482 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Conversions.ClassifyPredefinedConversion(Microsoft.CodeAnalysis.VisualBasic.BoundExpression source, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol destination, Microsoft.CodeAnalysis.VisualBasic.Binder binder, Boolean userDefinedConversionsMightStillBeApplicable, System.Collections.Generic.HashSet(Of Microsoft.CodeAnalysis.DiagnosticInfo) useSiteDiagnostics) Line 944 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Conversions.ClassifyConversion(Microsoft.CodeAnalysis.VisualBasic.BoundExpression source, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol destination, Microsoft.CodeAnalysis.VisualBasic.Binder binder, System.Collections.Generic.HashSet(Of Microsoft.CodeAnalysis.DiagnosticInfo) useSiteDiagnostics) Line 996 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.ApplyConversion(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode node, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol targetType, Microsoft.CodeAnalysis.VisualBasic.BoundExpression argument, Boolean isExplicit, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Boolean isOperandOfConditionalBranch, Boolean explicitSemanticForConcatArgument) Line 393 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.ApplyImplicitConversion(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode node, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol targetType, Microsoft.CodeAnalysis.VisualBasic.BoundExpression expression, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Boolean isOperandOfConditionalBranch) Line 304 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindVariableDeclaration(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode tree, Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax name, Microsoft.CodeAnalysis.VisualBasic.Syntax.AsClauseSyntax asClauseOpt, Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax equalsValueOpt, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Boolean skipAsNewInitializer) Line 1124 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindVariableDeclarators(Microsoft.CodeAnalysis.SeparatedSyntaxList(Of Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableDeclaratorSyntax) declarators, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 978 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindLocalDeclaration(Microsoft.CodeAnalysis.VisualBasic.Syntax.LocalDeclarationStatementSyntax node, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 946 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax node, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 77 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode syntax, Microsoft.CodeAnalysis.SyntaxList(Of Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax) stmtList, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Microsoft.CodeAnalysis.VisualBasic.Binder stmtListBinder) Line 2006 Basic ",True,"NullReferenceException when local Const is used before its declaration - Ported from DevDiv 187850 ``` Public Class TestClass Shared Sub Main() Dim x as Integer = STR_DEF Const STR_DEF As String = vbNullString End Sub End Class ``` Observed: NullReferenceException > Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Conversions.ClassifyNumericConstantConversion(Microsoft.CodeAnalysis.VisualBasic.BoundExpression constantExpression, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol destination, Microsoft.CodeAnalysis.VisualBasic.Binder binder) Line 1482 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Conversions.ClassifyPredefinedConversion(Microsoft.CodeAnalysis.VisualBasic.BoundExpression source, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol destination, Microsoft.CodeAnalysis.VisualBasic.Binder binder, Boolean userDefinedConversionsMightStillBeApplicable, System.Collections.Generic.HashSet(Of Microsoft.CodeAnalysis.DiagnosticInfo) useSiteDiagnostics) Line 944 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Conversions.ClassifyConversion(Microsoft.CodeAnalysis.VisualBasic.BoundExpression source, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol destination, Microsoft.CodeAnalysis.VisualBasic.Binder binder, System.Collections.Generic.HashSet(Of Microsoft.CodeAnalysis.DiagnosticInfo) useSiteDiagnostics) Line 996 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.ApplyConversion(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode node, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol targetType, Microsoft.CodeAnalysis.VisualBasic.BoundExpression argument, Boolean isExplicit, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Boolean isOperandOfConditionalBranch, Boolean explicitSemanticForConcatArgument) Line 393 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.ApplyImplicitConversion(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode node, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol targetType, Microsoft.CodeAnalysis.VisualBasic.BoundExpression expression, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Boolean isOperandOfConditionalBranch) Line 304 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindVariableDeclaration(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode tree, Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax name, Microsoft.CodeAnalysis.VisualBasic.Syntax.AsClauseSyntax asClauseOpt, Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax equalsValueOpt, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Boolean skipAsNewInitializer) Line 1124 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindVariableDeclarators(Microsoft.CodeAnalysis.SeparatedSyntaxList(Of Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableDeclaratorSyntax) declarators, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 978 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindLocalDeclaration(Microsoft.CodeAnalysis.VisualBasic.Syntax.LocalDeclarationStatementSyntax node, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 946 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax node, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 77 Basic Microsoft.CodeAnalysis.VisualBasic.dll!Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode syntax, Microsoft.CodeAnalysis.SyntaxList(Of Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax) stmtList, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Microsoft.CodeAnalysis.VisualBasic.Binder stmtListBinder) Line 2006 Basic ",1,nullreferenceexception when local const is used before its declaration ported from devdiv public class testclass shared sub main dim x as integer str def const str def as string vbnullstring end sub end class observed nullreferenceexception microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic conversions classifynumericconstantconversion microsoft codeanalysis visualbasic boundexpression constantexpression microsoft codeanalysis visualbasic symbols typesymbol destination microsoft codeanalysis visualbasic binder binder line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic conversions classifypredefinedconversion microsoft codeanalysis visualbasic boundexpression source microsoft codeanalysis visualbasic symbols typesymbol destination microsoft codeanalysis visualbasic binder binder boolean userdefinedconversionsmightstillbeapplicable system collections generic hashset of microsoft codeanalysis diagnosticinfo usesitediagnostics line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic conversions classifyconversion microsoft codeanalysis visualbasic boundexpression source microsoft codeanalysis visualbasic symbols typesymbol destination microsoft codeanalysis visualbasic binder binder system collections generic hashset of microsoft codeanalysis diagnosticinfo usesitediagnostics line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic binder applyconversion microsoft codeanalysis visualbasic visualbasicsyntaxnode node microsoft codeanalysis visualbasic symbols typesymbol targettype microsoft codeanalysis visualbasic boundexpression argument boolean isexplicit microsoft codeanalysis diagnosticbag diagnostics boolean isoperandofconditionalbranch boolean explicitsemanticforconcatargument line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic binder applyimplicitconversion microsoft codeanalysis visualbasic visualbasicsyntaxnode node microsoft codeanalysis visualbasic symbols typesymbol targettype microsoft codeanalysis visualbasic boundexpression expression microsoft codeanalysis diagnosticbag diagnostics boolean isoperandofconditionalbranch line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic binder bindvariabledeclaration microsoft codeanalysis visualbasic visualbasicsyntaxnode tree microsoft codeanalysis visualbasic syntax modifiedidentifiersyntax name microsoft codeanalysis visualbasic syntax asclausesyntax asclauseopt microsoft codeanalysis visualbasic syntax equalsvaluesyntax equalsvalueopt microsoft codeanalysis diagnosticbag diagnostics boolean skipasnewinitializer line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic binder bindvariabledeclarators microsoft codeanalysis separatedsyntaxlist of microsoft codeanalysis visualbasic syntax variabledeclaratorsyntax declarators microsoft codeanalysis diagnosticbag diagnostics line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic binder bindlocaldeclaration microsoft codeanalysis visualbasic syntax localdeclarationstatementsyntax node microsoft codeanalysis diagnosticbag diagnostics line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic binder bindstatement microsoft codeanalysis visualbasic syntax statementsyntax node microsoft codeanalysis diagnosticbag diagnostics line basic microsoft codeanalysis visualbasic dll microsoft codeanalysis visualbasic binder bindblock microsoft codeanalysis visualbasic visualbasicsyntaxnode syntax microsoft codeanalysis syntaxlist of microsoft codeanalysis visualbasic syntax statementsyntax stmtlist microsoft codeanalysis diagnosticbag diagnostics microsoft codeanalysis visualbasic binder stmtlistbinder line basic ,1 2264,24555764444.0,IssuesEvent,2022-10-12 15:44:56,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Error when applying the IDE0059 rule on code with simplified 'new' expression,Bug Area-IDE Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Error-when-applying-the-IDE0059-rule-on-/10155385)._ --- [severity:It bothers me. A fix would be nice] When I apply the rule IDE0059 to remove a unnecessary value assignment that can be discarded with _ but the variable has a simplified 'new' expression the discarded version does not know the Type. ``` // before applying IDE0059 rule MyClass obj = new(""test""); // after applying IDE0059 rule _ = new(""test""); ``` So in this example the version after applying the rule does not know what Type the simplified new should be. The solution to this would be that when applying the IDE0059 rule it should be checked if there is a simplified new and than add the ClassType to that like this: ``` _ = new MyClass (""test""); ``` --- ### Original Comments #### Feedback Bot on 9/22/2022, 05:28 PM: (private comment, text removed) --- ### Original Solutions (no solutions)",True,"Error when applying the IDE0059 rule on code with simplified 'new' expression - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Error-when-applying-the-IDE0059-rule-on-/10155385)._ --- [severity:It bothers me. A fix would be nice] When I apply the rule IDE0059 to remove a unnecessary value assignment that can be discarded with _ but the variable has a simplified 'new' expression the discarded version does not know the Type. ``` // before applying IDE0059 rule MyClass obj = new(""test""); // after applying IDE0059 rule _ = new(""test""); ``` So in this example the version after applying the rule does not know what Type the simplified new should be. The solution to this would be that when applying the IDE0059 rule it should be checked if there is a simplified new and than add the ClassType to that like this: ``` _ = new MyClass (""test""); ``` --- ### Original Comments #### Feedback Bot on 9/22/2022, 05:28 PM: (private comment, text removed) --- ### Original Solutions (no solutions)",1,error when applying the rule on code with simplified new expression this issue has been moved from when i apply the rule to remove a unnecessary value assignment that can be discarded with but the variable has a simplified new expression the discarded version does not know the type before applying rule myclass obj new test after applying rule new test so in this example the version after applying the rule does not know what type the simplified new should be the solution to this would be that when applying the rule it should be checked if there is a simplified new and than add the classtype to that like this new myclass test original comments feedback bot on pm private comment text removed original solutions no solutions ,1 496,7931539969.0,IssuesEvent,2018-07-07 01:20:25,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Visual Studio crashed when type { object = ref,4 - In Review Area-Compilers Bug Tenet-Reliability,"**Version Used**: 15.7.4 **Steps to Reproduce**: open any method, or C# interactive and start writing: var temp = new { object = ref **Expected Behavior**: Error that ""object"" appears. **Actual Behavior**: Visual Studio crashed ",True,"Visual Studio crashed when type { object = ref - **Version Used**: 15.7.4 **Steps to Reproduce**: open any method, or C# interactive and start writing: var temp = new { object = ref **Expected Behavior**: Error that ""object"" appears. **Actual Behavior**: Visual Studio crashed ",1,visual studio crashed when type object ref version used steps to reproduce open any method or c interactive and start writing var temp new object ref expected behavior error that object appears actual behavior visual studio crashed ,1 808,10586798650.0,IssuesEvent,2019-10-08 20:32:44,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VisualStudioUnresolvedAnalyzerReference not overriding Display property provokes VS 16.3 crash.,4 - In Review Area-Analyzers Bug Tenet-Reliability,"Regression from what shipped with VS 16.2. https://github.com/dotnet/roslyn/blob/7f60b3849b6dd1c3ee64cd2d327cfc5ea6fa7b64/src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioAnalyzer.cs#L135 does not override the `Display`property, meaning whoever uses that property will get a null value back despite the comment in `AnalyzerReference` suggesting the opposite. Enter VS 16.3's `FxCopAnalyzersSuggestedActionCallback.IsNuGetInstalled()` https://github.com/dotnet/roslyn/blob/829fe7d4fe75b243fc535454cf5c24c173dfe1ec/src/VisualStudio/Core/Def/Implementation/Diagnostics/FxCopAnalyzersSuggestedActionCallback.cs#L142-L144 Crash. Unhandled .NET exception. Sure, it's VS acting up (and perhaps especially bad it's not handling this exception), but it seems this code is not doing what it `Should` (to quote) https://github.com/dotnet/roslyn/blob/7f60b3849b6dd1c3ee64cd2d327cfc5ea6fa7b64/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerReference.cs#L29-L31 A quick (and dirty?) ""fix"" could be to just add an override for that property, forwarding to `_underlying.Display`, since that seems to have a non-null string, but I also believe this code needs a bit more unit testing, the baseclass comment ""should"" could benefit from some clarification (is it supposed to be dependable non-null, or is it an optional suggestion), and @mavasani that FxCop code needs to be fixed to not blindly trust reference values. Since this is currently a show-stopper for us (we're at an effective stand still, not able to trust VS to not crash while editing code), perhaps that could be incentive to fast track a fix? Edit: Just in case it helps understanding the issue, `_underlying.Display` contains the string `Unresolved: MyProjPath\\mscorlib.dll`, where MyProjPath is the local filesystem absolute (with doubled-up backslashes) path to the directory holding the .csproj, which seems obvious to me since there are no dll's at all in that directory.",True,"VisualStudioUnresolvedAnalyzerReference not overriding Display property provokes VS 16.3 crash. - Regression from what shipped with VS 16.2. https://github.com/dotnet/roslyn/blob/7f60b3849b6dd1c3ee64cd2d327cfc5ea6fa7b64/src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioAnalyzer.cs#L135 does not override the `Display`property, meaning whoever uses that property will get a null value back despite the comment in `AnalyzerReference` suggesting the opposite. Enter VS 16.3's `FxCopAnalyzersSuggestedActionCallback.IsNuGetInstalled()` https://github.com/dotnet/roslyn/blob/829fe7d4fe75b243fc535454cf5c24c173dfe1ec/src/VisualStudio/Core/Def/Implementation/Diagnostics/FxCopAnalyzersSuggestedActionCallback.cs#L142-L144 Crash. Unhandled .NET exception. Sure, it's VS acting up (and perhaps especially bad it's not handling this exception), but it seems this code is not doing what it `Should` (to quote) https://github.com/dotnet/roslyn/blob/7f60b3849b6dd1c3ee64cd2d327cfc5ea6fa7b64/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerReference.cs#L29-L31 A quick (and dirty?) ""fix"" could be to just add an override for that property, forwarding to `_underlying.Display`, since that seems to have a non-null string, but I also believe this code needs a bit more unit testing, the baseclass comment ""should"" could benefit from some clarification (is it supposed to be dependable non-null, or is it an optional suggestion), and @mavasani that FxCop code needs to be fixed to not blindly trust reference values. Since this is currently a show-stopper for us (we're at an effective stand still, not able to trust VS to not crash while editing code), perhaps that could be incentive to fast track a fix? Edit: Just in case it helps understanding the issue, `_underlying.Display` contains the string `Unresolved: MyProjPath\\mscorlib.dll`, where MyProjPath is the local filesystem absolute (with doubled-up backslashes) path to the directory holding the .csproj, which seems obvious to me since there are no dll's at all in that directory.",1,visualstudiounresolvedanalyzerreference not overriding display property provokes vs crash regression from what shipped with vs does not override the display property meaning whoever uses that property will get a null value back despite the comment in analyzerreference suggesting the opposite enter vs s fxcopanalyzerssuggestedactioncallback isnugetinstalled crash unhandled net exception sure it s vs acting up and perhaps especially bad it s not handling this exception but it seems this code is not doing what it should to quote a quick and dirty fix could be to just add an override for that property forwarding to underlying display since that seems to have a non null string but i also believe this code needs a bit more unit testing the baseclass comment should could benefit from some clarification is it supposed to be dependable non null or is it an optional suggestion and mavasani that fxcop code needs to be fixed to not blindly trust reference values since this is currently a show stopper for us we re at an effective stand still not able to trust vs to not crash while editing code perhaps that could be incentive to fast track a fix edit just in case it helps understanding the issue underlying display contains the string unresolved myprojpath mscorlib dll where myprojpath is the local filesystem absolute with doubled up backslashes path to the directory holding the csproj which seems obvious to me since there are no dll s at all in that directory ,1 872,11251547991.0,IssuesEvent,2020-01-11 01:03:57,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Unexpected System.NullReferenceException while binding global imports,Area-Compilers Bug Tenet-Reliability,"``` Public Sub NothingInGlobalImports() Dim options = TestOptions.DebugDll.WithGlobalImports({Nothing}) options.Errors.AssertTheseDiagnostics() Dim comp = CreateCompilation("""", options:=options) comp.AssertTheseDiagnostics() End Sub ``` Observed: ``` System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Symbols\Source\SourceModuleSymbol.vb(375,0): at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceModuleSymbol.BindImports(CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Symbols\Source\SourceModuleSymbol.vb(349,0): at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceModuleSymbol.EnsureImportsAreBound(CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Symbols\Source\SourceModuleSymbol.vb(625,0): at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceModuleSymbol.GetAllDeclarationErrors(BindingDiagnosticBag diagnostics, CancellationToken cancellationToken, Boolean& hasExtensionMethods) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Symbols\Source\SourceAssemblySymbol.vb(1144,0): at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceAssemblySymbol.GetAllDeclarationErrors(BindingDiagnosticBag diagnostics, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Compilation\VisualBasicCompilation.vb(2064,0): at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsWithoutFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Compilation\VisualBasicCompilation.vb(2013,0): at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Compilation\VisualBasicCompilation.vb(2002,0): at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb(847,0): at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertTheseDiagnostics(Compilation compilation, XElement errs, Boolean suppressInfos) F:\GitHub\roslyn\src\Compilers\VisualBasic\Test\Semantic\Compilation\VisualBasicCompilationOptionsTests.vb(580,0): at Microsoft.CodeAnalysis.VisualBasic.UnitTests.VisualBasicCompilationOptionsTests.NothingInGlobalImports() ``` Expected: No exception. It would be Ok to report an error, but that is optional, I think. We can simply ignore the null reference. Should check similar scenario for C#. ",True,"Unexpected System.NullReferenceException while binding global imports - ``` Public Sub NothingInGlobalImports() Dim options = TestOptions.DebugDll.WithGlobalImports({Nothing}) options.Errors.AssertTheseDiagnostics() Dim comp = CreateCompilation("""", options:=options) comp.AssertTheseDiagnostics() End Sub ``` Observed: ``` System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Symbols\Source\SourceModuleSymbol.vb(375,0): at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceModuleSymbol.BindImports(CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Symbols\Source\SourceModuleSymbol.vb(349,0): at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceModuleSymbol.EnsureImportsAreBound(CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Symbols\Source\SourceModuleSymbol.vb(625,0): at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceModuleSymbol.GetAllDeclarationErrors(BindingDiagnosticBag diagnostics, CancellationToken cancellationToken, Boolean& hasExtensionMethods) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Symbols\Source\SourceAssemblySymbol.vb(1144,0): at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceAssemblySymbol.GetAllDeclarationErrors(BindingDiagnosticBag diagnostics, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Compilation\VisualBasicCompilation.vb(2064,0): at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsWithoutFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Compilation\VisualBasicCompilation.vb(2013,0): at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\VisualBasic\Portable\Compilation\VisualBasicCompilation.vb(2002,0): at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb(847,0): at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertTheseDiagnostics(Compilation compilation, XElement errs, Boolean suppressInfos) F:\GitHub\roslyn\src\Compilers\VisualBasic\Test\Semantic\Compilation\VisualBasicCompilationOptionsTests.vb(580,0): at Microsoft.CodeAnalysis.VisualBasic.UnitTests.VisualBasicCompilationOptionsTests.NothingInGlobalImports() ``` Expected: No exception. It would be Ok to report an error, but that is optional, I think. We can simply ignore the null reference. Should check similar scenario for C#. ",1,unexpected system nullreferenceexception while binding global imports public sub nothinginglobalimports dim options testoptions debugdll withglobalimports nothing options errors assertthesediagnostics dim comp createcompilation options options comp assertthesediagnostics end sub observed system nullreferenceexception object reference not set to an instance of an object stack trace f github roslyn src compilers visualbasic portable symbols source sourcemodulesymbol vb at microsoft codeanalysis visualbasic symbols sourcemodulesymbol bindimports cancellationtoken cancellationtoken f github roslyn src compilers visualbasic portable symbols source sourcemodulesymbol vb at microsoft codeanalysis visualbasic symbols sourcemodulesymbol ensureimportsarebound cancellationtoken cancellationtoken f github roslyn src compilers visualbasic portable symbols source sourcemodulesymbol vb at microsoft codeanalysis visualbasic symbols sourcemodulesymbol getalldeclarationerrors bindingdiagnosticbag diagnostics cancellationtoken cancellationtoken boolean hasextensionmethods f github roslyn src compilers visualbasic portable symbols source sourceassemblysymbol vb at microsoft codeanalysis visualbasic symbols sourceassemblysymbol getalldeclarationerrors bindingdiagnosticbag diagnostics cancellationtoken cancellationtoken f github roslyn src compilers visualbasic portable compilation visualbasiccompilation vb at microsoft codeanalysis visualbasic visualbasiccompilation getdiagnosticswithoutfiltering compilationstage stage boolean includeearlierstages bindingdiagnosticbag builder cancellationtoken cancellationtoken f github roslyn src compilers visualbasic portable compilation visualbasiccompilation vb at microsoft codeanalysis visualbasic visualbasiccompilation getdiagnostics compilationstage stage boolean includeearlierstages diagnosticbag diagnostics cancellationtoken cancellationtoken f github roslyn src compilers visualbasic portable compilation visualbasiccompilation vb at microsoft codeanalysis visualbasic visualbasiccompilation getdiagnostics compilationstage stage boolean includeearlierstages cancellationtoken cancellationtoken f github roslyn src compilers test utilities visualbasic compilationtestutils vb at microsoft codeanalysis visualbasic unittests compilationutils assertthesediagnostics compilation compilation xelement errs boolean suppressinfos f github roslyn src compilers visualbasic test semantic compilation visualbasiccompilationoptionstests vb at microsoft codeanalysis visualbasic unittests visualbasiccompilationoptionstests nothinginglobalimports expected no exception it would be ok to report an error but that is optional i think we can simply ignore the null reference should check similar scenario for c ,1 293,6038401543.0,IssuesEvent,2017-06-09 21:19:27,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,IDE slowly gets less and less responsive and eventually crashes,Area-IDE Bug Tenet-Reliability Urgency-Now,"I am editing a big C# file. IDE gets slower and slower to respond and eventually crashes. I sent several Watson dumps. I also have a dump taken when VS is using close to 2GB of memory, it looks like there might be a memory ""leak"" somewhere. I captured a dump, it is available upon request. CC @Pilchie ",True,"IDE slowly gets less and less responsive and eventually crashes - I am editing a big C# file. IDE gets slower and slower to respond and eventually crashes. I sent several Watson dumps. I also have a dump taken when VS is using close to 2GB of memory, it looks like there might be a memory ""leak"" somewhere. I captured a dump, it is available upon request. CC @Pilchie ",1,ide slowly gets less and less responsive and eventually crashes i am editing a big c file ide gets slower and slower to respond and eventually crashes i sent several watson dumps i also have a dump taken when vs is using close to of memory it looks like there might be a memory leak somewhere i captured a dump it is available upon request cc pilchie ,1 272,5938939826.0,IssuesEvent,2017-05-25 02:27:54,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS Crash: contract failed in CodeModel.AbstractProjectCodeModel.GetCodeModelCache,Area-IDE Bug Tenet-Reliability,"While working in Compilers.sln. Build: D15Rel 26202.1 Stack trace: ``` at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) in E:\A\_work\6\s\src\Workspaces\Core\Portable\Utilities\Contract.cs:line 86 at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.AbstractProjectCodeModel.GetCodeModelCache() in E:\A\_work\6\s\src\VisualStudio\Core\Impl\CodeModel\AbstractProjectCodeModel.cs:line 54 at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.AbstractProjectCodeModel.TryGetCachedFileCodeModel(String fileName, ComHandle`2& fileCodeModelHandle) in E:\A\_work\6\s\src\VisualStudio\Core\Impl\CodeModel\AbstractProjectCodeModel.cs:line 69 at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelIncrementalAnalyzerProvider.Analyzer.FireEvents(DocumentId documentId, CancellationToken cancellationToken) in E:\A\_work\6\s\src\VisualStudio\Core\Impl\CodeModel\CodeModelIncrementalAnalyzer.cs:line 86 at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelIncrementalAnalyzerProvider.Analyzer.AnalyzeSyntaxAsync(Document document, InvocationReasons reasons, CancellationToken cancellationToken) in E:\A\_work\6\s\src\VisualStudio\Core\Impl\CodeModel\CodeModelIncrementalAnalyzer.cs:line 60 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass30_0.b__0(IIncrementalAnalyzer a, Document d, CancellationToken c) in E:\A\_work\6\s\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 153 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass31_1`1.<b__0>d.MoveNext() in E:\A\_work\6\s\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 187 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() in E:\A\_work\6\s\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 229 ``` Memory dump: ```%internal_share%\public\tomat\Bugs\16973``` ",True,"VS Crash: contract failed in CodeModel.AbstractProjectCodeModel.GetCodeModelCache - While working in Compilers.sln. Build: D15Rel 26202.1 Stack trace: ``` at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) in E:\A\_work\6\s\src\Workspaces\Core\Portable\Utilities\Contract.cs:line 86 at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.AbstractProjectCodeModel.GetCodeModelCache() in E:\A\_work\6\s\src\VisualStudio\Core\Impl\CodeModel\AbstractProjectCodeModel.cs:line 54 at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.AbstractProjectCodeModel.TryGetCachedFileCodeModel(String fileName, ComHandle`2& fileCodeModelHandle) in E:\A\_work\6\s\src\VisualStudio\Core\Impl\CodeModel\AbstractProjectCodeModel.cs:line 69 at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelIncrementalAnalyzerProvider.Analyzer.FireEvents(DocumentId documentId, CancellationToken cancellationToken) in E:\A\_work\6\s\src\VisualStudio\Core\Impl\CodeModel\CodeModelIncrementalAnalyzer.cs:line 86 at Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelIncrementalAnalyzerProvider.Analyzer.AnalyzeSyntaxAsync(Document document, InvocationReasons reasons, CancellationToken cancellationToken) in E:\A\_work\6\s\src\VisualStudio\Core\Impl\CodeModel\CodeModelIncrementalAnalyzer.cs:line 60 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass30_0.b__0(IIncrementalAnalyzer a, Document d, CancellationToken c) in E:\A\_work\6\s\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 153 at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.<>c__DisplayClass31_1`1.<b__0>d.MoveNext() in E:\A\_work\6\s\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 187 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.d__33`2.MoveNext() in E:\A\_work\6\s\src\Features\Core\Portable\SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs:line 229 ``` Memory dump: ```%internal_share%\public\tomat\Bugs\16973``` ",1,vs crash contract failed in codemodel abstractprojectcodemodel getcodemodelcache while working in compilers sln build stack trace at roslyn utilities contract throwiffalse boolean condition string message in e a work s src workspaces core portable utilities contract cs line at microsoft visualstudio languageservices implementation codemodel abstractprojectcodemodel getcodemodelcache in e a work s src visualstudio core impl codemodel abstractprojectcodemodel cs line at microsoft visualstudio languageservices implementation codemodel abstractprojectcodemodel trygetcachedfilecodemodel string filename comhandle filecodemodelhandle in e a work s src visualstudio core impl codemodel abstractprojectcodemodel cs line at microsoft visualstudio languageservices implementation codemodel codemodelincrementalanalyzerprovider analyzer fireevents documentid documentid cancellationtoken cancellationtoken in e a work s src visualstudio core impl codemodel codemodelincrementalanalyzer cs line at microsoft visualstudio languageservices implementation codemodel codemodelincrementalanalyzerprovider analyzer analyzesyntaxasync document document invocationreasons reasons cancellationtoken cancellationtoken in e a work s src visualstudio core impl codemodel codemodelincrementalanalyzer cs line at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b iincrementalanalyzer a document d cancellationtoken c in e a work s src features core portable solutioncrawler workcoordinator incrementalanalyzerprocessor cs line at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b d movenext in e a work s src features core portable solutioncrawler workcoordinator incrementalanalyzerprocessor cs line at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext in e a work s src features core portable solutioncrawler workcoordinator incrementalanalyzerprocessor cs line memory dump internal share public tomat bugs ,1 149,4343371636.0,IssuesEvent,2016-07-29 01:21:14,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Gargantuan source files can be silently treated as being much smaller,Area-Compilers Bug Tenet-Reliability,"**Version Used**: 1.3.1.60616 and recent sync to master **Steps to Reproduce**: * Run the following script ``` C# string program = ""class P { static void Main() { System.Console.WriteLine(\""hello\""); } }""; string garbage = ""@#%@#^@#^!#%#@$%@^""; File.WriteAllText(""big.cs"", program + garbage, Encoding.ASCII); using (var s = File.OpenWrite(""big.cs"")) { s.SetLength((long)uint.MaxValue + 1 + program.Length); } ``` * `csc big.cs` **Expected Behavior**: Compilation fails (either with a deliberate diagnostic that the stream is too long or with the correct errors that match the full text). **Actual Behavior**: Compilation succeeds as it only reads up to `program.Length` due to unchecked cast of stream length to `int`.",True,"Gargantuan source files can be silently treated as being much smaller - **Version Used**: 1.3.1.60616 and recent sync to master **Steps to Reproduce**: * Run the following script ``` C# string program = ""class P { static void Main() { System.Console.WriteLine(\""hello\""); } }""; string garbage = ""@#%@#^@#^!#%#@$%@^""; File.WriteAllText(""big.cs"", program + garbage, Encoding.ASCII); using (var s = File.OpenWrite(""big.cs"")) { s.SetLength((long)uint.MaxValue + 1 + program.Length); } ``` * `csc big.cs` **Expected Behavior**: Compilation fails (either with a deliberate diagnostic that the stream is too long or with the correct errors that match the full text). **Actual Behavior**: Compilation succeeds as it only reads up to `program.Length` due to unchecked cast of stream length to `int`.",1,gargantuan source files can be silently treated as being much smaller version used and recent sync to master steps to reproduce run the following script c string program class p static void main system console writeline hello string garbage file writealltext big cs program garbage encoding ascii using var s file openwrite big cs s setlength long uint maxvalue program length csc big cs expected behavior compilation fails either with a deliberate diagnostic that the stream is too long or with the correct errors that match the full text actual behavior compilation succeeds as it only reads up to program length due to unchecked cast of stream length to int ,1 998,12059082966.0,IssuesEvent,2020-04-15 18:37:45,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,SqlConnection.Finalize can cause crashes,Area-IDE Bug Resolution-Fixed Tenet-Reliability,"**Version Used**: Builds as new as 15.0.26730.15 :link: Internal issue: [DevDiv 490079](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/490079) **Steps to Reproduce**: Unknown **Expected Behavior**: `SqlConnection` instances are not finalized. **Actual Behavior**: `SqlConnection.Finalize()` is getting called on an unknown code path, resulting in a crash. :memo: This was supposed to be corrected by #20806, but it's still showing up.",True,"SqlConnection.Finalize can cause crashes - **Version Used**: Builds as new as 15.0.26730.15 :link: Internal issue: [DevDiv 490079](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/490079) **Steps to Reproduce**: Unknown **Expected Behavior**: `SqlConnection` instances are not finalized. **Actual Behavior**: `SqlConnection.Finalize()` is getting called on an unknown code path, resulting in a crash. :memo: This was supposed to be corrected by #20806, but it's still showing up.",1,sqlconnection finalize can cause crashes version used builds as new as link internal issue steps to reproduce unknown expected behavior sqlconnection instances are not finalized actual behavior sqlconnection finalize is getting called on an unknown code path resulting in a crash memo this was supposed to be corrected by but it s still showing up ,1 891,11524310778.0,IssuesEvent,2020-02-15 00:04:39,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,crash C# (Incorrect source),Area-Compilers Bug Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/897601/clash-c-incorrect-source.html)._ --- C#プロジェクト(Microsoft .NET Framework Version 4.8.03752)で、 以下の誤ったソースを記述するとVisual Studio Community 2019(Version 16.4.3)が動作停止することを確認したので報告致します。 ```C#:crash interface A { object A.B{ ``` --- ### Original Comments #### Visual Studio Feedback System on 1/28/2020, 03:45 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Visual Studio Feedback System on 2/5/2020, 11:26 AM: Thank you for reporting this issue to us. We have changed the title to better describe the problem so others can find and engage with it. --- ### Original Solutions (no solutions)",True,"crash C# (Incorrect source) - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/897601/clash-c-incorrect-source.html)._ --- C#プロジェクト(Microsoft .NET Framework Version 4.8.03752)で、 以下の誤ったソースを記述するとVisual Studio Community 2019(Version 16.4.3)が動作停止することを確認したので報告致します。 ```C#:crash interface A { object A.B{ ``` --- ### Original Comments #### Visual Studio Feedback System on 1/28/2020, 03:45 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Visual Studio Feedback System on 2/5/2020, 11:26 AM: Thank you for reporting this issue to us. We have changed the title to better describe the problem so others can find and engage with it. --- ### Original Solutions (no solutions)",1,crash c incorrect source this issue has been moved from c プロジェクト microsoft net framework version で、 以下の誤ったソースを記述するとvisual studio community version が動作停止することを確認したので報告致します。 c crash interface a object a b original comments visual studio feedback system on am we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps visual studio feedback system on am thank you for reporting this issue to us we have changed the title to better describe the problem so others can find and engage with it original solutions no solutions ,1 106,3934470623.0,IssuesEvent,2016-04-25 22:50:05,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,StackOverflowException compiling partial method with struct* parameter,Area-Compilers Bug Tenet-Reliability,"Compile the following with ```csc -t:library c.cs``` ``` unsafe partial struct S { partial void M(S* p) { } } ```",True,"StackOverflowException compiling partial method with struct* parameter - Compile the following with ```csc -t:library c.cs``` ``` unsafe partial struct S { partial void M(S* p) { } } ```",1,stackoverflowexception compiling partial method with struct parameter compile the following with csc t library c cs unsafe partial struct s partial void m s p ,1 2342,24801897343.0,IssuesEvent,2022-10-24 22:41:37,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Clear build-only diagnostics in the error list for edited documents,Area-IDE Area-Analyzers Feature Request Tenet-Reliability," @mavasani this approach matches the general way we do diagnostics for other build-only sources so I have no objections here. Still, it would be nice if I say, deleted the method that contained the diagnostics, they went away without me needing to rebuild, though I wouldn't block this PR on that. _Originally posted by @jmarolf in https://github.com/dotnet/roslyn/issues/63835#issuecomment-1275061238_ ",True,"Clear build-only diagnostics in the error list for edited documents - @mavasani this approach matches the general way we do diagnostics for other build-only sources so I have no objections here. Still, it would be nice if I say, deleted the method that contained the diagnostics, they went away without me needing to rebuild, though I wouldn't block this PR on that. _Originally posted by @jmarolf in https://github.com/dotnet/roslyn/issues/63835#issuecomment-1275061238_ ",1,clear build only diagnostics in the error list for edited documents mavasani this approach matches the general way we do diagnostics for other build only sources so i have no objections here still it would be nice if i say deleted the method that contained the diagnostics they went away without me needing to rebuild though i wouldn t block this pr on that originally posted by jmarolf in ,1 715,10022716408.0,IssuesEvent,2019-07-16 17:23:26,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Visual Studio hangs while writing a set property body with a typo,Area-Compilers Bug Developer Community Tenet-Reliability help wanted,"While writing a property set body, and having a typo, VS hangs, e.g.: ```csharp private string _hello; public string Hello { get => _hello; set => SetProperty)ref } ``` And then attempt to remove the typo.. _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/193242/visual-studio-hangs-while-writing-a-set-property-b.html VSTS ticketId: 562172_ _These are the original issue comments:_ (no comments) _These are the original issue solutions:_ (no solutions)",True,"Visual Studio hangs while writing a set property body with a typo - While writing a property set body, and having a typo, VS hangs, e.g.: ```csharp private string _hello; public string Hello { get => _hello; set => SetProperty)ref } ``` And then attempt to remove the typo.. _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/193242/visual-studio-hangs-while-writing-a-set-property-b.html VSTS ticketId: 562172_ _These are the original issue comments:_ (no comments) _These are the original issue solutions:_ (no solutions)",1,visual studio hangs while writing a set property body with a typo while writing a property set body and having a typo vs hangs e g csharp private string hello public string hello get hello set setproperty ref and then attempt to remove the typo this issue has been moved from vsts ticketid these are the original issue comments no comments these are the original issue solutions no solutions ,1 333,6660523236.0,IssuesEvent,2017-10-02 01:07:23,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,reopened,ContainsChildrenGraphQuery.GetGraphicAsync crashes due to invalid characters in path,Area-IDE Bug Tenet-Reliability,"This is from this community item: https://developercommunity.visualstudio.com/content/problem/76525/creating-a-nuget-package-from-uwp-library-using-th.html and it is likely a .NET Core project. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.IO.Path.GetExtension(String path) at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.ContainsChildrenGraphQuery.d__0.MoveNext() ```",True,"ContainsChildrenGraphQuery.GetGraphicAsync crashes due to invalid characters in path - This is from this community item: https://developercommunity.visualstudio.com/content/problem/76525/creating-a-nuget-package-from-uwp-library-using-th.html and it is likely a .NET Core project. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.IO.Path.GetExtension(String path) at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.ContainsChildrenGraphQuery.d__0.MoveNext() ```",1,containschildrengraphquery getgraphicasync crashes due to invalid characters in path this is from this community item and it is likely a net core project application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentexception illegal characters in path at system io path checkinvalidpathchars string path boolean checkadditional at system io path getextension string path at microsoft visualstudio languageservices implementation progression containschildrengraphquery d movenext ,1 989,11984959858.0,IssuesEvent,2020-04-07 16:40:38,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Compiler crash with syntax error in indexer declaration,Area-Compilers Bug Tenet-Reliability,"The following proposed unit test crashes the compiler: ```csharp [Fact] public void Test() { var source = @"" struct S { public bool Nada[int t] { get { return false; } } } ""; var compilation = CreateCompilation(source, options: TestOptions.DebugDll); compilation.GetDiagnostics(); } ``` The result of running it is ```none Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests3.Test Source: PatternMatchingTests3.cs line 3313 Duration: 839 ms Message: System.AggregateException : One or more errors occurred. ---- System.InvalidOperationException : Stack Trace: Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) Task.Wait() Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) Parallel.For(Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body) SourceNamespaceSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) line 56 SourceModuleSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) line 261 SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) line 911 CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, CancellationToken cancellationToken) line 2508 CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) line 2395 CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) line 2316 CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) line 2310 PatternMatchingTests3.Test() line 3322 ----- Inner Stack Trace ----- ThrowingTraceListener.Fail(String message, String detailMessage) line 26 TraceListener.Fail(String message) TraceInternal.Fail(String message) Debug.Assert(Boolean condition) SourceMemberFieldSymbolFromDeclarator.get_HasPointerType() line 376 BaseTypeAnalysis.NonPointerType(FieldSymbol field) line 154 SourceMemberContainerTypeSymbol.HasStructCircularity(DiagnosticBag diagnostics) line 1930 SourceMemberContainerTypeSymbol.CheckStructCircularity(DiagnosticBag diagnostics) line 1911 SourceMemberContainerTypeSymbol.get_KnownCircularStruct() line 1890 SourceMemberContainerTypeSymbol.AfterMembersChecks(DiagnosticBag diagnostics) line 1418 SourceMemberContainerTypeSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) line 516 Symbol.ForceCompleteMemberByLocation(SourceLocation locationOpt, Symbol member, CancellationToken cancellationToken) line 775 <>c__DisplayClass49_1.b__0(Int32 i) line 61 <>c__DisplayClass6_0`1.b__0(T param) line 171 <>c__DisplayClass17_0`1.b__1() Task.InnerInvoke() Task.InnerInvokeWithArg(Task childTask) <>c__DisplayClass176_0.b__0(Object ) ``` ",True,"Compiler crash with syntax error in indexer declaration - The following proposed unit test crashes the compiler: ```csharp [Fact] public void Test() { var source = @"" struct S { public bool Nada[int t] { get { return false; } } } ""; var compilation = CreateCompilation(source, options: TestOptions.DebugDll); compilation.GetDiagnostics(); } ``` The result of running it is ```none Microsoft.CodeAnalysis.CSharp.UnitTests.PatternMatchingTests3.Test Source: PatternMatchingTests3.cs line 3313 Duration: 839 ms Message: System.AggregateException : One or more errors occurred. ---- System.InvalidOperationException : Stack Trace: Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) Task.Wait() Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) Parallel.For(Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body) SourceNamespaceSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) line 56 SourceModuleSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) line 261 SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) line 911 CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, CancellationToken cancellationToken) line 2508 CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) line 2395 CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) line 2316 CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken) line 2310 PatternMatchingTests3.Test() line 3322 ----- Inner Stack Trace ----- ThrowingTraceListener.Fail(String message, String detailMessage) line 26 TraceListener.Fail(String message) TraceInternal.Fail(String message) Debug.Assert(Boolean condition) SourceMemberFieldSymbolFromDeclarator.get_HasPointerType() line 376 BaseTypeAnalysis.NonPointerType(FieldSymbol field) line 154 SourceMemberContainerTypeSymbol.HasStructCircularity(DiagnosticBag diagnostics) line 1930 SourceMemberContainerTypeSymbol.CheckStructCircularity(DiagnosticBag diagnostics) line 1911 SourceMemberContainerTypeSymbol.get_KnownCircularStruct() line 1890 SourceMemberContainerTypeSymbol.AfterMembersChecks(DiagnosticBag diagnostics) line 1418 SourceMemberContainerTypeSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) line 516 Symbol.ForceCompleteMemberByLocation(SourceLocation locationOpt, Symbol member, CancellationToken cancellationToken) line 775 <>c__DisplayClass49_1.b__0(Int32 i) line 61 <>c__DisplayClass6_0`1.b__0(T param) line 171 <>c__DisplayClass17_0`1.b__1() Task.InnerInvoke() Task.InnerInvokeWithArg(Task childTask) <>c__DisplayClass176_0.b__0(Object ) ``` ",1,compiler crash with syntax error in indexer declaration the following proposed unit test crashes the compiler csharp public void test var source struct s public bool nada get return false var compilation createcompilation source options testoptions debugdll compilation getdiagnostics the result of running it is none microsoft codeanalysis csharp unittests test source cs line duration ms message system aggregateexception one or more errors occurred system invalidoperationexception stack trace task throwifexceptional boolean includetaskcanceledexceptions task wait millisecondstimeout cancellationtoken cancellationtoken task wait parallel forworker frominclusive toexclusive paralleloptions paralleloptions action body action bodywithstate func bodywithlocal func localinit action localfinally parallel for frominclusive toexclusive paralleloptions paralleloptions action body sourcenamespacesymbol forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken line sourcemodulesymbol forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken line sourceassemblysymbol forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken line csharpcompilation getsourcedeclarationdiagnostics syntaxtree syntaxtree nullable filterspanwithintree func locationfilteropt cancellationtoken cancellationtoken line csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages diagnosticbag diagnostics cancellationtoken cancellationtoken line csharpcompilation getdiagnostics compilationstage stage boolean includeearlierstages cancellationtoken cancellationtoken line csharpcompilation getdiagnostics cancellationtoken cancellationtoken line test line inner stack trace throwingtracelistener fail string message string detailmessage line tracelistener fail string message traceinternal fail string message debug assert boolean condition sourcememberfieldsymbolfromdeclarator get haspointertype line basetypeanalysis nonpointertype fieldsymbol field line sourcemembercontainertypesymbol hasstructcircularity diagnosticbag diagnostics line sourcemembercontainertypesymbol checkstructcircularity diagnosticbag diagnostics line sourcemembercontainertypesymbol get knowncircularstruct line sourcemembercontainertypesymbol aftermemberschecks diagnosticbag diagnostics line sourcemembercontainertypesymbol forcecomplete sourcelocation locationopt cancellationtoken cancellationtoken line symbol forcecompletememberbylocation sourcelocation locationopt symbol member cancellationtoken cancellationtoken line c b i line c b t param line c b task innerinvoke task innerinvokewitharg task childtask c b object ,1 597,8787413457.0,IssuesEvent,2018-12-20 18:35:44,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,AbstractSignatureHelpProvider crashes VS when listing overloads of generic methods,Area-IDE Bug Developer Community Resolution-Duplicate Tenet-Reliability,"When using Ctrl+Shift+Space within the argument list of a static generic method to list overloads, VS always crashes. Repro steps: git clone https://github.com/Microsoft/vs-streamjsonrpc.git cd vs-streamjsonrpc src\streamjsonrpc.sln In VS, open the JsonRpcProxyGenerationTests.cs file. On line 30: this.clientRpc = JsonRpc.Attach<IServer>(this.clientStream); Place your caret on at the start of clientStream and press Ctrl+Shift+Space to list overloads. Crash. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.Filter(IList`1 items, IEnumerable`1 parameterNames, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.CreateSignatureHelpItems(IList`1 items, TextSpan applicableSpan, SignatureHelpState state, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.CSharp.SignatureHelp.InvocationExpressionSignatureHelpProvider.<GetItemsWorkerAsync>d__5.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.<GetItemsAsync>d__15.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.<ComputeItemsAsync>d__9.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeItemsAsync>d__9.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeItemsAsync>d__9.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeItemsAsync>d__9, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<ComputeItemsAsync>d__9 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.SignatureHelp.ISignatureHelpProvider>, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeModelInBackgroundAsync>d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeModelInBackgroundAsync>d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<ComputeModelInBackgroundAsync>d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.SignatureHelp.ISignatureHelpProvider>, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.<ComputeModel>b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<ChainTaskAndNotifyControllerWhenFinished>b__0(System.Threading.Tasks.Task`1<System.__Canon>) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWithFromAsync>b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/385276/abstractsignaturehelpprovider-crashes-vs-when-list.html VSTS ticketId: 731684_ _These are the original issue comments:_ (no comments) _These are the original issue solutions:_ (no solutions)",True,"AbstractSignatureHelpProvider crashes VS when listing overloads of generic methods - When using Ctrl+Shift+Space within the argument list of a static generic method to list overloads, VS always crashes. Repro steps: git clone https://github.com/Microsoft/vs-streamjsonrpc.git cd vs-streamjsonrpc src\streamjsonrpc.sln In VS, open the JsonRpcProxyGenerationTests.cs file. On line 30: this.clientRpc = JsonRpc.Attach<IServer>(this.clientStream); Place your caret on at the start of clientStream and press Ctrl+Shift+Space to list overloads. Crash. ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.Filter(IList`1 items, IEnumerable`1 parameterNames, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.CreateSignatureHelpItems(IList`1 items, TextSpan applicableSpan, SignatureHelpState state, Nullable`1 selectedItem) at Microsoft.CodeAnalysis.CSharp.SignatureHelp.InvocationExpressionSignatureHelpProvider.<GetItemsWorkerAsync>d__5.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.SignatureHelp.AbstractSignatureHelpProvider.<GetItemsAsync>d__15.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Session.<ComputeItemsAsync>d__9.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeItemsAsync>d__9.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeItemsAsync>d__9.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeItemsAsync>d__9, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<ComputeItemsAsync>d__9 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeItemsAsync(System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.SignatureHelp.ISignatureHelpProvider>, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, Microsoft.CodeAnalysis.Document, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeModelInBackgroundAsync>d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<ComputeModelInBackgroundAsync>d__4, Microsoft.CodeAnalysis.EditorFeatures, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<ComputeModelInBackgroundAsync>d__4 ByRef) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session.ComputeModelInBackgroundAsync(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.SignatureHelp.ISignatureHelpProvider>, Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.DisconnectedBufferGraph, Microsoft.CodeAnalysis.SignatureHelp.SignatureHelpTriggerInfo, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller+Session+<>c__DisplayClass3_0.<ComputeModel>b__0(Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Model, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.ModelComputation`1+<>c__DisplayClass17_0[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<ChainTaskAndNotifyControllerWhenFinished>b__0(System.Threading.Tasks.Task`1<System.__Canon>) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass15_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWithFromAsync>b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` _This issue has been moved from https://developercommunity.visualstudio.com/content/problem/385276/abstractsignaturehelpprovider-crashes-vs-when-list.html VSTS ticketId: 731684_ _These are the original issue comments:_ (no comments) _These are the original issue solutions:_ (no solutions)",1,abstractsignaturehelpprovider crashes vs when listing overloads of generic methods when using ctrl shift space within the argument list of a static generic method to list overloads vs always crashes repro steps git clone cd vs streamjsonrpc src streamjsonrpc sln in vs open the jsonrpcproxygenerationtests cs file on line this clientrpc jsonrpc attach lt iserver gt this clientstream place your caret on at the start of clientstream and press ctrl shift space to list overloads crash application devenv exe framework version description the application requested process termination through system environment failfast string message message system argumentoutofrangeexception index was out of range must be non negative and less than the size of the collection parameter name index at system throwhelper throwargumentoutofrangeexception exceptionargument argument exceptionresource resource at system collections generic list get item index at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider filter ilist items ienumerable parameternames nullable selecteditem at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider createsignaturehelpitems ilist items textspan applicablespan signaturehelpstate state nullable selecteditem at microsoft codeanalysis csharp signaturehelp invocationexpressionsignaturehelpprovider lt getitemsworkerasync gt d movenext 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 validateend task task at microsoft codeanalysis signaturehelp abstractsignaturehelpprovider lt getitemsasync gt d movenext 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 microsoft codeanalysis editor implementation intellisense signaturehelp controller session lt computeitemsasync gt d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action lt system exception gt at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis editor implementation intellisense signaturehelp controller session lt computeitemsasync gt d movenext at system runtime compilerservices taskawaiter throwfornonsuccess system threading tasks task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification system threading tasks task at microsoft codeanalysis editor implementation intellisense signaturehelp controller session lt computeitemsasync gt d movenext at system runtime compilerservices asynctaskmethodbuilder mscorlib version culture neutral publickeytoken start lt computeitemsasync gt d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computeitemsasync system collections immutable immutablearray lt microsoft codeanalysis signaturehelp isignaturehelpprovider gt microsoft visualstudio text snapshotpoint microsoft codeanalysis signaturehelp signaturehelptriggerinfo microsoft codeanalysis document system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session lt computemodelinbackgroundasync gt d movenext at system runtime compilerservices asynctaskmethodbuilder start lt computemodelinbackgroundasync gt d byref at microsoft codeanalysis editor implementation intellisense signaturehelp controller session computemodelinbackgroundasync microsoft codeanalysis editor implementation intellisense signaturehelp model system collections immutable immutablearray lt microsoft codeanalysis signaturehelp isignaturehelpprovider gt microsoft visualstudio text snapshotpoint microsoft codeanalysis editor implementation intellisense disconnectedbuffergraph microsoft codeanalysis signaturehelp signaturehelptriggerinfo system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense signaturehelp controller session lt gt c lt computemodel gt b microsoft codeanalysis editor implementation intellisense signaturehelp model system threading cancellationtoken at microsoft codeanalysis editor implementation intellisense modelcomputation lt gt c lt chaintaskandnotifycontrollerwhenfinished gt b system threading tasks task lt system canon gt at roslyn utilities taskextensions lt gt c lt safecontinuewithfromasync gt b system threading tasks task at system threading tasks continuationresulttaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback this issue has been moved from vsts ticketid these are the original issue comments no comments these are the original issue solutions no solutions ,1 332,6655757946.0,IssuesEvent,2017-09-29 17:44:57,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,How to reliably crash CSC with Linq,4 - In Review Area-Compilers Bug Tenet-Reliability,"**Version Used**: Visual Studio 2017 Update 3 Preview 7 **Steps to Reproduce**: 1. Create a new C# outlook VSTO addin 2. Change the two USINGS at the top FROM: using Outlook = Microsoft.Office.Interop.Outlook; using Office = Microsoft.Office.Core; TO: using Microsoft.Office.Interop.Outlook; using Microsoft.Office.Core; 3. Add this code: private void ThisAddIn_Startup(object sender, System.EventArgs e) { var MailItems = (from object x in Selection where x is MailItem select (MailItem)x).ToList(); } 4. Notice that ""Selection"" is a type (not a property) so this should generate a warning/error because it isn't valid code. Instead, it causes the compiler to exit with code -2146232797. **Expected Behavior**: I should get a warning/error saying something is wrong with that query. **Actual Behavior**: I get a cryptic CSC error code.",True,"How to reliably crash CSC with Linq - **Version Used**: Visual Studio 2017 Update 3 Preview 7 **Steps to Reproduce**: 1. Create a new C# outlook VSTO addin 2. Change the two USINGS at the top FROM: using Outlook = Microsoft.Office.Interop.Outlook; using Office = Microsoft.Office.Core; TO: using Microsoft.Office.Interop.Outlook; using Microsoft.Office.Core; 3. Add this code: private void ThisAddIn_Startup(object sender, System.EventArgs e) { var MailItems = (from object x in Selection where x is MailItem select (MailItem)x).ToList(); } 4. Notice that ""Selection"" is a type (not a property) so this should generate a warning/error because it isn't valid code. Instead, it causes the compiler to exit with code -2146232797. **Expected Behavior**: I should get a warning/error saying something is wrong with that query. **Actual Behavior**: I get a cryptic CSC error code.",1,how to reliably crash csc with linq version used visual studio update preview steps to reproduce create a new c outlook vsto addin change the two usings at the top from using outlook microsoft office interop outlook using office microsoft office core to using microsoft office interop outlook using microsoft office core add this code private void thisaddin startup object sender system eventargs e var mailitems from object x in selection where x is mailitem select mailitem x tolist notice that selection is a type not a property so this should generate a warning error because it isn t valid code instead it causes the compiler to exit with code expected behavior i should get a warning error saying something is wrong with that query actual behavior i get a cryptic csc error code ,1 85,3626689223.0,IssuesEvent,2016-02-10 02:34:29,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,InvalidOperationException is thrown in CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitTypeParameter,Area-Compilers Bug Language-C# Tenet-Reliability,"Ported from DevDiv 187859 > Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitTypeParameter(Microsoft.CodeAnalysis.CSharp.Symbols.TypeParameterSymbol symbol, System.Text.StringBuilder builder) Line 165 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.TypeParameterSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 184 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol symbol, System.Text.StringBuilder builder) Line 207 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitErrorType(Microsoft.CodeAnalysis.CSharp.Symbols.ErrorTypeSymbol symbol, System.Text.StringBuilder builder) Line 255 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.ErrorTypeSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 349 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitParameter(Microsoft.CodeAnalysis.CSharp.Symbols.ParameterSymbol symbol, System.Text.StringBuilder builder) Line 245 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.ParameterSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 240 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitParameters(System.Collections.Immutable.ImmutableArray parameters, bool isVararg, System.Text.StringBuilder builder) Line 83 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol symbol, System.Text.StringBuilder builder) Line 111 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 621 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.VisitMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol symbol, System.Text.StringBuilder builder) Line 38 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 621 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbol.GetDocumentationCommentId() Line 725 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.GetDocumentationCommentId(Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax crefSyntax, Microsoft.CodeAnalysis.CSharp.Binder binder, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 961 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 91 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitXmlCrefAttribute(Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax node) Line 69185 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) Line 64873 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(Microsoft.CodeAnalysis.SyntaxNode node) Line 35 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 54 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 159 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitXmlEmptyElement(Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax node) Line 69161 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) Line 64490 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(Microsoft.CodeAnalysis.SyntaxNode node) Line 35 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 54 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 159 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitXmlElement(Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax node) Line 69143 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) Line 64196 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(Microsoft.CodeAnalysis.SyntaxNode node) Line 35 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 54 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 159 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitDocumentationCommentTrivia(Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax node) Line 69083 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) Line 63218 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(Microsoft.CodeAnalysis.SyntaxNode node) Line 35 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.GetSubstitutedText(Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilation, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Microsoft.CodeAnalysis.CSharp.Symbol symbol, Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax trivia, Microsoft.CodeAnalysis.ArrayBuilder includeElementNodes, ref System.Collections.Generic.HashSet documentedParameters, ref System.Collections.Generic.HashSet documentedTypeParameters) Line 75 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.TryProcessDocumentationCommentTriviaNodes(Microsoft.CodeAnalysis.CSharp.Symbol symbol, bool isPartialMethodDefinitionPart, System.Collections.Immutable.ImmutableArray docCommentNodes, bool reportParameterOrTypeParameterDiagnostics, out string withUnprocessedIncludes, out bool haveParseError, out System.Collections.Generic.HashSet documentedTypeParameters, out System.Collections.Generic.HashSet documentedParameters, out System.Collections.Immutable.ImmutableArray includeElementNodes) Line 436 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DefaultVisit(Microsoft.CodeAnalysis.CSharp.Symbol symbol) Line 284 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.VisitMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol symbol) Line 64 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 627 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol symbol) Line 214 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 576 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol) Line 15 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.WriteDocumentationCommentXml(Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilation, string assemblyName, System.IO.Stream xmlDocStream, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, System.Threading.CancellationToken cancellationToken, Microsoft.CodeAnalysis.SyntaxTree filterTree, Microsoft.CodeAnalysis.Text.TextSpan? filterSpanWithinTree) Line 95 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForMethodBodiesInTree(Microsoft.CodeAnalysis.SyntaxTree tree, Microsoft.CodeAnalysis.Text.TextSpan? span, System.Threading.CancellationToken cancellationToken) Line 2056 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForSyntaxTree(Microsoft.CodeAnalysis.CompilationStage stage, Microsoft.CodeAnalysis.SyntaxTree syntaxTree, Microsoft.CodeAnalysis.Text.TextSpan? filterSpanWithinTree, bool includeEarlierStages, System.Threading.CancellationToken cancellationToken) Line 2202 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDiagnostics(Microsoft.CodeAnalysis.Text.TextSpan? span, System.Threading.CancellationToken cancellationToken) Line 126 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.CompilationData.GetOrCreateCachedSemanticModel(Microsoft.CodeAnalysis.SyntaxTree tree, Microsoft.CodeAnalysis.Compilation compilation, System.Threading.CancellationToken cancellationToken) Line 55 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsCoreAsync.AnonymousMethod__0() Line 491 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.ComputeAnalyzerDiagnosticsAsync(Microsoft.CodeAnalysis.Diagnostics.AnalysisScope analysisScope, System.Action generateCompilationEventsOpt, System.Func> getEventQueue, int newTaskToken, System.Threading.CancellationToken cancellationToken) Line 526 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsCoreAsync(Microsoft.CodeAnalysis.SemanticModel model, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Collections.Immutable.ImmutableArray analyzers, System.Threading.CancellationToken cancellationToken) Line 499 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsAsync(Microsoft.CodeAnalysis.SemanticModel model, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Collections.Immutable.ImmutableArray analyzers, System.Threading.CancellationToken cancellationToken) Line 478 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticAnalyzerDriver.GetSemanticDiagnosticsAsync(Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer analyzer) Line 230 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.GetSemanticDiagnosticsAsync(Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticAnalyzerDriver userDiagnosticDriver, Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer analyzer) Line 881 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.AnalyzerExecutor.GetDocumentAnalysisDataAsync(Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticAnalyzerDriver analyzerDriver, Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.StateSet stateSet, Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.VersionArgument versions) Line 70 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.AnalyzeDocumentAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.VersionArgument versions, System.Collections.Immutable.ImmutableHashSet diagnosticIds, bool skipClosedFileChecks, System.Threading.CancellationToken cancellationToken) Line 279 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.AnalyzeDocumentAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxNode bodyOpt, System.Collections.Immutable.ImmutableHashSet diagnosticIds, bool skipClosedFileChecks, System.Threading.CancellationToken cancellationToken) Line 195 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.AnalyzeDocumentAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxNode bodyOpt, System.Threading.CancellationToken cancellationToken) Line 178 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.IncrementalAnalyzerDelegatee.AnalyzeDocumentAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxNode bodyOpt, System.Threading.CancellationToken cancellationToken) Line 86 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.ProcessDocumentAnalyzersAsync.AnonymousMethod__28_1(Microsoft.CodeAnalysis.SolutionCrawler.IIncrementalAnalyzer a, Microsoft.CodeAnalysis.Document d, System.Threading.CancellationToken c) Line 184 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.RunAnalyzersAsync.AnonymousMethod__0(System.__Canon v, System.Threading.CancellationToken c) Line 206 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.GetOrDefaultAsync(System.__Canon value, System.Func> funcAsync, System.Threading.CancellationToken cancellationToken) C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.RunAnalyzersAsync(System.Collections.Immutable.ImmutableArray analyzers, System.__Canon value, System.Func runnerAsync, System.Threading.CancellationToken cancellationToken) Line 204 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.ProcessDocumentAnalyzersAsync(Microsoft.CodeAnalysis.Document document, System.Collections.Immutable.ImmutableArray analyzers, Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.WorkItem workItem, System.Threading.CancellationToken cancellationToken) Line 184 C# ",True,"InvalidOperationException is thrown in CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitTypeParameter - Ported from DevDiv 187859 > Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitTypeParameter(Microsoft.CodeAnalysis.CSharp.Symbols.TypeParameterSymbol symbol, System.Text.StringBuilder builder) Line 165 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.TypeParameterSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 184 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol symbol, System.Text.StringBuilder builder) Line 207 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitErrorType(Microsoft.CodeAnalysis.CSharp.Symbols.ErrorTypeSymbol symbol, System.Text.StringBuilder builder) Line 255 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.ErrorTypeSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 349 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitParameter(Microsoft.CodeAnalysis.CSharp.Symbols.ParameterSymbol symbol, System.Text.StringBuilder builder) Line 245 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.ParameterSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 240 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitParameters(System.Collections.Immutable.ImmutableArray parameters, bool isVararg, System.Text.StringBuilder builder) Line 83 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.PartVisitor.VisitMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol symbol, System.Text.StringBuilder builder) Line 111 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 621 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentIDVisitor.VisitMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol symbol, System.Text.StringBuilder builder) Line 38 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, System.__Canon argument) Line 621 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.__Canon argument) Line 27 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbol.GetDocumentationCommentId() Line 725 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.GetDocumentationCommentId(Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax crefSyntax, Microsoft.CodeAnalysis.CSharp.Binder binder, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 961 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 91 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitXmlCrefAttribute(Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax node) Line 69185 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) Line 64873 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(Microsoft.CodeAnalysis.SyntaxNode node) Line 35 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 54 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 159 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitXmlEmptyElement(Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax node) Line 69161 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) Line 64490 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(Microsoft.CodeAnalysis.SyntaxNode node) Line 35 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 54 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 159 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitXmlElement(Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax node) Line 69143 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) Line 64196 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(Microsoft.CodeAnalysis.SyntaxNode node) Line 35 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 54 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.DefaultVisit(Microsoft.CodeAnalysis.SyntaxNode node) Line 159 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitDocumentationCommentTrivia(Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax node) Line 69083 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) Line 63218 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(Microsoft.CodeAnalysis.SyntaxNode node) Line 35 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DocumentationCommentWalker.GetSubstitutedText(Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilation, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Microsoft.CodeAnalysis.CSharp.Symbol symbol, Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax trivia, Microsoft.CodeAnalysis.ArrayBuilder includeElementNodes, ref System.Collections.Generic.HashSet documentedParameters, ref System.Collections.Generic.HashSet documentedTypeParameters) Line 75 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.TryProcessDocumentationCommentTriviaNodes(Microsoft.CodeAnalysis.CSharp.Symbol symbol, bool isPartialMethodDefinitionPart, System.Collections.Immutable.ImmutableArray docCommentNodes, bool reportParameterOrTypeParameterDiagnostics, out string withUnprocessedIncludes, out bool haveParseError, out System.Collections.Generic.HashSet documentedTypeParameters, out System.Collections.Generic.HashSet documentedParameters, out System.Collections.Immutable.ImmutableArray includeElementNodes) Line 436 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.DefaultVisit(Microsoft.CodeAnalysis.CSharp.Symbol symbol) Line 284 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.VisitMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol symbol) Line 64 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 627 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol symbol) Line 214 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 576 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.VisitNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 183 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor) Line 136 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor.Visit(Microsoft.CodeAnalysis.CSharp.Symbol symbol) Line 15 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.DocumentationCommentCompiler.WriteDocumentationCommentXml(Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilation, string assemblyName, System.IO.Stream xmlDocStream, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, System.Threading.CancellationToken cancellationToken, Microsoft.CodeAnalysis.SyntaxTree filterTree, Microsoft.CodeAnalysis.Text.TextSpan? filterSpanWithinTree) Line 95 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForMethodBodiesInTree(Microsoft.CodeAnalysis.SyntaxTree tree, Microsoft.CodeAnalysis.Text.TextSpan? span, System.Threading.CancellationToken cancellationToken) Line 2056 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForSyntaxTree(Microsoft.CodeAnalysis.CompilationStage stage, Microsoft.CodeAnalysis.SyntaxTree syntaxTree, Microsoft.CodeAnalysis.Text.TextSpan? filterSpanWithinTree, bool includeEarlierStages, System.Threading.CancellationToken cancellationToken) Line 2202 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDiagnostics(Microsoft.CodeAnalysis.Text.TextSpan? span, System.Threading.CancellationToken cancellationToken) Line 126 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.CompilationData.GetOrCreateCachedSemanticModel(Microsoft.CodeAnalysis.SyntaxTree tree, Microsoft.CodeAnalysis.Compilation compilation, System.Threading.CancellationToken cancellationToken) Line 55 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsCoreAsync.AnonymousMethod__0() Line 491 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.ComputeAnalyzerDiagnosticsAsync(Microsoft.CodeAnalysis.Diagnostics.AnalysisScope analysisScope, System.Action generateCompilationEventsOpt, System.Func> getEventQueue, int newTaskToken, System.Threading.CancellationToken cancellationToken) Line 526 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsCoreAsync(Microsoft.CodeAnalysis.SemanticModel model, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Collections.Immutable.ImmutableArray analyzers, System.Threading.CancellationToken cancellationToken) Line 499 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsAsync(Microsoft.CodeAnalysis.SemanticModel model, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Collections.Immutable.ImmutableArray analyzers, System.Threading.CancellationToken cancellationToken) Line 478 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticAnalyzerDriver.GetSemanticDiagnosticsAsync(Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer analyzer) Line 230 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.GetSemanticDiagnosticsAsync(Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticAnalyzerDriver userDiagnosticDriver, Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer analyzer) Line 881 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.AnalyzerExecutor.GetDocumentAnalysisDataAsync(Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticAnalyzerDriver analyzerDriver, Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.StateSet stateSet, Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.VersionArgument versions) Line 70 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.AnalyzeDocumentAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.VersionArgument versions, System.Collections.Immutable.ImmutableHashSet diagnosticIds, bool skipClosedFileChecks, System.Threading.CancellationToken cancellationToken) Line 279 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.AnalyzeDocumentAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxNode bodyOpt, System.Collections.Immutable.ImmutableHashSet diagnosticIds, bool skipClosedFileChecks, System.Threading.CancellationToken cancellationToken) Line 195 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.AnalyzeDocumentAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxNode bodyOpt, System.Threading.CancellationToken cancellationToken) Line 178 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.IncrementalAnalyzerDelegatee.AnalyzeDocumentAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.SyntaxNode bodyOpt, System.Threading.CancellationToken cancellationToken) Line 86 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.ProcessDocumentAnalyzersAsync.AnonymousMethod__28_1(Microsoft.CodeAnalysis.SolutionCrawler.IIncrementalAnalyzer a, Microsoft.CodeAnalysis.Document d, System.Threading.CancellationToken c) Line 184 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.RunAnalyzersAsync.AnonymousMethod__0(System.__Canon v, System.Threading.CancellationToken c) Line 206 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.GetOrDefaultAsync(System.__Canon value, System.Func> funcAsync, System.Threading.CancellationToken cancellationToken) C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.RunAnalyzersAsync(System.Collections.Immutable.ImmutableArray analyzers, System.__Canon value, System.Func runnerAsync, System.Threading.CancellationToken cancellationToken) Line 204 C# Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.IncrementalAnalyzerProcessor.ProcessDocumentAnalyzersAsync(Microsoft.CodeAnalysis.Document document, System.Collections.Immutable.ImmutableArray analyzers, Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService.WorkCoordinator.WorkItem workItem, System.Threading.CancellationToken cancellationToken) Line 184 C# ",1,invalidoperationexception is thrown in csharp documentationcommentidvisitor partvisitor visittypeparameter ported from devdiv microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentidvisitor partvisitor visittypeparameter microsoft codeanalysis csharp symbols typeparametersymbol symbol system text stringbuilder builder line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols typeparametersymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsymbolvisitor visit microsoft codeanalysis csharp symbol symbol system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentidvisitor partvisitor visitnamedtype microsoft codeanalysis csharp symbols namedtypesymbol symbol system text stringbuilder builder line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentidvisitor partvisitor visiterrortype microsoft codeanalysis csharp symbols errortypesymbol symbol system text stringbuilder builder line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols errortypesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsymbolvisitor visit microsoft codeanalysis csharp symbol symbol system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentidvisitor partvisitor visitparameter microsoft codeanalysis csharp symbols parametersymbol symbol system text stringbuilder builder line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols parametersymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsymbolvisitor visit microsoft codeanalysis csharp symbol symbol system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentidvisitor partvisitor visitparameters system collections immutable immutablearray parameters bool isvararg system text stringbuilder builder line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentidvisitor partvisitor visitmethod microsoft codeanalysis csharp symbols methodsymbol symbol system text stringbuilder builder line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols methodsymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsymbolvisitor visit microsoft codeanalysis csharp symbol symbol system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentidvisitor visitmethod microsoft codeanalysis csharp symbols methodsymbol symbol system text stringbuilder builder line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols methodsymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsymbolvisitor visit microsoft codeanalysis csharp symbol symbol system canon argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbol getdocumentationcommentid line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler getdocumentationcommentid microsoft codeanalysis csharp syntax crefsyntax crefsyntax microsoft codeanalysis csharp binder binder microsoft codeanalysis diagnosticbag diagnostics line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler documentationcommentwalker defaultvisit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxvisitor visitxmlcrefattribute microsoft codeanalysis csharp syntax xmlcrefattributesyntax node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp syntax xmlcrefattributesyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxwalker visit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxwalker defaultvisit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler documentationcommentwalker defaultvisit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxvisitor visitxmlemptyelement microsoft codeanalysis csharp syntax xmlemptyelementsyntax node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp syntax xmlemptyelementsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxwalker visit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxwalker defaultvisit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler documentationcommentwalker defaultvisit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxvisitor visitxmlelement microsoft codeanalysis csharp syntax xmlelementsyntax node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp syntax xmlelementsyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxwalker visit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxwalker defaultvisit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler documentationcommentwalker defaultvisit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxvisitor visitdocumentationcommenttrivia microsoft codeanalysis csharp syntax documentationcommenttriviasyntax node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp syntax documentationcommenttriviasyntax accept microsoft codeanalysis csharp csharpsyntaxvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsyntaxwalker visit microsoft codeanalysis syntaxnode node line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler documentationcommentwalker getsubstitutedtext microsoft codeanalysis csharp csharpcompilation compilation microsoft codeanalysis diagnosticbag diagnostics microsoft codeanalysis csharp symbol symbol microsoft codeanalysis csharp syntax documentationcommenttriviasyntax trivia microsoft codeanalysis arraybuilder includeelementnodes ref system collections generic hashset documentedparameters ref system collections generic hashset documentedtypeparameters line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler tryprocessdocumentationcommenttrivianodes microsoft codeanalysis csharp symbol symbol bool ispartialmethoddefinitionpart system collections immutable immutablearray doccommentnodes bool reportparameterortypeparameterdiagnostics out string withunprocessedincludes out bool haveparseerror out system collections generic hashset documentedtypeparameters out system collections generic hashset documentedparameters out system collections immutable immutablearray includeelementnodes line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler defaultvisit microsoft codeanalysis csharp symbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsymbolvisitor visitmethod microsoft codeanalysis csharp symbols methodsymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols methodsymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler visitnamedtype microsoft codeanalysis csharp symbols namedtypesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namedtypesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler visitnamespace microsoft codeanalysis csharp symbols namespacesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namespacesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler visitnamespace microsoft codeanalysis csharp symbols namespacesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namespacesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler visitnamespace microsoft codeanalysis csharp symbols namespacesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namespacesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler visitnamespace microsoft codeanalysis csharp symbols namespacesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namespacesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler visitnamespace microsoft codeanalysis csharp symbols namespacesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namespacesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler visitnamespace microsoft codeanalysis csharp symbols namespacesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namespacesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler visitnamespace microsoft codeanalysis csharp symbols namespacesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namespacesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpsymbolvisitor visit microsoft codeanalysis csharp symbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp documentationcommentcompiler writedocumentationcommentxml microsoft codeanalysis csharp csharpcompilation compilation string assemblyname system io stream xmldocstream microsoft codeanalysis diagnosticbag diagnostics system threading cancellationtoken cancellationtoken microsoft codeanalysis syntaxtree filtertree microsoft codeanalysis text textspan filterspanwithintree line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpcompilation getdiagnosticsformethodbodiesintree microsoft codeanalysis syntaxtree tree microsoft codeanalysis text textspan span system threading cancellationtoken cancellationtoken line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpcompilation getdiagnosticsforsyntaxtree microsoft codeanalysis compilationstage stage microsoft codeanalysis syntaxtree syntaxtree microsoft codeanalysis text textspan filterspanwithintree bool includeearlierstages system threading cancellationtoken cancellationtoken line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp syntaxtreesemanticmodel getdiagnostics microsoft codeanalysis text textspan span system threading cancellationtoken cancellationtoken line c microsoft codeanalysis dll microsoft codeanalysis diagnostics analyzerdriver compilationdata getorcreatecachedsemanticmodel microsoft codeanalysis syntaxtree tree microsoft codeanalysis compilation compilation system threading cancellationtoken cancellationtoken line c microsoft codeanalysis dll microsoft codeanalysis diagnostics compilationwithanalyzers getanalyzersemanticdiagnosticscoreasync anonymousmethod line c microsoft codeanalysis dll microsoft codeanalysis diagnostics compilationwithanalyzers computeanalyzerdiagnosticsasync microsoft codeanalysis diagnostics analysisscope analysisscope system action generatecompilationeventsopt system func geteventqueue int newtasktoken system threading cancellationtoken cancellationtoken line c microsoft codeanalysis dll microsoft codeanalysis diagnostics compilationwithanalyzers getanalyzersemanticdiagnosticscoreasync microsoft codeanalysis semanticmodel model microsoft codeanalysis text textspan filterspan system collections immutable immutablearray analyzers system threading cancellationtoken cancellationtoken line c microsoft codeanalysis dll microsoft codeanalysis diagnostics compilationwithanalyzers getanalyzersemanticdiagnosticsasync microsoft codeanalysis semanticmodel model microsoft codeanalysis text textspan filterspan system collections immutable immutablearray analyzers system threading cancellationtoken cancellationtoken line c microsoft codeanalysis features dll microsoft codeanalysis diagnostics diagnosticanalyzerdriver getsemanticdiagnosticsasync microsoft codeanalysis diagnostics diagnosticanalyzer analyzer line c microsoft codeanalysis features dll microsoft codeanalysis diagnostics diagnosticincrementalanalyzer getsemanticdiagnosticsasync microsoft codeanalysis diagnostics diagnosticanalyzerdriver userdiagnosticdriver microsoft codeanalysis diagnostics diagnosticanalyzer analyzer line c microsoft codeanalysis features dll microsoft codeanalysis diagnostics diagnosticincrementalanalyzer analyzerexecutor getdocumentanalysisdataasync microsoft codeanalysis diagnostics diagnosticanalyzerdriver analyzerdriver microsoft codeanalysis diagnostics diagnosticincrementalanalyzer stateset stateset microsoft codeanalysis diagnostics diagnosticincrementalanalyzer versionargument versions line c microsoft codeanalysis features dll microsoft codeanalysis diagnostics diagnosticincrementalanalyzer analyzedocumentasync microsoft codeanalysis document document microsoft codeanalysis diagnostics diagnosticincrementalanalyzer versionargument versions system collections immutable immutablehashset diagnosticids bool skipclosedfilechecks system threading cancellationtoken cancellationtoken line c microsoft codeanalysis features dll microsoft codeanalysis diagnostics diagnosticincrementalanalyzer analyzedocumentasync microsoft codeanalysis document document microsoft codeanalysis syntaxnode bodyopt system collections immutable immutablehashset diagnosticids bool skipclosedfilechecks system threading cancellationtoken cancellationtoken line c microsoft codeanalysis features dll microsoft codeanalysis diagnostics diagnosticincrementalanalyzer analyzedocumentasync microsoft codeanalysis document document microsoft codeanalysis syntaxnode bodyopt system threading cancellationtoken cancellationtoken line c microsoft codeanalysis features dll microsoft codeanalysis diagnostics diagnosticanalyzerservice incrementalanalyzerdelegatee analyzedocumentasync microsoft codeanalysis document document microsoft codeanalysis syntaxnode bodyopt system threading cancellationtoken cancellationtoken line c microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor processdocumentanalyzersasync anonymousmethod microsoft codeanalysis solutioncrawler iincrementalanalyzer a microsoft codeanalysis document d system threading cancellationtoken c line c microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor runanalyzersasync anonymousmethod system canon v system threading cancellationtoken c line c microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor getordefaultasync system canon value system func funcasync system threading cancellationtoken cancellationtoken c microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor runanalyzersasync system collections immutable immutablearray analyzers system canon value system func runnerasync system threading cancellationtoken cancellationtoken line c microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor processdocumentanalyzersasync microsoft codeanalysis document document system collections immutable immutablearray analyzers microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator workitem workitem system threading cancellationtoken cancellationtoken line c ,1 1653,18069185213.0,IssuesEvent,2021-09-20 23:24:25,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,StackOverflow in the NullableWalker when method is used in an attribute on the method,Bug Area-Compilers 4 - In Review Tenet-Reliability,"```cs [Fact] public void MethodUsedInAttributeOnMethod() { var comp = CreateCompilation(new[] { @"" #nullable enable using System; [AttributeUsage(AttributeTargets.Method)] class Attr : Attribute { public Attr(Type[] param) {} } class C { [Attr(F())] static Type[] F() { } } "" }); comp.VerifyDiagnostics(); } ``` This should fail with some error code. Instead, it crashes with a stack overflow. Part of the stack (all that printed from `dotnet test`): ``` at Microsoft.CodeAnalysis.CSharp.Symbol.get_OriginalDefinition() at Microsoft.CodeAnalysis.CSharp.Symbol.get_IsDefinition() at Microsoft.CodeAnalysis.CSharp.AccessCheck.IsSymbolAccessibleCore(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, Microsoft.CodeAnalysis.CSharp.CSharpCompilation, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.AccessCheck.IsSymbolAccessible(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.IsSymbolAccessibleConditional(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.InContainerBinder.IsAccessibleHelper(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.IsAccessibleHelper(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.IsAccessible(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.CheckViability(Microsoft.CodeAnalysis.CSharp.Symbol, Int32, Microsoft.CodeAnalysis.CSharp.LookupOptions, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.LookupMembersInNamespace(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol, System.String, Int32, Microsoft.CodeAnalysis.CSharp.LookupOptions, Microsoft.CodeAnalysis.CSharp.Binder, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupMembersInternal(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Microsoft.CodeAnalysis.CSharp.Binder, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.InContainerBinder.LookupSymbolsInSingleBinder(Microsoft.CodeAnalysis.CSharp.LookupResult, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Microsoft.CodeAnalysis.CSharp.Binder, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupSymbolsInternal(Microsoft.CodeAnalysis.CSharp.LookupResult, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupSymbolsOrMembersInternal(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupAttributeType(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupSymbolsSimpleName(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.BindNonGenericSimpleNamespaceOrTypeOrAliasSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Roslyn.Utilities.ConsList`1, Boolean, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol) at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrAliasSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Roslyn.Utilities.ConsList`1, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeOrAlias(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Roslyn.Utilities.ConsList`1, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindType(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Roslyn.Utilities.ConsList`1, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindAttributeTypes(System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol[], Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Symbol.LoadAndValidateAttributes(Roslyn.Utilities.OneOrMany`1>, Microsoft.CodeAnalysis.CustomAttributesBag`1 ByRef, Microsoft.CodeAnalysis.CSharp.Symbols.AttributeLocation, Boolean, Microsoft.CodeAnalysis.CSharp.Binder, System.Func`2) at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMethodSymbolWithAttributes.GetAttributesBag(Microsoft.CodeAnalysis.CustomAttributesBag`1 ByRef, Boolean) at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMethodSymbolWithAttributes.GetAttributesBag() at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMethodSymbolWithAttributes.GetDecodedWellKnownAttributeData() at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMethodSymbolWithAttributes.get_NotNullMembers() at Microsoft.CodeAnalysis.CSharp.NullableWalker.ApplyMemberPostConditions(Microsoft.CodeAnalysis.CSharp.BoundExpression, Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol) at Microsoft.CodeAnalysis.CSharp.NullableWalker.ReinferMethodA ```",True,"StackOverflow in the NullableWalker when method is used in an attribute on the method - ```cs [Fact] public void MethodUsedInAttributeOnMethod() { var comp = CreateCompilation(new[] { @"" #nullable enable using System; [AttributeUsage(AttributeTargets.Method)] class Attr : Attribute { public Attr(Type[] param) {} } class C { [Attr(F())] static Type[] F() { } } "" }); comp.VerifyDiagnostics(); } ``` This should fail with some error code. Instead, it crashes with a stack overflow. Part of the stack (all that printed from `dotnet test`): ``` at Microsoft.CodeAnalysis.CSharp.Symbol.get_OriginalDefinition() at Microsoft.CodeAnalysis.CSharp.Symbol.get_IsDefinition() at Microsoft.CodeAnalysis.CSharp.AccessCheck.IsSymbolAccessibleCore(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, Microsoft.CodeAnalysis.CSharp.CSharpCompilation, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.AccessCheck.IsSymbolAccessible(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.IsSymbolAccessibleConditional(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.InContainerBinder.IsAccessibleHelper(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.IsAccessibleHelper(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.IsAccessible(Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean ByRef, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.CheckViability(Microsoft.CodeAnalysis.CSharp.Symbol, Int32, Microsoft.CodeAnalysis.CSharp.LookupOptions, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol, Boolean, System.Collections.Generic.HashSet`1 ByRef, Roslyn.Utilities.ConsList`1) at Microsoft.CodeAnalysis.CSharp.Binder.LookupMembersInNamespace(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol, System.String, Int32, Microsoft.CodeAnalysis.CSharp.LookupOptions, Microsoft.CodeAnalysis.CSharp.Binder, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupMembersInternal(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Microsoft.CodeAnalysis.CSharp.Binder, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.InContainerBinder.LookupSymbolsInSingleBinder(Microsoft.CodeAnalysis.CSharp.LookupResult, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Microsoft.CodeAnalysis.CSharp.Binder, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupSymbolsInternal(Microsoft.CodeAnalysis.CSharp.LookupResult, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupSymbolsOrMembersInternal(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupAttributeType(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.LookupSymbolsSimpleName(Microsoft.CodeAnalysis.CSharp.LookupResult, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol, System.String, Int32, Roslyn.Utilities.ConsList`1, Microsoft.CodeAnalysis.CSharp.LookupOptions, Boolean, System.Collections.Generic.HashSet`1 ByRef) at Microsoft.CodeAnalysis.CSharp.Binder.BindNonGenericSimpleNamespaceOrTypeOrAliasSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Roslyn.Utilities.ConsList`1, Boolean, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol) at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrAliasSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Roslyn.Utilities.ConsList`1, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeOrAlias(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Roslyn.Utilities.ConsList`1, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindType(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Roslyn.Utilities.ConsList`1, Boolean) at Microsoft.CodeAnalysis.CSharp.Binder.BindAttributeTypes(System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol[], Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.CSharp.Symbol.LoadAndValidateAttributes(Roslyn.Utilities.OneOrMany`1>, Microsoft.CodeAnalysis.CustomAttributesBag`1 ByRef, Microsoft.CodeAnalysis.CSharp.Symbols.AttributeLocation, Boolean, Microsoft.CodeAnalysis.CSharp.Binder, System.Func`2) at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMethodSymbolWithAttributes.GetAttributesBag(Microsoft.CodeAnalysis.CustomAttributesBag`1 ByRef, Boolean) at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMethodSymbolWithAttributes.GetAttributesBag() at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMethodSymbolWithAttributes.GetDecodedWellKnownAttributeData() at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMethodSymbolWithAttributes.get_NotNullMembers() at Microsoft.CodeAnalysis.CSharp.NullableWalker.ApplyMemberPostConditions(Microsoft.CodeAnalysis.CSharp.BoundExpression, Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol) at Microsoft.CodeAnalysis.CSharp.NullableWalker.ReinferMethodA ```",1,stackoverflow in the nullablewalker when method is used in an attribute on the method cs public void methodusedinattributeonmethod var comp createcompilation new nullable enable using system class attr attribute public attr type param class c static type f comp verifydiagnostics this should fail with some error code instead it crashes with a stack overflow part of the stack all that printed from dotnet test at microsoft codeanalysis csharp symbol get originaldefinition at microsoft codeanalysis csharp symbol get isdefinition at microsoft codeanalysis csharp accesscheck issymbolaccessiblecore microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbols typesymbol boolean byref microsoft codeanalysis csharp csharpcompilation system collections generic hashset byref roslyn utilities conslist at microsoft codeanalysis csharp accesscheck issymbolaccessible microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbols namedtypesymbol microsoft codeanalysis csharp symbols typesymbol boolean byref system collections generic hashset byref roslyn utilities conslist at microsoft codeanalysis csharp binder issymbolaccessibleconditional microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbols namedtypesymbol microsoft codeanalysis csharp symbols typesymbol boolean byref system collections generic hashset byref roslyn utilities conslist at microsoft codeanalysis csharp incontainerbinder isaccessiblehelper microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbols typesymbol boolean byref system collections generic hashset byref roslyn utilities conslist at microsoft codeanalysis csharp binder isaccessiblehelper microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbols typesymbol boolean byref system collections generic hashset byref roslyn utilities conslist at microsoft codeanalysis csharp binder isaccessible microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbols typesymbol boolean byref system collections generic hashset byref roslyn utilities conslist at microsoft codeanalysis csharp binder checkviability microsoft codeanalysis csharp symbol microsoft codeanalysis csharp lookupoptions microsoft codeanalysis csharp symbols typesymbol boolean system collections generic hashset byref roslyn utilities conslist at microsoft codeanalysis csharp binder lookupmembersinnamespace microsoft codeanalysis csharp lookupresult microsoft codeanalysis csharp symbols namespacesymbol system string microsoft codeanalysis csharp lookupoptions microsoft codeanalysis csharp binder boolean system collections generic hashset byref at microsoft codeanalysis csharp binder lookupmembersinternal microsoft codeanalysis csharp lookupresult microsoft codeanalysis csharp symbols namespaceortypesymbol system string roslyn utilities conslist microsoft codeanalysis csharp lookupoptions microsoft codeanalysis csharp binder boolean system collections generic hashset byref at microsoft codeanalysis csharp incontainerbinder lookupsymbolsinsinglebinder microsoft codeanalysis csharp lookupresult system string roslyn utilities conslist microsoft codeanalysis csharp lookupoptions microsoft codeanalysis csharp binder boolean system collections generic hashset byref at microsoft codeanalysis csharp binder lookupsymbolsinternal microsoft codeanalysis csharp lookupresult system string roslyn utilities conslist microsoft codeanalysis csharp lookupoptions boolean system collections generic hashset byref at microsoft codeanalysis csharp binder lookupsymbolsormembersinternal microsoft codeanalysis csharp lookupresult microsoft codeanalysis csharp symbols namespaceortypesymbol system string roslyn utilities conslist microsoft codeanalysis csharp lookupoptions boolean system collections generic hashset byref at microsoft codeanalysis csharp binder lookupattributetype microsoft codeanalysis csharp lookupresult microsoft codeanalysis csharp symbols namespaceortypesymbol system string roslyn utilities conslist microsoft codeanalysis csharp lookupoptions boolean system collections generic hashset byref at microsoft codeanalysis csharp binder lookupsymbolssimplename microsoft codeanalysis csharp lookupresult microsoft codeanalysis csharp symbols namespaceortypesymbol system string roslyn utilities conslist microsoft codeanalysis csharp lookupoptions boolean system collections generic hashset byref at microsoft codeanalysis csharp binder bindnongenericsimplenamespaceortypeoraliassymbol microsoft codeanalysis csharp syntax identifiernamesyntax microsoft codeanalysis diagnosticbag roslyn utilities conslist boolean microsoft codeanalysis csharp symbols namespaceortypesymbol at microsoft codeanalysis csharp binder bindnamespaceortypeoraliassymbol microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag roslyn utilities conslist boolean at microsoft codeanalysis csharp binder bindtypeoralias microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag roslyn utilities conslist boolean at microsoft codeanalysis csharp binder bindtype microsoft codeanalysis csharp syntax expressionsyntax microsoft codeanalysis diagnosticbag roslyn utilities conslist boolean at microsoft codeanalysis csharp binder bindattributetypes system collections immutable immutablearray system collections immutable immutablearray microsoft codeanalysis csharp symbol microsoft codeanalysis csharp symbols namedtypesymbol microsoft codeanalysis diagnosticbag at microsoft codeanalysis csharp symbol loadandvalidateattributes roslyn utilities oneormany microsoft codeanalysis customattributesbag byref microsoft codeanalysis csharp symbols attributelocation boolean microsoft codeanalysis csharp binder system func at microsoft codeanalysis csharp symbols sourcemethodsymbolwithattributes getattributesbag microsoft codeanalysis customattributesbag byref boolean at microsoft codeanalysis csharp symbols sourcemethodsymbolwithattributes getattributesbag at microsoft codeanalysis csharp symbols sourcemethodsymbolwithattributes getdecodedwellknownattributedata at microsoft codeanalysis csharp symbols sourcemethodsymbolwithattributes get notnullmembers at microsoft codeanalysis csharp nullablewalker applymemberpostconditions microsoft codeanalysis csharp boundexpression microsoft codeanalysis csharp symbols methodsymbol at microsoft codeanalysis csharp nullablewalker reinfermethoda ,1 89,3737576393.0,IssuesEvent,2016-03-08 19:45:37,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,NRE at during inline rename session at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.Session.AnnotateAndRename_WorkerAsync,Area-IDE Bug Tenet-Reliability,"**Version Used**: 1.02.0.60227 of Roslyn binaries from Stabilization branch - unfortunately the symbols have been deleted for this drop but probably call stack is sufficient? **Steps to Reproduce**: I hit this crash while attempting to rename a type in Roslyn.sln, and mistakenly typing the same name as an existing type. I don't have repro steps. **Dump**: `\\<%internal_share%>\public\mavasani\RenameNRE\devenv.dmp` **Message**: `Object reference not set to an instance of an object.` **Call Stack**: > at Microsoft.CodeAnalysis.AnnotationExtensions.WithAdditionalAnnotations[TNode](TNode node, SyntaxAnnotation[] annotations) at Microsoft.CodeAnalysis.Shared.Utilities.AbstractSpeculationAnalyzer`9.EnsureReplacedExpressionAndSemanticRoot() at Microsoft.CodeAnalysis.Shared.Utilities.AbstractSpeculationAnalyzer`9.EnsureSpeculativeSemanticModel() at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.TryCastTo(ITypeSymbol targetType, ExpressionSyntax expression, ExpressionSyntax newExpression, ExpressionSyntax& newExpressionWithCast) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitReturnStatement(ReturnStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitIfStatement(IfStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitSimpleLambdaExpression(SimpleLambdaExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitSimpleLambdaExpression(SimpleLambdaExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitArgument(ArgumentSyntax node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitArgument(ArgumentSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitArgumentList(ArgumentListSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitInvocationExpression(InvocationExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitInvocationExpression(InvocationExpressionSyntax originalNode) at Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitEqualsValueClause(EqualsValueClauseSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclarator(VariableDeclaratorSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclaration(VariableDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitLocalDeclarationStatement(LocalDeclarationStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation annotationForReplacedAliasIdentifier, Func`2 expandInsideNode, Boolean expandParameter, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Complexify(SyntaxNode originalNode, SyntaxNode newNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMethodDeclaration(MethodDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(ClassDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(NamespaceDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.AnnotateAndRename(RenameRewriterParameters parameters) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.Session.d__26.MoveNext() ",True,"NRE at during inline rename session at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.Session.AnnotateAndRename_WorkerAsync - **Version Used**: 1.02.0.60227 of Roslyn binaries from Stabilization branch - unfortunately the symbols have been deleted for this drop but probably call stack is sufficient? **Steps to Reproduce**: I hit this crash while attempting to rename a type in Roslyn.sln, and mistakenly typing the same name as an existing type. I don't have repro steps. **Dump**: `\\<%internal_share%>\public\mavasani\RenameNRE\devenv.dmp` **Message**: `Object reference not set to an instance of an object.` **Call Stack**: > at Microsoft.CodeAnalysis.AnnotationExtensions.WithAdditionalAnnotations[TNode](TNode node, SyntaxAnnotation[] annotations) at Microsoft.CodeAnalysis.Shared.Utilities.AbstractSpeculationAnalyzer`9.EnsureReplacedExpressionAndSemanticRoot() at Microsoft.CodeAnalysis.Shared.Utilities.AbstractSpeculationAnalyzer`9.EnsureSpeculativeSemanticModel() at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.TryCastTo(ITypeSymbol targetType, ExpressionSyntax expression, ExpressionSyntax newExpression, ExpressionSyntax& newExpressionWithCast) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitReturnStatement(ReturnStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitIfStatement(IfStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitSimpleLambdaExpression(SimpleLambdaExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitSimpleLambdaExpression(SimpleLambdaExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitArgument(ArgumentSyntax node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitArgument(ArgumentSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitArgumentList(ArgumentListSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitInvocationExpression(InvocationExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.VisitInvocationExpression(InvocationExpressionSyntax originalNode) at Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitEqualsValueClause(EqualsValueClauseSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclarator(VariableDeclaratorSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclaration(VariableDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitLocalDeclarationStatement(LocalDeclarationStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expander.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Simplification.CSharpSimplificationService.Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation annotationForReplacedAliasIdentifier, Func`2 expandInsideNode, Boolean expandParameter, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Complexify(SyntaxNode originalNode, SyntaxNode newNode) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMethodDeclaration(MethodDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(ClassDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(NamespaceDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.RenameRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Rename.CSharpRenameConflictLanguageService.AnnotateAndRename(RenameRewriterParameters parameters) at Microsoft.CodeAnalysis.Rename.ConflictEngine.ConflictResolver.Session.d__26.MoveNext() ",1,nre at during inline rename session at microsoft codeanalysis rename conflictengine conflictresolver session annotateandrename workerasync version used of roslyn binaries from stabilization branch unfortunately the symbols have been deleted for this drop but probably call stack is sufficient steps to reproduce i hit this crash while attempting to rename a type in roslyn sln and mistakenly typing the same name as an existing type i don t have repro steps dump public mavasani renamenre devenv dmp message object reference not set to an instance of an object call stack at microsoft codeanalysis annotationextensions withadditionalannotations tnode node syntaxannotation annotations at microsoft codeanalysis shared utilities abstractspeculationanalyzer ensurereplacedexpressionandsemanticroot at microsoft codeanalysis shared utilities abstractspeculationanalyzer ensurespeculativesemanticmodel at microsoft codeanalysis csharp simplification csharpsimplificationservice expander trycastto itypesymbol targettype expressionsyntax expression expressionsyntax newexpression expressionsyntax newexpressionwithcast at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visitreturnstatement returnstatementsyntax node at microsoft codeanalysis csharp syntax returnstatementsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitblock blocksyntax node at microsoft codeanalysis csharp syntax blocksyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitifstatement ifstatementsyntax node at microsoft codeanalysis csharp syntax ifstatementsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitblock blocksyntax node at microsoft codeanalysis csharp syntax blocksyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitsimplelambdaexpression simplelambdaexpressionsyntax node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visitsimplelambdaexpression simplelambdaexpressionsyntax node at microsoft codeanalysis csharp syntax simplelambdaexpressionsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitargument argumentsyntax node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visitargument argumentsyntax node at microsoft codeanalysis csharp syntax argumentsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist separatedsyntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitargumentlist argumentlistsyntax node at microsoft codeanalysis csharp syntax argumentlistsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitinvocationexpression invocationexpressionsyntax node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visitinvocationexpression invocationexpressionsyntax originalnode at microsoft codeanalysis csharp syntax invocationexpressionsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitequalsvalueclause equalsvalueclausesyntax node at microsoft codeanalysis csharp syntax equalsvalueclausesyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitvariabledeclarator variabledeclaratorsyntax node at microsoft codeanalysis csharp syntax variabledeclaratorsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist separatedsyntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitvariabledeclaration variabledeclarationsyntax node at microsoft codeanalysis csharp syntax variabledeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlocaldeclarationstatement localdeclarationstatementsyntax node at microsoft codeanalysis csharp syntax localdeclarationstatementsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expander visit syntaxnode node at microsoft codeanalysis csharp simplification csharpsimplificationservice expand syntaxnode node semanticmodel semanticmodel syntaxannotation annotationforreplacedaliasidentifier func expandinsidenode boolean expandparameter cancellationtoken cancellationtoken at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter complexify syntaxnode originalnode syntaxnode newnode at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitblock blocksyntax node at microsoft codeanalysis csharp syntax blocksyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitmethoddeclaration methoddeclarationsyntax node at microsoft codeanalysis csharp syntax methoddeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitclassdeclaration classdeclarationsyntax node at microsoft codeanalysis csharp syntax classdeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitnamespacedeclaration namespacedeclarationsyntax node at microsoft codeanalysis csharp syntax namespacedeclarationsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlistelement tnode node at microsoft codeanalysis csharp csharpsyntaxrewriter visitlist syntaxlist list at microsoft codeanalysis csharp csharpsyntaxrewriter visitcompilationunit compilationunitsyntax node at microsoft codeanalysis csharp syntax compilationunitsyntax accept csharpsyntaxvisitor visitor at microsoft codeanalysis csharp csharpsyntaxrewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice renamerewriter visit syntaxnode node at microsoft codeanalysis csharp rename csharprenameconflictlanguageservice annotateandrename renamerewriterparameters parameters at microsoft codeanalysis rename conflictengine conflictresolver session d movenext ,1 269,5921298207.0,IssuesEvent,2017-05-22 22:37:51,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Crash writing a VB implements clause that did not resolve.,Area-IDE Bug Language-VB Tenet-Reliability," ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.VisualBasic.Completion.Providers.ImplementsClauseCompletionProvider.GetSymbolsWorker(SyntaxContext context, Int32 position, OptionSet options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Completion.Providers.AbstractSymbolCompletionProvider.GetSymbolsWorker(Int32 position, Boolean preselect, SyntaxContext context, OptionSet options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Completion.Providers.AbstractSymbolCompletionProvider.d__15.MoveNext() --- 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 Microsoft.CodeAnalysis.Completion.Providers.AbstractSymbolCompletionProvider.d__14.MoveNext() --- 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 Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__31.MoveNext() --- 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 Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__24.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__22.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller.Session.ModelComputer.d__14.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller.Session.ModelComputer.d__13.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception) at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.ContinueWithCore(System.Threading.Tasks.Task, System.Threading.Tasks.TaskScheduler, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions) at System.Threading.Tasks.Task.ContinueWith(System.Action`2, System.Object, System.Threading.Tasks.TaskScheduler, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions, System.Threading.StackCrawlMark ByRef) at System.Threading.Tasks.Task.ContinueWith(System.Action`2, System.Object, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions, System.Threading.Tasks.TaskScheduler) at Roslyn.Utilities.TaskExtensions.ReportFatalError(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromResultTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessInnerTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.PrioritizedTaskScheduler.ThreadStart() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart() ```",True,"Crash writing a VB implements clause that did not resolve. - ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.VisualBasic.Completion.Providers.ImplementsClauseCompletionProvider.GetSymbolsWorker(SyntaxContext context, Int32 position, OptionSet options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Completion.Providers.AbstractSymbolCompletionProvider.GetSymbolsWorker(Int32 position, Boolean preselect, SyntaxContext context, OptionSet options, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Completion.Providers.AbstractSymbolCompletionProvider.d__15.MoveNext() --- 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 Microsoft.CodeAnalysis.Completion.Providers.AbstractSymbolCompletionProvider.d__14.MoveNext() --- 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 Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__31.MoveNext() --- 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 Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__24.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.d__22.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller.Session.ModelComputer.d__14.MoveNext() --- 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 Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Controller.Session.ModelComputer.d__13.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception) at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.ContinueWithCore(System.Threading.Tasks.Task, System.Threading.Tasks.TaskScheduler, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions) at System.Threading.Tasks.Task.ContinueWith(System.Action`2, System.Object, System.Threading.Tasks.TaskScheduler, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions, System.Threading.StackCrawlMark ByRef) at System.Threading.Tasks.Task.ContinueWith(System.Action`2, System.Object, System.Threading.CancellationToken, System.Threading.Tasks.TaskContinuationOptions, System.Threading.Tasks.TaskScheduler) at Roslyn.Utilities.TaskExtensions.ReportFatalError(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromResultTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessInnerTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task) at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.PrioritizedTaskScheduler.ThreadStart() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart() ```",1,crash writing a vb implements clause that did not resolve application devenv exe framework version description the application requested process termination through system environment failfast string message message system nullreferenceexception object reference not set to an instance of an object at microsoft codeanalysis visualbasic completion providers implementsclausecompletionprovider getsymbolsworker syntaxcontext context position optionset options cancellationtoken cancellationtoken at microsoft codeanalysis completion providers abstractsymbolcompletionprovider getsymbolsworker position boolean preselect syntaxcontext context optionset options cancellationtoken cancellationtoken at microsoft codeanalysis completion providers abstractsymbolcompletionprovider d movenext 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 microsoft codeanalysis completion providers abstractsymbolcompletionprovider d movenext 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 microsoft codeanalysis completion completionservicewithproviders d movenext 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 microsoft codeanalysis completion completionservicewithproviders d movenext 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 validateend task task at microsoft codeanalysis completion completionservicewithproviders d movenext 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 microsoft codeanalysis editor implementation intellisense completion controller session modelcomputer d movenext 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 microsoft codeanalysis editor implementation intellisense completion controller session modelcomputer d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror report system exception at roslyn utilities taskextensions reportfatalerrorworker system threading tasks task system object at system threading tasks continuationtaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks threadpooltaskscheduler tryexecutetaskinline system threading tasks task boolean at system threading tasks taskscheduler tryruninline system threading tasks task boolean at system threading tasks taskcontinuation inlineifpossibleorelsequeue system threading tasks task boolean at system threading tasks standardtaskcontinuation run system threading tasks task boolean at system threading tasks task continuewithcore system threading tasks task system threading tasks taskscheduler system threading cancellationtoken system threading tasks taskcontinuationoptions at system threading tasks task continuewith system action system object system threading tasks taskscheduler system threading cancellationtoken system threading tasks taskcontinuationoptions system threading stackcrawlmark byref at system threading tasks task continuewith system action system object system threading cancellationtoken system threading tasks taskcontinuationoptions system threading tasks taskscheduler at roslyn utilities taskextensions reportfatalerror system threading tasks task system object at system threading tasks continuationtaskfromresulttask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks threadpooltaskscheduler tryexecutetaskinline system threading tasks task boolean at system threading tasks taskscheduler tryruninline system threading tasks task boolean at system threading tasks taskcontinuation inlineifpossibleorelsequeue system threading tasks task boolean at system threading tasks standardtaskcontinuation run system threading tasks task boolean at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system threading tasks unwrappromise trysetfromtask system threading tasks task boolean at system threading tasks unwrappromise processinnertask system threading tasks task at system threading tasks unwrappromise processcompletedoutertask system threading tasks task at system threading tasks unwrappromise invokecore system threading tasks task at system threading tasks unwrappromise invoke system threading tasks task at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks taskscheduler tryexecutetask system threading tasks task at microsoft codeanalysis editor implementation intellisense completion prioritizedtaskscheduler threadstart at system threading threadhelper threadstart context system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object at system threading threadhelper threadstart ,1 88,3720455256.0,IssuesEvent,2016-03-04 00:07:47,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Iterator compilation crashes when IDisposable.Dispose isn't available,Area-Compilers Bug Tenet-Reliability,"The test below fails, but it should report diagnostics instead. To repro, make sure the corlib is missing IDisposable.Dispose and IEnumerable.MoveNext as those types will be added to the shared mincorlib shortly. This problem also exists with the VB compiler. On the C# side, the exception is thrown by `Debug.Assert(useSiteDiagnostics.IsNullOrEmpty());` in `SyntheticBoundNodeFactory.Return(BoundExpression expression)` at SyntheticBoundNodeFactory.cs(426,0). From discussion with Tomas and Neal, the way to fix this is to move the try/catch for missing predefined members around the call to the rewriter and emit a `throw null` instead. The try/catch is currently in `IteratorRewriter.GenerateMethodImplementations()`. ```C# public void IteratorRequireSpecialKnownTypesInCorLib() { // IDisposable.Dispose and IEnumerable.MoveNext var source = @"" public class C { public System.Collections.IEnumerable SomeNumbers() { yield return 42; } }""; var comp = CreateCompilation(new[] { Parse(source) }, new[] { TestReferences.NetFx.Minimal.mincorlib }); CompileAndVerify(comp); } ``` This was discovered while investigating #9167, which is about compiling async and iterator methods in VB while missing expected types.",True,"Iterator compilation crashes when IDisposable.Dispose isn't available - The test below fails, but it should report diagnostics instead. To repro, make sure the corlib is missing IDisposable.Dispose and IEnumerable.MoveNext as those types will be added to the shared mincorlib shortly. This problem also exists with the VB compiler. On the C# side, the exception is thrown by `Debug.Assert(useSiteDiagnostics.IsNullOrEmpty());` in `SyntheticBoundNodeFactory.Return(BoundExpression expression)` at SyntheticBoundNodeFactory.cs(426,0). From discussion with Tomas and Neal, the way to fix this is to move the try/catch for missing predefined members around the call to the rewriter and emit a `throw null` instead. The try/catch is currently in `IteratorRewriter.GenerateMethodImplementations()`. ```C# public void IteratorRequireSpecialKnownTypesInCorLib() { // IDisposable.Dispose and IEnumerable.MoveNext var source = @"" public class C { public System.Collections.IEnumerable SomeNumbers() { yield return 42; } }""; var comp = CreateCompilation(new[] { Parse(source) }, new[] { TestReferences.NetFx.Minimal.mincorlib }); CompileAndVerify(comp); } ``` This was discovered while investigating #9167, which is about compiling async and iterator methods in VB while missing expected types.",1,iterator compilation crashes when idisposable dispose isn t available the test below fails but it should report diagnostics instead to repro make sure the corlib is missing idisposable dispose and ienumerable movenext as those types will be added to the shared mincorlib shortly this problem also exists with the vb compiler on the c side the exception is thrown by debug assert usesitediagnostics isnullorempty in syntheticboundnodefactory return boundexpression expression at syntheticboundnodefactory cs from discussion with tomas and neal the way to fix this is to move the try catch for missing predefined members around the call to the rewriter and emit a throw null instead the try catch is currently in iteratorrewriter generatemethodimplementations c public void iteratorrequirespecialknowntypesincorlib idisposable dispose and ienumerable movenext var source public class c public system collections ienumerable somenumbers yield return var comp createcompilation new parse source new testreferences netfx minimal mincorlib compileandverify comp this was discovered while investigating which is about compiling async and iterator methods in vb while missing expected types ,1 339,6760386191.0,IssuesEvent,2017-10-24 20:26:53,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,ContainedDocument can leak if exceptions are thrown,4 - In Review Area-IDE Pending Shiproom Approval Tenet-Performance Tenet-Reliability Urgency-Now,"Underlying issue: During the call to `CreateContainedLanguage`, a call is made to `AbstractProject.AddDocument`. This call adds the `ContainedDocument` to two sets. If the key already exists in the second set, an exception is thrown and the caller will lose the ability to dispose of the `IVsContainedLanguage` instance, leaving a strong reference to the `ContainedDocument` permanently in the first set. Heap dumps where this bug manifests show large numbers of `ContainedDocument` instances leaking. One case has 343,931 instances. The offending code block is the following: https://github.com/dotnet/roslyn/blob/a4239cbcadcf8a1f1e8485e430a7ac190b78fc85/src/VisualStudio/Core/Def/Implementation/ProjectSystem/AbstractProject.cs#L1028-L1032 💭 It should be possible to fix this by simply reversing the two calls to `Add`. Since `ContainedDocument` always uses a new GUID for each instance, the addition using that GUID should never fail. However, a safer fix would ensure that the pair of additions is atomic, regardless of input.",True,"ContainedDocument can leak if exceptions are thrown - Underlying issue: During the call to `CreateContainedLanguage`, a call is made to `AbstractProject.AddDocument`. This call adds the `ContainedDocument` to two sets. If the key already exists in the second set, an exception is thrown and the caller will lose the ability to dispose of the `IVsContainedLanguage` instance, leaving a strong reference to the `ContainedDocument` permanently in the first set. Heap dumps where this bug manifests show large numbers of `ContainedDocument` instances leaking. One case has 343,931 instances. The offending code block is the following: https://github.com/dotnet/roslyn/blob/a4239cbcadcf8a1f1e8485e430a7ac190b78fc85/src/VisualStudio/Core/Def/Implementation/ProjectSystem/AbstractProject.cs#L1028-L1032 💭 It should be possible to fix this by simply reversing the two calls to `Add`. Since `ContainedDocument` always uses a new GUID for each instance, the addition using that GUID should never fail. However, a safer fix would ensure that the pair of additions is atomic, regardless of input.",1,containeddocument can leak if exceptions are thrown underlying issue during the call to createcontainedlanguage a call is made to abstractproject adddocument this call adds the containeddocument to two sets if the key already exists in the second set an exception is thrown and the caller will lose the ability to dispose of the ivscontainedlanguage instance leaving a strong reference to the containeddocument permanently in the first set heap dumps where this bug manifests show large numbers of containeddocument instances leaking one case has instances the offending code block is the following 💭 it should be possible to fix this by simply reversing the two calls to add since containeddocument always uses a new guid for each instance the addition using that guid should never fail however a safer fix would ensure that the pair of additions is atomic regardless of input ,1 1665,18143397336.0,IssuesEvent,2021-09-25 02:16:06,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Feature 'Navigate to' is currently unavailable due to an internal error,Bug Area-IDE Tenet-Reliability,"**Version Used**: 17.0 P4 **Steps to Reproduce**: I had a consistent repro in https://github.com/dotnet/roslyn/issues/54464#issuecomment-870659502. I'm not sure if's still consistent repro, but I'm hitting this crash randomly multiple times a day. **Expected Behavior**: No crash. **Actual Behavior**: ``` StreamJsonRpc.RemoteInvocationException: Invalid URI: The format of the URI could not be determined. at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: StreamJsonRpc.RemoteInvocationException: Invalid URI: The format of the URI could not be determined. at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteCallback`1.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigateToSearchService.<>c__DisplayClass3_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigateToSearchService.<>c__DisplayClass6_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__14.MoveNext() ```",True,"Feature 'Navigate to' is currently unavailable due to an internal error - **Version Used**: 17.0 P4 **Steps to Reproduce**: I had a consistent repro in https://github.com/dotnet/roslyn/issues/54464#issuecomment-870659502. I'm not sure if's still consistent repro, but I'm hitting this crash randomly multiple times a day. **Expected Behavior**: No crash. **Actual Behavior**: ``` StreamJsonRpc.RemoteInvocationException: Invalid URI: The format of the URI could not be determined. at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: StreamJsonRpc.RemoteInvocationException: Invalid URI: The format of the URI could not be determined. at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteCallback`1.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigateToSearchService.<>c__DisplayClass3_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.NavigateTo.AbstractNavigateToSearchService.d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteNavigateToSearchService.<>c__DisplayClass6_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__14.MoveNext() ```",1,feature navigate to is currently unavailable due to an internal error version used steps to reproduce i had a consistent repro in i m not sure if s still consistent repro but i m hitting this crash randomly multiple times a day expected behavior no crash actual behavior streamjsonrpc remoteinvocationexception invalid uri the format of the uri could not be determined at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredserviceconnection d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject rpc server exception streamjsonrpc remoteinvocationexception invalid uri the format of the uri could not be determined at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotecallback d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotenavigatetosearchservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis navigateto abstractnavigatetosearchservice d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotenavigatetosearchservice c b d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredservicebase d movenext ,1 189,5245602991.0,IssuesEvent,2017-02-01 05:26:52,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Crash in OOP that kills VS.,Area-Analyzers Bug Tenet-Reliability,"Just hit this on a VS that is only 1-2 days old: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: StreamJsonRpc.RemoteInvocationException: Unexpected false at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) at Microsoft.CodeAnalysis.Remote.SolutionCreator.d__6.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.Remote.SolutionService.d__7.MoveNext() --- 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 Microsoft.CodeAnalysis.Remote.RemoteHostService.d__5.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at StreamJsonRpc.JsonRpc.d__56`1.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.JsonRpcClient.d__3.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.SolutionChecksumUpdater.d__14.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.SolutionChecksumUpdater.d__8.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.IdleProcessor.d__12.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception) at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.CodeAnalysis.SolutionCrawler.IdleProcessor+d__12.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory+SolutionChecksumUpdater+d__8.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory+SolutionChecksumUpdater+d__14.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Remote.JsonRpcClient+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at StreamJsonRpc.JsonRpc+d__56`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Threading.Tasks.TaskCompletionSource`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Exception) at StreamJsonRpc.JsonRpc+<>c__DisplayClass56_1`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(StreamJsonRpc.JsonRpcMessage) at StreamJsonRpc.JsonRpc+d__62.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[StreamJsonRpc.JsonRpc+d__62, StreamJsonRpc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](d__62 ByRef) at StreamJsonRpc.JsonRpc.HandleRpcAsync(System.String) at StreamJsonRpc.JsonRpc+<>c__DisplayClass61_0+<b__0>d.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[StreamJsonRpc.JsonRpc+<>c__DisplayClass61_0+<b__0>d, StreamJsonRpc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<b__0>d ByRef) at StreamJsonRpc.JsonRpc+<>c__DisplayClass61_0.b__0() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` Tagging @heejaechang ",True,"Crash in OOP that kills VS. - Just hit this on a VS that is only 1-2 days old: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: StreamJsonRpc.RemoteInvocationException: Unexpected false at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) at Microsoft.CodeAnalysis.Remote.SolutionCreator.d__6.MoveNext() --- 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.ValidateEnd(Task task) at Microsoft.CodeAnalysis.Remote.SolutionService.d__7.MoveNext() --- 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 Microsoft.CodeAnalysis.Remote.RemoteHostService.d__5.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at StreamJsonRpc.JsonRpc.d__56`1.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.JsonRpcClient.d__3.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.SolutionChecksumUpdater.d__14.MoveNext() --- 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 Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.SolutionChecksumUpdater.d__8.MoveNext() --- 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 Microsoft.CodeAnalysis.SolutionCrawler.IdleProcessor.d__12.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception) at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.TaskExtensions+VoidResult, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.CodeAnalysis.SolutionCrawler.IdleProcessor+d__12.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory+SolutionChecksumUpdater+d__8.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory+SolutionChecksumUpdater+d__14.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at Microsoft.VisualStudio.LanguageServices.Remote.JsonRpcClient+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception) at StreamJsonRpc.JsonRpc+d__56`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task.FinishStageTwo() at System.Threading.Tasks.Task.Finish(Boolean) at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object) at System.Threading.Tasks.TaskCompletionSource`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Exception) at StreamJsonRpc.JsonRpc+<>c__DisplayClass56_1`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(StreamJsonRpc.JsonRpcMessage) at StreamJsonRpc.JsonRpc+d__62.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[StreamJsonRpc.JsonRpc+d__62, StreamJsonRpc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](d__62 ByRef) at StreamJsonRpc.JsonRpc.HandleRpcAsync(System.String) at StreamJsonRpc.JsonRpc+<>c__DisplayClass61_0+<b__0>d.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[StreamJsonRpc.JsonRpc+<>c__DisplayClass61_0+<b__0>d, StreamJsonRpc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<b__0>d ByRef) at StreamJsonRpc.JsonRpc+<>c__DisplayClass61_0.b__0() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() ``` Tagging @heejaechang ",1,crash in oop that kills vs just hit this on a vs that is only days old application devenv exe framework version description the application requested process termination through system environment failfast string message message streamjsonrpc remoteinvocationexception unexpected false at roslyn utilities contract throwiffalse boolean condition string message at microsoft codeanalysis remote solutioncreator d movenext 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 validateend task task at microsoft codeanalysis remote solutionservice d movenext 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 microsoft codeanalysis remote remotehostservice d movenext at system runtime compilerservices taskawaiter throwfornonsuccess task task at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at system runtime compilerservices taskawaiter validateend task task at streamjsonrpc jsonrpc d movenext 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 microsoft visualstudio languageservices remote jsonrpcclient d movenext 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 microsoft visualstudio languageservices remote remotehostclientservicefactory solutionchecksumupdater d movenext 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 microsoft visualstudio languageservices remote remotehostclientservicefactory solutionchecksumupdater d movenext 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 microsoft codeanalysis solutioncrawler idleprocessor d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror report system exception at roslyn utilities taskextensions reportfatalerrorworker system threading tasks task system object at system threading tasks continuationtaskfromtask innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks threadpooltaskscheduler tryexecutetaskinline system threading tasks task boolean at system threading tasks taskscheduler tryruninline system threading tasks task boolean at system threading tasks taskcontinuation inlineifpossibleorelsequeue system threading tasks task boolean at system threading tasks standardtaskcontinuation run system threading tasks task boolean at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system threading tasks unwrappromise trysetfromtask system threading tasks task boolean at system threading tasks unwrappromise invokecore system threading tasks task at system threading tasks unwrappromise invoke system threading tasks task at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft codeanalysis solutioncrawler idleprocessor d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft visualstudio languageservices remote remotehostclientservicefactory solutionchecksumupdater d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft visualstudio languageservices remote remotehostclientservicefactory solutionchecksumupdater d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at microsoft visualstudio languageservices remote jsonrpcclient d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system runtime compilerservices asynctaskmethodbuilder setexception system exception at streamjsonrpc jsonrpc d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task finishstagetwo at system threading tasks task finish boolean at system threading tasks task trysetexception system object at system threading tasks taskcompletionsource trysetexception system exception at streamjsonrpc jsonrpc c b streamjsonrpc jsonrpcmessage at streamjsonrpc jsonrpc d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at streamjsonrpc jsonrpc handlerpcasync system string at streamjsonrpc jsonrpc c b d movenext at system runtime compilerservices asynctaskmethodbuilder start b d byref at streamjsonrpc jsonrpc c b at system threading tasks task innerinvoke at system threading tasks task execute at system threading tasks task executioncontextcallback system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system threading tasks task executewiththreadlocal system threading tasks task byref at system threading tasks task executeentry boolean at system threading tasks task system threading ithreadpoolworkitem executeworkitem at system threading threadpoolworkqueue dispatch at system threading threadpoolwaitcallback performwaitcallback tagging heejaechang ,1 1102,13108149291.0,IssuesEvent,2020-08-04 16:20:42,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"Visual Studio crashes with stack overflow when trying to code a System.ValueTuple class.",Area-Compilers Bug Tenet-Reliability,"**Version Used**: Visual Studio 2019 (16.4.2) **Steps to Reproduce**: 1. Create new project ""Console App .NET Framework"" targetting .NET Framework 4.6 2. Add a new ValueTuple.cs file with the following content: ``` namespace System { struct ValueTuple : IComparable> { } } ``` 3. Set the cursor on IComparable and press Ctrl-. to explicitly implement the IComparable> interface **Expected Behavior**: CompareTo method generated **Actual Behavior**: Visual Studio crashes ",True,"Visual Studio crashes with stack overflow when trying to code a System.ValueTuple class. - **Version Used**: Visual Studio 2019 (16.4.2) **Steps to Reproduce**: 1. Create new project ""Console App .NET Framework"" targetting .NET Framework 4.6 2. Add a new ValueTuple.cs file with the following content: ``` namespace System { struct ValueTuple : IComparable> { } } ``` 3. Set the cursor on IComparable and press Ctrl-. to explicitly implement the IComparable> interface **Expected Behavior**: CompareTo method generated **Actual Behavior**: Visual Studio crashes ",1,visual studio crashes with stack overflow when trying to code a system valuetuple class version used visual studio steps to reproduce create new project console app net framework targetting net framework add a new valuetuple cs file with the following content namespace system struct valuetuple icomparable set the cursor on icomparable and press ctrl to explicitly implement the icomparable interface expected behavior compareto method generated actual behavior visual studio crashes ,1 1690,18714787754.0,IssuesEvent,2021-11-03 02:03:00,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Are significant numbers of OperationCanceledException in RoslynCodeAnalysisService normal? Is SolutionChecksumUpdater being too aggressive?,Bug Area-IDE Need More Info Tenet-Reliability,"**Version Used**: VS 2019, 16.10.3 **Steps to Reproduce**: Unsure. Issue is sporadic. ------------------ * I have a sporadic issue (on multiple machines) where VS is much slower and less responsive than it should be, especially in the C# text editor. * I made a trace with WPR and had a look with WPA which showed that _thousands_ of exceptions were being thrown from within `ServiceHub.RoslynCodeAnalysisService.exe` (**9,477** exceptions to be exact). * I'll be happy to share this trace. It's only ~30 seconds long but is 9.8GB in size... * ![image](https://user-images.githubusercontent.com/1693078/126027765-37ffb6f4-4cb9-491f-80eb-ed07629f3afc.png) * I attached a debugger to `RoslynCodeAnalysisService.exe` and observed that... * the `OperationCanceledException` and `TaskCanceledException` exceptions that were being thrown originated from two places calling `CancelationTokenSource.Cancel()`: * `JsonRpc.DispatchIncomingRequestAsync` after it received a `$/cancelRequest()` from `devenv.exe` * The 5-minute AppInsights Telemetry timer loop - I assumed this was a red-herring though. * I noticed whenever the `$/cancelRequest()` message was received, the `RoslynCodeAnalysisService.exe` process still took between 1 and 5 seconds to process, sometimes the last second-order `Task` would take even longer, 10-15 seconds to appear in the Output window. I don't know if that's normal or not. * The preceding, and following, JsonRpc messages were: * `GetDocumentHighlightsAsync()` * `SynchronizeTextAsync()` * `CalculateDiagnosticsAsync()` * `CalculateDiagnosticsAsync()` * `GetSemanticClassificationsAsync()` * `$/cancelRequest()` - This is the first message I looked at. It caused 4 cascading `OperationCanceledException` exceptions. * `$/cancelRequest()` - This occurred shortly afterwards and caused 1 immediate `OperationCanceledException` followed by 27 more exceptions. * `SynchronizeTextAsync()` * `GetSemanticClassificationsAsync()` * `CalculateDiagnosticsAsync()` * `OnGlobalOperationStartedAsync` * `OnGlobalOperationStoppedAsync` * (and more of the same) * So **potential problem 1**: How long should `RoslynCodeAnalysisService.exe` normally take to respond to a `$/cancelRequest()`? And after a `$/cancelRequest()` are slow responses the cause of secondary/knock-on `$/cancelRequest` messages? * **Potential problem 2**: If `RoslynCodeAnalysisService.exe` is to blame, then why is the editor itself (in `devenv.exe`) so unresponsive and laggy? Why is the UI thread making blocking waits? Unfortunately I didn't have the time today to look into what exactly the UI thread was blocking on, but the fact this unresponsive editor issue always happens whenever WPA shows thousands of exceptions being thrown within a single minute suggests it's related... * So assuming that `RoslynCodeAnalysisService` _was_ behaving correctly and the cause is excessive `$/cancelRequest()` that's swamping `RoslynCodeAnalysisService.exe`, then why is devenv.exe sending them? * So I attached a debugger to `devenv.exe` and set a breakpoint on `JsonRpc.InvokeCoreAsync` to see where the `cancelRequest` messages were coming from, and they were all coming from `Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.GlobalOperationAwareIdleProcessor.OnGlobalOperationStarted(object sender, System.EventArgs e)`, specifically the `Microsoft.CodeAnalysis.Remote.SolutionChecksumUpdater` subclass. * **Potential problem 3**: Why on earth is `SolutionChecksumUpdater` being invoked _hundreds of times per minute_ simply from typing in the C# editor? And why is it sending so many `$/cancelRequest()` messages when cancelling-and-restarting a JsonRpc call seems to be more expensive than cancelling with a cooldown/backoff strategy? ------------ * I've previously experienced the issue and reported it (and made a WPR trace too), but [it didn't get anywhere and my replies with more detail were ignored](https://developercommunity.visualstudio.com/t/slow-vs-editor-experience-keyboard-input-lag-etc-p/1382922). * However, that previous time, I only had debug stacks from the `devenv.exe` side, not from the `ServiceHub.RoslynCodeAnalysisService.exe` side. So this time I hope I have enough information. * But I'm asking here first so I can be sure that this isn't a red-herring and that there isn't another underlying issue that exists elsewhere.",True,"Are significant numbers of OperationCanceledException in RoslynCodeAnalysisService normal? Is SolutionChecksumUpdater being too aggressive? - **Version Used**: VS 2019, 16.10.3 **Steps to Reproduce**: Unsure. Issue is sporadic. ------------------ * I have a sporadic issue (on multiple machines) where VS is much slower and less responsive than it should be, especially in the C# text editor. * I made a trace with WPR and had a look with WPA which showed that _thousands_ of exceptions were being thrown from within `ServiceHub.RoslynCodeAnalysisService.exe` (**9,477** exceptions to be exact). * I'll be happy to share this trace. It's only ~30 seconds long but is 9.8GB in size... * ![image](https://user-images.githubusercontent.com/1693078/126027765-37ffb6f4-4cb9-491f-80eb-ed07629f3afc.png) * I attached a debugger to `RoslynCodeAnalysisService.exe` and observed that... * the `OperationCanceledException` and `TaskCanceledException` exceptions that were being thrown originated from two places calling `CancelationTokenSource.Cancel()`: * `JsonRpc.DispatchIncomingRequestAsync` after it received a `$/cancelRequest()` from `devenv.exe` * The 5-minute AppInsights Telemetry timer loop - I assumed this was a red-herring though. * I noticed whenever the `$/cancelRequest()` message was received, the `RoslynCodeAnalysisService.exe` process still took between 1 and 5 seconds to process, sometimes the last second-order `Task` would take even longer, 10-15 seconds to appear in the Output window. I don't know if that's normal or not. * The preceding, and following, JsonRpc messages were: * `GetDocumentHighlightsAsync()` * `SynchronizeTextAsync()` * `CalculateDiagnosticsAsync()` * `CalculateDiagnosticsAsync()` * `GetSemanticClassificationsAsync()` * `$/cancelRequest()` - This is the first message I looked at. It caused 4 cascading `OperationCanceledException` exceptions. * `$/cancelRequest()` - This occurred shortly afterwards and caused 1 immediate `OperationCanceledException` followed by 27 more exceptions. * `SynchronizeTextAsync()` * `GetSemanticClassificationsAsync()` * `CalculateDiagnosticsAsync()` * `OnGlobalOperationStartedAsync` * `OnGlobalOperationStoppedAsync` * (and more of the same) * So **potential problem 1**: How long should `RoslynCodeAnalysisService.exe` normally take to respond to a `$/cancelRequest()`? And after a `$/cancelRequest()` are slow responses the cause of secondary/knock-on `$/cancelRequest` messages? * **Potential problem 2**: If `RoslynCodeAnalysisService.exe` is to blame, then why is the editor itself (in `devenv.exe`) so unresponsive and laggy? Why is the UI thread making blocking waits? Unfortunately I didn't have the time today to look into what exactly the UI thread was blocking on, but the fact this unresponsive editor issue always happens whenever WPA shows thousands of exceptions being thrown within a single minute suggests it's related... * So assuming that `RoslynCodeAnalysisService` _was_ behaving correctly and the cause is excessive `$/cancelRequest()` that's swamping `RoslynCodeAnalysisService.exe`, then why is devenv.exe sending them? * So I attached a debugger to `devenv.exe` and set a breakpoint on `JsonRpc.InvokeCoreAsync` to see where the `cancelRequest` messages were coming from, and they were all coming from `Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.SolutionCrawler.GlobalOperationAwareIdleProcessor.OnGlobalOperationStarted(object sender, System.EventArgs e)`, specifically the `Microsoft.CodeAnalysis.Remote.SolutionChecksumUpdater` subclass. * **Potential problem 3**: Why on earth is `SolutionChecksumUpdater` being invoked _hundreds of times per minute_ simply from typing in the C# editor? And why is it sending so many `$/cancelRequest()` messages when cancelling-and-restarting a JsonRpc call seems to be more expensive than cancelling with a cooldown/backoff strategy? ------------ * I've previously experienced the issue and reported it (and made a WPR trace too), but [it didn't get anywhere and my replies with more detail were ignored](https://developercommunity.visualstudio.com/t/slow-vs-editor-experience-keyboard-input-lag-etc-p/1382922). * However, that previous time, I only had debug stacks from the `devenv.exe` side, not from the `ServiceHub.RoslynCodeAnalysisService.exe` side. So this time I hope I have enough information. * But I'm asking here first so I can be sure that this isn't a red-herring and that there isn't another underlying issue that exists elsewhere.",1,are significant numbers of operationcanceledexception in roslyncodeanalysisservice normal is solutionchecksumupdater being too aggressive version used vs steps to reproduce unsure issue is sporadic i have a sporadic issue on multiple machines where vs is much slower and less responsive than it should be especially in the c text editor i made a trace with wpr and had a look with wpa which showed that thousands of exceptions were being thrown from within servicehub roslyncodeanalysisservice exe exceptions to be exact i ll be happy to share this trace it s only seconds long but is in size i attached a debugger to roslyncodeanalysisservice exe and observed that the operationcanceledexception and taskcanceledexception exceptions that were being thrown originated from two places calling cancelationtokensource cancel jsonrpc dispatchincomingrequestasync after it received a cancelrequest from devenv exe the minute appinsights telemetry timer loop i assumed this was a red herring though i noticed whenever the cancelrequest message was received the roslyncodeanalysisservice exe process still took between and seconds to process sometimes the last second order task would take even longer seconds to appear in the output window i don t know if that s normal or not the preceding and following jsonrpc messages were getdocumenthighlightsasync synchronizetextasync calculatediagnosticsasync calculatediagnosticsasync getsemanticclassificationsasync cancelrequest this is the first message i looked at it caused cascading operationcanceledexception exceptions cancelrequest this occurred shortly afterwards and caused immediate operationcanceledexception followed by more exceptions synchronizetextasync getsemanticclassificationsasync calculatediagnosticsasync onglobaloperationstartedasync onglobaloperationstoppedasync and more of the same so potential problem how long should roslyncodeanalysisservice exe normally take to respond to a cancelrequest and after a cancelrequest are slow responses the cause of secondary knock on cancelrequest messages potential problem if roslyncodeanalysisservice exe is to blame then why is the editor itself in devenv exe so unresponsive and laggy why is the ui thread making blocking waits unfortunately i didn t have the time today to look into what exactly the ui thread was blocking on but the fact this unresponsive editor issue always happens whenever wpa shows thousands of exceptions being thrown within a single minute suggests it s related so assuming that roslyncodeanalysisservice was behaving correctly and the cause is excessive cancelrequest that s swamping roslyncodeanalysisservice exe then why is devenv exe sending them so i attached a debugger to devenv exe and set a breakpoint on jsonrpc invokecoreasync to see where the cancelrequest messages were coming from and they were all coming from microsoft codeanalysis features dll microsoft codeanalysis solutioncrawler globaloperationawareidleprocessor onglobaloperationstarted object sender system eventargs e specifically the microsoft codeanalysis remote solutionchecksumupdater subclass potential problem why on earth is solutionchecksumupdater being invoked hundreds of times per minute simply from typing in the c editor and why is it sending so many cancelrequest messages when cancelling and restarting a jsonrpc call seems to be more expensive than cancelling with a cooldown backoff strategy i ve previously experienced the issue and reported it and made a wpr trace too but however that previous time i only had debug stacks from the devenv exe side not from the servicehub roslyncodeanalysisservice exe side so this time i hope i have enough information but i m asking here first so i can be sure that this isn t a red herring and that there isn t another underlying issue that exists elsewhere ,1 173,4972501637.0,IssuesEvent,2016-12-05 21:45:39,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Repl commands get an extra letter when typed in C# interactive (+Backspacing the extra letter crashes VS),Area-IDE Bug Tenet-Reliability,"**Version Used**: D15Rel 25903.2 **Steps to Reproduce**: 1. Open C# Interactive 2. Type out the repl command: #help 3. Make sure you actually type it out, and don't use a tab. **Expected Behavior**: #help is typed out. **Actual Behavior**: #helpp is typed out. An extra letter is added. The same issue occurs for all of the other repl commands. ![extraletterrepl](https://cloud.githubusercontent.com/assets/10537189/20016390/884e6c4c-a27c-11e6-988b-399102d4325f.gif) ",True,"Repl commands get an extra letter when typed in C# interactive (+Backspacing the extra letter crashes VS) - **Version Used**: D15Rel 25903.2 **Steps to Reproduce**: 1. Open C# Interactive 2. Type out the repl command: #help 3. Make sure you actually type it out, and don't use a tab. **Expected Behavior**: #help is typed out. **Actual Behavior**: #helpp is typed out. An extra letter is added. The same issue occurs for all of the other repl commands. ![extraletterrepl](https://cloud.githubusercontent.com/assets/10537189/20016390/884e6c4c-a27c-11e6-988b-399102d4325f.gif) ",1,repl commands get an extra letter when typed in c interactive backspacing the extra letter crashes vs version used steps to reproduce open c interactive type out the repl command help make sure you actually type it out and don t use a tab expected behavior help is typed out actual behavior helpp is typed out an extra letter is added the same issue occurs for all of the other repl commands ,1 66,3273548617.0,IssuesEvent,2015-10-26 03:31:44,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,"Crash in VS due to an unexpected {""The point does not belong to a source snapshot of the projection snapshot""} System.ArgumentException",Approved for next preview Area-IDE Bug Tenet-Reliability,"Dump is available. ``` - $exception {""The point does not belong to a source snapshot of the projection snapshot""} System.ArgumentException + Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal} HResult -2147024809 int HelpLink null string + IPForWatsonBuckets {0} System.UIntPtr + InnerException null System.Exception IsTransient false bool Message ""The point does not belong to a source snapshot of the projection snapshot"" string ParamName null string RemoteStackTrace null string Source ""Microsoft.VisualStudio.Platform.VSEditor"" string StackTrace "" at Microsoft.VisualStudio.Text.Projection.Implementation.ProjectionSnapshot.MapFromSourceSnapshot(SnapshotPoint sourcePoint, PositionAffinity affinity)\r\n at Microsoft.CodeAnalysis.Editor.Implementation.LineSeparators.AdornmentManager`1.UpdateSpans_CallOnlyOnUIThread(NormalizedSnapshotSpanCollection changedSpanCollection, Boolean removeOldTags)\r\n at Microsoft.CodeAnalysis.Editor.Implementation.LineSeparators.AdornmentManager`1.UpdateInvalidSpans()\r\n at Microsoft.CodeAnalysis.Editor.Implementation.LineSeparators.AdornmentManager`1.<>c__DisplayClass11_0.b__0()\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)\r\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Windows.Threading.DispatcherOperation.Invoke()\r\n at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)"" string + TargetSite {System.Nullable`1[Microsoft.VisualStudio.Text.SnapshotPoint] MapFromSourceSnapshot(Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.VisualStudio.Text.PositionAffinity)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo} + WatsonBuckets {byte[5616]} object {byte[]} _HResult -2147024809 int _className ""System.ArgumentException"" string + _data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal} _dynamicMethods null object + _exceptionMethod {System.Nullable`1[Microsoft.VisualStudio.Text.SnapshotPoint] MapFromSourceSnapshot(Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.VisualStudio.Text.PositionAffinity)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo} _exceptionMethodString null string _helpURL null string + _innerException null System.Exception + _ipForWatsonBuckets {0} System.UIntPtr _message ""The point does not belong to a source snapshot of the projection snapshot"" string _remoteStackIndex 0 int _remoteStackTraceString null string + _safeSerializationManager {System.Runtime.Serialization.SafeSerializationManager} System.Runtime.Serialization.SafeSerializationManager _source ""Microsoft.VisualStudio.Platform.VSEditor"" string + _stackTrace {sbyte[384]} object {sbyte[]} _stackTraceString null string + _watsonBuckets {byte[5616]} object {byte[]} _xcode -532462766 int + _xptrs {0} System.IntPtr m_paramName null string + Static members ```",True,"Crash in VS due to an unexpected {""The point does not belong to a source snapshot of the projection snapshot""} System.ArgumentException - Dump is available. ``` - $exception {""The point does not belong to a source snapshot of the projection snapshot""} System.ArgumentException + Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal} HResult -2147024809 int HelpLink null string + IPForWatsonBuckets {0} System.UIntPtr + InnerException null System.Exception IsTransient false bool Message ""The point does not belong to a source snapshot of the projection snapshot"" string ParamName null string RemoteStackTrace null string Source ""Microsoft.VisualStudio.Platform.VSEditor"" string StackTrace "" at Microsoft.VisualStudio.Text.Projection.Implementation.ProjectionSnapshot.MapFromSourceSnapshot(SnapshotPoint sourcePoint, PositionAffinity affinity)\r\n at Microsoft.CodeAnalysis.Editor.Implementation.LineSeparators.AdornmentManager`1.UpdateSpans_CallOnlyOnUIThread(NormalizedSnapshotSpanCollection changedSpanCollection, Boolean removeOldTags)\r\n at Microsoft.CodeAnalysis.Editor.Implementation.LineSeparators.AdornmentManager`1.UpdateInvalidSpans()\r\n at Microsoft.CodeAnalysis.Editor.Implementation.LineSeparators.AdornmentManager`1.<>c__DisplayClass11_0.b__0()\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)\r\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Windows.Threading.DispatcherOperation.Invoke()\r\n at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)"" string + TargetSite {System.Nullable`1[Microsoft.VisualStudio.Text.SnapshotPoint] MapFromSourceSnapshot(Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.VisualStudio.Text.PositionAffinity)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo} + WatsonBuckets {byte[5616]} object {byte[]} _HResult -2147024809 int _className ""System.ArgumentException"" string + _data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal} _dynamicMethods null object + _exceptionMethod {System.Nullable`1[Microsoft.VisualStudio.Text.SnapshotPoint] MapFromSourceSnapshot(Microsoft.VisualStudio.Text.SnapshotPoint, Microsoft.VisualStudio.Text.PositionAffinity)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo} _exceptionMethodString null string _helpURL null string + _innerException null System.Exception + _ipForWatsonBuckets {0} System.UIntPtr _message ""The point does not belong to a source snapshot of the projection snapshot"" string _remoteStackIndex 0 int _remoteStackTraceString null string + _safeSerializationManager {System.Runtime.Serialization.SafeSerializationManager} System.Runtime.Serialization.SafeSerializationManager _source ""Microsoft.VisualStudio.Platform.VSEditor"" string + _stackTrace {sbyte[384]} object {sbyte[]} _stackTraceString null string + _watsonBuckets {byte[5616]} object {byte[]} _xcode -532462766 int + _xptrs {0} System.IntPtr m_paramName null string + Static members ```",1,crash in vs due to an unexpected the point does not belong to a source snapshot of the projection snapshot system argumentexception dump is available exception the point does not belong to a source snapshot of the projection snapshot system argumentexception data system collections listdictionaryinternal system collections idictionary system collections listdictionaryinternal hresult int helplink null string ipforwatsonbuckets system uintptr innerexception null system exception istransient false bool message the point does not belong to a source snapshot of the projection snapshot string paramname null string remotestacktrace null string source microsoft visualstudio platform vseditor string stacktrace at microsoft visualstudio text projection implementation projectionsnapshot mapfromsourcesnapshot snapshotpoint sourcepoint positionaffinity affinity r n at microsoft codeanalysis editor implementation lineseparators adornmentmanager updatespans callonlyonuithread normalizedsnapshotspancollection changedspancollection boolean removeoldtags r n at microsoft codeanalysis editor implementation lineseparators adornmentmanager updateinvalidspans r n at microsoft codeanalysis editor implementation lineseparators adornmentmanager c b r n at system windows threading exceptionwrapper internalrealcall delegate callback object args numargs r n at system windows threading exceptionwrapper trycatchwhen object source delegate callback object args numargs delegate catchhandler r n at system windows threading dispatcheroperation invokeimpl r n at system windows threading dispatcheroperation invokeinsecuritycontext object state r n at system threading executioncontext runinternal executioncontext executioncontext contextcallback callback object state boolean preservesyncctx r n at system threading executioncontext run executioncontext executioncontext contextcallback callback object state boolean preservesyncctx r n at system threading executioncontext run executioncontext executioncontext contextcallback callback object state r n at system windows threading dispatcheroperation invoke r n at system windows threading dispatcher processqueue r n at system windows threading dispatcher wndprochook intptr hwnd msg intptr wparam intptr lparam boolean handled r n at ms hwndwrapper wndproc intptr hwnd msg intptr wparam intptr lparam boolean handled r n at ms hwndsubclass dispatchercallbackoperation object o r n at system windows threading exceptionwrapper internalrealcall delegate callback object args numargs r n at system windows threading exceptionwrapper trycatchwhen object source delegate callback object args numargs delegate catchhandler r n at system windows threading dispatcher legacyinvokeimpl dispatcherpriority priority timespan timeout delegate method object args numargs r n at ms hwndsubclass subclasswndproc intptr hwnd msg intptr wparam intptr lparam string targetsite system nullable mapfromsourcesnapshot microsoft visualstudio text snapshotpoint microsoft visualstudio text positionaffinity system reflection methodbase system reflection runtimemethodinfo watsonbuckets byte object byte hresult int classname system argumentexception string data system collections listdictionaryinternal system collections idictionary system collections listdictionaryinternal dynamicmethods null object exceptionmethod system nullable mapfromsourcesnapshot microsoft visualstudio text snapshotpoint microsoft visualstudio text positionaffinity system reflection methodbase system reflection runtimemethodinfo exceptionmethodstring null string helpurl null string innerexception null system exception ipforwatsonbuckets system uintptr message the point does not belong to a source snapshot of the projection snapshot string remotestackindex int remotestacktracestring null string safeserializationmanager system runtime serialization safeserializationmanager system runtime serialization safeserializationmanager source microsoft visualstudio platform vseditor string stacktrace sbyte object sbyte stacktracestring null string watsonbuckets byte object byte xcode int xptrs system intptr m paramname null string static members ,1 578,8696896235.0,IssuesEvent,2018-12-04 18:45:42,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,crash on SymbolDeclaraedEventAnalyzer,Area-Analyzers Bug Tenet-Reliability,"Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). ``` none Message: System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1.CompilationAnalyzer..ctor(INamedTypeSymbol symbolType, INamedTypeSymbol compilationType) at Roslyn.Diagnostics.CSharp.Analyzers.CSharpSymbolDeclaredEventAnalyzer.GetCompilationAnalyzer(Compilation compilation, INamedTypeSymbol symbolType) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1.b__7_0(CompilationStartAnalysisContext compilationContext) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerHelper.CollectCompilationActionsContext.RegisterCompilationStartAction(Action`1 action) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerHelper.IsCompilationEndAnalyzer(DiagnosticAnalyzer analyzer, Project project, Compilation compilation) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.StateSet.ComputeCompilationEndAnalyzer(Project project, Compilation compilation) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.d__88.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+d__88.MoveNext() at System.Linq.Enumerable.Single[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1+CompilationAnalyzer[[Microsoft.CodeAnalysis.CSharp.SyntaxKind, Microsoft.CodeAnalysis.CSharp, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]..ctor(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol) at Roslyn.Diagnostics.CSharp.Analyzers.CSharpSymbolDeclaredEventAnalyzer.GetCompilationAnalyzer(Microsoft.CodeAnalysis.Compilation, Microsoft.CodeAnalysis.INamedTypeSymbol) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1[[Microsoft.CodeAnalysis.CSharp.SyntaxKind, Microsoft.CodeAnalysis.CSharp, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].b__7_0(Microsoft.CodeAnalysis.Diagnostics.CompilationStartAnalysisContext) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerHelper+CollectCompilationActionsContext.RegisterCompilationStartAction(System.Action`1) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1[[Microsoft.CodeAnalysis.CSharp.SyntaxKind, Microsoft.CodeAnalysis.CSharp, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerHelper.IsCompilationEndAnalyzer(Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, Microsoft.CodeAnalysis.Project, Microsoft.CodeAnalysis.Compilation) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+StateSet.ComputeCompilationEndAnalyzer(Microsoft.CodeAnalysis.Project, Microsoft.CodeAnalysis.Compilation) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+d__88.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+d__88, Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__88 ByRef) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.AnalyzeProjectAsync(Microsoft.CodeAnalysis.Project, Boolean, Microsoft.CodeAnalysis.SolutionCrawler.InvocationReasons, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+<>c__DisplayClass11_0.b__1(Microsoft.CodeAnalysis.SolutionCrawler.IIncrementalAnalyzer, Microsoft.CodeAnalysis.Project, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass32_1`1+<b__0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass32_1`1+<b__0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<b__0>d ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass32_1`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.__Canon, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__34`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__34`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__34`2 ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor.GetOrDefaultAsync[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon, System.Func`3>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__32`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__32`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__32`1 ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor.RunAnalyzersAsync[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Immutable.ImmutableArray`1, System.__Canon, System.Func`4, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__11.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__11, Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__11 ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor.ProcessProjectAsync(System.Collections.Immutable.ImmutableArray`1, WorkItem, System.Threading.CancellationTokenSource) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__3, Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__3 ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor.ExecuteAsync() at Microsoft.CodeAnalysis.SolutionCrawler.IdleProcessor+d__12.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.Task`1) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__11.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.Task`1) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__32`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__34`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass32_1`1+<b__0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+d__88.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+CompilationManager+d__5.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__19.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__22.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__24.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__30.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__32.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__19.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__22.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__24.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__25.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) ``` The remainder of the message was truncated. ",True,"crash on SymbolDeclaraedEventAnalyzer - Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). ``` none Message: System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1.CompilationAnalyzer..ctor(INamedTypeSymbol symbolType, INamedTypeSymbol compilationType) at Roslyn.Diagnostics.CSharp.Analyzers.CSharpSymbolDeclaredEventAnalyzer.GetCompilationAnalyzer(Compilation compilation, INamedTypeSymbol symbolType) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1.b__7_0(CompilationStartAnalysisContext compilationContext) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerHelper.CollectCompilationActionsContext.RegisterCompilationStartAction(Action`1 action) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerHelper.IsCompilationEndAnalyzer(DiagnosticAnalyzer analyzer, Project project, Compilation compilation) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.StateSet.ComputeCompilationEndAnalyzer(Project project, Compilation compilation) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.d__88.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+d__88.MoveNext() at System.Linq.Enumerable.Single[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1+CompilationAnalyzer[[Microsoft.CodeAnalysis.CSharp.SyntaxKind, Microsoft.CodeAnalysis.CSharp, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]..ctor(Microsoft.CodeAnalysis.INamedTypeSymbol, Microsoft.CodeAnalysis.INamedTypeSymbol) at Roslyn.Diagnostics.CSharp.Analyzers.CSharpSymbolDeclaredEventAnalyzer.GetCompilationAnalyzer(Microsoft.CodeAnalysis.Compilation, Microsoft.CodeAnalysis.INamedTypeSymbol) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1[[Microsoft.CodeAnalysis.CSharp.SyntaxKind, Microsoft.CodeAnalysis.CSharp, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].b__7_0(Microsoft.CodeAnalysis.Diagnostics.CompilationStartAnalysisContext) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerHelper+CollectCompilationActionsContext.RegisterCompilationStartAction(System.Action`1) at Roslyn.Diagnostics.Analyzers.SymbolDeclaredEventAnalyzer`1[[Microsoft.CodeAnalysis.CSharp.SyntaxKind, Microsoft.CodeAnalysis.CSharp, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerHelper.IsCompilationEndAnalyzer(Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, Microsoft.CodeAnalysis.Project, Microsoft.CodeAnalysis.Compilation) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+StateSet.ComputeCompilationEndAnalyzer(Microsoft.CodeAnalysis.Project, Microsoft.CodeAnalysis.Compilation) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+d__88.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+d__88, Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__88 ByRef) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer.AnalyzeProjectAsync(Microsoft.CodeAnalysis.Project, Boolean, Microsoft.CodeAnalysis.SolutionCrawler.InvocationReasons, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+<>c__DisplayClass11_0.b__1(Microsoft.CodeAnalysis.SolutionCrawler.IIncrementalAnalyzer, Microsoft.CodeAnalysis.Project, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass32_1`1+<b__0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass32_1`1+<b__0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<b__0>d ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass32_1`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.__Canon, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__34`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__34`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__34`2 ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor.GetOrDefaultAsync[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon, System.Func`3>, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__32`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__32`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__32`1 ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor.RunAnalyzersAsync[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Immutable.ImmutableArray`1, System.__Canon, System.Func`4, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__11.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__11, Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__11 ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor.ProcessProjectAsync(System.Collections.Immutable.ImmutableArray`1, WorkItem, System.Threading.CancellationTokenSource) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__3, Microsoft.CodeAnalysis.Features, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__3 ByRef) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor.ExecuteAsync() at Microsoft.CodeAnalysis.SolutionCrawler.IdleProcessor+d__12.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.Task`1) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__3.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+LowPriorityProcessor+d__11.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.Task`1) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__32`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+d__34`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionCrawler.SolutionCrawlerRegistrationService+WorkCoordinator+IncrementalAnalyzerProcessor+<>c__DisplayClass32_1`1+<b__0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+d__88.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Diagnostics.EngineV2.DiagnosticIncrementalAnalyzer+CompilationManager+d__5.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__19.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__22.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__24.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__30.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__32.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__19.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__22.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(CompilationInfo) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.SolutionState+CompilationTracker+CompilationInfo, Microsoft.CodeAnalysis.Workspaces, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(CompilationInfo) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__24.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.SolutionState+CompilationTracker+d__25.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) ``` The remainder of the message was truncated. ",1,crash on symboldeclaraedeventanalyzer application devenv exe framework version description the application requested process termination through system environment failfast string message none message system invalidoperationexception sequence contains no elements at system linq enumerable single ienumerable source at roslyn diagnostics analyzers symboldeclaredeventanalyzer compilationanalyzer ctor inamedtypesymbol symboltype inamedtypesymbol compilationtype at roslyn diagnostics csharp analyzers csharpsymboldeclaredeventanalyzer getcompilationanalyzer compilation compilation inamedtypesymbol symboltype at roslyn diagnostics analyzers symboldeclaredeventanalyzer b compilationstartanalysiscontext compilationcontext at microsoft codeanalysis diagnostics analyzerhelper collectcompilationactionscontext registercompilationstartaction action action at roslyn diagnostics analyzers symboldeclaredeventanalyzer initialize analysiscontext context at microsoft codeanalysis diagnostics analyzerhelper iscompilationendanalyzer diagnosticanalyzer analyzer project project compilation compilation at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer stateset computecompilationendanalyzer project project compilation compilation at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis errorreporting fatalerror report system exception system action at microsoft codeanalysis errorreporting fatalerror reportunlesscanceled system exception at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer d movenext at system linq enumerable single system collections generic ienumerable at roslyn diagnostics analyzers symboldeclaredeventanalyzer compilationanalyzer ctor microsoft codeanalysis inamedtypesymbol microsoft codeanalysis inamedtypesymbol at roslyn diagnostics csharp analyzers csharpsymboldeclaredeventanalyzer getcompilationanalyzer microsoft codeanalysis compilation microsoft codeanalysis inamedtypesymbol at roslyn diagnostics analyzers symboldeclaredeventanalyzer b microsoft codeanalysis diagnostics compilationstartanalysiscontext at microsoft codeanalysis diagnostics analyzerhelper collectcompilationactionscontext registercompilationstartaction system action at roslyn diagnostics analyzers symboldeclaredeventanalyzer initialize microsoft codeanalysis diagnostics analysiscontext at microsoft codeanalysis diagnostics analyzerhelper iscompilationendanalyzer microsoft codeanalysis diagnostics diagnosticanalyzer microsoft codeanalysis project microsoft codeanalysis compilation at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer stateset computecompilationendanalyzer microsoft codeanalysis project microsoft codeanalysis compilation at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer analyzeprojectasync microsoft codeanalysis project boolean microsoft codeanalysis solutioncrawler invocationreasons system threading cancellationtoken at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor lowpriorityprocessor c b microsoft codeanalysis solutioncrawler iincrementalanalyzer microsoft codeanalysis project system threading cancellationtoken at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b d movenext at system runtime compilerservices asynctaskmethodbuilder start microsoft codeanalysis features version culture neutral publickeytoken b d byref at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b system canon system threading cancellationtoken at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext at system runtime compilerservices asynctaskmethodbuilder start microsoft codeanalysis features version culture neutral publickeytoken d byref at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor getordefaultasync system canon system func system threading cancellationtoken at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext at system runtime compilerservices asynctaskmethodbuilder start microsoft codeanalysis features version culture neutral publickeytoken d byref at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor runanalyzersasync system collections immutable immutablearray system canon system func system threading cancellationtoken at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor lowpriorityprocessor d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor lowpriorityprocessor processprojectasync system collections immutable immutablearray workitem system threading cancellationtokensource at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor lowpriorityprocessor d movenext at system runtime compilerservices asynctaskmethodbuilder start d byref at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor lowpriorityprocessor executeasync at microsoft codeanalysis solutioncrawler idleprocessor d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks task at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor lowpriorityprocessor d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor lowpriorityprocessor d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks task at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis solutioncrawler solutioncrawlerregistrationservice workcoordinator incrementalanalyzerprocessor c b d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis diagnostics diagnosticincrementalanalyzer compilationmanager d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult compilationinfo at system runtime compilerservices asynctaskmethodbuilder setresult compilationinfo at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult compilationinfo at system runtime compilerservices asynctaskmethodbuilder setresult compilationinfo at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult compilationinfo at system runtime compilerservices asynctaskmethodbuilder setresult compilationinfo at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult compilationinfo at system runtime compilerservices asynctaskmethodbuilder setresult compilationinfo at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult compilationinfo at system runtime compilerservices asynctaskmethodbuilder setresult compilationinfo at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis solutionstate compilationtracker d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object the remainder of the message was truncated ,1 1242,14241853280.0,IssuesEvent,2020-11-19 00:21:13,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Infinite suggested action never ends.,4 - In Review Area-IDE Bug Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/1223055/infinite-suggested-action-never-ends.html)._ --- [severity:I'm unable to use this version of Visual Studio] [regression] [worked-in:Visual Studio Community 16.7.6] Hello, This happens on visual studio preview 16.8.4 preview 4. I'm using Windows 10 professional 64 bits. After creating a unit testing and attempting to use the ""suggested action"" to add a reference to one of my projects, the action never finishes. This is a .NET Core console application for .NET 5.0 RC1 --- ### Original Comments #### Feedback Bot on 10/15/2020, 08:27 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",True,"Infinite suggested action never ends. - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/1223055/infinite-suggested-action-never-ends.html)._ --- [severity:I'm unable to use this version of Visual Studio] [regression] [worked-in:Visual Studio Community 16.7.6] Hello, This happens on visual studio preview 16.8.4 preview 4. I'm using Windows 10 professional 64 bits. After creating a unit testing and attempting to use the ""suggested action"" to add a reference to one of my projects, the action never finishes. This is a .NET Core console application for .NET 5.0 RC1 --- ### Original Comments #### Feedback Bot on 10/15/2020, 08:27 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",1,infinite suggested action never ends this issue has been moved from hello this happens on visual studio preview preview i m using windows professional bits after creating a unit testing and attempting to use the suggested action to add a reference to one of my projects the action never finishes this is a net core console application for net original comments feedback bot on pm we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps original solutions no solutions ,1 1684,18672489055.0,IssuesEvent,2021-10-31 00:34:17,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,KeyNotFoundException from FindReferencesSearchEngine.ProcessDocumentAsync,Bug Area-IDE Tenet-Reliability,"FAR in Roslyn ``` StreamJsonRpc.RemoteInvocationException: The given key was not present in the dictionary. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of inner exception stack trace --- at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__19.MoveNext() in D:\R1\src\Workspaces\Remote\Core\BrokeredServiceConnection.cs:line 301 RPC server exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__18.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 276 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__17.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 258 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__17.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 268 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__15.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 215 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__15.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 225 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__11.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 112 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__11.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 112 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__11.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 116 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__34.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\SymbolFinder_FindReferences_Current.cs:line 54 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Editor.FindUsages.AbstractFindUsagesService.d__15.MoveNext() in D:\R1\src\EditorFeatures\Core\FindUsages\AbstractFindUsagesService_FindReferences.cs:line 149 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteFindUsagesService.<>c__DisplayClass3_0.<b__0>d.MoveNext() in D:\R1\src\Workspaces\Remote\ServiceHub\Services\FindUsages\RemoteFindUsagesService.cs:line 52 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__15.MoveNext() in D:\R1\src\Workspaces\Remote\ServiceHub\Services\BrokeredServiceBase.cs:line 117 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",True,"KeyNotFoundException from FindReferencesSearchEngine.ProcessDocumentAsync - FAR in Roslyn ``` StreamJsonRpc.RemoteInvocationException: The given key was not present in the dictionary. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of inner exception stack trace --- at StreamJsonRpc.JsonRpc.d__139`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d__19.MoveNext() in D:\R1\src\Workspaces\Remote\Core\BrokeredServiceConnection.cs:line 301 RPC server exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__18.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 276 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__17.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 258 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__17.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 268 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__15.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 215 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__15.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 225 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__11.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 112 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__11.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 112 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__11.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\FindReferences\FindReferencesSearchEngine.cs:line 116 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__34.MoveNext() in D:\R1\src\Workspaces\Core\Portable\FindSymbols\SymbolFinder_FindReferences_Current.cs:line 54 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Editor.FindUsages.AbstractFindUsagesService.d__15.MoveNext() in D:\R1\src\EditorFeatures\Core\FindUsages\AbstractFindUsagesService_FindReferences.cs:line 149 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.RemoteFindUsagesService.<>c__DisplayClass3_0.<b__0>d.MoveNext() in D:\R1\src\Workspaces\Remote\ServiceHub\Services\FindUsages\RemoteFindUsagesService.cs:line 52 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d__15.MoveNext() in D:\R1\src\Workspaces\Remote\ServiceHub\Services\BrokeredServiceBase.cs:line 117 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) ```",1,keynotfoundexception from findreferencessearchengine processdocumentasync far in roslyn streamjsonrpc remoteinvocationexception the given key was not present in the dictionary system collections generic keynotfoundexception the given key was not present in the dictionary at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject end of inner exception stack trace at streamjsonrpc jsonrpc d movenext end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredserviceconnection d movenext in d src workspaces remote core brokeredserviceconnection cs line rpc server exception system collections generic keynotfoundexception the given key was not present in the dictionary at system collections concurrent concurrentdictionary get item tkey key at microsoft codeanalysis findsymbols findreferencessearchengine d movenext in d src workspaces core portable findsymbols findreferences findreferencessearchengine cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext in d src workspaces core portable findsymbols findreferences findreferencessearchengine cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext in d src workspaces core portable findsymbols findreferences findreferencessearchengine cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis findsymbols findreferencessearchengine d movenext in d src workspaces core portable findsymbols findreferences findreferencessearchengine cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext in d src workspaces core portable findsymbols findreferences findreferencessearchengine cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis findsymbols findreferencessearchengine d movenext in d src workspaces core portable findsymbols findreferences findreferencessearchengine cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext in d src workspaces core portable findsymbols findreferences findreferencessearchengine cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft codeanalysis findsymbols findreferencessearchengine d movenext in d src workspaces core portable findsymbols findreferences findreferencessearchengine cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis findsymbols symbolfinder d movenext in d src workspaces core portable findsymbols symbolfinder findreferences current cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis editor findusages abstractfindusagesservice d movenext in d src editorfeatures core findusages abstractfindusagesservice findreferences cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote remotefindusagesservice c b d movenext in d src workspaces remote servicehub services findusages remotefindusagesservice cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at system runtime compilerservices taskawaiter handlenonsuccessanddebuggernotification task task at microsoft codeanalysis remote brokeredservicebase d movenext in d src workspaces remote servicehub services brokeredservicebase cs line end of stack trace from previous location where exception was thrown at system runtime exceptionservices exceptiondispatchinfo throw at microsoft visualstudio telemetry windowserrorreporting watsonreport getclrwatsonexceptioninfo exception exceptionobject ,1 145,4269600651.0,IssuesEvent,2016-07-13 01:24:36,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Blocker: VS 2015 Update 3 - complete freeze / crash when editing code files (intellisense),Area-IDE Bug Tenet-Reliability,"This is a real blocker issue for my team. Since update 3, we cannot edit certain files in our solution anymore - visual studio completely freezes when changing code and then after several seconds it crashes. This is the output of the windows event log: ``` Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85 Faulting module name: Microsoft.CodeAnalysis.CSharp.ni.dll, version: 1.3.1.60616, time stamp: 0xac5e790e Exception code: 0xc00000fd Fault offset: 0x002ced15 Faulting process ID: 0x1414 Faulting application start time: 0x01d1d365a3e416c5 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\Microsoft.C1d3c2215#\f217b46a2e086bed6974523572037c2c\Microsoft.CodeAnalysis.CSharp.ni.dll Report ID: 72eedbbc-cd10-4a81-aa31-5684bf1a1bc8 Faulting package full name: Faulting package-relative application ID: ``` Unfortunately I have not been able the create a minimal repro yet (in a new project), It seems to only occur in specific file/project constellations. Question: Is this issue known? Has somebody been able to provide a minimal repro? Our current workaround is to edit these files in `Notepad++` .. which sucks as you can imagine :/ One of my team-members already tried to downgrade to Update2 which resulted in a disaster ... (TLDR: Complete reinstall of windows was necessary because everything was broken afterwards)",True,"Blocker: VS 2015 Update 3 - complete freeze / crash when editing code files (intellisense) - This is a real blocker issue for my team. Since update 3, we cannot edit certain files in our solution anymore - visual studio completely freezes when changing code and then after several seconds it crashes. This is the output of the windows event log: ``` Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85 Faulting module name: Microsoft.CodeAnalysis.CSharp.ni.dll, version: 1.3.1.60616, time stamp: 0xac5e790e Exception code: 0xc00000fd Fault offset: 0x002ced15 Faulting process ID: 0x1414 Faulting application start time: 0x01d1d365a3e416c5 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\Microsoft.C1d3c2215#\f217b46a2e086bed6974523572037c2c\Microsoft.CodeAnalysis.CSharp.ni.dll Report ID: 72eedbbc-cd10-4a81-aa31-5684bf1a1bc8 Faulting package full name: Faulting package-relative application ID: ``` Unfortunately I have not been able the create a minimal repro yet (in a new project), It seems to only occur in specific file/project constellations. Question: Is this issue known? Has somebody been able to provide a minimal repro? Our current workaround is to edit these files in `Notepad++` .. which sucks as you can imagine :/ One of my team-members already tried to downgrade to Update2 which resulted in a disaster ... (TLDR: Complete reinstall of windows was necessary because everything was broken afterwards)",1,blocker vs update complete freeze crash when editing code files intellisense this is a real blocker issue for my team since update we cannot edit certain files in our solution anymore visual studio completely freezes when changing code and then after several seconds it crashes this is the output of the windows event log faulting application name devenv exe version time stamp faulting module name microsoft codeanalysis csharp ni dll version time stamp exception code fault offset faulting process id faulting application start time faulting application path c program files microsoft visual studio ide devenv exe faulting module path c windows assembly nativeimages microsoft microsoft codeanalysis csharp ni dll report id faulting package full name faulting package relative application id unfortunately i have not been able the create a minimal repro yet in a new project it seems to only occur in specific file project constellations question is this issue known has somebody been able to provide a minimal repro our current workaround is to edit these files in notepad which sucks as you can imagine one of my team members already tried to downgrade to which resulted in a disaster tldr complete reinstall of windows was necessary because everything was broken afterwards ,1 2381,25019141179.0,IssuesEvent,2022-11-03 21:54:39,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Compiler hard crash (brought down VS).,Bug Language-VB Area-Compilers Tenet-Reliability,"Stack: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureForASingleCandidate(SyntaxNode node, Location diagnosticLocation, LookupResultKind lookupResult, CandidateAnalysisResult& candidateAnalysisResult, ImmutableArray`1 arguments, ImmutableArray`1 argumentNames, Boolean allowUnexpandedParamArrayForm, Boolean allowExpandedParamArrayForm, Boolean includeMethodNameInErrorMessages, Boolean reportNarrowingConversions, DiagnosticBag diagnostics, Symbol delegateSymbol, Boolean queryMode, SyntaxNode callerInfoOpt, Symbol representCandidateInDiagnosticsOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureForASetOfCandidates(SyntaxNode node, Location diagnosticLocation, LookupResultKind lookupResult, ERRID errorNo, ArrayBuilder`1 candidates, ImmutableArray`1 arguments, ImmutableArray`1 argumentNames, DiagnosticBag diagnostics, Symbol delegateSymbol, Boolean queryMode, SyntaxNode callerInfoOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(SyntaxNode node, LookupResultKind lookupResult, ArrayBuilder`1 bestCandidates, ImmutableArray`1 bestSymbols, TypeSymbol commonReturnType, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, BoundMethodOrPropertyGroup groupOpt, Symbol delegateSymbol, Boolean queryMode, BoundTypeExpression boundTypeExpression, Symbol representCandidateInDiagnosticsOpt, Location diagnosticLocationOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(SyntaxNode node, LookupResultKind lookupResult, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, OverloadResolutionResult& results, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, BoundMethodOrPropertyGroup groupOpt, TypeSymbol overrideCommonReturnType, Boolean queryMode, BoundTypeExpression boundTypeExpression, Symbol representCandidateInDiagnosticsOpt, Location diagnosticLocationOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(SyntaxNode node, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, OverloadResolutionResult& results, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, TypeSymbol overrideCommonReturnType, Boolean queryMode, BoundTypeExpression boundTypeExpression, Symbol representCandidateInDiagnosticsOpt, Location diagnosticLocationOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(SyntaxNode node, SyntaxNode target, TypeCharacter typeChar, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, Boolean allowConstructorCall, Boolean suppressAbstractCallDiagnostics, Boolean isDefaultMemberAccess, Symbol representCandidateInDiagnosticsOpt, Boolean forceExpandedForm) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpressionPossiblyWithoutArguments(InvocationExpressionSyntax node, TypeCharacter typeChar, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, ImmutableArray`1 argumentNamesLocations, Boolean allowBindingWithoutArguments, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(InvocationExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindExpression(ExpressionSyntax node, Boolean isInvocationOrAddressOf, Boolean isOperandOfConditionalBranch, Boolean eventContext, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindValue(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean isOperandOfConditionalBranch) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindReturn(ReturnStatementSyntax originalSyntax, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(SyntaxNode syntax, SyntaxList`1 stmtList, DiagnosticBag diagnostics, Binder stmtListBinder) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(SyntaxNode syntax, SyntaxList`1 stmtList, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindMethodBlock(MethodBlockBaseSyntax methodBlock, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceMethodSymbol.GetBoundMethodBody(TypeCompilationState compilationState, DiagnosticBag diagnostics, Binder& methodBodyBinder) at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceMemberMethodSymbol.GetBoundMethodBody(TypeCompilationState compilationState, DiagnosticBag diagnostics, Binder& methodBodyBinder) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.BindAndAnalyzeMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, Binder containingTypeBinder, MethodSymbol& referencedConstructor, Boolean& injectDefaultConstructorCall, Binder& methodBodyBinder) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileMethod(MethodSymbol method, Int32 methodOrdinal, Int32& withEventPropertyIdDispenser, Int32& delegateRelaxationIdDispenser, Predicate`1 filter, TypeCompilationState compilationState, ProcessedFieldOrPropertyInitializers processedInitializers, Binder containingTypeBinder, SynthesizedSubmissionFields previousSubmissionFields, MethodSymbol& referencedConstructor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType, Predicate`1 filter) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamedType(NamedTypeSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamedTypeSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.GetCompileDiagnostics(VisualBasicCompilation compilation, NamespaceSymbol root, SyntaxTree tree, Nullable`1 filterSpanWithinTree, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Boolean doEmitPhase, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsForMethodBodiesInTree(SyntaxTree tree, Nullable`1 filterSpanWithinTree, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, CompilationStage stage, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsForSyntaxTree(CompilationStage stage, SyntaxTree tree, Nullable`1 filterSpanWithinTree, Boolean includeEarlierStages, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetDiagnostics(Nullable`1 span, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GenerateCompilationEvents(AnalysisScope analysisScope, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__57.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__57.MoveNext() at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureForASingleCandidate(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.Location, Microsoft.CodeAnalysis.VisualBasic.LookupResultKind, CandidateAnalysisResult ByRef, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Boolean, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Symbol) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureForASetOfCandidates(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.Location, Microsoft.CodeAnalysis.VisualBasic.LookupResultKind, Microsoft.CodeAnalysis.VisualBasic.ERRID, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean, Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.LookupResultKind, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean, Microsoft.CodeAnalysis.VisualBasic.BoundTypeExpression, Microsoft.CodeAnalysis.VisualBasic.Symbol, Microsoft.CodeAnalysis.Location) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.LookupResultKind, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, OverloadResolutionResult ByRef, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol, Boolean, Microsoft.CodeAnalysis.VisualBasic.BoundTypeExpression, Microsoft.CodeAnalysis.VisualBasic.Symbol, Microsoft.CodeAnalysis.Location) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, OverloadResolutionResult ByRef, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol, Boolean, Microsoft.CodeAnalysis.VisualBasic.BoundTypeExpression, Microsoft.CodeAnalysis.VisualBasic.Symbol, Microsoft.CodeAnalysis.Location) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpressionPossiblyWithoutArguments(Microsoft.CodeAnalysis.VisualBasic.Syntax.InvocationExpressionSyntax, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Boolean, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(Microsoft.CodeAnalysis.VisualBasic.Syntax.InvocationExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindExpression(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindValue(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindReturn(Microsoft.CodeAnalysis.VisualBasic.Syntax.ReturnStatementSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxList`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Binder) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxList`1, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindMethodBlock(Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceMethodSymbol.GetBoundMethodBody(Microsoft.CodeAnalysis.VisualBasic.TypeCompilationState, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Binder ByRef) at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceMemberMethodSymbol.GetBoundMethodBody(Microsoft.CodeAnalysis.VisualBasic.TypeCompilationState, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Binder ByRef) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.BindAndAnalyzeMethodBody(Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol, Microsoft.CodeAnalysis.VisualBasic.TypeCompilationState, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Binder, Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol ByRef, Boolean ByRef, Microsoft.CodeAnalysis.VisualBasic.Binder ByRef) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileMethod(Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol, Int32, Int32 ByRef, Int32 ByRef, System.Predicate`1, Microsoft.CodeAnalysis.VisualBasic.TypeCompilationState, ProcessedFieldOrPropertyInitializers, Microsoft.CodeAnalysis.VisualBasic.Binder, Microsoft.CodeAnalysis.VisualBasic.SynthesizedSubmissionFields, Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol ByRef) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamedType(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamedTypeSymbol, System.Predicate`1) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamedType(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamedTypeSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamedTypeSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.GetCompileDiagnostics(Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation, Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol, Microsoft.CodeAnalysis.SyntaxTree, System.Nullable`1, Boolean, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsForMethodBodiesInTree(Microsoft.CodeAnalysis.SyntaxTree, System.Nullable`1, Boolean, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.CompilationStage, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsForSyntaxTree(Microsoft.CodeAnalysis.CompilationStage, Microsoft.CodeAnalysis.SyntaxTree, System.Nullable`1, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetDiagnostics(System.Nullable`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GenerateCompilationEvents(Microsoft.CodeAnalysis.Diagnostics.AnalysisScope, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__57.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__61.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<>c__DisplayClass60_0+<b__0>d.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.ValueTuple`2[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.ValueTuple`2) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.ValueTuple`2) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+d__120.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerManager+d__12.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerManager+d__6.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerManager+d__7.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() The remainder of the message was truncated. ```",True,"Compiler hard crash (brought down VS). - Stack: ``` Application: devenv.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureForASingleCandidate(SyntaxNode node, Location diagnosticLocation, LookupResultKind lookupResult, CandidateAnalysisResult& candidateAnalysisResult, ImmutableArray`1 arguments, ImmutableArray`1 argumentNames, Boolean allowUnexpandedParamArrayForm, Boolean allowExpandedParamArrayForm, Boolean includeMethodNameInErrorMessages, Boolean reportNarrowingConversions, DiagnosticBag diagnostics, Symbol delegateSymbol, Boolean queryMode, SyntaxNode callerInfoOpt, Symbol representCandidateInDiagnosticsOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureForASetOfCandidates(SyntaxNode node, Location diagnosticLocation, LookupResultKind lookupResult, ERRID errorNo, ArrayBuilder`1 candidates, ImmutableArray`1 arguments, ImmutableArray`1 argumentNames, DiagnosticBag diagnostics, Symbol delegateSymbol, Boolean queryMode, SyntaxNode callerInfoOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(SyntaxNode node, LookupResultKind lookupResult, ArrayBuilder`1 bestCandidates, ImmutableArray`1 bestSymbols, TypeSymbol commonReturnType, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, BoundMethodOrPropertyGroup groupOpt, Symbol delegateSymbol, Boolean queryMode, BoundTypeExpression boundTypeExpression, Symbol representCandidateInDiagnosticsOpt, Location diagnosticLocationOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(SyntaxNode node, LookupResultKind lookupResult, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, OverloadResolutionResult& results, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, BoundMethodOrPropertyGroup groupOpt, TypeSymbol overrideCommonReturnType, Boolean queryMode, BoundTypeExpression boundTypeExpression, Symbol representCandidateInDiagnosticsOpt, Location diagnosticLocationOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(SyntaxNode node, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, OverloadResolutionResult& results, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, TypeSymbol overrideCommonReturnType, Boolean queryMode, BoundTypeExpression boundTypeExpression, Symbol representCandidateInDiagnosticsOpt, Location diagnosticLocationOpt) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(SyntaxNode node, SyntaxNode target, TypeCharacter typeChar, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, DiagnosticBag diagnostics, SyntaxNode callerInfoOpt, Boolean allowConstructorCall, Boolean suppressAbstractCallDiagnostics, Boolean isDefaultMemberAccess, Symbol representCandidateInDiagnosticsOpt, Boolean forceExpandedForm) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpressionPossiblyWithoutArguments(InvocationExpressionSyntax node, TypeCharacter typeChar, BoundMethodOrPropertyGroup group, ImmutableArray`1 boundArguments, ImmutableArray`1 argumentNames, ImmutableArray`1 argumentNamesLocations, Boolean allowBindingWithoutArguments, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(InvocationExpressionSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindExpression(ExpressionSyntax node, Boolean isInvocationOrAddressOf, Boolean isOperandOfConditionalBranch, Boolean eventContext, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindValue(ExpressionSyntax node, DiagnosticBag diagnostics, Boolean isOperandOfConditionalBranch) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindReturn(ReturnStatementSyntax originalSyntax, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(SyntaxNode syntax, SyntaxList`1 stmtList, DiagnosticBag diagnostics, Binder stmtListBinder) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(SyntaxNode syntax, SyntaxList`1 stmtList, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindMethodBlock(MethodBlockBaseSyntax methodBlock, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceMethodSymbol.GetBoundMethodBody(TypeCompilationState compilationState, DiagnosticBag diagnostics, Binder& methodBodyBinder) at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceMemberMethodSymbol.GetBoundMethodBody(TypeCompilationState compilationState, DiagnosticBag diagnostics, Binder& methodBodyBinder) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.BindAndAnalyzeMethodBody(MethodSymbol method, TypeCompilationState compilationState, DiagnosticBag diagnostics, Binder containingTypeBinder, MethodSymbol& referencedConstructor, Boolean& injectDefaultConstructorCall, Binder& methodBodyBinder) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileMethod(MethodSymbol method, Int32 methodOrdinal, Int32& withEventPropertyIdDispenser, Int32& delegateRelaxationIdDispenser, Predicate`1 filter, TypeCompilationState compilationState, ProcessedFieldOrPropertyInitializers processedInitializers, Binder containingTypeBinder, SynthesizedSubmissionFields previousSubmissionFields, MethodSymbol& referencedConstructor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType, Predicate`1 filter) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamedType(NamedTypeSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamedTypeSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(NamespaceSymbol symbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(VisualBasicSymbolVisitor visitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.GetCompileDiagnostics(VisualBasicCompilation compilation, NamespaceSymbol root, SyntaxTree tree, Nullable`1 filterSpanWithinTree, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Boolean doEmitPhase, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsForMethodBodiesInTree(SyntaxTree tree, Nullable`1 filterSpanWithinTree, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, CompilationStage stage, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsForSyntaxTree(CompilationStage stage, SyntaxTree tree, Nullable`1 filterSpanWithinTree, Boolean includeEarlierStages, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetDiagnostics(Nullable`1 span, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GenerateCompilationEvents(AnalysisScope analysisScope, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.d__57.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.FatalError.Report(System.Exception, System.Action`1) at Microsoft.CodeAnalysis.FatalError.ReportUnlessCanceled(System.Exception) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__57.MoveNext() at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureForASingleCandidate(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.Location, Microsoft.CodeAnalysis.VisualBasic.LookupResultKind, CandidateAnalysisResult ByRef, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Boolean, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Symbol) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureForASetOfCandidates(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.Location, Microsoft.CodeAnalysis.VisualBasic.LookupResultKind, Microsoft.CodeAnalysis.VisualBasic.ERRID, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean, Microsoft.CodeAnalysis.SyntaxNode) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.LookupResultKind, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean, Microsoft.CodeAnalysis.VisualBasic.BoundTypeExpression, Microsoft.CodeAnalysis.VisualBasic.Symbol, Microsoft.CodeAnalysis.Location) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.LookupResultKind, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, OverloadResolutionResult ByRef, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol, Boolean, Microsoft.CodeAnalysis.VisualBasic.BoundTypeExpression, Microsoft.CodeAnalysis.VisualBasic.Symbol, Microsoft.CodeAnalysis.Location) at Microsoft.CodeAnalysis.VisualBasic.Binder.ReportOverloadResolutionFailureAndProduceBoundNode(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, OverloadResolutionResult ByRef, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol, Boolean, Microsoft.CodeAnalysis.VisualBasic.BoundTypeExpression, Microsoft.CodeAnalysis.VisualBasic.Symbol, Microsoft.CodeAnalysis.Location) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.SyntaxNode, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.VisualBasic.Symbol, Boolean) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpressionPossiblyWithoutArguments(Microsoft.CodeAnalysis.VisualBasic.Syntax.InvocationExpressionSyntax, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter, Microsoft.CodeAnalysis.VisualBasic.BoundMethodOrPropertyGroup, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, System.Collections.Immutable.ImmutableArray`1, Boolean, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindInvocationExpression(Microsoft.CodeAnalysis.VisualBasic.Syntax.InvocationExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindExpression(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, Boolean, Boolean, Boolean, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindValue(Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.DiagnosticBag, Boolean) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindReturn(Microsoft.CodeAnalysis.VisualBasic.Syntax.ReturnStatementSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxList`1, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Binder) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindBlock(Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxList`1, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindMethodBlock(Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Binder.BindStatement(Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax, Microsoft.CodeAnalysis.DiagnosticBag) at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceMethodSymbol.GetBoundMethodBody(Microsoft.CodeAnalysis.VisualBasic.TypeCompilationState, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Binder ByRef) at Microsoft.CodeAnalysis.VisualBasic.Symbols.SourceMemberMethodSymbol.GetBoundMethodBody(Microsoft.CodeAnalysis.VisualBasic.TypeCompilationState, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Binder ByRef) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.BindAndAnalyzeMethodBody(Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol, Microsoft.CodeAnalysis.VisualBasic.TypeCompilationState, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.VisualBasic.Binder, Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol ByRef, Boolean ByRef, Microsoft.CodeAnalysis.VisualBasic.Binder ByRef) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileMethod(Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol, Int32, Int32 ByRef, Int32 ByRef, System.Predicate`1, Microsoft.CodeAnalysis.VisualBasic.TypeCompilationState, ProcessedFieldOrPropertyInitializers, Microsoft.CodeAnalysis.VisualBasic.Binder, Microsoft.CodeAnalysis.VisualBasic.SynthesizedSubmissionFields, Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol ByRef) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamedType(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamedTypeSymbol, System.Predicate`1) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamedType(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamedTypeSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamedTypeSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.VisitNamespace(Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol) at Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol.Accept(Microsoft.CodeAnalysis.VisualBasic.VisualBasicSymbolVisitor) at Microsoft.CodeAnalysis.VisualBasic.MethodCompiler.GetCompileDiagnostics(Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation, Microsoft.CodeAnalysis.VisualBasic.Symbols.NamespaceSymbol, Microsoft.CodeAnalysis.SyntaxTree, System.Nullable`1, Boolean, Microsoft.CodeAnalysis.DiagnosticBag, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsForMethodBodiesInTree(Microsoft.CodeAnalysis.SyntaxTree, System.Nullable`1, Boolean, Microsoft.CodeAnalysis.DiagnosticBag, Microsoft.CodeAnalysis.CompilationStage, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation.GetDiagnosticsForSyntaxTree(Microsoft.CodeAnalysis.CompilationStage, Microsoft.CodeAnalysis.SyntaxTree, System.Nullable`1, Boolean, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.VisualBasic.SyntaxTreeSemanticModel.GetDiagnostics(System.Nullable`1, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GenerateCompilationEvents(Microsoft.CodeAnalysis.Diagnostics.AnalysisScope, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__57.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers+d__61.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task) at System.Threading.Tasks.UnwrapPromise`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.Threading.Tasks.VoidTaskResult) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<>c__DisplayClass60_0+<b__0>d.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.ValueTuple`2[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.ValueTuple`2) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.ValueTuple`2) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+d__120.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].TrySetResult(Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions, Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SetResult(Microsoft.CodeAnalysis.Diagnostics.AnalyzerActions) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerManager+d__12.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerManager+d__6.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.FinishStageThree() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetResult(System.__Canon) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetResult(System.__Canon) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerManager+d__7.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() The remainder of the message was truncated. ```",1,compiler hard crash brought down vs stack application devenv exe framework version description the application requested process termination through system environment failfast string message message system indexoutofrangeexception index was outside the bounds of the array at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureforasinglecandidate syntaxnode node location diagnosticlocation lookupresultkind lookupresult candidateanalysisresult candidateanalysisresult immutablearray arguments immutablearray argumentnames boolean allowunexpandedparamarrayform boolean allowexpandedparamarrayform boolean includemethodnameinerrormessages boolean reportnarrowingconversions diagnosticbag diagnostics symbol delegatesymbol boolean querymode syntaxnode callerinfoopt symbol representcandidateindiagnosticsopt at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureforasetofcandidates syntaxnode node location diagnosticlocation lookupresultkind lookupresult errid errorno arraybuilder candidates immutablearray arguments immutablearray argumentnames diagnosticbag diagnostics symbol delegatesymbol boolean querymode syntaxnode callerinfoopt at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureandproduceboundnode syntaxnode node lookupresultkind lookupresult arraybuilder bestcandidates immutablearray bestsymbols typesymbol commonreturntype immutablearray boundarguments immutablearray argumentnames diagnosticbag diagnostics syntaxnode callerinfoopt boundmethodorpropertygroup groupopt symbol delegatesymbol boolean querymode boundtypeexpression boundtypeexpression symbol representcandidateindiagnosticsopt location diagnosticlocationopt at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureandproduceboundnode syntaxnode node lookupresultkind lookupresult immutablearray boundarguments immutablearray argumentnames overloadresolutionresult results diagnosticbag diagnostics syntaxnode callerinfoopt boundmethodorpropertygroup groupopt typesymbol overridecommonreturntype boolean querymode boundtypeexpression boundtypeexpression symbol representcandidateindiagnosticsopt location diagnosticlocationopt at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureandproduceboundnode syntaxnode node boundmethodorpropertygroup group immutablearray boundarguments immutablearray argumentnames overloadresolutionresult results diagnosticbag diagnostics syntaxnode callerinfoopt typesymbol overridecommonreturntype boolean querymode boundtypeexpression boundtypeexpression symbol representcandidateindiagnosticsopt location diagnosticlocationopt at microsoft codeanalysis visualbasic binder bindinvocationexpression syntaxnode node syntaxnode target typecharacter typechar boundmethodorpropertygroup group immutablearray boundarguments immutablearray argumentnames diagnosticbag diagnostics syntaxnode callerinfoopt boolean allowconstructorcall boolean suppressabstractcalldiagnostics boolean isdefaultmemberaccess symbol representcandidateindiagnosticsopt boolean forceexpandedform at microsoft codeanalysis visualbasic binder bindinvocationexpressionpossiblywithoutarguments invocationexpressionsyntax node typecharacter typechar boundmethodorpropertygroup group immutablearray boundarguments immutablearray argumentnames immutablearray argumentnameslocations boolean allowbindingwithoutarguments diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindinvocationexpression invocationexpressionsyntax node diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindexpression expressionsyntax node boolean isinvocationoraddressof boolean isoperandofconditionalbranch boolean eventcontext diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindvalue expressionsyntax node diagnosticbag diagnostics boolean isoperandofconditionalbranch at microsoft codeanalysis visualbasic binder bindreturn returnstatementsyntax originalsyntax diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindstatement statementsyntax node diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindblock syntaxnode syntax syntaxlist stmtlist diagnosticbag diagnostics binder stmtlistbinder at microsoft codeanalysis visualbasic binder bindblock syntaxnode syntax syntaxlist stmtlist diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindmethodblock methodblockbasesyntax methodblock diagnosticbag diagnostics at microsoft codeanalysis visualbasic binder bindstatement statementsyntax node diagnosticbag diagnostics at microsoft codeanalysis visualbasic symbols sourcemethodsymbol getboundmethodbody typecompilationstate compilationstate diagnosticbag diagnostics binder methodbodybinder at microsoft codeanalysis visualbasic symbols sourcemembermethodsymbol getboundmethodbody typecompilationstate compilationstate diagnosticbag diagnostics binder methodbodybinder at microsoft codeanalysis visualbasic methodcompiler bindandanalyzemethodbody methodsymbol method typecompilationstate compilationstate diagnosticbag diagnostics binder containingtypebinder methodsymbol referencedconstructor boolean injectdefaultconstructorcall binder methodbodybinder at microsoft codeanalysis visualbasic methodcompiler compilemethod methodsymbol method methodordinal witheventpropertyiddispenser delegaterelaxationiddispenser predicate filter typecompilationstate compilationstate processedfieldorpropertyinitializers processedinitializers binder containingtypebinder synthesizedsubmissionfields previoussubmissionfields methodsymbol referencedconstructor at microsoft codeanalysis visualbasic methodcompiler compilenamedtype namedtypesymbol containingtype predicate filter at microsoft codeanalysis visualbasic methodcompiler visitnamedtype namedtypesymbol symbol at microsoft codeanalysis visualbasic symbols namedtypesymbol accept visualbasicsymbolvisitor visitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace namespacesymbol symbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept visualbasicsymbolvisitor visitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace namespacesymbol symbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept visualbasicsymbolvisitor visitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace namespacesymbol symbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept visualbasicsymbolvisitor visitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace namespacesymbol symbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept visualbasicsymbolvisitor visitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace namespacesymbol symbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept visualbasicsymbolvisitor visitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace namespacesymbol symbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept visualbasicsymbolvisitor visitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace namespacesymbol symbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace namespacesymbol symbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept visualbasicsymbolvisitor visitor at microsoft codeanalysis visualbasic methodcompiler getcompilediagnostics visualbasiccompilation compilation namespacesymbol root syntaxtree tree nullable filterspanwithintree boolean hasdeclarationerrors diagnosticbag diagnostics boolean doemitphase cancellationtoken cancellationtoken at microsoft codeanalysis visualbasic visualbasiccompilation getdiagnosticsformethodbodiesintree syntaxtree tree nullable filterspanwithintree boolean hasdeclarationerrors diagnosticbag diagnostics compilationstage stage cancellationtoken cancellationtoken at microsoft codeanalysis visualbasic visualbasiccompilation getdiagnosticsforsyntaxtree compilationstage stage syntaxtree tree nullable filterspanwithintree boolean includeearlierstages cancellationtoken cancellationtoken at microsoft codeanalysis visualbasic syntaxtreesemanticmodel getdiagnostics nullable span cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics compilationwithanalyzers generatecompilationevents analysisscope analysisscope cancellationtoken cancellationtoken at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext stack at system environment failfast system string system exception at microsoft codeanalysis failfast onfatalexception system exception at microsoft codeanalysis fatalerror report system exception system action at microsoft codeanalysis fatalerror reportunlesscanceled system exception at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureforasinglecandidate microsoft codeanalysis syntaxnode microsoft codeanalysis location microsoft codeanalysis visualbasic lookupresultkind candidateanalysisresult byref system collections immutable immutablearray system collections immutable immutablearray boolean boolean boolean boolean microsoft codeanalysis diagnosticbag microsoft codeanalysis visualbasic symbol boolean microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic symbol at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureforasetofcandidates microsoft codeanalysis syntaxnode microsoft codeanalysis location microsoft codeanalysis visualbasic lookupresultkind microsoft codeanalysis visualbasic errid microsoft codeanalysis pooledobjects arraybuilder system collections immutable immutablearray system collections immutable immutablearray microsoft codeanalysis diagnosticbag microsoft codeanalysis visualbasic symbol boolean microsoft codeanalysis syntaxnode at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureandproduceboundnode microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic lookupresultkind microsoft codeanalysis pooledobjects arraybuilder system collections immutable immutablearray microsoft codeanalysis visualbasic symbols typesymbol system collections immutable immutablearray system collections immutable immutablearray microsoft codeanalysis diagnosticbag microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic boundmethodorpropertygroup microsoft codeanalysis visualbasic symbol boolean microsoft codeanalysis visualbasic boundtypeexpression microsoft codeanalysis visualbasic symbol microsoft codeanalysis location at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureandproduceboundnode microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic lookupresultkind system collections immutable immutablearray system collections immutable immutablearray overloadresolutionresult byref microsoft codeanalysis diagnosticbag microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic boundmethodorpropertygroup microsoft codeanalysis visualbasic symbols typesymbol boolean microsoft codeanalysis visualbasic boundtypeexpression microsoft codeanalysis visualbasic symbol microsoft codeanalysis location at microsoft codeanalysis visualbasic binder reportoverloadresolutionfailureandproduceboundnode microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic boundmethodorpropertygroup system collections immutable immutablearray system collections immutable immutablearray overloadresolutionresult byref microsoft codeanalysis diagnosticbag microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic symbols typesymbol boolean microsoft codeanalysis visualbasic boundtypeexpression microsoft codeanalysis visualbasic symbol microsoft codeanalysis location at microsoft codeanalysis visualbasic binder bindinvocationexpression microsoft codeanalysis syntaxnode microsoft codeanalysis syntaxnode microsoft codeanalysis visualbasic syntax typecharacter microsoft codeanalysis visualbasic boundmethodorpropertygroup system collections immutable immutablearray system collections immutable immutablearray microsoft codeanalysis diagnosticbag microsoft codeanalysis syntaxnode boolean boolean boolean microsoft codeanalysis visualbasic symbol boolean at microsoft codeanalysis visualbasic binder bindinvocationexpressionpossiblywithoutarguments microsoft codeanalysis visualbasic syntax invocationexpressionsyntax microsoft codeanalysis visualbasic syntax typecharacter microsoft codeanalysis visualbasic boundmethodorpropertygroup system collections immutable immutablearray system collections immutable immutablearray system collections immutable immutablearray boolean microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindinvocationexpression microsoft codeanalysis visualbasic syntax invocationexpressionsyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindexpression microsoft codeanalysis visualbasic syntax expressionsyntax boolean boolean boolean microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindvalue microsoft codeanalysis visualbasic syntax expressionsyntax microsoft codeanalysis diagnosticbag boolean at microsoft codeanalysis visualbasic binder bindreturn microsoft codeanalysis visualbasic syntax returnstatementsyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindstatement microsoft codeanalysis visualbasic syntax statementsyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindblock microsoft codeanalysis syntaxnode microsoft codeanalysis syntaxlist microsoft codeanalysis diagnosticbag microsoft codeanalysis visualbasic binder at microsoft codeanalysis visualbasic binder bindblock microsoft codeanalysis syntaxnode microsoft codeanalysis syntaxlist microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindmethodblock microsoft codeanalysis visualbasic syntax methodblockbasesyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic binder bindstatement microsoft codeanalysis visualbasic syntax statementsyntax microsoft codeanalysis diagnosticbag at microsoft codeanalysis visualbasic symbols sourcemethodsymbol getboundmethodbody microsoft codeanalysis visualbasic typecompilationstate microsoft codeanalysis diagnosticbag microsoft codeanalysis visualbasic binder byref at microsoft codeanalysis visualbasic symbols sourcemembermethodsymbol getboundmethodbody microsoft codeanalysis visualbasic typecompilationstate microsoft codeanalysis diagnosticbag microsoft codeanalysis visualbasic binder byref at microsoft codeanalysis visualbasic methodcompiler bindandanalyzemethodbody microsoft codeanalysis visualbasic symbols methodsymbol microsoft codeanalysis visualbasic typecompilationstate microsoft codeanalysis diagnosticbag microsoft codeanalysis visualbasic binder microsoft codeanalysis visualbasic symbols methodsymbol byref boolean byref microsoft codeanalysis visualbasic binder byref at microsoft codeanalysis visualbasic methodcompiler compilemethod microsoft codeanalysis visualbasic symbols methodsymbol byref byref system predicate microsoft codeanalysis visualbasic typecompilationstate processedfieldorpropertyinitializers microsoft codeanalysis visualbasic binder microsoft codeanalysis visualbasic synthesizedsubmissionfields microsoft codeanalysis visualbasic symbols methodsymbol byref at microsoft codeanalysis visualbasic methodcompiler compilenamedtype microsoft codeanalysis visualbasic symbols namedtypesymbol system predicate at microsoft codeanalysis visualbasic methodcompiler visitnamedtype microsoft codeanalysis visualbasic symbols namedtypesymbol at microsoft codeanalysis visualbasic symbols namedtypesymbol accept microsoft codeanalysis visualbasic visualbasicsymbolvisitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept microsoft codeanalysis visualbasic visualbasicsymbolvisitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept microsoft codeanalysis visualbasic visualbasicsymbolvisitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept microsoft codeanalysis visualbasic visualbasicsymbolvisitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept microsoft codeanalysis visualbasic visualbasicsymbolvisitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept microsoft codeanalysis visualbasic visualbasicsymbolvisitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept microsoft codeanalysis visualbasic visualbasicsymbolvisitor at microsoft codeanalysis visualbasic methodcompiler compilenamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic methodcompiler visitnamespace microsoft codeanalysis visualbasic symbols namespacesymbol at microsoft codeanalysis visualbasic symbols namespacesymbol accept microsoft codeanalysis visualbasic visualbasicsymbolvisitor at microsoft codeanalysis visualbasic methodcompiler getcompilediagnostics microsoft codeanalysis visualbasic visualbasiccompilation microsoft codeanalysis visualbasic symbols namespacesymbol microsoft codeanalysis syntaxtree system nullable boolean microsoft codeanalysis diagnosticbag boolean system threading cancellationtoken at microsoft codeanalysis visualbasic visualbasiccompilation getdiagnosticsformethodbodiesintree microsoft codeanalysis syntaxtree system nullable boolean microsoft codeanalysis diagnosticbag microsoft codeanalysis compilationstage system threading cancellationtoken at microsoft codeanalysis visualbasic visualbasiccompilation getdiagnosticsforsyntaxtree microsoft codeanalysis compilationstage microsoft codeanalysis syntaxtree system nullable boolean system threading cancellationtoken at microsoft codeanalysis visualbasic syntaxtreesemanticmodel getdiagnostics system nullable system threading cancellationtoken at microsoft codeanalysis diagnostics compilationwithanalyzers generatecompilationevents microsoft codeanalysis diagnostics analysisscope system threading cancellationtoken at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis diagnostics compilationwithanalyzers d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system threading tasks voidtaskresult at system threading tasks unwrappromise trysetfromtask system threading tasks task boolean at system threading tasks unwrappromise invokecore system threading tasks task at system threading tasks unwrappromise invoke system threading tasks task at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult system threading tasks voidtaskresult at system runtime compilerservices asynctaskmethodbuilder setresult at microsoft codeanalysis diagnostics analyzerdriver c b d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task mscorlib version culture neutral publickeytoken trysetresult system valuetuple at system runtime compilerservices asynctaskmethodbuilder mscorlib version culture neutral publickeytoken setresult system valuetuple at microsoft codeanalysis diagnostics analyzerdriver d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult microsoft codeanalysis diagnostics analyzeractions at system runtime compilerservices asynctaskmethodbuilder setresult microsoft codeanalysis diagnostics analyzeractions at microsoft codeanalysis diagnostics analyzermanager d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis diagnostics analyzermanager d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run at system threading tasks awaittaskcontinuation runorscheduleaction system action boolean system threading tasks task byref at system threading tasks task finishcontinuations at system threading tasks task finishstagethree at system threading tasks task trysetresult system canon at system runtime compilerservices asynctaskmethodbuilder setresult system canon at microsoft codeanalysis diagnostics analyzermanager d movenext at system runtime compilerservices asyncmethodbuildercore movenextrunner invokemovenext system object at system threading executioncontext runinternal system threading executioncontext system threading contextcallback system object boolean at system threading executioncontext run system threading executioncontext system threading contextcallback system object boolean at system runtime compilerservices asyncmethodbuildercore movenextrunner run the remainder of the message was truncated ,1 1861,20826654189.0,IssuesEvent,2022-03-18 21:59:48,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VsCrash when trying to create . EditorConfig,Area-Analyzers Tenet-Reliability Feature - Editor Config UI,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/VsCrash-when-trying-to-create-EditorCon/1632224)._ --- I don'T know how to reproducte it. before it crashed, my installation (Windows 10 AND VS2022) were in French, then I changed the VS2022 language studio in English and I restarted VS2022. then I tried to create a . EditorConfig. then I got thoses message, I'm sending the error and the log file. --- ### Original Comments #### Feedback Bot on 1/9/2022, 07:42 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 1/10/2022, 10:13 AM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

--- ### Original Solutions (no solutions)",True,"VsCrash when trying to create . EditorConfig - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/VsCrash-when-trying-to-create-EditorCon/1632224)._ --- I don'T know how to reproducte it. before it crashed, my installation (Windows 10 AND VS2022) were in French, then I changed the VS2022 language studio in English and I restarted VS2022. then I tried to create a . EditorConfig. then I got thoses message, I'm sending the error and the log file. --- ### Original Comments #### Feedback Bot on 1/9/2022, 07:42 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 1/10/2022, 10:13 AM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

--- ### Original Solutions (no solutions)",1,vscrash when trying to create editorconfig this issue has been moved from i don t know how to reproducte it before it crashed my installation windows and were in french then i changed the language studio in english and i restarted then i tried to create a editorconfig then i got thoses message i m sending the error and the log file original comments feedback bot on pm we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps feedback bot on am thank you for sharing your feedback our teams prioritize action on product issues with broad customer impact see details at original solutions no solutions ,1 1186,13635401527.0,IssuesEvent,2020-09-25 02:46:09,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VS Crashes creating event handlers,Area-IDE Bug Developer Community Tenet-Reliability,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/1084333/vs-crashes-creating-event-handlers.html)._ --- [regression] [worked-in:< 16.6.2] Think I can repro - watch this. --- ### Original Comments #### Visual Studio Feedback System on 6/19/2020, 01:48 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",True,"VS Crashes creating event handlers - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/1084333/vs-crashes-creating-event-handlers.html)._ --- [regression] [worked-in:< 16.6.2] Think I can repro - watch this. --- ### Original Comments #### Visual Studio Feedback System on 6/19/2020, 01:48 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",1,vs crashes creating event handlers this issue has been moved from think i can repro watch this original comments visual studio feedback system on am we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps original solutions no solutions ,1 1019,12338191337.0,IssuesEvent,2020-05-14 16:04:30,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Process terminated. InvalidCastException: Unable to cast object of type 'LocalWithInitializer' to type 'SynthesizedLocal'.,Area-Compilers Bug Tenet-Reliability,"**Version Used**: C:\Program Files\dotnet\sdk\3.1.300-preview-015135 VS Preview: Version 16.6.0 Preview 6.0 and 5.0 C# Tools 3.6.0-4.20251.5+910223b64f108fcf039012e0849befb46ace6e66 **Steps to Reproduce**: I could not reproduce in a small code file. There is exactly one line with which I can trigger this error at will. There is a detailed stack trace and a descriptive error. The full error is: * Process terminated. System.InvalidCastException: Unable to cast object of type 'LocalWithInitializer' to type 'Microsoft.CodeAnalysis.CSharp.Symbols.SynthesizedLocal'. ``` public struct S { ... public IEnumerable GetStrings() { ... (some nested switch statements) // this is the offending line: ref readonly var r= ref GetR(in this); } // Implementation of GetR; both R and P are structs wrapping a byte private ref readonly R GetR(in S @this) => ref Unsafe.As(ref @this.P); } ``` One oddity is that I had the offending line in several switch statements although the resulting variable `r` was not used. **Expected Behavior**: The code compiles. **Actual Behavior**: The process crashes. Visual Studio shows in the Build Output: ``` 3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error MSB6006: ""csc.exe"" exited with code -2146232797. ``` I am lead to believe -2146232797 (0x80131623) is COR_E_FAILFAST due to #5348. [CscCrashStackTrace.txt](https://github.com/dotnet/roslyn/files/4596942/CscCrashStackTrace.txt) ",True,"Process terminated. InvalidCastException: Unable to cast object of type 'LocalWithInitializer' to type 'SynthesizedLocal'. - **Version Used**: C:\Program Files\dotnet\sdk\3.1.300-preview-015135 VS Preview: Version 16.6.0 Preview 6.0 and 5.0 C# Tools 3.6.0-4.20251.5+910223b64f108fcf039012e0849befb46ace6e66 **Steps to Reproduce**: I could not reproduce in a small code file. There is exactly one line with which I can trigger this error at will. There is a detailed stack trace and a descriptive error. The full error is: * Process terminated. System.InvalidCastException: Unable to cast object of type 'LocalWithInitializer' to type 'Microsoft.CodeAnalysis.CSharp.Symbols.SynthesizedLocal'. ``` public struct S { ... public IEnumerable GetStrings() { ... (some nested switch statements) // this is the offending line: ref readonly var r= ref GetR(in this); } // Implementation of GetR; both R and P are structs wrapping a byte private ref readonly R GetR(in S @this) => ref Unsafe.As(ref @this.P); } ``` One oddity is that I had the offending line in several switch statements although the resulting variable `r` was not used. **Expected Behavior**: The code compiles. **Actual Behavior**: The process crashes. Visual Studio shows in the Build Output: ``` 3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(59,5): error MSB6006: ""csc.exe"" exited with code -2146232797. ``` I am lead to believe -2146232797 (0x80131623) is COR_E_FAILFAST due to #5348. [CscCrashStackTrace.txt](https://github.com/dotnet/roslyn/files/4596942/CscCrashStackTrace.txt) ",1,process terminated invalidcastexception unable to cast object of type localwithinitializer to type synthesizedlocal version used c program files dotnet sdk preview vs preview version preview and c tools steps to reproduce i could not reproduce in a small code file there is exactly one line with which i can trigger this error at will there is a detailed stack trace and a descriptive error the full error is process terminated system invalidcastexception unable to cast object of type localwithinitializer to type microsoft codeanalysis csharp symbols synthesizedlocal public struct s public ienumerable getstrings some nested switch statements this is the offending line ref readonly var r ref getr in this implementation of getr both r and p are structs wrapping a byte private ref readonly r getr in s this ref unsafe as ref this p one oddity is that i had the offending line in several switch statements although the resulting variable r was not used expected behavior the code compiles actual behavior the process crashes visual studio shows in the build output c program files microsoft visual studio preview msbuild current bin roslyn microsoft csharp core targets error csc exe exited with code i am lead to believe is cor e failfast due to ,1 2373,24967384508.0,IssuesEvent,2022-11-01 20:39:43,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Visual studio keeps crashing when attempting to complete line of code,Bug help wanted Area-IDE Tenet-Reliability Developer Community,"_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/983395/visual-studio-keeps-crashing-when-attempting-to-co.html)._ --- I'm attempting to write some code that's nothing complicated - just calling a simple method and assigning to new variable. Oddly, Visual Studio has now crashed and restarted twice now when trying to complete this line, so filing this ticket so ideally it can be investigated and resolved. In the attached case, I successfully typed the line and saved, but seconds later Visual Studio crashed again. I haven't had this issue at all with anything else before today nor really with any line but this one, but in the last 15 minutes, I'm three for three in terms of VS crashing after typing it. Good luck on the repro! --- ### Original Comments #### Visual Studio Feedback System on 4/9/2020, 00:47 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",True,"Visual studio keeps crashing when attempting to complete line of code - _This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/983395/visual-studio-keeps-crashing-when-attempting-to-co.html)._ --- I'm attempting to write some code that's nothing complicated - just calling a simple method and assigning to new variable. Oddly, Visual Studio has now crashed and restarted twice now when trying to complete this line, so filing this ticket so ideally it can be investigated and resolved. In the attached case, I successfully typed the line and saved, but seconds later Visual Studio crashed again. I haven't had this issue at all with anything else before today nor really with any line but this one, but in the last 15 minutes, I'm three for three in terms of VS crashing after typing it. Good luck on the repro! --- ### Original Comments #### Visual Studio Feedback System on 4/9/2020, 00:47 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

--- ### Original Solutions (no solutions)",1,visual studio keeps crashing when attempting to complete line of code this issue has been moved from i m attempting to write some code that s nothing complicated just calling a simple method and assigning to new variable oddly visual studio has now crashed and restarted twice now when trying to complete this line so filing this ticket so ideally it can be investigated and resolved in the attached case i successfully typed the line and saved but seconds later visual studio crashed again i haven t had this issue at all with anything else before today nor really with any line but this one but in the last minutes i m three for three in terms of vs crashing after typing it good luck on the repro original comments visual studio feedback system on am we have directed your feedback to the appropriate engineering team for further evaluation the team will review the feedback and notify you about the next steps original solutions no solutions ,1 2355,24902272058.0,IssuesEvent,2022-10-28 22:36:52,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,CodeLens Show References causes OOP to run out of memory,Bug Area-Analyzers Tenet-Reliability,"**Version Used**: 15.3 Preview 1 running commit 732a69f10ea9a9a55414da3f4e4f2d23646230b7 in an experimental instance **Steps to Reproduce**: 1. Set source control provider to None 1. Disable full solution analysis 1. Enable CodeLens, but disable all CodeLens features except Show References 1. Load Roslyn.sln **Expected Behavior**: Works. **Actual Behavior**: **ServiceHub.RoslynCodeAnalysisService32.exe** crashes with an `OutOfMemoryException`.",True,"CodeLens Show References causes OOP to run out of memory - **Version Used**: 15.3 Preview 1 running commit 732a69f10ea9a9a55414da3f4e4f2d23646230b7 in an experimental instance **Steps to Reproduce**: 1. Set source control provider to None 1. Disable full solution analysis 1. Enable CodeLens, but disable all CodeLens features except Show References 1. Load Roslyn.sln **Expected Behavior**: Works. **Actual Behavior**: **ServiceHub.RoslynCodeAnalysisService32.exe** crashes with an `OutOfMemoryException`.",1,codelens show references causes oop to run out of memory version used preview running commit in an experimental instance steps to reproduce set source control provider to none disable full solution analysis enable codelens but disable all codelens features except show references load roslyn sln expected behavior works actual behavior servicehub exe crashes with an outofmemoryexception ,1 1257,14447501918.0,IssuesEvent,2020-12-08 03:57:03,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,"`PEModuleBuilder.Translate(MethodSymbol, ...)` doesn't translate constructor of a native int type, causing a crash in later on",Area-Compilers New Language Feature - Native Int Tenet-Reliability,"In Microsoft.CodeAnalysis.CSharp.UnitTests.Semantics.NativeIntegerTests.Retargeting_06, after ``` comp = CreateEmptyCompilation(sourceA, references: new[] { ref1 }, parseOptions: TestOptions.Regular9); ``` add ``` comp.VerifyEmitDiagnostics(); ``` And run the test. Observed: ``` System.InvalidOperationException : This program location is thought to be unreachable. Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbolAdapter.NamedTypeSymbolAdapter(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol underlyingNamedTypeSymbol) Line 1027 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.GetCciAdapter() Line 893 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Emit.PEModuleBuilder.Translate(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol namedTypeSymbol, Microsoft.CodeAnalysis.SyntaxNode syntaxNodeOpt, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, bool fromImplements, bool needDeclaration) Line 926 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbolAdapter.Microsoft.Cci.ITypeMemberReference.GetContainingType(Microsoft.CodeAnalysis.Emit.EmitContext context) Line 84 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.CodeGen.ReferenceDependencyWalker.VisitMethodReference(Microsoft.Cci.IMethodReference methodReference, Microsoft.CodeAnalysis.Emit.EmitContext context) Line 109 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.CodeGen.ReferenceDependencyWalker.VisitReference(Microsoft.Cci.IReference reference, Microsoft.CodeAnalysis.Emit.EmitContext context) Line 33 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Emit.CommonPEModuleBuilder.GetFakeSymbolTokenForIL(Microsoft.Cci.IReference symbol, Microsoft.CodeAnalysis.SyntaxNode syntaxNode, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 302 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.CodeGen.ILBuilder.EmitToken(Microsoft.Cci.IReference value, Microsoft.CodeAnalysis.SyntaxNode syntaxNode, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, bool encodeAsRawToken) Line 51 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitSymbolToken(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol method, Microsoft.CodeAnalysis.SyntaxNode syntaxNode, Microsoft.CodeAnalysis.CSharp.BoundArgListOperator optArgList, bool encodeAsRawDefinitionToken) Line 351 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitCallExpression(Microsoft.CodeAnalysis.CSharp.BoundCall call, Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.UseKind useKind) Line 1661 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitExpressionCore(Microsoft.CodeAnalysis.CSharp.BoundExpression expression, bool used) Line 99 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitExpressionCoreWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundExpression expression, bool used) Line 79 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitExpression(Microsoft.CodeAnalysis.CSharp.BoundExpression expression, bool used) Line 67 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement(Microsoft.CodeAnalysis.CSharp.BoundStatement statement) Line 59 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatements(System.Collections.Immutable.ImmutableArray statements) Line 665 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitBlock(Microsoft.CodeAnalysis.CSharp.BoundBlock block) Line 642 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement(Microsoft.CodeAnalysis.CSharp.BoundStatement statement) Line 31 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatementList(Microsoft.CodeAnalysis.CSharp.BoundStatementList list) Line 128 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement(Microsoft.CodeAnalysis.CSharp.BoundStatement statement) Line 63 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.GenerateImpl() Line 280 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.Generate(out bool hasStackalloc) Line 209 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.GenerateMethodBody(Microsoft.CodeAnalysis.CSharp.Emit.PEModuleBuilder moduleBuilder, Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol method, int methodOrdinal, Microsoft.CodeAnalysis.CSharp.BoundStatement block, System.Collections.Immutable.ImmutableArray lambdaDebugInfo, System.Collections.Immutable.ImmutableArray closureDebugInfo, Microsoft.CodeAnalysis.CSharp.StateMachineTypeSymbol stateMachineTypeOpt, Microsoft.CodeAnalysis.CodeGen.VariableSlotAllocator variableSlotAllocatorOpt, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag diagnostics, Microsoft.CodeAnalysis.CodeGen.DebugDocumentProvider debugDocumentProvider, Microsoft.CodeAnalysis.CSharp.ImportChain importChainOpt, bool emittingPdb, bool emitTestCoverageData, System.Collections.Immutable.ImmutableArray dynamicAnalysisSpans, Microsoft.CodeAnalysis.CSharp.Symbols.SynthesizedEntryPointSymbol.AsyncForwardEntryPoint entryPointOpt) Line 1517 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol methodSymbol, int methodOrdinal, ref Microsoft.CodeAnalysis.CSharp.Binder.ProcessedFieldInitializers processedInitializers, Microsoft.CodeAnalysis.CSharp.SynthesizedSubmissionFields previousSubmissionFields, Microsoft.CodeAnalysis.CSharp.TypeCompilationState compilationState) Line 1276 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol containingType) Line 524 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol symbol, Microsoft.CodeAnalysis.CSharp.TypeCompilationState arg) Line 402 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, Microsoft.CodeAnalysis.CSharp.TypeCompilationState argument) Line 581 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 381 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilation, Microsoft.CodeAnalysis.CSharp.Emit.PEModuleBuilder moduleBeingBuiltOpt, bool emittingPdb, bool emitTestCoverageData, bool hasDeclarationErrors, bool emitMethodBodies, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag diagnostics, System.Predicate filterOpt, System.Threading.CancellationToken cancellationToken) Line 163 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(Microsoft.CodeAnalysis.Emit.CommonPEModuleBuilder moduleBuilder, bool emittingPdb, bool emitMetadataOnly, bool emitTestCoverageData, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, System.Predicate filterOpt, System.Threading.CancellationToken cancellationToken) Line 3038 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Compilation.Emit(System.IO.Stream peStream, System.IO.Stream metadataPEStream, System.IO.Stream pdbStream, System.IO.Stream xmlDocumentationStream, System.IO.Stream win32Resources, System.Collections.Generic.IEnumerable manifestResources, Microsoft.CodeAnalysis.Emit.EmitOptions options, Microsoft.CodeAnalysis.IMethodSymbol debugEntryPoint, System.IO.Stream sourceLinkStream, System.Collections.Generic.IEnumerable embeddedTexts, Microsoft.CodeAnalysis.CodeGen.CompilationTestData testData, System.Threading.CancellationToken cancellationToken) Line 2599 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Compilation.Emit(System.IO.Stream peStream, System.IO.Stream pdbStream, System.IO.Stream xmlDocumentationStream, System.IO.Stream win32Resources, System.Collections.Generic.IEnumerable manifestResources, Microsoft.CodeAnalysis.Emit.EmitOptions options, Microsoft.CodeAnalysis.IMethodSymbol debugEntryPoint, System.IO.Stream sourceLinkStream, System.Collections.Generic.IEnumerable embeddedTexts, System.IO.Stream metadataPEStream, System.Threading.CancellationToken cancellationToken) Line 2542 C# Microsoft.CodeAnalysis.Test.Utilities.dll!Microsoft.CodeAnalysis.DiagnosticExtensions.GetEmitDiagnostics(Microsoft.CodeAnalysis.CSharp.CSharpCompilation c, Microsoft.CodeAnalysis.Emit.EmitOptions options, System.Collections.Generic.IEnumerable manifestResources) Line 346 C# Microsoft.CodeAnalysis.Test.Utilities.dll!Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics(Microsoft.CodeAnalysis.CSharp.CSharpCompilation c, Microsoft.CodeAnalysis.Emit.EmitOptions options, Microsoft.CodeAnalysis.Test.Utilities.DiagnosticDescription[] expected) Line 335 C# Microsoft.CodeAnalysis.Test.Utilities.dll!Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics(Microsoft.CodeAnalysis.CSharp.CSharpCompilation c, Microsoft.CodeAnalysis.Test.Utilities.DiagnosticDescription[] expected) Line 352 C# > Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests.dll!Microsoft.CodeAnalysis.CSharp.UnitTests.Semantics.NativeIntegerTests.Retargeting_06() Line 1121 C# ```",True,"`PEModuleBuilder.Translate(MethodSymbol, ...)` doesn't translate constructor of a native int type, causing a crash in later on - In Microsoft.CodeAnalysis.CSharp.UnitTests.Semantics.NativeIntegerTests.Retargeting_06, after ``` comp = CreateEmptyCompilation(sourceA, references: new[] { ref1 }, parseOptions: TestOptions.Regular9); ``` add ``` comp.VerifyEmitDiagnostics(); ``` And run the test. Observed: ``` System.InvalidOperationException : This program location is thought to be unreachable. Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbolAdapter.NamedTypeSymbolAdapter(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol underlyingNamedTypeSymbol) Line 1027 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.GetCciAdapter() Line 893 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Emit.PEModuleBuilder.Translate(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol namedTypeSymbol, Microsoft.CodeAnalysis.SyntaxNode syntaxNodeOpt, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, bool fromImplements, bool needDeclaration) Line 926 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbolAdapter.Microsoft.Cci.ITypeMemberReference.GetContainingType(Microsoft.CodeAnalysis.Emit.EmitContext context) Line 84 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.CodeGen.ReferenceDependencyWalker.VisitMethodReference(Microsoft.Cci.IMethodReference methodReference, Microsoft.CodeAnalysis.Emit.EmitContext context) Line 109 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.CodeGen.ReferenceDependencyWalker.VisitReference(Microsoft.Cci.IReference reference, Microsoft.CodeAnalysis.Emit.EmitContext context) Line 33 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Emit.CommonPEModuleBuilder.GetFakeSymbolTokenForIL(Microsoft.Cci.IReference symbol, Microsoft.CodeAnalysis.SyntaxNode syntaxNode, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) Line 302 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.CodeGen.ILBuilder.EmitToken(Microsoft.Cci.IReference value, Microsoft.CodeAnalysis.SyntaxNode syntaxNode, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, bool encodeAsRawToken) Line 51 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitSymbolToken(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol method, Microsoft.CodeAnalysis.SyntaxNode syntaxNode, Microsoft.CodeAnalysis.CSharp.BoundArgListOperator optArgList, bool encodeAsRawDefinitionToken) Line 351 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitCallExpression(Microsoft.CodeAnalysis.CSharp.BoundCall call, Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.UseKind useKind) Line 1661 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitExpressionCore(Microsoft.CodeAnalysis.CSharp.BoundExpression expression, bool used) Line 99 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitExpressionCoreWithStackGuard(Microsoft.CodeAnalysis.CSharp.BoundExpression expression, bool used) Line 79 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitExpression(Microsoft.CodeAnalysis.CSharp.BoundExpression expression, bool used) Line 67 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement(Microsoft.CodeAnalysis.CSharp.BoundStatement statement) Line 59 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatements(System.Collections.Immutable.ImmutableArray statements) Line 665 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitBlock(Microsoft.CodeAnalysis.CSharp.BoundBlock block) Line 642 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement(Microsoft.CodeAnalysis.CSharp.BoundStatement statement) Line 31 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatementList(Microsoft.CodeAnalysis.CSharp.BoundStatementList list) Line 128 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement(Microsoft.CodeAnalysis.CSharp.BoundStatement statement) Line 63 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.GenerateImpl() Line 280 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.Generate(out bool hasStackalloc) Line 209 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.GenerateMethodBody(Microsoft.CodeAnalysis.CSharp.Emit.PEModuleBuilder moduleBuilder, Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol method, int methodOrdinal, Microsoft.CodeAnalysis.CSharp.BoundStatement block, System.Collections.Immutable.ImmutableArray lambdaDebugInfo, System.Collections.Immutable.ImmutableArray closureDebugInfo, Microsoft.CodeAnalysis.CSharp.StateMachineTypeSymbol stateMachineTypeOpt, Microsoft.CodeAnalysis.CodeGen.VariableSlotAllocator variableSlotAllocatorOpt, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag diagnostics, Microsoft.CodeAnalysis.CodeGen.DebugDocumentProvider debugDocumentProvider, Microsoft.CodeAnalysis.CSharp.ImportChain importChainOpt, bool emittingPdb, bool emitTestCoverageData, System.Collections.Immutable.ImmutableArray dynamicAnalysisSpans, Microsoft.CodeAnalysis.CSharp.Symbols.SynthesizedEntryPointSymbol.AsyncForwardEntryPoint entryPointOpt) Line 1517 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol methodSymbol, int methodOrdinal, ref Microsoft.CodeAnalysis.CSharp.Binder.ProcessedFieldInitializers processedInitializers, Microsoft.CodeAnalysis.CSharp.SynthesizedSubmissionFields previousSubmissionFields, Microsoft.CodeAnalysis.CSharp.TypeCompilationState compilationState) Line 1276 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol containingType) Line 524 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.VisitNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol symbol, Microsoft.CodeAnalysis.CSharp.TypeCompilationState arg) Line 402 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSymbolVisitor visitor, Microsoft.CodeAnalysis.CSharp.TypeCompilationState argument) Line 581 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamespace(Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol symbol) Line 381 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilation, Microsoft.CodeAnalysis.CSharp.Emit.PEModuleBuilder moduleBeingBuiltOpt, bool emittingPdb, bool emitTestCoverageData, bool hasDeclarationErrors, bool emitMethodBodies, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag diagnostics, System.Predicate filterOpt, System.Threading.CancellationToken cancellationToken) Line 163 C# Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(Microsoft.CodeAnalysis.Emit.CommonPEModuleBuilder moduleBuilder, bool emittingPdb, bool emitMetadataOnly, bool emitTestCoverageData, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, System.Predicate filterOpt, System.Threading.CancellationToken cancellationToken) Line 3038 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Compilation.Emit(System.IO.Stream peStream, System.IO.Stream metadataPEStream, System.IO.Stream pdbStream, System.IO.Stream xmlDocumentationStream, System.IO.Stream win32Resources, System.Collections.Generic.IEnumerable manifestResources, Microsoft.CodeAnalysis.Emit.EmitOptions options, Microsoft.CodeAnalysis.IMethodSymbol debugEntryPoint, System.IO.Stream sourceLinkStream, System.Collections.Generic.IEnumerable embeddedTexts, Microsoft.CodeAnalysis.CodeGen.CompilationTestData testData, System.Threading.CancellationToken cancellationToken) Line 2599 C# Microsoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Compilation.Emit(System.IO.Stream peStream, System.IO.Stream pdbStream, System.IO.Stream xmlDocumentationStream, System.IO.Stream win32Resources, System.Collections.Generic.IEnumerable manifestResources, Microsoft.CodeAnalysis.Emit.EmitOptions options, Microsoft.CodeAnalysis.IMethodSymbol debugEntryPoint, System.IO.Stream sourceLinkStream, System.Collections.Generic.IEnumerable embeddedTexts, System.IO.Stream metadataPEStream, System.Threading.CancellationToken cancellationToken) Line 2542 C# Microsoft.CodeAnalysis.Test.Utilities.dll!Microsoft.CodeAnalysis.DiagnosticExtensions.GetEmitDiagnostics(Microsoft.CodeAnalysis.CSharp.CSharpCompilation c, Microsoft.CodeAnalysis.Emit.EmitOptions options, System.Collections.Generic.IEnumerable manifestResources) Line 346 C# Microsoft.CodeAnalysis.Test.Utilities.dll!Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics(Microsoft.CodeAnalysis.CSharp.CSharpCompilation c, Microsoft.CodeAnalysis.Emit.EmitOptions options, Microsoft.CodeAnalysis.Test.Utilities.DiagnosticDescription[] expected) Line 335 C# Microsoft.CodeAnalysis.Test.Utilities.dll!Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics(Microsoft.CodeAnalysis.CSharp.CSharpCompilation c, Microsoft.CodeAnalysis.Test.Utilities.DiagnosticDescription[] expected) Line 352 C# > Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests.dll!Microsoft.CodeAnalysis.CSharp.UnitTests.Semantics.NativeIntegerTests.Retargeting_06() Line 1121 C# ```",1, pemodulebuilder translate methodsymbol doesn t translate constructor of a native int type causing a crash in later on in microsoft codeanalysis csharp unittests semantics nativeintegertests retargeting after comp createemptycompilation sourcea references new parseoptions testoptions add comp verifyemitdiagnostics and run the test observed system invalidoperationexception this program location is thought to be unreachable microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namedtypesymboladapter namedtypesymboladapter microsoft codeanalysis csharp symbols namedtypesymbol underlyingnamedtypesymbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namedtypesymbol getcciadapter line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp emit pemodulebuilder translate microsoft codeanalysis csharp symbols namedtypesymbol namedtypesymbol microsoft codeanalysis syntaxnode syntaxnodeopt microsoft codeanalysis diagnosticbag diagnostics bool fromimplements bool needdeclaration line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols methodsymboladapter microsoft cci itypememberreference getcontainingtype microsoft codeanalysis emit emitcontext context line c microsoft codeanalysis dll microsoft codeanalysis codegen referencedependencywalker visitmethodreference microsoft cci imethodreference methodreference microsoft codeanalysis emit emitcontext context line c microsoft codeanalysis dll microsoft codeanalysis codegen referencedependencywalker visitreference microsoft cci ireference reference microsoft codeanalysis emit emitcontext context line c microsoft codeanalysis dll microsoft codeanalysis emit commonpemodulebuilder getfakesymboltokenforil microsoft cci ireference symbol microsoft codeanalysis syntaxnode syntaxnode microsoft codeanalysis diagnosticbag diagnostics line c microsoft codeanalysis dll microsoft codeanalysis codegen ilbuilder emittoken microsoft cci ireference value microsoft codeanalysis syntaxnode syntaxnode microsoft codeanalysis diagnosticbag diagnostics bool encodeasrawtoken line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitsymboltoken microsoft codeanalysis csharp symbols methodsymbol method microsoft codeanalysis syntaxnode syntaxnode microsoft codeanalysis csharp boundarglistoperator optarglist bool encodeasrawdefinitiontoken line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitcallexpression microsoft codeanalysis csharp boundcall call microsoft codeanalysis csharp codegen codegenerator usekind usekind line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitexpressioncore microsoft codeanalysis csharp boundexpression expression bool used line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitexpressioncorewithstackguard microsoft codeanalysis csharp boundexpression expression bool used line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitexpression microsoft codeanalysis csharp boundexpression expression bool used line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitstatement microsoft codeanalysis csharp boundstatement statement line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitstatements system collections immutable immutablearray statements line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitblock microsoft codeanalysis csharp boundblock block line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitstatement microsoft codeanalysis csharp boundstatement statement line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitstatementlist microsoft codeanalysis csharp boundstatementlist list line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator emitstatement microsoft codeanalysis csharp boundstatement statement line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator generateimpl line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp codegen codegenerator generate out bool hasstackalloc line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp methodcompiler generatemethodbody microsoft codeanalysis csharp emit pemodulebuilder modulebuilder microsoft codeanalysis csharp symbols methodsymbol method int methodordinal microsoft codeanalysis csharp boundstatement block system collections immutable immutablearray lambdadebuginfo system collections immutable immutablearray closuredebuginfo microsoft codeanalysis csharp statemachinetypesymbol statemachinetypeopt microsoft codeanalysis codegen variableslotallocator variableslotallocatoropt microsoft codeanalysis csharp bindingdiagnosticbag diagnostics microsoft codeanalysis codegen debugdocumentprovider debugdocumentprovider microsoft codeanalysis csharp importchain importchainopt bool emittingpdb bool emittestcoveragedata system collections immutable immutablearray dynamicanalysisspans microsoft codeanalysis csharp symbols synthesizedentrypointsymbol asyncforwardentrypoint entrypointopt line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp methodcompiler compilemethod microsoft codeanalysis csharp symbols methodsymbol methodsymbol int methodordinal ref microsoft codeanalysis csharp binder processedfieldinitializers processedinitializers microsoft codeanalysis csharp synthesizedsubmissionfields previoussubmissionfields microsoft codeanalysis csharp typecompilationstate compilationstate line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp methodcompiler compilenamedtype microsoft codeanalysis csharp symbols namedtypesymbol containingtype line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp methodcompiler visitnamedtype microsoft codeanalysis csharp symbols namedtypesymbol symbol microsoft codeanalysis csharp typecompilationstate arg line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp symbols namedtypesymbol accept microsoft codeanalysis csharp csharpsymbolvisitor visitor microsoft codeanalysis csharp typecompilationstate argument line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp methodcompiler compilenamespace microsoft codeanalysis csharp symbols namespacesymbol symbol line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp methodcompiler compilemethodbodies microsoft codeanalysis csharp csharpcompilation compilation microsoft codeanalysis csharp emit pemodulebuilder modulebeingbuiltopt bool emittingpdb bool emittestcoveragedata bool hasdeclarationerrors bool emitmethodbodies microsoft codeanalysis csharp bindingdiagnosticbag diagnostics system predicate filteropt system threading cancellationtoken cancellationtoken line c microsoft codeanalysis csharp dll microsoft codeanalysis csharp csharpcompilation compilemethods microsoft codeanalysis emit commonpemodulebuilder modulebuilder bool emittingpdb bool emitmetadataonly bool emittestcoveragedata microsoft codeanalysis diagnosticbag diagnostics system predicate filteropt system threading cancellationtoken cancellationtoken line c microsoft codeanalysis dll microsoft codeanalysis compilation emit system io stream pestream system io stream metadatapestream system io stream pdbstream system io stream xmldocumentationstream system io stream system collections generic ienumerable manifestresources microsoft codeanalysis emit emitoptions options microsoft codeanalysis imethodsymbol debugentrypoint system io stream sourcelinkstream system collections generic ienumerable embeddedtexts microsoft codeanalysis codegen compilationtestdata testdata system threading cancellationtoken cancellationtoken line c microsoft codeanalysis dll microsoft codeanalysis compilation emit system io stream pestream system io stream pdbstream system io stream xmldocumentationstream system io stream system collections generic ienumerable manifestresources microsoft codeanalysis emit emitoptions options microsoft codeanalysis imethodsymbol debugentrypoint system io stream sourcelinkstream system collections generic ienumerable embeddedtexts system io stream metadatapestream system threading cancellationtoken cancellationtoken line c microsoft codeanalysis test utilities dll microsoft codeanalysis diagnosticextensions getemitdiagnostics microsoft codeanalysis csharp csharpcompilation c microsoft codeanalysis emit emitoptions options system collections generic ienumerable manifestresources line c microsoft codeanalysis test utilities dll microsoft codeanalysis diagnosticextensions verifyemitdiagnostics microsoft codeanalysis csharp csharpcompilation c microsoft codeanalysis emit emitoptions options microsoft codeanalysis test utilities diagnosticdescription expected line c microsoft codeanalysis test utilities dll microsoft codeanalysis diagnosticextensions verifyemitdiagnostics microsoft codeanalysis csharp csharpcompilation c microsoft codeanalysis test utilities diagnosticdescription expected line c microsoft codeanalysis csharp semantic unittests dll microsoft codeanalysis csharp unittests semantics nativeintegertests retargeting line c ,1 1017,12304454235.0,IssuesEvent,2020-05-11 20:30:55,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,Crash on 'ref ErrorType' property,Area-Compilers Bug Tenet-Reliability,"**Version Used**: b1913b8 **Steps to Reproduce**: ```cs [Fact] public void RefErrorPropertyCrash() { CompileAndVerify(@"" public class C { public ref ERROR Prop => throw null!; } "").VerifyDiagnostics(); } ``` This is a regression from 3.6.0-4.20228.5 (9bc8f80f) Stack: ``` System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.MarkFieldsUsed(TypeSymbol type) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 1941 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.WriteArgument(BoundExpression arg, RefKind refKind, MethodSymbol method) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 1900 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitReturnStatementNoAdjust(BoundReturnStatement node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 1744 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitReturnStatement(BoundReturnStatement node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 1731 at Microsoft.CodeAnalysis.CSharp.BoundReturnStatement.Accept(BoundTreeVisitor visitor) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs:line 2961 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs:line 149 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitWithStackGuard(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 359 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitAlways(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 343 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Visit(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 318 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitStatement(BoundStatement statement) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 660 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.VisitStatementsWithLocalFunctions(BoundBlock block) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 1556 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.VisitBlock(BoundBlock node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 1499 at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs:line 2693 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs:line 149 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitWithStackGuard(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 359 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitAlways(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 343 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Visit(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 318 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Scan(Boolean& badRegion) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 412 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Scan(Boolean& badRegion) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 235 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Analyze(Boolean& badRegion, Optional`1 initialState) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 435 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Analyze(Boolean& badRegion, DiagnosticBag diagnostics) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 424 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Analyze(CSharpCompilation compilation, MethodSymbol member, BoundNode node, DiagnosticBag diagnostics, Boolean requireOutParamsAssigned) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 395 at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Analyze(CSharpCompilation compilation, MethodSymbol method, BoundBlock block, DiagnosticBag diagnostics) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\FlowAnalysisPass.cs:line 135 at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Rewrite(MethodSymbol method, BoundBlock block, DiagnosticBag diagnostics, Boolean hasTrailingExpression, Boolean originalBodyNested) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\FlowAnalysisPass.cs:line 49 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 1058 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 511 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 401 at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in C:\Users\rikki\src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs:line 141 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 316 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 155 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2795 at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) in C:\Users\rikki\src\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs:line 2502 at Roslyn.Test.Utilities.RuntimeEnvironmentUtilities.EmitCompilationCore(Compilation compilation, IEnumerable`1 manifestResources, DiagnosticBag diagnostics, CompilationTestData testData, EmitOptions emitOptions) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\Compilation\IRuntimeEnvironment.cs:line 252 at Roslyn.Test.Utilities.RuntimeEnvironmentUtilities.EmitCompilation(Compilation compilation, IEnumerable`1 manifestResources, List`1 dependencies, DiagnosticBag diagnostics, CompilationTestData testData, EmitOptions emitOptions) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\Compilation\IRuntimeEnvironment.cs:line 225 at Roslyn.Test.Utilities.CoreClr.CoreCLRRuntimeEnvironment.Emit(Compilation mainCompilation, IEnumerable`1 manifestResources, EmitOptions emitOptions, Boolean usePdbForDebugging) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\Platform\CoreClr\CoreCLRRuntimeEnvironment.cs:line 43 at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.Emit(IRuntimeEnvironment testEnvironment, IEnumerable`1 manifestResources, EmitOptions emitOptions) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\CompilationVerifier.cs:line 235 at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.Emit(String expectedOutput, Nullable`1 expectedReturnCode, String[] args, IEnumerable`1 manifestResources, EmitOptions emitOptions, Verification peVerify, SignatureDescription[] expectedSignatures) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\CompilationVerifier.cs:line 201 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, Action`1 assemblyValidator, Action`1 symbolValidator, EmitOptions emitOptions, Verification verify) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\CommonTestBase.cs:line 150 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerifyCommon(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\CommonTestBase.cs:line 64 at Microsoft.CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) in C:\Users\rikki\src\roslyn\src\Compilers\Test\Utilities\CSharp\CSharpTestBase.cs:line 816 at Microsoft.CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase.CompileAndVerify(CSharpTestSource source, IEnumerable`1 references, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, CSharpCompilationOptions options, CSharpParseOptions parseOptions, EmitOptions emitOptions, TargetFramework targetFramework, Verification verify) in C:\Users\rikki\src\roslyn\src\Compilers\Test\Utilities\CSharp\CSharpTestBase.cs:line 775 ```",True,"Crash on 'ref ErrorType' property - **Version Used**: b1913b8 **Steps to Reproduce**: ```cs [Fact] public void RefErrorPropertyCrash() { CompileAndVerify(@"" public class C { public ref ERROR Prop => throw null!; } "").VerifyDiagnostics(); } ``` This is a regression from 3.6.0-4.20228.5 (9bc8f80f) Stack: ``` System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.MarkFieldsUsed(TypeSymbol type) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 1941 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.WriteArgument(BoundExpression arg, RefKind refKind, MethodSymbol method) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 1900 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitReturnStatementNoAdjust(BoundReturnStatement node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 1744 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitReturnStatement(BoundReturnStatement node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 1731 at Microsoft.CodeAnalysis.CSharp.BoundReturnStatement.Accept(BoundTreeVisitor visitor) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs:line 2961 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs:line 149 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitWithStackGuard(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 359 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitAlways(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 343 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Visit(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 318 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitStatement(BoundStatement statement) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 660 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.VisitStatementsWithLocalFunctions(BoundBlock block) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 1556 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.VisitBlock(BoundBlock node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 1499 at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs:line 2693 at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs:line 149 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitWithStackGuard(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 359 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitAlways(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 343 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Visit(BoundNode node) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 318 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Scan(Boolean& badRegion) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 412 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Scan(Boolean& badRegion) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 235 at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Analyze(Boolean& badRegion, Optional`1 initialState) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\AbstractFlowPass.cs:line 435 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Analyze(Boolean& badRegion, DiagnosticBag diagnostics) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 424 at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Analyze(CSharpCompilation compilation, MethodSymbol member, BoundNode node, DiagnosticBag diagnostics, Boolean requireOutParamsAssigned) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\DefiniteAssignment.cs:line 395 at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Analyze(CSharpCompilation compilation, MethodSymbol method, BoundBlock block, DiagnosticBag diagnostics) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\FlowAnalysisPass.cs:line 135 at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Rewrite(MethodSymbol method, BoundBlock block, DiagnosticBag diagnostics, Boolean hasTrailingExpression, Boolean originalBodyNested) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\FlowAnalysis\FlowAnalysisPass.cs:line 49 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 1058 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 511 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 401 at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in C:\Users\rikki\src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs:line 141 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 316 at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs:line 155 at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\Users\rikki\src\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs:line 2795 at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) in C:\Users\rikki\src\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs:line 2502 at Roslyn.Test.Utilities.RuntimeEnvironmentUtilities.EmitCompilationCore(Compilation compilation, IEnumerable`1 manifestResources, DiagnosticBag diagnostics, CompilationTestData testData, EmitOptions emitOptions) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\Compilation\IRuntimeEnvironment.cs:line 252 at Roslyn.Test.Utilities.RuntimeEnvironmentUtilities.EmitCompilation(Compilation compilation, IEnumerable`1 manifestResources, List`1 dependencies, DiagnosticBag diagnostics, CompilationTestData testData, EmitOptions emitOptions) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\Compilation\IRuntimeEnvironment.cs:line 225 at Roslyn.Test.Utilities.CoreClr.CoreCLRRuntimeEnvironment.Emit(Compilation mainCompilation, IEnumerable`1 manifestResources, EmitOptions emitOptions, Boolean usePdbForDebugging) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\Platform\CoreClr\CoreCLRRuntimeEnvironment.cs:line 43 at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.Emit(IRuntimeEnvironment testEnvironment, IEnumerable`1 manifestResources, EmitOptions emitOptions) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\CompilationVerifier.cs:line 235 at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.Emit(String expectedOutput, Nullable`1 expectedReturnCode, String[] args, IEnumerable`1 manifestResources, EmitOptions emitOptions, Verification peVerify, SignatureDescription[] expectedSignatures) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\CompilationVerifier.cs:line 201 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, Action`1 assemblyValidator, Action`1 symbolValidator, EmitOptions emitOptions, Verification verify) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\CommonTestBase.cs:line 150 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerifyCommon(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) in C:\Users\rikki\src\roslyn\src\Test\Utilities\Portable\CommonTestBase.cs:line 64 at Microsoft.CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) in C:\Users\rikki\src\roslyn\src\Compilers\Test\Utilities\CSharp\CSharpTestBase.cs:line 816 at Microsoft.CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase.CompileAndVerify(CSharpTestSource source, IEnumerable`1 references, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, CSharpCompilationOptions options, CSharpParseOptions parseOptions, EmitOptions emitOptions, TargetFramework targetFramework, Verification verify) in C:\Users\rikki\src\roslyn\src\Compilers\Test\Utilities\CSharp\CSharpTestBase.cs:line 775 ```",1,crash on ref errortype property version used steps to reproduce cs public void referrorpropertycrash compileandverify public class c public ref error prop throw null verifydiagnostics this is a regression from stack system nullreferenceexception object reference not set to an instance of an object stack trace at microsoft codeanalysis csharp definiteassignmentpass markfieldsused typesymbol type in c users rikki src roslyn src compilers csharp portable flowanalysis definiteassignment cs line at microsoft codeanalysis csharp definiteassignmentpass writeargument boundexpression arg refkind refkind methodsymbol method in c users rikki src roslyn src compilers csharp portable flowanalysis definiteassignment cs line at microsoft codeanalysis csharp abstractflowpass visitreturnstatementnoadjust boundreturnstatement node in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp abstractflowpass visitreturnstatement boundreturnstatement node in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp boundreturnstatement accept boundtreevisitor visitor in c users rikki src roslyn src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreevisitor visit boundnode node in c users rikki src roslyn src compilers csharp portable boundtree boundtreevisitors cs line at microsoft codeanalysis csharp abstractflowpass visitwithstackguard boundnode node in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp abstractflowpass visitalways boundnode node in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp abstractflowpass visit boundnode node in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp abstractflowpass visitstatement boundstatement statement in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp definiteassignmentpass visitstatementswithlocalfunctions boundblock block in c users rikki src roslyn src compilers csharp portable flowanalysis definiteassignment cs line at microsoft codeanalysis csharp definiteassignmentpass visitblock boundblock node in c users rikki src roslyn src compilers csharp portable flowanalysis definiteassignment cs line at microsoft codeanalysis csharp boundblock accept boundtreevisitor visitor in c users rikki src roslyn src compilers csharp portable generated boundnodes xml generated cs line at microsoft codeanalysis csharp boundtreevisitor visit boundnode node in c users rikki src roslyn src compilers csharp portable boundtree boundtreevisitors cs line at microsoft codeanalysis csharp abstractflowpass visitwithstackguard boundnode node in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp abstractflowpass visitalways boundnode node in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp abstractflowpass visit boundnode node in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp abstractflowpass scan boolean badregion in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp definiteassignmentpass scan boolean badregion in c users rikki src roslyn src compilers csharp portable flowanalysis definiteassignment cs line at microsoft codeanalysis csharp abstractflowpass analyze boolean badregion optional initialstate in c users rikki src roslyn src compilers csharp portable flowanalysis abstractflowpass cs line at microsoft codeanalysis csharp definiteassignmentpass analyze boolean badregion diagnosticbag diagnostics in c users rikki src roslyn src compilers csharp portable flowanalysis definiteassignment cs line at microsoft codeanalysis csharp definiteassignmentpass analyze csharpcompilation compilation methodsymbol member boundnode node diagnosticbag diagnostics boolean requireoutparamsassigned in c users rikki src roslyn src compilers csharp portable flowanalysis definiteassignment cs line at microsoft codeanalysis csharp flowanalysispass analyze csharpcompilation compilation methodsymbol method boundblock block diagnosticbag diagnostics in c users rikki src roslyn src compilers csharp portable flowanalysis flowanalysispass cs line at microsoft codeanalysis csharp flowanalysispass rewrite methodsymbol method boundblock block diagnosticbag diagnostics boolean hastrailingexpression boolean originalbodynested in c users rikki src roslyn src compilers csharp portable flowanalysis flowanalysispass cs line at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate in c users rikki src roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype in c users rikki src roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler c b in c users rikki src roslyn src compilers csharp portable compiler methodcompiler cs line at roslyn utilities uicultureutilities c b in c users rikki src roslyn src compilers core portable internalutilities uicultureutilities cs line at system threading tasks task innerinvoke at system threading tasks task c b object obj at system threading executioncontext runfromthreadpooldispatchloop thread threadpoolthread executioncontext executioncontext contextcallback callback object state end of stack trace from previous location where exception was thrown at system threading executioncontext runfromthreadpooldispatchloop thread threadpoolthread executioncontext executioncontext contextcallback callback object state at system threading tasks task executewiththreadlocal task currenttaskslot thread threadpoolthread end of stack trace from previous location where exception was thrown at microsoft codeanalysis csharp methodcompiler waitforworkers in c users rikki src roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken in c users rikki src roslyn src compilers csharp portable compiler methodcompiler cs line at microsoft codeanalysis csharp csharpcompilation compilemethods commonpemodulebuilder modulebuilder boolean emittingpdb boolean emitmetadataonly boolean emittestcoveragedata diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken in c users rikki src roslyn src compilers csharp portable compilation csharpcompilation cs line at microsoft codeanalysis compilation emit stream pestream stream metadatapestream stream pdbstream stream xmldocumentationstream stream ienumerable manifestresources emitoptions options imethodsymbol debugentrypoint stream sourcelinkstream ienumerable embeddedtexts compilationtestdata testdata cancellationtoken cancellationtoken in c users rikki src roslyn src compilers core portable compilation compilation cs line at roslyn test utilities runtimeenvironmentutilities emitcompilationcore compilation compilation ienumerable manifestresources diagnosticbag diagnostics compilationtestdata testdata emitoptions emitoptions in c users rikki src roslyn src test utilities portable compilation iruntimeenvironment cs line at roslyn test utilities runtimeenvironmentutilities emitcompilation compilation compilation ienumerable manifestresources list dependencies diagnosticbag diagnostics compilationtestdata testdata emitoptions emitoptions in c users rikki src roslyn src test utilities portable compilation iruntimeenvironment cs line at roslyn test utilities coreclr coreclrruntimeenvironment emit compilation maincompilation ienumerable manifestresources emitoptions emitoptions boolean usepdbfordebugging in c users rikki src roslyn src test utilities portable platform coreclr coreclrruntimeenvironment cs line at microsoft codeanalysis test utilities compilationverifier emit iruntimeenvironment testenvironment ienumerable manifestresources emitoptions emitoptions in c users rikki src roslyn src test utilities portable compilationverifier cs line at microsoft codeanalysis test utilities compilationverifier emit string expectedoutput nullable expectedreturncode string args ienumerable manifestresources emitoptions emitoptions verification peverify signaturedescription expectedsignatures in c users rikki src roslyn src test utilities portable compilationverifier cs line at microsoft codeanalysis test utilities commontestbase emit compilation compilation ienumerable dependencies ienumerable manifestresources signaturedescription expectedsignatures string expectedoutput nullable expectedreturncode string args action assemblyvalidator action symbolvalidator emitoptions emitoptions verification verify in c users rikki src roslyn src test utilities portable commontestbase cs line at microsoft codeanalysis test utilities commontestbase compileandverifycommon compilation compilation ienumerable manifestresources ienumerable dependencies action sourcesymbolvalidator action assemblyvalidator action symbolvalidator signaturedescription expectedsignatures string expectedoutput nullable expectedreturncode string args emitoptions emitoptions verification verify in c users rikki src roslyn src test utilities portable commontestbase cs line at microsoft codeanalysis csharp test utilities csharptestbase compileandverify compilation compilation ienumerable manifestresources ienumerable dependencies action sourcesymbolvalidator action validator action symbolvalidator signaturedescription expectedsignatures string expectedoutput nullable expectedreturncode string args emitoptions emitoptions verification verify in c users rikki src roslyn src compilers test utilities csharp csharptestbase cs line at microsoft codeanalysis csharp test utilities csharptestbase compileandverify csharptestsource source ienumerable references ienumerable manifestresources ienumerable dependencies action sourcesymbolvalidator action assemblyvalidator action symbolvalidator signaturedescription expectedsignatures string expectedoutput nullable expectedreturncode string args csharpcompilationoptions options csharpparseoptions parseoptions emitoptions emitoptions targetframework targetframework verification verify in c users rikki src roslyn src compilers test utilities csharp csharptestbase cs line ,1 882,11356804558.0,IssuesEvent,2020-01-25 00:11:08,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,System.NullReferenceException is thrown when a static field from a ValueTuple type is referenced.,Bug New Language Feature - Tuples Tenet-Reliability,"``` [Fact] public void CustomFields_01() { var source0 = @"" namespace System { // struct with two values public struct ValueTuple { public static int F1 = 123; public T1 Item1; public T2 Item2; public ValueTuple(T1 item1, T2 item2) { this.Item1 = item1; this.Item2 = item2; } public override string ToString() { return F1.ToString(); } } } ""; var source1 = @"" class Program { public static void Main() { System.Console.WriteLine((1,2).ToString()); } } ""; var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe); CompileAndVerify(comp1, expectedOutput: ""123""); } ``` Observed: ``` Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.CustomFields_01 [FAIL] System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Field.cs(68,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.MakeTupleFieldAccess(SyntaxNode syntax, FieldSymbol tupleField, BoundExpression rewrittenReceiver, ConstantValue constantValueOpt, LookupResultKind resultKind) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Field.cs(28,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.MakeFieldAccess(SyntaxNode syntax, BoundExpression rewrittenReceiver, FieldSymbol fieldSymbol, ConstantValue constantValueOpt, LookupResultKind resultKind, TypeSymbol type, BoundFieldAccess oldNodeOpt) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Field.cs(14,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitFieldAccess(BoundFieldAccess node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(6330,0): at Microsoft.CodeAnalysis.CSharp.BoundFieldAccess.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(149,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(94,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(205,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(89,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(196,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitExpressionImpl(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(170,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitExpression(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Call.cs(139,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitCall(BoundCall node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(5374,0): at Microsoft.CodeAnalysis.CSharp.BoundCall.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(149,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(94,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(229,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(209,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(89,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(196,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitExpressionImpl(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(156,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(9426,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriter.VisitReturnStatement(BoundReturnStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs(15,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitReturnStatement(BoundReturnStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(2839,0): at Microsoft.CodeAnalysis.CSharp.BoundReturnStatement.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(159,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(97,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitPossibleUsingDeclaration(BoundStatement node, ImmutableArray`1 statements, Int32 statementIndex, Boolean& replacedLocalDeclarations) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(55,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitStatementSubList(ArrayBuilder`1 builder, ImmutableArray`1 statements, Int32 startIndex) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(20,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitBlock(BoundBlock node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(2571,0): at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(159,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(101,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Rewrite(CSharpCompilation compilation, MethodSymbol method, Int32 methodOrdinal, NamedTypeSymbol containingType, BoundStatement statement, TypeCompilationState compilationState, SynthesizedSubmissionFields previousSubmissionFields, Boolean allowOmissionOfConditionalCalls, Boolean instrumentForDynamicAnalysis, ImmutableArray`1& dynamicAnalysisSpans, DebugDocumentProvider debugDocumentProvider, DiagnosticBag diagnostics, Boolean& sawLambdas, Boolean& sawLocalFunctions, Boolean& sawAwaitInExceptionHandler) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(1297,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.LowerBodyOrInitializer(MethodSymbol method, Int32 methodOrdinal, BoundStatement body, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState, Boolean instrumentForDynamicAnalysis, DebugDocumentProvider debugDocumentProvider, ImmutableArray`1& dynamicAnalysisSpans, DiagnosticBag diagnostics, VariableSlotAllocator& lazyVariableSlotAllocator, ArrayBuilder`1 lambdaDebugInfoBuilder, ArrayBuilder`1 closureDebugInfoBuilder, StateMachineTypeSymbol& stateMachineTypeOpt) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(1128,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(511,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(401,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() F:\GitHub\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs(141,0): at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) --- End of stack trace from previous location where exception was thrown --- F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(316,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(155,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs(2783,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2489,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Test\Utilities\Portable\Compilation\IRuntimeEnvironment.cs(252,0): at Roslyn.Test.Utilities.RuntimeEnvironmentUtilities.EmitCompilationCore(Compilation compilation, IEnumerable`1 manifestResources, DiagnosticBag diagnostics, CompilationTestData testData, EmitOptions emitOptions) F:\GitHub\roslyn\src\Test\Utilities\Portable\Compilation\IRuntimeEnvironment.cs(225,0): at Roslyn.Test.Utilities.RuntimeEnvironmentUtilities.EmitCompilation(Compilation compilation, IEnumerable`1 manifestResources, List`1 dependencies, DiagnosticBag diagnostics, CompilationTestData testData, EmitOptions emitOptions) F:\GitHub\roslyn\src\Test\Utilities\Portable\Platform\CoreClr\CoreCLRRuntimeEnvironment.cs(43,0): at Roslyn.Test.Utilities.CoreClr.CoreCLRRuntimeEnvironment.Emit(Compilation mainCompilation, IEnumerable`1 manifestResources, EmitOptions emitOptions, Boolean usePdbForDebugging) F:\GitHub\roslyn\src\Test\Utilities\Portable\CompilationVerifier.cs(235,0): at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.Emit(IRuntimeEnvironment testEnvironment, IEnumerable`1 manifestResources, EmitOptions emitOptions) F:\GitHub\roslyn\src\Test\Utilities\Portable\CompilationVerifier.cs(201,0): at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.Emit(String expectedOutput, Nullable`1 expectedReturnCode, String[] args, IEnumerable`1 manifestResources, EmitOptions emitOptions, Verification peVerify, SignatureDescription[] expectedSignatures) F:\GitHub\roslyn\src\Test\Utilities\Portable\CommonTestBase.cs(156,0): at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, Action`1 assemblyValidator, Action`1 symbolValidator, EmitOptions emitOptions, Verification verify) F:\GitHub\roslyn\src\Test\Utilities\Portable\CommonTestBase.cs(70,0): at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerifyCommon(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) F:\GitHub\roslyn\src\Compilers\Test\Utilities\CSharp\CSharpTestBase.cs(764,0): at Microsoft.CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) F:\GitHub\roslyn\src\Compilers\CSharp\Test\Emit\CodeGen\CodeGenTupleTest.cs(26460,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.CustomFields_01() ```",True,"System.NullReferenceException is thrown when a static field from a ValueTuple type is referenced. - ``` [Fact] public void CustomFields_01() { var source0 = @"" namespace System { // struct with two values public struct ValueTuple { public static int F1 = 123; public T1 Item1; public T2 Item2; public ValueTuple(T1 item1, T2 item2) { this.Item1 = item1; this.Item2 = item2; } public override string ToString() { return F1.ToString(); } } } ""; var source1 = @"" class Program { public static void Main() { System.Console.WriteLine((1,2).ToString()); } } ""; var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe); CompileAndVerify(comp1, expectedOutput: ""123""); } ``` Observed: ``` Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.CustomFields_01 [FAIL] System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Field.cs(68,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.MakeTupleFieldAccess(SyntaxNode syntax, FieldSymbol tupleField, BoundExpression rewrittenReceiver, ConstantValue constantValueOpt, LookupResultKind resultKind) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Field.cs(28,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.MakeFieldAccess(SyntaxNode syntax, BoundExpression rewrittenReceiver, FieldSymbol fieldSymbol, ConstantValue constantValueOpt, LookupResultKind resultKind, TypeSymbol type, BoundFieldAccess oldNodeOpt) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Field.cs(14,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitFieldAccess(BoundFieldAccess node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(6330,0): at Microsoft.CodeAnalysis.CSharp.BoundFieldAccess.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(149,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(94,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(205,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(89,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(196,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitExpressionImpl(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(170,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitExpression(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Call.cs(139,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitCall(BoundCall node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(5374,0): at Microsoft.CodeAnalysis.CSharp.BoundCall.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(149,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(94,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithoutStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(229,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeVisitors.cs(209,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\BoundTree\BoundTreeRewriter.cs(89,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriterWithStackGuard.VisitExpressionWithStackGuard(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(196,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitExpressionImpl(BoundExpression node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(156,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(9426,0): at Microsoft.CodeAnalysis.CSharp.BoundTreeRewriter.VisitReturnStatement(BoundReturnStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs(15,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitReturnStatement(BoundReturnStatement node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(2839,0): at Microsoft.CodeAnalysis.CSharp.BoundReturnStatement.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(159,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(97,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitPossibleUsingDeclaration(BoundStatement node, ImmutableArray`1 statements, Int32 statementIndex, Boolean& replacedLocalDeclarations) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(55,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitStatementSubList(ArrayBuilder`1 builder, ImmutableArray`1 statements, Int32 startIndex) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter_Block.cs(20,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.VisitBlock(BoundBlock node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Generated\BoundNodes.xml.Generated.cs(2571,0): at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(159,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Visit(BoundNode node) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Lowering\LocalRewriter\LocalRewriter.cs(101,0): at Microsoft.CodeAnalysis.CSharp.LocalRewriter.Rewrite(CSharpCompilation compilation, MethodSymbol method, Int32 methodOrdinal, NamedTypeSymbol containingType, BoundStatement statement, TypeCompilationState compilationState, SynthesizedSubmissionFields previousSubmissionFields, Boolean allowOmissionOfConditionalCalls, Boolean instrumentForDynamicAnalysis, ImmutableArray`1& dynamicAnalysisSpans, DebugDocumentProvider debugDocumentProvider, DiagnosticBag diagnostics, Boolean& sawLambdas, Boolean& sawLocalFunctions, Boolean& sawAwaitInExceptionHandler) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(1297,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.LowerBodyOrInitializer(MethodSymbol method, Int32 methodOrdinal, BoundStatement body, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState, Boolean instrumentForDynamicAnalysis, DebugDocumentProvider debugDocumentProvider, ImmutableArray`1& dynamicAnalysisSpans, DiagnosticBag diagnostics, VariableSlotAllocator& lazyVariableSlotAllocator, ArrayBuilder`1 lambdaDebugInfoBuilder, ArrayBuilder`1 closureDebugInfoBuilder, StateMachineTypeSymbol& stateMachineTypeOpt) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(1128,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(511,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(401,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass22_0.b__0() F:\GitHub\roslyn\src\Compilers\Core\Portable\InternalUtilities\UICultureUtilities.cs(141,0): at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) --- End of stack trace from previous location where exception was thrown --- F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(316,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.WaitForWorkers() F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compiler\MethodCompiler.cs(155,0): at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean emitTestCoverageData, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\CSharp\Portable\Compilation\CSharpCompilation.cs(2783,0): at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Compilers\Core\Portable\Compilation\Compilation.cs(2489,0): at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, CompilationTestData testData, CancellationToken cancellationToken) F:\GitHub\roslyn\src\Test\Utilities\Portable\Compilation\IRuntimeEnvironment.cs(252,0): at Roslyn.Test.Utilities.RuntimeEnvironmentUtilities.EmitCompilationCore(Compilation compilation, IEnumerable`1 manifestResources, DiagnosticBag diagnostics, CompilationTestData testData, EmitOptions emitOptions) F:\GitHub\roslyn\src\Test\Utilities\Portable\Compilation\IRuntimeEnvironment.cs(225,0): at Roslyn.Test.Utilities.RuntimeEnvironmentUtilities.EmitCompilation(Compilation compilation, IEnumerable`1 manifestResources, List`1 dependencies, DiagnosticBag diagnostics, CompilationTestData testData, EmitOptions emitOptions) F:\GitHub\roslyn\src\Test\Utilities\Portable\Platform\CoreClr\CoreCLRRuntimeEnvironment.cs(43,0): at Roslyn.Test.Utilities.CoreClr.CoreCLRRuntimeEnvironment.Emit(Compilation mainCompilation, IEnumerable`1 manifestResources, EmitOptions emitOptions, Boolean usePdbForDebugging) F:\GitHub\roslyn\src\Test\Utilities\Portable\CompilationVerifier.cs(235,0): at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.Emit(IRuntimeEnvironment testEnvironment, IEnumerable`1 manifestResources, EmitOptions emitOptions) F:\GitHub\roslyn\src\Test\Utilities\Portable\CompilationVerifier.cs(201,0): at Microsoft.CodeAnalysis.Test.Utilities.CompilationVerifier.Emit(String expectedOutput, Nullable`1 expectedReturnCode, String[] args, IEnumerable`1 manifestResources, EmitOptions emitOptions, Verification peVerify, SignatureDescription[] expectedSignatures) F:\GitHub\roslyn\src\Test\Utilities\Portable\CommonTestBase.cs(156,0): at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, Action`1 assemblyValidator, Action`1 symbolValidator, EmitOptions emitOptions, Verification verify) F:\GitHub\roslyn\src\Test\Utilities\Portable\CommonTestBase.cs(70,0): at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerifyCommon(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) F:\GitHub\roslyn\src\Compilers\Test\Utilities\CSharp\CSharpTestBase.cs(764,0): at Microsoft.CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Nullable`1 expectedReturnCode, String[] args, EmitOptions emitOptions, Verification verify) F:\GitHub\roslyn\src\Compilers\CSharp\Test\Emit\CodeGen\CodeGenTupleTest.cs(26460,0): at Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.CustomFields_01() ```",1,system nullreferenceexception is thrown when a static field from a valuetuple type is referenced public void customfields var namespace system struct with two values public struct valuetuple public static int public public public valuetuple this this public override string tostring return tostring var class program public static void main system console writeline tostring var createcompilation targetframework targetframework options testoptions debugexe compileandverify expectedoutput observed microsoft codeanalysis csharp unittests codegen codegentupletests customfields system nullreferenceexception object reference not set to an instance of an object stack trace f github roslyn src compilers csharp portable lowering localrewriter localrewriter field cs at microsoft codeanalysis csharp localrewriter maketuplefieldaccess syntaxnode syntax fieldsymbol tuplefield boundexpression rewrittenreceiver constantvalue constantvalueopt lookupresultkind resultkind f github roslyn src compilers csharp portable lowering localrewriter localrewriter field cs at microsoft codeanalysis csharp localrewriter makefieldaccess syntaxnode syntax boundexpression rewrittenreceiver fieldsymbol fieldsymbol constantvalue constantvalueopt lookupresultkind resultkind typesymbol type boundfieldaccess oldnodeopt f github roslyn src compilers csharp portable lowering localrewriter localrewriter field cs at microsoft codeanalysis csharp localrewriter visitfieldaccess boundfieldaccess node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundfieldaccess accept boundtreevisitor visitor f github roslyn src compilers csharp portable boundtree boundtreevisitors cs at microsoft codeanalysis csharp boundtreevisitor visit boundnode node f github roslyn src compilers csharp portable boundtree boundtreerewriter cs at microsoft codeanalysis csharp boundtreerewriterwithstackguard visitexpressionwithoutstackguard boundexpression node f github roslyn src compilers csharp portable boundtree boundtreevisitors cs at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard recursiondepth boundexpression node f github roslyn src compilers csharp portable boundtree boundtreerewriter cs at microsoft codeanalysis csharp boundtreerewriterwithstackguard visitexpressionwithstackguard boundexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visitexpressionimpl boundexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visitexpression boundexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter call cs at microsoft codeanalysis csharp localrewriter visitcall boundcall node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundcall accept boundtreevisitor visitor f github roslyn src compilers csharp portable boundtree boundtreevisitors cs at microsoft codeanalysis csharp boundtreevisitor visit boundnode node f github roslyn src compilers csharp portable boundtree boundtreerewriter cs at microsoft codeanalysis csharp boundtreerewriterwithstackguard visitexpressionwithoutstackguard boundexpression node f github roslyn src compilers csharp portable boundtree boundtreevisitors cs at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard boundexpression node f github roslyn src compilers csharp portable boundtree boundtreevisitors cs at microsoft codeanalysis csharp boundtreevisitor visitexpressionwithstackguard recursiondepth boundexpression node f github roslyn src compilers csharp portable boundtree boundtreerewriter cs at microsoft codeanalysis csharp boundtreerewriterwithstackguard visitexpressionwithstackguard boundexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visitexpressionimpl boundexpression node f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visit boundnode node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundtreerewriter visitreturnstatement boundreturnstatement node f github roslyn src compilers csharp portable lowering localrewriter localrewriter returnstatement cs at microsoft codeanalysis csharp localrewriter visitreturnstatement boundreturnstatement node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundreturnstatement accept boundtreevisitor visitor f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visit boundnode node f github roslyn src compilers csharp portable lowering localrewriter localrewriter block cs at microsoft codeanalysis csharp localrewriter visitpossibleusingdeclaration boundstatement node immutablearray statements statementindex boolean replacedlocaldeclarations f github roslyn src compilers csharp portable lowering localrewriter localrewriter block cs at microsoft codeanalysis csharp localrewriter visitstatementsublist arraybuilder builder immutablearray statements startindex f github roslyn src compilers csharp portable lowering localrewriter localrewriter block cs at microsoft codeanalysis csharp localrewriter visitblock boundblock node f github roslyn src compilers csharp portable generated boundnodes xml generated cs at microsoft codeanalysis csharp boundblock accept boundtreevisitor visitor f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter visit boundnode node f github roslyn src compilers csharp portable lowering localrewriter localrewriter cs at microsoft codeanalysis csharp localrewriter rewrite csharpcompilation compilation methodsymbol method methodordinal namedtypesymbol containingtype boundstatement statement typecompilationstate compilationstate synthesizedsubmissionfields previoussubmissionfields boolean allowomissionofconditionalcalls boolean instrumentfordynamicanalysis immutablearray dynamicanalysisspans debugdocumentprovider debugdocumentprovider diagnosticbag diagnostics boolean sawlambdas boolean sawlocalfunctions boolean sawawaitinexceptionhandler f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler lowerbodyorinitializer methodsymbol method methodordinal boundstatement body synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate boolean instrumentfordynamicanalysis debugdocumentprovider debugdocumentprovider immutablearray dynamicanalysisspans diagnosticbag diagnostics variableslotallocator lazyvariableslotallocator arraybuilder lambdadebuginfobuilder arraybuilder closuredebuginfobuilder statemachinetypesymbol statemachinetypeopt f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethod methodsymbol methodsymbol methodordinal processedfieldinitializers processedinitializers synthesizedsubmissionfields previoussubmissionfields typecompilationstate compilationstate f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilenamedtype namedtypesymbol containingtype f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler c b f github roslyn src compilers core portable internalutilities uicultureutilities cs at roslyn utilities uicultureutilities c b at system threading executioncontext runinternal executioncontext executioncontext contextcallback callback object state end of stack trace from previous location where exception was thrown at system threading tasks task executewiththreadlocal task currenttaskslot end of stack trace from previous location where exception was thrown f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler waitforworkers f github roslyn src compilers csharp portable compiler methodcompiler cs at microsoft codeanalysis csharp methodcompiler compilemethodbodies csharpcompilation compilation pemodulebuilder modulebeingbuiltopt boolean emittingpdb boolean emittestcoveragedata boolean hasdeclarationerrors diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken f github roslyn src compilers csharp portable compilation csharpcompilation cs at microsoft codeanalysis csharp csharpcompilation compilemethods commonpemodulebuilder modulebuilder boolean emittingpdb boolean emitmetadataonly boolean emittestcoveragedata diagnosticbag diagnostics predicate filteropt cancellationtoken cancellationtoken f github roslyn src compilers core portable compilation compilation cs at microsoft codeanalysis compilation emit stream pestream stream metadatapestream stream pdbstream stream xmldocumentationstream stream ienumerable manifestresources emitoptions options imethodsymbol debugentrypoint stream sourcelinkstream ienumerable embeddedtexts compilationtestdata testdata cancellationtoken cancellationtoken f github roslyn src test utilities portable compilation iruntimeenvironment cs at roslyn test utilities runtimeenvironmentutilities emitcompilationcore compilation compilation ienumerable manifestresources diagnosticbag diagnostics compilationtestdata testdata emitoptions emitoptions f github roslyn src test utilities portable compilation iruntimeenvironment cs at roslyn test utilities runtimeenvironmentutilities emitcompilation compilation compilation ienumerable manifestresources list dependencies diagnosticbag diagnostics compilationtestdata testdata emitoptions emitoptions f github roslyn src test utilities portable platform coreclr coreclrruntimeenvironment cs at roslyn test utilities coreclr coreclrruntimeenvironment emit compilation maincompilation ienumerable manifestresources emitoptions emitoptions boolean usepdbfordebugging f github roslyn src test utilities portable compilationverifier cs at microsoft codeanalysis test utilities compilationverifier emit iruntimeenvironment testenvironment ienumerable manifestresources emitoptions emitoptions f github roslyn src test utilities portable compilationverifier cs at microsoft codeanalysis test utilities compilationverifier emit string expectedoutput nullable expectedreturncode string args ienumerable manifestresources emitoptions emitoptions verification peverify signaturedescription expectedsignatures f github roslyn src test utilities portable commontestbase cs at microsoft codeanalysis test utilities commontestbase emit compilation compilation ienumerable dependencies ienumerable manifestresources signaturedescription expectedsignatures string expectedoutput nullable expectedreturncode string args action assemblyvalidator action symbolvalidator emitoptions emitoptions verification verify f github roslyn src test utilities portable commontestbase cs at microsoft codeanalysis test utilities commontestbase compileandverifycommon compilation compilation ienumerable manifestresources ienumerable dependencies action sourcesymbolvalidator action assemblyvalidator action symbolvalidator signaturedescription expectedsignatures string expectedoutput nullable expectedreturncode string args emitoptions emitoptions verification verify f github roslyn src compilers test utilities csharp csharptestbase cs at microsoft codeanalysis csharp test utilities csharptestbase compileandverify compilation compilation ienumerable manifestresources ienumerable dependencies action sourcesymbolvalidator action validator action symbolvalidator signaturedescription expectedsignatures string expectedoutput nullable expectedreturncode string args emitoptions emitoptions verification verify f github roslyn src compilers csharp test emit codegen codegentupletest cs at microsoft codeanalysis csharp unittests codegen codegentupletests customfields ,1 289,6023229367.0,IssuesEvent,2017-06-07 23:19:51,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,opened,IDE slowly gets less and less responsive and eventually crashes,Area-IDE Tenet-Reliability,"I am editing a big C# file. IDE gets slower and slower to respond and eventually crashes. I sent a several Watson dumps. I also have a dump taken when VS is using close to 2GB of memory, it looks like there might be a memory ""leak"" somewhere. I captured a dump, it is available upon request. CC @Pilchie ",True,"IDE slowly gets less and less responsive and eventually crashes - I am editing a big C# file. IDE gets slower and slower to respond and eventually crashes. I sent a several Watson dumps. I also have a dump taken when VS is using close to 2GB of memory, it looks like there might be a memory ""leak"" somewhere. I captured a dump, it is available upon request. CC @Pilchie ",1,ide slowly gets less and less responsive and eventually crashes i am editing a big c file ide gets slower and slower to respond and eventually crashes i sent a several watson dumps i also have a dump taken when vs is using close to of memory it looks like there might be a memory leak somewhere i captured a dump it is available upon request cc pilchie ,1 314,6558661397.0,IssuesEvent,2017-09-06 22:30:22,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,VB: IDE crashes when typing code to initialise array of tuple with delegate member.,4 - In Review Area-IDE Bug Tenet-Reliability,"**Version Used**: Visual Studio 2017 Community 15.3.2 **Steps to Reproduce**: Add a VB console project. The objective is to type the following code: ```vb Module Module1 Private mTupleArray As (X As Integer, P As Func(Of Byte(), Integer))() = { (X:=0, P:=Nothing), (X:=0, P:=AddressOf MyFunction) } Sub Main() End Sub Public Function MyFunction(ArgBytes As Byte()) As Integer End Function End Module ``` However you can never type and finish the array initialiser portion here: ```vb Private mTupleArray As (X As Integer, P As Func(Of Byte(), Integer))() = { (X:=0, P:=Nothing), (X:=0, P:=AddressOf MyFunction) } ``` Everything goes OK up until this point where you have typed `AddressOf` but haven't reached to `MyFunction`: ![vs_tuples_crash1](https://user-images.githubusercontent.com/20465797/29813378-8accdf32-8cb2-11e7-8fcb-37175286c079.png) Things are still OK when you start typing `MyFunction` and Intellisense kicks in to complete it for you: ![vs_tuples_crash2](https://user-images.githubusercontent.com/20465797/29813481-e2d92f00-8cb2-11e7-9778-a775bab08024.png) Once you hit tab to have Intellisense complete `MyFunction`, a brief moment later the IDE crashes: ![vs_tuples_crash3](https://user-images.githubusercontent.com/20465797/29813558-16b87cf4-8cb3-11e7-8a3f-ca94cd54c9e8.png) I tried initialising without using the tuple member names, and it still crashes: ![vs_tuples_crash4](https://user-images.githubusercontent.com/20465797/29813701-8bbae618-8cb3-11e7-976c-29fee50b2322.png) I also tried using the initialiser on a single line (this is the real code I was writing when I discovered the crash): ![vs_tuples_crash5](https://user-images.githubusercontent.com/20465797/29814598-949966d0-8cb6-11e7-81e7-41dcba457d59.png) I think that `AddressOf MyFunction` expression is the culprit when used in an array initialiser. **Expected Behavior**: It should not crash (the code is semantically and syntactically correct)...in fact this works just fine: ```vb Sub Main() mTupleArray(1) = (X:=0, P:=AddressOf MyFunction) '<-------- no crash here. End Sub ``` **Actual Behavior**: As demonstrated above: IDE crashes.",True,"VB: IDE crashes when typing code to initialise array of tuple with delegate member. - **Version Used**: Visual Studio 2017 Community 15.3.2 **Steps to Reproduce**: Add a VB console project. The objective is to type the following code: ```vb Module Module1 Private mTupleArray As (X As Integer, P As Func(Of Byte(), Integer))() = { (X:=0, P:=Nothing), (X:=0, P:=AddressOf MyFunction) } Sub Main() End Sub Public Function MyFunction(ArgBytes As Byte()) As Integer End Function End Module ``` However you can never type and finish the array initialiser portion here: ```vb Private mTupleArray As (X As Integer, P As Func(Of Byte(), Integer))() = { (X:=0, P:=Nothing), (X:=0, P:=AddressOf MyFunction) } ``` Everything goes OK up until this point where you have typed `AddressOf` but haven't reached to `MyFunction`: ![vs_tuples_crash1](https://user-images.githubusercontent.com/20465797/29813378-8accdf32-8cb2-11e7-8fcb-37175286c079.png) Things are still OK when you start typing `MyFunction` and Intellisense kicks in to complete it for you: ![vs_tuples_crash2](https://user-images.githubusercontent.com/20465797/29813481-e2d92f00-8cb2-11e7-9778-a775bab08024.png) Once you hit tab to have Intellisense complete `MyFunction`, a brief moment later the IDE crashes: ![vs_tuples_crash3](https://user-images.githubusercontent.com/20465797/29813558-16b87cf4-8cb3-11e7-8a3f-ca94cd54c9e8.png) I tried initialising without using the tuple member names, and it still crashes: ![vs_tuples_crash4](https://user-images.githubusercontent.com/20465797/29813701-8bbae618-8cb3-11e7-976c-29fee50b2322.png) I also tried using the initialiser on a single line (this is the real code I was writing when I discovered the crash): ![vs_tuples_crash5](https://user-images.githubusercontent.com/20465797/29814598-949966d0-8cb6-11e7-81e7-41dcba457d59.png) I think that `AddressOf MyFunction` expression is the culprit when used in an array initialiser. **Expected Behavior**: It should not crash (the code is semantically and syntactically correct)...in fact this works just fine: ```vb Sub Main() mTupleArray(1) = (X:=0, P:=AddressOf MyFunction) '<-------- no crash here. End Sub ``` **Actual Behavior**: As demonstrated above: IDE crashes.",1,vb ide crashes when typing code to initialise array of tuple with delegate member version used visual studio community steps to reproduce add a vb console project the objective is to type the following code vb module private mtuplearray as x as integer p as func of byte integer x p nothing x p addressof myfunction sub main end sub public function myfunction argbytes as byte as integer end function end module however you can never type and finish the array initialiser portion here vb private mtuplearray as x as integer p as func of byte integer x p nothing x p addressof myfunction everything goes ok up until this point where you have typed addressof but haven t reached to myfunction things are still ok when you start typing myfunction and intellisense kicks in to complete it for you once you hit tab to have intellisense complete myfunction a brief moment later the ide crashes i tried initialising without using the tuple member names and it still crashes i also tried using the initialiser on a single line this is the real code i was writing when i discovered the crash i think that addressof myfunction expression is the culprit when used in an array initialiser expected behavior it should not crash the code is semantically and syntactically correct in fact this works just fine vb sub main mtuplearray x p addressof myfunction no crash here end sub actual behavior as demonstrated above ide crashes ,1 69,3309350236.0,IssuesEvent,2015-11-05 00:31:25,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Crash (InvalidOperationException) when hovering/clicking in .cshtml files...,Approved for next preview Area-Interactive Bug Tenet-Reliability,"![capture](https://cloud.githubusercontent.com/assets/6464209/10832246/89a61a36-7e47-11e5-94e7-0467220dac4a.PNG) - Create an ASP Web App. - Modify an existing .cshtml file to include the code above. - Hover/click in the indicated location.",True,"Crash (InvalidOperationException) when hovering/clicking in .cshtml files... - ![capture](https://cloud.githubusercontent.com/assets/6464209/10832246/89a61a36-7e47-11e5-94e7-0467220dac4a.PNG) - Create an ASP Web App. - Modify an existing .cshtml file to include the code above. - Hover/click in the indicated location.",1,crash invalidoperationexception when hovering clicking in cshtml files create an asp web app modify an existing cshtml file to include the code above hover click in the indicated location ,1 1098,13066927094.0,IssuesEvent,2020-07-30 22:54:24,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Deadlock caused by AbstractAddImportCodeFixProvider attempting to get NuGet package sources,Area-IDE Bug Developer Community Resolution-Fixed Tenet-Reliability,"**Version Used**: Latest 16.5 Preview2 dogfood build (29518.163.master) **Repro steps (pretty consistent repro)** 1. Create a new C# project 2. Add code so you have missing usings. For example, just type out a `Console.Write(...);`, but no `using System;` so you get compiler errors. Place the cursor on the squiggle and click save all. 3. Close VS 4. Restart VS, open the same project 5. Hit Ctrl + Dot - if you do this before the red squiggle shows up, I invariably see this deadlock. I think there might be other ways to hit this, but I found this was a pretty consistent repro for me. Dump shared at: `\\<%internal_share%>\public\mavasani\Deadlock_Ctrl_Dot\devenv.dmp` **Main thread:** ``` > Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground>(System.Threading.Tasks.Task> task, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionsSourceProvider.SuggestedActionsSource.GetCodeFixes(Microsoft.CodeAnalysis.Editor.Shared.ITextBufferSupportsFeatureService supportsFeatureService, Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet requestedActionCategories, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Document document, Microsoft.VisualStudio.Text.SnapshotSpan range, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionsSourceProvider.SuggestedActionsSource.GetSuggestedActions(Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet requestedActionCategories, Microsoft.VisualStudio.Text.SnapshotSpan range, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbSession.TryGetSuggestedActionSets.AnonymousMethod__0(Microsoft.VisualStudio.Utilities.IUIThreadOperationContext c) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VSUIThreadOperationExecutor.Execute(Microsoft.VisualStudio.Utilities.UIThreadOperationExecutionOptions executionOptions, System.Action action) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VSUIThreadOperationExecutor.Execute(string title, string defaultDescription, bool allowCancellation, bool showProgress, System.Action action) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.UIThreadOperationExecutor.Execute(string title, string defaultDescription, bool allowCancellation, bool showProgress, System.Action action) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbSession.TryGetSuggestedActionSets(out System.Collections.Generic.IEnumerable actionSets, Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet overrideRequestedActionCategories) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbBroker.CreateSession(Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet requestedActionCategories, Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITrackingPoint triggerPoint, Microsoft.VisualStudio.Text.ITrackingSpan triggerSpan, System.Collections.Generic.Dictionary> subjectSpansAndSources, Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet applicableCategories, bool preQuerySuggestedActions, bool trackMouse) Unknown ``` **Background thread:** ``` Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronouslyCore(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronously(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run(System.Func> asyncMethod, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown NuGet.PackageManagement.VisualStudio.dll!NuGet.PackageManagement.VisualStudio.VSSolutionManager.IsSolutionOpen.get() Unknown NuGet.PackageManagement.VisualStudio.dll!NuGet.PackageManagement.VisualStudio.VSSettings.ResetSolutionSettingsIfNeeded() Unknown NuGet.PackageManagement.VisualStudio.dll!NuGet.PackageManagement.VisualStudio.VSSettings.SolutionSettings.get() Unknown NuGet.PackageManagement.VisualStudio.dll!NuGet.PackageManagement.VisualStudio.VSSettings.GetSection(string sectionName) Unknown NuGet.Configuration.dll!NuGet.Configuration.PackageSourceProvider.LoadPackageSourceLookup(bool byName, NuGet.Configuration.ISettings settings) Unknown NuGet.Configuration.dll!NuGet.Configuration.PackageSourceProvider.LoadPackageSources(NuGet.Configuration.ISettings settings, System.Collections.Generic.IEnumerable defaultPackageSources) Unknown NuGet.Configuration.dll!NuGet.Configuration.PackageSourceProvider.LoadPackageSources() Unknown NuGet.VisualStudio.Implementation.dll!NuGet.VisualStudio.VsPackageSourceProvider.GetSources(bool includeUnOfficial, bool includeDisabled) Unknown > Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.GetPackageSources() Unknown Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.AddImport.AbstractAddImportCodeFixProvider.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.GetCodeFixesAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider fixer, bool isBlocking, System.Collections.Immutable.ImmutableArray diagnostics, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.AppendFixesAsync.AnonymousMethod__2(System.Collections.Immutable.ImmutableArray dxs) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.AppendFixesOrConfigurationsAsync.AnonymousMethod__2() Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync>(Microsoft.CodeAnalysis.Extensions.IExtensionManager extensionManager, object extension, System.Func>> function, System.Collections.Immutable.ImmutableArray defaultValue) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.AppendFixesOrConfigurationsAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan fixesSpan, System.Collections.Generic.IEnumerable diagnosticsWithSameSpan, bool fixAllForInSpan, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder result, Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider fixer, System.Func hasFix, System.Func, System.Threading.Tasks.Task>> getFixes, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.AppendFixesAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable diagnostics, bool fixAllForInSpan, bool isBlocking, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder result, System.Threading.CancellationToken cancellationToken) Unknown ```",True,"Deadlock caused by AbstractAddImportCodeFixProvider attempting to get NuGet package sources - **Version Used**: Latest 16.5 Preview2 dogfood build (29518.163.master) **Repro steps (pretty consistent repro)** 1. Create a new C# project 2. Add code so you have missing usings. For example, just type out a `Console.Write(...);`, but no `using System;` so you get compiler errors. Place the cursor on the squiggle and click save all. 3. Close VS 4. Restart VS, open the same project 5. Hit Ctrl + Dot - if you do this before the red squiggle shows up, I invariably see this deadlock. I think there might be other ways to hit this, but I found this was a pretty consistent repro for me. Dump shared at: `\\<%internal_share%>\public\mavasani\Deadlock_Ctrl_Dot\devenv.dmp` **Main thread:** ``` > Microsoft.CodeAnalysis.Workspaces.dll!Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground>(System.Threading.Tasks.Task> task, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionsSourceProvider.SuggestedActionsSource.GetCodeFixes(Microsoft.CodeAnalysis.Editor.Shared.ITextBufferSupportsFeatureService supportsFeatureService, Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet requestedActionCategories, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Document document, Microsoft.VisualStudio.Text.SnapshotSpan range, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.Wpf.dll!Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionsSourceProvider.SuggestedActionsSource.GetSuggestedActions(Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet requestedActionCategories, Microsoft.VisualStudio.Text.SnapshotSpan range, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbSession.TryGetSuggestedActionSets.AnonymousMethod__0(Microsoft.VisualStudio.Utilities.IUIThreadOperationContext c) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VSUIThreadOperationExecutor.Execute(Microsoft.VisualStudio.Utilities.UIThreadOperationExecutionOptions executionOptions, System.Action action) Unknown Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VSUIThreadOperationExecutor.Execute(string title, string defaultDescription, bool allowCancellation, bool showProgress, System.Action action) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.UIThreadOperationExecutor.Execute(string title, string defaultDescription, bool allowCancellation, bool showProgress, System.Action action) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbSession.TryGetSuggestedActionSets(out System.Collections.Generic.IEnumerable actionSets, Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet overrideRequestedActionCategories) Unknown Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbBroker.CreateSession(Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet requestedActionCategories, Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITrackingPoint triggerPoint, Microsoft.VisualStudio.Text.ITrackingSpan triggerSpan, System.Collections.Generic.Dictionary> subjectSpansAndSources, Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet applicableCategories, bool preQuerySuggestedActions, bool trackMouse) Unknown ``` **Background thread:** ``` Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronouslyCore(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronously(System.Threading.Tasks.Task task) Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run(System.Func> asyncMethod, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions creationOptions) Unknown NuGet.PackageManagement.VisualStudio.dll!NuGet.PackageManagement.VisualStudio.VSSolutionManager.IsSolutionOpen.get() Unknown NuGet.PackageManagement.VisualStudio.dll!NuGet.PackageManagement.VisualStudio.VSSettings.ResetSolutionSettingsIfNeeded() Unknown NuGet.PackageManagement.VisualStudio.dll!NuGet.PackageManagement.VisualStudio.VSSettings.SolutionSettings.get() Unknown NuGet.PackageManagement.VisualStudio.dll!NuGet.PackageManagement.VisualStudio.VSSettings.GetSection(string sectionName) Unknown NuGet.Configuration.dll!NuGet.Configuration.PackageSourceProvider.LoadPackageSourceLookup(bool byName, NuGet.Configuration.ISettings settings) Unknown NuGet.Configuration.dll!NuGet.Configuration.PackageSourceProvider.LoadPackageSources(NuGet.Configuration.ISettings settings, System.Collections.Generic.IEnumerable defaultPackageSources) Unknown NuGet.Configuration.dll!NuGet.Configuration.PackageSourceProvider.LoadPackageSources() Unknown NuGet.VisualStudio.Implementation.dll!NuGet.VisualStudio.VsPackageSourceProvider.GetSources(bool includeUnOfficial, bool includeDisabled) Unknown > Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Packaging.PackageInstallerService.GetPackageSources() Unknown Microsoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.AddImport.AbstractAddImportCodeFixProvider.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.GetCodeFixesAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider fixer, bool isBlocking, System.Collections.Immutable.ImmutableArray diagnostics, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.AppendFixesAsync.AnonymousMethod__2(System.Collections.Immutable.ImmutableArray dxs) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.AppendFixesOrConfigurationsAsync.AnonymousMethod__2() Unknown Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync>(Microsoft.CodeAnalysis.Extensions.IExtensionManager extensionManager, object extension, System.Func>> function, System.Collections.Immutable.ImmutableArray defaultValue) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.AppendFixesOrConfigurationsAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan fixesSpan, System.Collections.Generic.IEnumerable diagnosticsWithSameSpan, bool fixAllForInSpan, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder result, Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider fixer, System.Func hasFix, System.Func, System.Threading.Tasks.Task>> getFixes, System.Threading.CancellationToken cancellationToken) Unknown Microsoft.CodeAnalysis.EditorFeatures.dll!Microsoft.CodeAnalysis.CodeFixes.CodeFixService.AppendFixesAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable diagnostics, bool fixAllForInSpan, bool isBlocking, Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder result, System.Threading.CancellationToken cancellationToken) Unknown ```",1,deadlock caused by abstractaddimportcodefixprovider attempting to get nuget package sources version used latest dogfood build master repro steps pretty consistent repro create a new c project add code so you have missing usings for example just type out a console write but no using system so you get compiler errors place the cursor on the squiggle and click save all close vs restart vs open the same project hit ctrl dot if you do this before the red squiggle shows up i invariably see this deadlock i think there might be other ways to hit this but i found this was a pretty consistent repro for me dump shared at public mavasani deadlock ctrl dot devenv dmp main thread microsoft codeanalysis workspaces dll roslyn utilities taskextensions waitandgetresult cancallonbackground system threading tasks task task system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures wpf dll microsoft codeanalysis editor implementation suggestions suggestedactionssourceprovider suggestedactionssource getcodefixes microsoft codeanalysis editor shared itextbuffersupportsfeatureservice supportsfeatureservice microsoft visualstudio language intellisense isuggestedactioncategoryset requestedactioncategories microsoft codeanalysis workspace workspace microsoft codeanalysis document document microsoft visualstudio text snapshotspan range system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures wpf dll microsoft codeanalysis editor implementation suggestions suggestedactionssourceprovider suggestedactionssource getsuggestedactions microsoft visualstudio language intellisense isuggestedactioncategoryset requestedactioncategories microsoft visualstudio text snapshotspan range system threading cancellationtoken cancellationtoken unknown microsoft visualstudio platform vseditor dll microsoft visualstudio language intellisense implementation lightbulbsession trygetsuggestedactionsets anonymousmethod microsoft visualstudio utilities iuithreadoperationcontext c unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation vsuithreadoperationexecutor execute microsoft visualstudio utilities uithreadoperationexecutionoptions executionoptions system action action unknown microsoft visualstudio editor implementation dll microsoft visualstudio editor implementation vsuithreadoperationexecutor execute string title string defaultdescription bool allowcancellation bool showprogress system action action unknown microsoft visualstudio platform vseditor dll microsoft visualstudio text utilities uithreadoperationexecutor execute string title string defaultdescription bool allowcancellation bool showprogress system action action unknown microsoft visualstudio platform vseditor dll microsoft visualstudio language intellisense implementation lightbulbsession trygetsuggestedactionsets out system collections generic ienumerable actionsets microsoft visualstudio language intellisense isuggestedactioncategoryset overriderequestedactioncategories unknown microsoft visualstudio platform vseditor dll microsoft visualstudio language intellisense implementation lightbulbbroker createsession microsoft visualstudio language intellisense isuggestedactioncategoryset requestedactioncategories microsoft visualstudio text editor itextview textview microsoft visualstudio text itrackingpoint triggerpoint microsoft visualstudio text itrackingspan triggerspan system collections generic dictionary subjectspansandsources microsoft visualstudio language intellisense isuggestedactioncategoryset applicablecategories bool prequerysuggestedactions bool trackmouse unknown background thread microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory waitsynchronouslycore system threading tasks task task unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory waitsynchronously system threading tasks task task unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletask completeoncurrentthread unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletask completeoncurrentthread unknown microsoft visualstudio threading dll microsoft visualstudio threading joinabletaskfactory run system func asyncmethod microsoft visualstudio threading joinabletaskcreationoptions creationoptions unknown nuget packagemanagement visualstudio dll nuget packagemanagement visualstudio vssolutionmanager issolutionopen get unknown nuget packagemanagement visualstudio dll nuget packagemanagement visualstudio vssettings resetsolutionsettingsifneeded unknown nuget packagemanagement visualstudio dll nuget packagemanagement visualstudio vssettings solutionsettings get unknown nuget packagemanagement visualstudio dll nuget packagemanagement visualstudio vssettings getsection string sectionname unknown nuget configuration dll nuget configuration packagesourceprovider loadpackagesourcelookup bool byname nuget configuration isettings settings unknown nuget configuration dll nuget configuration packagesourceprovider loadpackagesources nuget configuration isettings settings system collections generic ienumerable defaultpackagesources unknown nuget configuration dll nuget configuration packagesourceprovider loadpackagesources unknown nuget visualstudio implementation dll nuget visualstudio vspackagesourceprovider getsources bool includeunofficial bool includedisabled unknown microsoft visualstudio languageservices dll microsoft visualstudio languageservices packaging packageinstallerservice getpackagesources unknown microsoft codeanalysis features dll microsoft codeanalysis addimport abstractaddimportcodefixprovider registercodefixesasync microsoft codeanalysis codefixes codefixcontext context unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis codefixes codefixservice getcodefixesasync microsoft codeanalysis document document microsoft codeanalysis text textspan span microsoft codeanalysis codefixes codefixprovider fixer bool isblocking system collections immutable immutablearray diagnostics system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis codefixes codefixservice appendfixesasync anonymousmethod system collections immutable immutablearray dxs unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis codefixes codefixservice appendfixesorconfigurationsasync anonymousmethod unknown microsoft codeanalysis workspaces dll microsoft codeanalysis extensions iextensionmanagerextensions performfunctionasync microsoft codeanalysis extensions iextensionmanager extensionmanager object extension system func function system collections immutable immutablearray defaultvalue unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis codefixes codefixservice appendfixesorconfigurationsasync microsoft codeanalysis document document microsoft codeanalysis text textspan fixesspan system collections generic ienumerable diagnosticswithsamespan bool fixallforinspan microsoft codeanalysis pooledobjects arraybuilder result microsoft codeanalysis codefixes codefixprovider fixer system func hasfix system func system threading tasks task getfixes system threading cancellationtoken cancellationtoken unknown microsoft codeanalysis editorfeatures dll microsoft codeanalysis codefixes codefixservice appendfixesasync microsoft codeanalysis document document microsoft codeanalysis text textspan span system collections generic ienumerable diagnostics bool fixallforinspan bool isblocking microsoft codeanalysis pooledobjects arraybuilder result system threading cancellationtoken cancellationtoken unknown ,1 426,7432458039.0,IssuesEvent,2018-03-26 01:01:12,dotnet/roslyn,https://api.github.com/repos/dotnet/roslyn,closed,Deadlock closing solutions with CPS projects referencing Shared Projects.,Area-IDE Bug Tenet-Reliability,"I am hitting a deadlock in the CPS project system with the below callstack. [ClearProjectData](http://source.roslyn.io/Microsoft.CodeAnalysis.Workspaces/R/19e4be6ac9ac48bd.html) method on the workspace ends up invoking [SetDocumentContext](http://source.roslyn.io/#Microsoft.CodeAnalysis.Workspaces/Workspace/Workspace_Editor.cs,97) within a lock, which may end up invoking back into workspace causing this deadlock. The comment [here](http://source.roslyn.io/#Microsoft.CodeAnalysis.Workspaces/Workspace/Workspace_Editor.cs,93) indicates we shouldn't be invoking SetDocumentContext when project/solution is closing, but it seems there are code paths like this one where we do invoke it. ``` mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) Line 203 C# mscorlib.dll!System.Threading.SemaphoreSlim.WaitUntilCountOrTimeout(int millisecondsTimeout, uint startTime, System.Threading.CancellationToken cancellationToken) Line 469 C# mscorlib.dll!System.Threading.SemaphoreSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 439 C# > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.OnDocumentContextUpdated(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceTextContainer container) Line 356 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.OnDocumentContextUpdated(Microsoft.CodeAnalysis.DocumentId documentId) Line 349 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.UpdateDocumentContextIfContainsDocument(Microsoft.VisualStudio.Shell.Interop.IVsHierarchy sharedHierarchy, Microsoft.CodeAnalysis.DocumentId documentId) Line 915 C# Microsoft.VisualStudio.LanguageServices.dll!Roslyn.VisualStudio.ProjectSystem.HierarchyEventsSink.OnPropertyChanged(uint itemid, int propid, uint flags) Line 31 C# Microsoft.VisualStudio.ProjectSystem.Managed.VS.dll!Microsoft.VisualStudio.ProjectSystem.VS.LanguageServices.UnconfiguredProjectHostObject.OnPropertyChanged(uint itemid, int propid, uint flags) Line 91 C# Microsoft.VisualStudio.ProjectSystem.Managed.VS.dll!Microsoft.VisualStudio.ProjectSystem.VS.LanguageServices.UnconfiguredProjectHostObject.SetProperty(uint itemid, int propid, object var) Line 67 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.SetDocumentContext(Microsoft.CodeAnalysis.DocumentId documentId) Line 883 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ClearOpenDocument(Microsoft.CodeAnalysis.DocumentId documentId, bool isSolutionClosing) Line 97 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ClearOpenDocuments(Microsoft.CodeAnalysis.ProjectId projectId) Line 78 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ClearProjectData(Microsoft.CodeAnalysis.ProjectId projectId) Line 260 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.OnProjectRemoved(Microsoft.CodeAnalysis.ProjectId projectId) Line 423 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.VisualStudioWorkspaceHost.Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.IVisualStudioWorkspaceHost.OnProjectRemoved(Microsoft.CodeAnalysis.ProjectId projectId) Line 1332 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.RemoveProject_Foreground(Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject project) Line 385 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.RemoveProject.AnonymousMethod__0() Line 361 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.ExecuteOrScheduleForegroundAffinitizedAction(System.Action action) Line 169 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.RemoveProject(Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject project) Line 362 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject.Disconnect() Line 1109 C# Microsoft.VisualStudio.LanguageServices.Implementation.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.CPS.CPSProject.Disconnect() Line 54 C# Microsoft.VisualStudio.LanguageServices.Implementation.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.CPS.CPSProject.Dispose() Line 156 C# ``` ",True,"Deadlock closing solutions with CPS projects referencing Shared Projects. - I am hitting a deadlock in the CPS project system with the below callstack. [ClearProjectData](http://source.roslyn.io/Microsoft.CodeAnalysis.Workspaces/R/19e4be6ac9ac48bd.html) method on the workspace ends up invoking [SetDocumentContext](http://source.roslyn.io/#Microsoft.CodeAnalysis.Workspaces/Workspace/Workspace_Editor.cs,97) within a lock, which may end up invoking back into workspace causing this deadlock. The comment [here](http://source.roslyn.io/#Microsoft.CodeAnalysis.Workspaces/Workspace/Workspace_Editor.cs,93) indicates we shouldn't be invoking SetDocumentContext when project/solution is closing, but it seems there are code paths like this one where we do invoke it. ``` mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) Line 203 C# mscorlib.dll!System.Threading.SemaphoreSlim.WaitUntilCountOrTimeout(int millisecondsTimeout, uint startTime, System.Threading.CancellationToken cancellationToken) Line 469 C# mscorlib.dll!System.Threading.SemaphoreSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Line 439 C# > Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.OnDocumentContextUpdated(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceTextContainer container) Line 356 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.OnDocumentContextUpdated(Microsoft.CodeAnalysis.DocumentId documentId) Line 349 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.UpdateDocumentContextIfContainsDocument(Microsoft.VisualStudio.Shell.Interop.IVsHierarchy sharedHierarchy, Microsoft.CodeAnalysis.DocumentId documentId) Line 915 C# Microsoft.VisualStudio.LanguageServices.dll!Roslyn.VisualStudio.ProjectSystem.HierarchyEventsSink.OnPropertyChanged(uint itemid, int propid, uint flags) Line 31 C# Microsoft.VisualStudio.ProjectSystem.Managed.VS.dll!Microsoft.VisualStudio.ProjectSystem.VS.LanguageServices.UnconfiguredProjectHostObject.OnPropertyChanged(uint itemid, int propid, uint flags) Line 91 C# Microsoft.VisualStudio.ProjectSystem.Managed.VS.dll!Microsoft.VisualStudio.ProjectSystem.VS.LanguageServices.UnconfiguredProjectHostObject.SetProperty(uint itemid, int propid, object var) Line 67 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.SetDocumentContext(Microsoft.CodeAnalysis.DocumentId documentId) Line 883 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ClearOpenDocument(Microsoft.CodeAnalysis.DocumentId documentId, bool isSolutionClosing) Line 97 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ClearOpenDocuments(Microsoft.CodeAnalysis.ProjectId projectId) Line 78 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.ClearProjectData(Microsoft.CodeAnalysis.ProjectId projectId) Line 260 C# Microsoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.Workspace.OnProjectRemoved(Microsoft.CodeAnalysis.ProjectId projectId) Line 423 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl.VisualStudioWorkspaceHost.Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.IVisualStudioWorkspaceHost.OnProjectRemoved(Microsoft.CodeAnalysis.ProjectId projectId) Line 1332 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.RemoveProject_Foreground(Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject project) Line 385 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.RemoveProject.AnonymousMethod__0() Line 361 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.ExecuteOrScheduleForegroundAffinitizedAction(System.Action action) Line 169 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.RemoveProject(Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject project) Line 362 C# Microsoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject.Disconnect() Line 1109 C# Microsoft.VisualStudio.LanguageServices.Implementation.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.CPS.CPSProject.Disconnect() Line 54 C# Microsoft.VisualStudio.LanguageServices.Implementation.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.CPS.CPSProject.Dispose() Line 156 C# ``` ",1,deadlock closing solutions with cps projects referencing shared projects i am hitting a deadlock in the cps project system with the below callstack method on the workspace ends up invoking within a lock which may end up invoking back into workspace causing this deadlock the comment indicates we shouldn t be invoking setdocumentcontext when project solution is closing but it seems there are code paths like this one where we do invoke it mscorlib dll system threading monitor wait object obj int millisecondstimeout bool exitcontext line c mscorlib dll system threading semaphoreslim waituntilcountortimeout int millisecondstimeout uint starttime system threading cancellationtoken cancellationtoken line c mscorlib dll system threading semaphoreslim wait int millisecondstimeout system threading cancellationtoken cancellationtoken line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace ondocumentcontextupdated microsoft codeanalysis documentid documentid microsoft codeanalysis text sourcetextcontainer container line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace ondocumentcontextupdated microsoft codeanalysis documentid documentid line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl updatedocumentcontextifcontainsdocument microsoft visualstudio shell interop ivshierarchy sharedhierarchy microsoft codeanalysis documentid documentid line c microsoft visualstudio languageservices dll roslyn visualstudio projectsystem hierarchyeventssink onpropertychanged uint itemid int propid uint flags line c microsoft visualstudio projectsystem managed vs dll microsoft visualstudio projectsystem vs languageservices unconfiguredprojecthostobject onpropertychanged uint itemid int propid uint flags line c microsoft visualstudio projectsystem managed vs dll microsoft visualstudio projectsystem vs languageservices unconfiguredprojecthostobject setproperty uint itemid int propid object var line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl setdocumentcontext microsoft codeanalysis documentid documentid line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace clearopendocument microsoft codeanalysis documentid documentid bool issolutionclosing line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace clearopendocuments microsoft codeanalysis projectid projectid line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace clearprojectdata microsoft codeanalysis projectid projectid line c microsoft codeanalysis workspaces dll microsoft codeanalysis workspace onprojectremoved microsoft codeanalysis projectid projectid line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioworkspaceimpl visualstudioworkspacehost microsoft visualstudio languageservices implementation projectsystem ivisualstudioworkspacehost onprojectremoved microsoft codeanalysis projectid projectid line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker removeproject foreground microsoft visualstudio languageservices implementation projectsystem abstractproject project line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker removeproject anonymousmethod line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker executeorscheduleforegroundaffinitizedaction system action action line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem visualstudioprojecttracker removeproject microsoft visualstudio languageservices implementation projectsystem abstractproject project line c microsoft visualstudio languageservices dll microsoft visualstudio languageservices implementation projectsystem abstractproject disconnect line c microsoft visualstudio languageservices implementation dll microsoft visualstudio languageservices implementation projectsystem cps cpsproject disconnect line c microsoft visualstudio languageservices implementation dll microsoft visualstudio languageservices implementation projectsystem cps cpsproject dispose line c ,1