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