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