2 writes to ProjectContext
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Diagnostics\DiagnosticSources\AbstractDocumentDiagnosticSource.cs (1)
28? new VSTextDocumentIdentifier { ProjectContext = ProtocolConversions.ProjectToProjectContext(Document.Project), Uri = Document.GetURI() }
Handler\Diagnostics\DiagnosticSources\AbstractProjectDiagnosticSource.cs (1)
32? new VSTextDocumentIdentifier { ProjectContext = ProtocolConversions.ProjectToProjectContext(Project), Uri = ProtocolConversions.CreateAbsoluteUri(Project.FilePath) }
9 references to ProjectContext
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Extensions\Extensions.cs (2)
129if (itemIdentifier is VSTextDocumentIdentifier vsDocumentIdentifier && vsDocumentIdentifier.ProjectContext != null) 131var projectId = ProtocolConversions.ProjectContextToProjectId(vsDocumentIdentifier.ProjectContext);
Protocol\Extensions\VSTextDocumentIdentifier.cs (7)
50return this.ProjectContext == other.ProjectContext 70return this.ProjectContext == null ? 89 : this.ProjectContext.GetHashCode() 78if (this.ProjectContext != null) 80result += "|" + this.ProjectContext.Label + "|" + this.ProjectContext.Id;