15 references to DiagnosticProviderTestUtilities
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (7)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (7)
65
await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(workspace, document, new TextSpan(0, document.GetTextAsync().Result.Length));
93
await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(ideEngineWorkspace, ideEngineDocument, new TextSpan(0, ideEngineDocument.GetTextAsync().Result.Length));
129
return await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(workspace, document, new TextSpan(0, document.GetTextAsync().Result.Length));
175
await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(workspace, sourceDocument, new TextSpan(0, sourceDocument.GetTextAsync().Result.Length));
205
var diagnostics = await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(workspace, ideEngineDocument, new TextSpan(0, ideEngineDocument.GetTextAsync().Result.Length));
261
var diagnostics = await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(ideEngineWorkspace, ideEngineDocument, new TextSpan(0, ideEngineDocument.GetTextAsync().Result.Length));
807
var diagnostics = (await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(workspace, document, root.FullSpan, includeSuppressedDiagnostics: true))
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\SuppressMessageAttributeWorkspaceTests.cs (1)
69
var actualDiagnostics = await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(workspace, document, span);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (7)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (1)
192
Dim result = Await
DiagnosticProviderTestUtilities
.GetAllDiagnosticsAsync(workspace, document, start.FullSpan)
Diagnostics\DiagnosticServiceTests.vb (6)
845
Dim projectDiagnostics = Await
DiagnosticProviderTestUtilities
.GetProjectDiagnosticsAsync(workspace, project)
873
Dim documentDiagnostics = Await
DiagnosticProviderTestUtilities
.GetDocumentDiagnosticsAsync(workspace, document:=document, span:=fullSpan)
874
documentDiagnostics = Await
DiagnosticProviderTestUtilities
.GetDocumentDiagnosticsAsync(workspace, document:=document, span:=fullSpan)
877
Dim projectDiagnostics = Await
DiagnosticProviderTestUtilities
.GetProjectDiagnosticsAsync(workspace, project)
909
Dim projectDiagnostics = Await
DiagnosticProviderTestUtilities
.GetProjectDiagnosticsAsync(workspace, project)
917
Dim documentDiagnostics = Await
DiagnosticProviderTestUtilities
.GetDocumentDiagnosticsAsync(workspace, document, TextSpan.FromBounds(0, 0))