2 implementations of FilePath
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
ProjectSystem\TestDocumentSnapshot.cs (1)
21public string FilePath => _filePath;
Microsoft.CodeAnalysis.Remote.Razor (1)
ProjectSystem\RemoteDocumentSnapshot.cs (1)
35public string FilePath => TextDocument.FilePath.AssumeNotNull();
10 references to FilePath
Microsoft.CodeAnalysis.Razor.Workspaces (8)
Formatting\Passes\CSharpOnTypeFormattingPass.cs (1)
58_logger.LogWarning($"Failed to map to projected position for document {context.OriginalSnapshot.FilePath}.");
Formatting\RazorFormattingService.cs (2)
95var logger = _formattingLoggerFactory.CreateLogger(documentContext.Snapshot.FilePath, range is null ? "Full" : "Range"); 290var logger = _formattingLoggerFactory.CreateLogger(documentSnapshot.FilePath, formattingType);
GoToDefinition\AbstractDefinitionService.cs (2)
74var componentFilePath = componentDocument.FilePath; 179var currentDocumentDirectory = Path.GetDirectoryName(documentSnapshot.FilePath);
ProjectSystem\IDocumentSnapshotExtensions.cs (1)
55var fileName = Path.GetFileNameWithoutExtension(documentSnapshot.FilePath);
Rename\RenameService.cs (2)
60var originComponentDocumentFilePath = originComponentDocumentSnapshot.FilePath; 96var oldPath = documentContext.Snapshot.FilePath;
Microsoft.CodeAnalysis.Remote.Razor (2)
ProjectSystem\RemoteProjectSnapshot.cs (2)
140return generatorResult.GetRequiredCodeDocument(documentSnapshot.FilePath); 149return await generatorResult.GetRequiredSourceGeneratedDocumentForRazorFilePathAsync(documentSnapshot.FilePath, cancellationToken).ConfigureAwait(false);