41 references to GetDiagnosticsForSpanAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Diagnostics\Suppression\SuppressionTests.cs (1)
463
var diagnostics = await diagnosticService.
GetDiagnosticsForSpanAsync
(document, span);
Microsoft.CodeAnalysis.EditorFeatures (1)
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.SingleDiagnosticKindPullTaggerProvider.cs (1)
116
var diagnostics = await _analyzerService.
GetDiagnosticsForSpanAsync
(
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (38)
CodeFixes\CodeFixServiceTests.vb (2)
71
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document,
150
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document,
Diagnostics\DiagnosticServiceTests.vb (36)
94
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
128
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
142
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
163
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
284
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, span)
295
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, span)
303
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, span)
351
Dim diagnostics1 = diagnosticService.
GetDiagnosticsForSpanAsync
(p1.Documents.Single(), New TextSpan(0, p1.Documents.Single().GetTextAsync().Result.Length)).Result
356
Dim diagnostics2 = diagnosticService.
GetDiagnosticsForSpanAsync
(p2.Documents.Single(), New TextSpan(0, p2.Documents.Single().GetTextAsync().Result.Length)).Result
440
Dim diagnostics = (Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)).
499
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
534
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, root.FullSpan)
603
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, span).ConfigureAwait(False)
674
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
710
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
787
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
826
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)
829
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)
832
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)
1020
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)
1128
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)
1172
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)
1218
Dim diagnostics = (Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)).
1269
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)
1334
Dim diagnostics = (Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)).
1382
Dim diagnostics = (Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)).
1388
Dim otherDiagnostics = (Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, spanAtCaret)).ToArray()
1466
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, fullSpan)
2003
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
2064
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
2133
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, (Await document.GetSyntaxRootAsync()).FullSpan)
2372
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, root.FullSpan, diagnosticKind:=diagnosticKind)
2445
Dim diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, root.FullSpan, diagnosticKind:=DiagnosticKind.CompilerSemantic)
2450
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, root.FullSpan, diagnosticKind:=DiagnosticKind.CompilerSyntax)
2455
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, root.FullSpan, diagnosticKind:=DiagnosticKind.AnalyzerSyntax)
2460
diagnostics = Await diagnosticService.
GetDiagnosticsForSpanAsync
(document, root.FullSpan, diagnosticKind:=DiagnosticKind.AnalyzerSemantic)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeFixes\CodeFixService.cs (1)
260
var diagnostics = await _diagnosticService.
GetDiagnosticsForSpanAsync
(