12 references to RelativePath
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Components\ComponentDocumentClassifierPass.cs (2)
140
if (codeDocument.Source.FilePath == null || codeDocument.Source.
RelativePath
== null)
145
var relativePath = NormalizePath(codeDocument.Source.
RelativePath
);
Language\Extensions\DefaultMetadataIdentifierFeature.cs (2)
28
if (string.IsNullOrEmpty(sourceDocument.
RelativePath
))
33
var identifier = sourceDocument.
RelativePath
;
Language\NamespaceComputer.cs (1)
27
var relativePath = codeDocument.Source.
RelativePath
;
Language\RazorCodeDocumentExtensions.cs (1)
21
var filePath = codeDocument.Source.
RelativePath
?? codeDocument.Source.FilePath;
Language\RazorSourceDocument.cs (2)
46
/// <returns>The <see cref="
RelativePath
"/> if set, or the <see cref="FilePath"/>.</returns>
49
return
RelativePath
?? FilePath;
Mvc.Version1_X\MvcViewDocumentClassifierPass.cs (1)
27
var filePath = codeDocument.Source.
RelativePath
?? codeDocument.Source.FilePath;
Mvc.Version2_X\AssemblyAttributeInjectionPass.cs (1)
46
var escapedPath = MakeVerbatimStringLiteral(ConvertToViewEnginePath(codeDocument.Source.
RelativePath
));
Mvc.Version2_X\MvcViewDocumentClassifierPass.cs (1)
27
var filePath = codeDocument.Source.
RelativePath
?? codeDocument.Source.FilePath;
Mvc.Version2_X\RazorPageDocumentClassifierPass.cs (1)
59
var filePath = codeDocument.Source.
RelativePath
?? codeDocument.Source.FilePath;