11 references to Diagnostics
Microsoft.AspNetCore.Mvc.Razor.Extensions.UnitTests (3)
RazorPageDocumentClassifierPassTest.cs (3)
55var diagnostic = Assert.Single(directive.Node.Diagnostics); 91var diagnostic = Assert.Single(directive.Node.Diagnostics); 115Assert.Empty(directive.Node.Diagnostics);
Microsoft.AspNetCore.Razor.Language.UnitTests (3)
DefaultRazorIntermediateNodeLoweringPhaseTest.cs (2)
273var diagnostic = Assert.Single(documentNode.Diagnostics); 305Assert.Collection(documentNode.Diagnostics,
DirectiveRemovalOptimizationPassTest.cs (1)
102var diagnostic = Assert.Single(documentNode.Diagnostics);
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\IntegrationTests\IntermediateNodeWriter.cs (1)
343foreach (var diagnostic in node.Diagnostics)
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\Components\ComponentLoweringPass.cs (1)
133foreach (var diagnostic in node.Diagnostics)
Language\Components\ComponentNodeWriter.cs (1)
75return node.Diagnostics.Any(d => d.Id == ComponentDiagnosticFactory.GenericComponentTypeInferenceUnderspecified.Id);
Language\Intermediate\IntermediateNode.cs (1)
42_diagnosticsBuilder.AddRange(node.Diagnostics);
Language\Intermediate\IntermediateNodeExtensions.cs (1)
31diagnostics.UnionWith(node.Diagnostics);