15 references to Undefined
Microsoft.CodeAnalysis.Razor.Compiler (14)
Language\DefaultTagHelperResolutionPhase.cs (7)
547elementNode.Source ?? SourceSpan.Undefined, 555elementNode.Source ?? SourceSpan.Undefined, 578child.Source ?? SourceSpan.Undefined, childTagName, parentTagName, allowedChildrenString)); 593child.Source ?? SourceSpan.Undefined, childTagName, parentTagName, allowedChildrenString)); 605child.Source ?? SourceSpan.Undefined, parentTagName, allowedChildrenString)); 614child.Source ?? SourceSpan.Undefined, parentTagName, allowedChildrenString)); 1246elementNode.Source ?? SourceSpan.Undefined,
Language\DefaultTagHelperResolutionPhase.LegacyTagHelperResolver.cs (4)
159unresolvedAttr.AttributeNameSpan ?? SourceSpan.Undefined, attributeName, tagHelperNode.TagName, propertyType!)); 184unresolvedAttr.AttributeNameSpan ?? SourceSpan.Undefined, attributeName, tagHelperNode.TagName, propertyType!)); 1622codeChild.Source ?? elementNode.Source ?? SourceSpan.Undefined, elementNode.TagName)); 1630var 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 || span.FilePath is null)
Microsoft.CodeAnalysis.Razor.DotNetFormat (1)
src\roslyn\src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Formatting\FormattingEngine.cs (1)
57if (codeDocument.GetRequiredCSharpDocument(declarationDocument: false).Diagnostics.Any(d => d.Span != SourceSpan.Undefined && span.OverlapsWith(sourceText.GetLinePositionSpan(d.Span))))