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