1 type derived from Diagnostic
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
28 instantiations of Diagnostic
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Microsoft.CodeAnalysis.Remote.Razor (1)
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (22)
Microsoft.VisualStudioCode.RazorExtension.UnitTests (1)
150 references to Diagnostic
Microsoft.AspNetCore.Razor.Microbenchmarks (1)
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol (48)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (6)
Microsoft.CodeAnalysis.Razor.Workspaces (42)
Diagnostics\RazorTranslateDiagnosticsService.cs (27)
51internal async Task<LspDiagnostic[]> TranslateAsync(
53LspDiagnostic[] diagnostics,
79private static LspDiagnostic[] FilterHTMLDiagnostics(
80LspDiagnostic[] unmappedDiagnostics,
100internal LspDiagnostic[] MapDiagnostics(
102LspDiagnostic[] diagnostics,
107using var mappedDiagnostics = new PooledArrayBuilder<LspDiagnostic>();
109foreach (var diagnostic in diagnostics)
136LspDiagnostic d,
148LspDiagnostic d,
179private static bool AppliesToTagHelperTagName(LspDiagnostic diagnostic, SourceText sourceText, RazorSyntaxTree syntaxTree)
216private static bool ShouldFilterHtmlDiagnosticBasedOnErrorCode(LspDiagnostic diagnostic, SourceText sourceText, RazorSyntaxTree syntaxTree)
241static bool IsEscapedAtSign(LspDiagnostic diagnostic, SourceText sourceText)
269static bool IsAtCSharpTransitionInStyleBlock(LspDiagnostic diagnostic, SourceText sourceText, RazorSyntaxTree syntaxTree)
299static bool IsAnyFilteredTooFewElementsError(LspDiagnostic diagnostic, SourceText sourceText, RazorSyntaxTree syntaxTree)
329static bool IsHtmlWithBangAndMatchingTags(LspDiagnostic diagnostic, SourceText sourceText, RazorSyntaxTree syntaxTree)
353static bool IsAnyFilteredInvalidNestingError(LspDiagnostic diagnostic, SourceText sourceText, RazorSyntaxTree syntaxTree)
357static bool IsInvalidNestingWarningWithinComponent(LspDiagnostic diagnostic, SourceText sourceText, RazorSyntaxTree syntaxTree)
372static bool IsInvalidNestingFromBody(LspDiagnostic diagnostic, SourceText sourceText, RazorSyntaxTree syntaxTree)
397LspDiagnostic diagnostic,
473private LspDiagnostic[] FilterCSharpDiagnostics(LspDiagnostic[] diagnostics, RazorCodeDocument codeDocument)
475using var filteredDiagnostics = new PooledArrayBuilder<LspDiagnostic>();
477foreach (var diagnostic in diagnostics)
504bool ShouldIgnoreCS1525(LspDiagnostic diagnostic, RazorCodeDocument codeDocument)
523private bool IsUsingDirectiveUsed(LspDiagnostic diagnostic, RazorCodeDocument codeDocument)
557private bool TryGetOriginalDiagnosticRange(LspDiagnostic diagnostic, RazorCodeDocument codeDocument, [NotNullWhen(true)] out LspRange? originalRange)
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.Remote.Razor (16)
Microsoft.VisualStudio.LanguageServices.Razor (15)
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (4)
Microsoft.VisualStudioCode.RazorExtension (8)
Microsoft.VisualStudioCode.RazorExtension.UnitTests (4)