1 write to Diagnostics
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\TagHelperPrefixDirectiveChunkGenerator.cs (1)
20Diagnostics = diagnostics;
11 references to Diagnostics
Microsoft.AspNetCore.Razor.Language.UnitTests (3)
DefaultRazorTagHelperBinderPhaseTest.cs (2)
106Assert.Equal(expectedDiagnostics, chunkGenerator.Diagnostics); 979var diagnostic = Assert.Single(directiveChunkGenerator.Diagnostics);
Legacy\CSharpCodeParserTest.cs (1)
207var diagnostic = Assert.Single(chunkGenerator.Diagnostics);
Microsoft.CodeAnalysis.Razor.Compiler (8)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (3)
488if (IsMalformed(tagHelperPrefixChunkGenerator.Diagnostics)) 507for (var i = 0; i < tagHelperPrefixChunkGenerator.Diagnostics.Count; i++) 509directiveNode.AddDiagnostic(tagHelperPrefixChunkGenerator.Diagnostics[i]);
Language\DefaultRazorTagHelperContextDiscoveryPhase.cs (1)
545tagHelperPrefix.Diagnostics.Add(
Language\Legacy\TagHelperPrefixDirectiveChunkGenerator.cs (4)
34Enumerable.SequenceEqual(Diagnostics, other.Diagnostics) && 58if (Diagnostics.Count > 0) 61var ids = string.Join(", ", Diagnostics.Select(diagnostic => $"{diagnostic.Id}{diagnostic.Span}"));