15 references to LSPDocumentChangeKind
Microsoft.VisualStudio.LanguageServer.ContainedLanguage (13)
DefaultLSPDocumentManager.cs (8)
78
NotifyDocumentManagerChangeListeners(old: oldSnapshot, @new: null, virtualOld: null, virtualNew: null,
LSPDocumentChangeKind
.Removed);
79
NotifyDocumentManagerChangeListeners(old: null, @new: newSnapshot, virtualOld: null, virtualNew: null,
LSPDocumentChangeKind
.Added);
107
LSPDocumentChangeKind
.Added);
136
LSPDocumentChangeKind
.Removed);
200
NotifyDocumentManagerChangeListeners(old, @new, oldVirtual, newVirtual,
LSPDocumentChangeKind
.VirtualDocumentChanged);
258
NotifyDocumentManagerChangeListeners(old, @new, oldVirtual, newVirtual,
LSPDocumentChangeKind
.VirtualDocumentChanged);
279
LSPDocumentChangeKind
kind)
288
if (kind ==
LSPDocumentChangeKind
.Removed
DefaultLSPDocumentSynchronizer.cs (4)
268
public override void Changed(LSPDocumentSnapshot? old, LSPDocumentSnapshot? @new, VirtualDocumentSnapshot? virtualOld, VirtualDocumentSnapshot? virtualNew,
LSPDocumentChangeKind
kind)
272
if (kind ==
LSPDocumentChangeKind
.Added)
288
else if (kind ==
LSPDocumentChangeKind
.Removed)
310
else if (kind ==
LSPDocumentChangeKind
.VirtualDocumentChanged)
LSPDocumentChangeListener.cs (1)
13
LSPDocumentChangeKind
kind);
Microsoft.VisualStudio.LanguageServices.Razor (2)
LanguageClient\Cohost\HtmlDocumentRemoveListener.cs (2)
20
public override void Changed(LSPDocumentSnapshot? old, LSPDocumentSnapshot? @new, VirtualDocumentSnapshot? virtualOld, VirtualDocumentSnapshot? virtualNew,
LSPDocumentChangeKind
kind)
22
if (kind ==
LSPDocumentChangeKind
.Removed && old is not null)