4 references to GetDocumentState
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\Solution.cs (2)
232=> CompilationState.GetDocumentState(syntaxTree, projectId)?.Id; 320var documentState = CompilationState.GetDocumentState(syntaxTree, projectId);
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (2)
84var documentId = this.GetDocumentState(syntaxTree, projectId: null)?.Id; 183if (GetDocumentState(typeParameterSourceTree, projectId: null) is { } document)