提交 f467d4dc 编写于 作者: J Jason Malinowski

Mark tests that create CodeModelElements to be WpfFact requiring

Right now the CleanableWeakComHandleTable is very affinitized, and until
we can change that we're best leaving these as is.
上级 33fc1b84
......@@ -145,6 +145,8 @@ Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.CodeModel
Dim result As EnvDTE.CodeElement = Nothing
For Each candidateScope In candidateScopes
Roslyn.Test.Utilities.WpfTestCase.RequireWpfFact($"{NameOf(GetCodeElementAtCursor)} creates CodeElements and thus uses the affinited CleanableWeakComHandleTable")
Try
result = state.FileCodeModelObject.CodeElementFromPosition(cursorPosition, candidateScope)
Catch
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册