12 references to RelativePath
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Components\ComponentDocumentClassifierPass.cs (2)
140if (codeDocument.Source.FilePath == null || codeDocument.Source.RelativePath == null) 145var relativePath = NormalizePath(codeDocument.Source.RelativePath);
Language\Extensions\DefaultMetadataIdentifierFeature.cs (2)
28if (string.IsNullOrEmpty(sourceDocument.RelativePath)) 33var identifier = sourceDocument.RelativePath;
Language\NamespaceComputer.cs (1)
27var relativePath = codeDocument.Source.RelativePath;
Language\RazorCodeDocumentExtensions.cs (1)
21var 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> 49return RelativePath ?? FilePath;
Mvc.Version1_X\MvcViewDocumentClassifierPass.cs (1)
27var filePath = codeDocument.Source.RelativePath ?? codeDocument.Source.FilePath;
Mvc.Version2_X\AssemblyAttributeInjectionPass.cs (1)
46var escapedPath = MakeVerbatimStringLiteral(ConvertToViewEnginePath(codeDocument.Source.RelativePath));
Mvc.Version2_X\MvcViewDocumentClassifierPass.cs (1)
27var filePath = codeDocument.Source.RelativePath ?? codeDocument.Source.FilePath;
Mvc.Version2_X\RazorPageDocumentClassifierPass.cs (1)
59var filePath = codeDocument.Source.RelativePath ?? codeDocument.Source.FilePath;