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)
132: expectedResults.Any(r => r.Diagnostics.Any()) ? AllRuntimeCapabilities : EditAndContinueCapabilities.Baseline; 144var includeFirstLineInDiagnostics = expectedResult.Diagnostics.Any(d => d.FirstLine != null) == true; 169VerifyDiagnostics(expectedResult.Diagnostics, result.RudeEdits.ToDescription(newText, includeFirstLineInDiagnostics), assertMessagePrefix); 195Assert.Equal(expectedResult.Diagnostics.Any(d => d.RudeEditKind.IsBlocking()), result.ExceptionRegions.IsDefault);