21 references to FilePath
Microsoft.CodeAnalysis.Workspaces (21)
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
94
var textChecksumsTasks = projectState.DocumentStates.States.Values.OrderBy(state => state.
FilePath
, StringComparer.Ordinal).Select(async state =>
Workspace\Host\PersistentStorage\DocumentKey.cs (1)
37
=> new(projectKey, state.Id, state.
FilePath
, state.Name);
Workspace\Solution\AnalyzerConfigDocumentState.cs (2)
27
asynchronousComputeFunction: static async (self, cancellationToken) => AnalyzerConfig.Parse(await self.GetTextAsync(cancellationToken).ConfigureAwait(false), self.
FilePath
),
28
synchronousComputeFunction: static (self, cancellationToken) => AnalyzerConfig.Parse(self.GetTextSynchronously(cancellationToken), self.
FilePath
),
Workspace\Solution\ProjectState.cs (4)
432
if (!string.IsNullOrEmpty(documentState.
FilePath
))
434
return documentState.
FilePath
;
511
if (!string.IsNullOrEmpty(documentState.
FilePath
))
513
return documentState.
FilePath
;
Workspace\Solution\SolutionState.cs (2)
1249
var filePath = documentState.
FilePath
;
1306
var filePath = documentState.
FilePath
;
Workspace\Solution\TextDocument.cs (1)
44
public string? FilePath => State.
FilePath
;
Workspace\Solution\TextDocumentState.cs (2)
148
var newTextAndVersion = TextAndVersion.Create(newText, newVersion,
FilePath
);
156
var newTextSource = CreateTextAndVersionSource(SolutionServices, loader,
FilePath
, LoadTextOptions, mode);
Workspace\Solution\TextDocumentState_Checksum.cs (1)
37
using (Logger.LogBlock(FunctionId.DocumentState_ComputeChecksumsAsync,
FilePath
, cancellationToken))
Workspace\Solution\TextDocumentStates.cs (5)
191
if (filePathToDocumentIds != null && oldState.
FilePath
!= state.
FilePath
)
209
filePathsChanged = filePathsChanged || newState.
FilePath
!= state.
FilePath
;
363
var filePath = state.
FilePath
;
Workspace\Workspace.cs (1)
1764
throw new NotSupportedException(string.Format(WorkspacesResources.Changing_document_0_is_not_supported, document.
FilePath
?? document.Name));
Workspace\Workspace_Editor.cs (1)
400
var newTextAndVersion = GetProperTextAndVersion(oldText, newText, version, oldDocumentState.
FilePath
);