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