4 references to GetDocumentState
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\Solution.cs (2)
231=> CompilationState.GetDocumentState(syntaxTree, projectId)?.Id; 319var 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)