未验证 提交 f8a7ac22 编写于 作者: S Sam Harwell 提交者: GitHub

Merge pull request #35604 from sharwell/lightbulb-failfast

Work around integration test crash in light bulb controller
......@@ -21,6 +21,14 @@ public void HandleError(object sender, Exception exception)
return;
}
if (exception is ArgumentException argumentException
&& argumentException.Message.Contains("SnapshotPoint")
&& argumentException.StackTrace.Contains("Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.ValidateBufferPosition"))
{
// Known issue https://github.com/dotnet/roslyn/issues/35123
return;
}
FatalError.Report(exception);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册