2 writes to Type
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\CodeModelEvent.cs (1)
23
this.
Type
= type;
CodeModel\CodeModelEventQueue.cs (1)
44
priorEvent.
Type
|= @event.Type;
17 references to Type
Microsoft.VisualStudio.LanguageServices.Implementation (17)
CodeModel\CodeModelEvent.cs (3)
27
=> Hash.Combine(Node, Hash.Combine(ParentNode, ((int)
Type
).GetHashCode()));
41
&&
Type
== other.
Type
;
CodeModel\CodeModelEventQueue.cs (3)
41
priorEvent.
Type
.IsChange() &&
42
@event.
Type
.IsChange())
44
priorEvent.Type |= @event.
Type
;
CodeModel\FileCodeModel_Events.cs (11)
77
if (codeModelEvent.
Type
== CodeModelEventType.Add)
81
else if (codeModelEvent.
Type
== CodeModelEventType.Remove)
86
else if (codeModelEvent.
Type
.IsChange())
88
extensibility.FireCodeModelEvent(ElementChangedDispId, element, ConvertToChangeKind(codeModelEvent.
Type
));
92
Debug.Fail("Invalid event type: " + codeModelEvent.
Type
);
159
if (codeModelEvent.
Type
== CodeModelEventType.Remove)
174
Debug.Assert(codeModelEvent.
Type
!= CodeModelEventType.Remove || parentElement != null);
198
else if (codeModelEvent.
Type
== CodeModelEventType.Remove)
232
if (codeModelEvent.
Type
== CodeModelEventType.Remove)
252
var eventType = codeModelEvent.
Type
;
349
if (codeModelEvent.
Type
== CodeModelEventType.Remove)