Skip to content

Commit

Permalink
Work around for bug
Browse files Browse the repository at this point in the history
Work around for dotnet#42982
  • Loading branch information
jaredpar committed Apr 1, 2020
1 parent a789419 commit e603038
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/EditorFeatures/TestUtilities/TestExtensionErrorHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ public void HandleError(object sender, Exception exception)
return;
}

// Work around for https://github.com/dotnet/roslyn/issues/42982
if (exception is NullReferenceException &&
exception.StackTrace.Contains("Microsoft.CodeAnalysis.Completion.Providers.AbstractEmbeddedLanguageCompletionProvider.GetLanguageProviders"))
{
return;
}

// Work around for https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1091056
if (exception is InvalidOperationException &&
exception.StackTrace.Contains("Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Implementation.CompletionTelemetryHost"))
Expand Down

0 comments on commit e603038

Please sign in to comment.