2 implementations of FilePath
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
ProjectSystem\TestDocumentSnapshot.cs (1)
21
public string
FilePath
=> _filePath;
Microsoft.CodeAnalysis.Remote.Razor (1)
ProjectSystem\RemoteDocumentSnapshot.cs (1)
35
public 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)
95
var logger = _formattingLoggerFactory.CreateLogger(documentContext.Snapshot.
FilePath
, range is null ? "Full" : "Range");
290
var logger = _formattingLoggerFactory.CreateLogger(documentSnapshot.
FilePath
, formattingType);
GoToDefinition\AbstractDefinitionService.cs (2)
74
var componentFilePath = componentDocument.
FilePath
;
179
var currentDocumentDirectory = Path.GetDirectoryName(documentSnapshot.
FilePath
);
ProjectSystem\IDocumentSnapshotExtensions.cs (1)
55
var fileName = Path.GetFileNameWithoutExtension(documentSnapshot.
FilePath
);
Rename\RenameService.cs (2)
60
var originComponentDocumentFilePath = originComponentDocumentSnapshot.
FilePath
;
96
var oldPath = documentContext.Snapshot.
FilePath
;
Microsoft.CodeAnalysis.Remote.Razor (2)
ProjectSystem\RemoteProjectSnapshot.cs (2)
140
return generatorResult.GetRequiredCodeDocument(documentSnapshot.
FilePath
);
149
return await generatorResult.GetRequiredSourceGeneratedDocumentForRazorFilePathAsync(documentSnapshot.
FilePath
, cancellationToken).ConfigureAwait(false);