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); 670for (int i = 0; i < _owners.Count; i++) 672if (_owners[i].Priority < owner.Priority) 674_owners.Insert(i, owner); 681_owners.Add(owner); 692if (_owners.Contains(owner)) 696_owners.Remove(owner); 700return _owners.Count; 711if (_owners.Contains(owner)) 748_owners.Clear(); 775res.Add(new HighlightSegment(_segment.Start, ps, _owners)); 776res.Add(new HighlightSegment(ps, _segment.End, _owners)); 804res.Add(new HighlightSegment(_segment.Start, ps1, _owners)); 808res.Add(new HighlightSegment(ps1, ps1, _owners)); 812res.Add(new HighlightSegment(ps1, _segment.End, _owners)); 900_owners.Clear(); 1158return _owners.Count > 0 ? _owners[0] : null; 1184return _owners.Count > 0 ? new SolidColorBrush(_owners[0].Background) : null;