2 writes to _owners
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
616
_owners
= list;
630
_owners
= new List<IHighlightRange>(owners.Count);
20 references to _owners
PresentationFramework (20)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (20)
631
_owners
.AddRange(owners);
677
for (int i = 0; i <
_owners
.Count; i++)
679
if (
_owners
[i].Priority < owner.Priority)
681
_owners
.Insert(i, owner);
688
_owners
.Add(owner);
699
if (
_owners
.Contains(owner))
703
_owners
.Remove(owner);
707
return
_owners
.Count;
718
if (
_owners
.Contains(owner))
755
_owners
.Clear();
782
res.Add(new HighlightSegment(_segment.Start, ps,
_owners
));
783
res.Add(new HighlightSegment(ps, _segment.End,
_owners
));
811
res.Add(new HighlightSegment(_segment.Start, ps1,
_owners
));
815
res.Add(new HighlightSegment(ps1, ps1,
_owners
));
819
res.Add(new HighlightSegment(ps1, _segment.End,
_owners
));
907
_owners
.Clear();
1165
return
_owners
.Count > 0 ?
_owners
[0] : null;
1191
return
_owners
.Count > 0 ? new SolidColorBrush(
_owners
[0].Background) : null;