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