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)
34
public Queue<
CodeModelEvent
> Collect(SyntaxTree oldTree, SyntaxTree newTree)
36
var queue = new Queue<
CodeModelEvent
>();
CodeModel\AbstractCodeModelService.cs (1)
1251
public Queue<
CodeModelEvent
> CollectCodeModelEvents(SyntaxTree oldTree, SyntaxTree newTree)
CodeModel\CodeModelEvent.cs (3)
13
internal sealed class CodeModelEvent : IEquatable<
CodeModelEvent
>
30
=> Equals(obj as
CodeModelEvent
);
32
public bool Equals(
CodeModelEvent
other)
CodeModel\CodeModelEventQueue.cs (5)
14
private readonly Queue<
CodeModelEvent
> _eventQueue;
16
public CodeModelEventQueue(Queue<
CodeModelEvent
> eventQueue)
19
private void EnqueueEvent(
CodeModelEvent
@event)
22
foreach (
var
queuedEvent in _eventQueue)
38
var
priorEvent = _eventQueue.Peek();
CodeModel\FileCodeModel_Events.cs (8)
73
foreach (
var
codeModelEvent in eventQueue)
137
internal void GetElementsForCodeModelEvent(
CodeModelEvent
codeModelEvent, out EnvDTE.CodeElement? element, out object? parentElement)
177
private object? GetParentElementForCodeModelEvent(
CodeModelEvent
codeModelEvent)
214
private EnvDTE.CodeElement? GetParameterElementForCodeModelEvent(
CodeModelEvent
codeModelEvent, object? parentElement)
223
private EnvDTE.CodeElement? GetParameterElementForCodeModelEvent(
CodeModelEvent
codeModelEvent, EnvDTE.CodeElements? parentParameters, object? parentElement)
248
private EnvDTE.CodeElement? GetAttributeElementForCodeModelEvent(
CodeModelEvent
codeModelEvent, object? parentElement)
330
private EnvDTE.CodeElement? GetAttributeArgumentElementForCodeModelEvent(
CodeModelEvent
codeModelEvent, object? parentElement)
340
private EnvDTE.CodeElement? GetAttributeArgumentForCodeModelEvent(
CodeModelEvent
codeModelEvent, EnvDTE.CodeElements? parentAttributeArguments, object parentElement)
CodeModel\ICodeModelService.cs (1)
349
Queue<
CodeModelEvent
> CollectCodeModelEvents(SyntaxTree oldTree, SyntaxTree newTree);