2 writes to Diagnostics
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\DocumentAnalysisResultsDescription.cs (2)
35
Diagnostics
= [];
40
Diagnostics
= diagnostics.AsImmutableOrEmpty();
4 references to Diagnostics
Microsoft.CodeAnalysis.Features.Test.Utilities (4)
EditAndContinue\EditAndContinueTestVerifier.cs (4)
132
: expectedResults.Any(r => r.
Diagnostics
.Any()) ? AllRuntimeCapabilities : EditAndContinueCapabilities.Baseline;
144
var includeFirstLineInDiagnostics = expectedResult.
Diagnostics
.Any(d => d.FirstLine != null) == true;
169
VerifyDiagnostics(expectedResult.
Diagnostics
, result.RudeEdits.ToDescription(newText, includeFirstLineInDiagnostics), assertMessagePrefix);
195
Assert.Equal(expectedResult.
Diagnostics
.Any(d => d.RudeEditKind.IsBlocking()), result.ExceptionRegions.IsDefault);