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)
129
if (itemIdentifier is VSTextDocumentIdentifier vsDocumentIdentifier && vsDocumentIdentifier.
ProjectContext
!= null)
131
var projectId = ProtocolConversions.ProjectContextToProjectId(vsDocumentIdentifier.
ProjectContext
);
Protocol\Extensions\VSTextDocumentIdentifier.cs (7)
50
return this.
ProjectContext
== other.
ProjectContext
70
return this.
ProjectContext
== null ? 89 : this.
ProjectContext
.GetHashCode()
78
if (this.
ProjectContext
!= null)
80
result += "|" + this.
ProjectContext
.Label + "|" + this.
ProjectContext
.Id;