3 instantiations of CodeModelEvent
Microsoft.VisualStudio.LanguageServices.Implementation (3)
CodeModel\CodeModelEventQueue.cs (3)
53=> EnqueueEvent(new CodeModelEvent(node, parent, CodeModelEventType.Add)); 56=> EnqueueEvent(new CodeModelEvent(node, parent, CodeModelEventType.Remove)); 59=> EnqueueEvent(new CodeModelEvent(node, parent, eventType));
20 references to CodeModelEvent
Microsoft.VisualStudio.LanguageServices.Implementation (20)
CodeModel\AbstractCodeModelService.AbstractCodeModelEventCollector.cs (2)
34public Queue<CodeModelEvent> Collect(SyntaxTree oldTree, SyntaxTree newTree) 36var queue = new Queue<CodeModelEvent>();
CodeModel\AbstractCodeModelService.cs (1)
1251public Queue<CodeModelEvent> CollectCodeModelEvents(SyntaxTree oldTree, SyntaxTree newTree)
CodeModel\CodeModelEvent.cs (3)
13internal sealed class CodeModelEvent : IEquatable<CodeModelEvent> 30=> Equals(obj as CodeModelEvent); 32public bool Equals(CodeModelEvent other)
CodeModel\CodeModelEventQueue.cs (5)
14private readonly Queue<CodeModelEvent> _eventQueue; 16public CodeModelEventQueue(Queue<CodeModelEvent> eventQueue) 19private void EnqueueEvent(CodeModelEvent @event) 22foreach (var queuedEvent in _eventQueue) 38var priorEvent = _eventQueue.Peek();
CodeModel\FileCodeModel_Events.cs (8)
73foreach (var codeModelEvent in eventQueue) 137internal void GetElementsForCodeModelEvent(CodeModelEvent codeModelEvent, out EnvDTE.CodeElement? element, out object? parentElement) 177private object? GetParentElementForCodeModelEvent(CodeModelEvent codeModelEvent) 214private EnvDTE.CodeElement? GetParameterElementForCodeModelEvent(CodeModelEvent codeModelEvent, object? parentElement) 223private EnvDTE.CodeElement? GetParameterElementForCodeModelEvent(CodeModelEvent codeModelEvent, EnvDTE.CodeElements? parentParameters, object? parentElement) 248private EnvDTE.CodeElement? GetAttributeElementForCodeModelEvent(CodeModelEvent codeModelEvent, object? parentElement) 330private EnvDTE.CodeElement? GetAttributeArgumentElementForCodeModelEvent(CodeModelEvent codeModelEvent, object? parentElement) 340private EnvDTE.CodeElement? GetAttributeArgumentForCodeModelEvent(CodeModelEvent codeModelEvent, EnvDTE.CodeElements? parentAttributeArguments, object parentElement)
CodeModel\ICodeModelService.cs (1)
349Queue<CodeModelEvent> CollectCodeModelEvents(SyntaxTree oldTree, SyntaxTree newTree);