1 write to _glyphDataTree
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\InheritanceGlyphManager.cs (1)
73
_glyphDataTree
= new SimpleIntervalTree<GlyphData, GlyphDataIntrospector>(new GlyphDataIntrospector(), values: null);
9 references to _glyphDataTree
Microsoft.VisualStudio.LanguageServices (9)
InheritanceMargin\InheritanceGlyphManager.cs (9)
94
_glyphDataTree
.AddIntervalInPlace(new GlyphData(span, glyph));
106
var glyphDataToRemove =
_glyphDataTree
.GetIntervalsThatIntersectWith(snapshotSpan.Start, snapshotSpan.Length);
112
var remainingGlyphData =
_glyphDataTree
.Except(glyphDataToRemove).ToImmutableArray();
113
_glyphDataTree
.ClearInPlace();
116
_glyphDataTree
.AddIntervalInPlace(glyphData);
128
if (!
_glyphDataTree
.IsEmpty())
131
var allGlyphData =
_glyphDataTree
.ToImmutableArray();
132
_glyphDataTree
.ClearInPlace();
144
_glyphDataTree
.AddIntervalInPlace(new GlyphData(newSpan, glyph));