2 instantiations of VSTextDocumentIdentifier
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) }
10 references to VSTextDocumentIdentifier
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Extensions\Extensions.cs (1)
129
if (itemIdentifier is
VSTextDocumentIdentifier
vsDocumentIdentifier && vsDocumentIdentifier.ProjectContext != null)
Protocol\Extensions\Converters\VSExtensionUtilities.cs (1)
40
TryAddConverter<TextDocumentIdentifier,
VSTextDocumentIdentifier
>();
Protocol\Extensions\VSTextDocumentIdentifier.cs (8)
11
/// <see cref="
VSTextDocumentIdentifier
"/> extends <see cref="TextDocumentIdentifier"/> providing additional properties used by Visual Studio.
13
internal class VSTextDocumentIdentifier : TextDocumentIdentifier, IEquatable<
VSTextDocumentIdentifier
>
26
public static bool operator ==(
VSTextDocumentIdentifier
? value1,
VSTextDocumentIdentifier
? value2)
42
public static bool operator !=(
VSTextDocumentIdentifier
? value1,
VSTextDocumentIdentifier
? value2)
48
public bool Equals(
VSTextDocumentIdentifier
other)
57
if (obj is
VSTextDocumentIdentifier
other)