2 writes to _owners
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
609
_owners
= list;
623
_owners
= new List<IHighlightRange>(owners.Count);
20 references to _owners
PresentationFramework (20)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (20)
624
_owners
.AddRange(owners);
670
for (int i = 0; i <
_owners
.Count; i++)
672
if (
_owners
[i].Priority < owner.Priority)
674
_owners
.Insert(i, owner);
681
_owners
.Add(owner);
692
if (
_owners
.Contains(owner))
696
_owners
.Remove(owner);
700
return
_owners
.Count;
711
if (
_owners
.Contains(owner))
748
_owners
.Clear();
775
res.Add(new HighlightSegment(_segment.Start, ps,
_owners
));
776
res.Add(new HighlightSegment(ps, _segment.End,
_owners
));
804
res.Add(new HighlightSegment(_segment.Start, ps1,
_owners
));
808
res.Add(new HighlightSegment(ps1, ps1,
_owners
));
812
res.Add(new HighlightSegment(ps1, _segment.End,
_owners
));
900
_owners
.Clear();
1158
return
_owners
.Count > 0 ?
_owners
[0] : null;
1184
return
_owners
.Count > 0 ? new SolidColorBrush(
_owners
[0].Background) : null;