22 references to Undefined
Microsoft.AspNetCore.Razor.Language.UnitTests (6)
CodeGeneration\CodeRenderingContextTest.cs (6)
21var diagnostic = RazorDiagnostic.Create(descriptor, SourceSpan.Undefined, "param"); 52var diagnostic = RazorDiagnostic.Create(descriptor, SourceSpan.Undefined, "param"); 81SourceSpan.Undefined); 84SourceSpan.Undefined); 87SourceSpan.Undefined); 90SourceSpan.Undefined);
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\DefaultTagHelperResolutionPhase.cs (5)
507child.Source ?? SourceSpan.Undefined, childTagName, parentTagName, allowedChildrenString)); 522child.Source ?? SourceSpan.Undefined, childTagName, parentTagName, allowedChildrenString)); 534child.Source ?? SourceSpan.Undefined, parentTagName, allowedChildrenString)); 543child.Source ?? SourceSpan.Undefined, parentTagName, allowedChildrenString)); 1157elementNode.Source ?? SourceSpan.Undefined,
Language\DefaultTagHelperResolutionPhase.LegacyTagHelperResolver.cs (4)
159unresolvedAttr.AttributeNameSpan ?? SourceSpan.Undefined, attributeName, tagHelperNode.TagName, propertyType!)); 184unresolvedAttr.AttributeNameSpan ?? SourceSpan.Undefined, attributeName, tagHelperNode.TagName, propertyType!)); 1602codeChild.Source ?? elementNode.Source ?? SourceSpan.Undefined, elementNode.TagName)); 1610var diagSource = exprChild.Source ?? elementNode.Source ?? SourceSpan.Undefined;
Language\NamespaceComputer.cs (1)
237namespaceSpan = SourceSpan.Undefined;
Language\RazorDiagnostic.cs (1)
25Span = span ?? SourceSpan.Undefined;
SourceGenerators\Diagnostics\RazorDiagnostics.cs (1)
110if (span == SourceSpan.Undefined)
Microsoft.CodeAnalysis.Razor.Workspaces (2)
Diagnostics\RazorDiagnosticHelper.cs (1)
75if (sourceSpan == SourceSpan.Undefined)
Formatting\RazorFormattingService.cs (1)
89if (codeDocument.GetRequiredCSharpDocument().Diagnostics.Any(d => d.Span != SourceSpan.Undefined && span.OverlapsWith(sourceText.GetLinePositionSpan(d.Span))))
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Diagnostics\RazorDiagnosticHelperTest.cs (1)
127var sourceSpan = SourceSpan.Undefined;
Microsoft.VisualStudioCode.RazorExtension.UnitTests (1)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Diagnostics\RazorDiagnosticHelperTest.cs (1)
127var sourceSpan = SourceSpan.Undefined;