18 references to Null
PresentationFramework (18)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (3)
350TextSegment rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 381rangeSegment = next ? rangeEnumerator.Current : TextSegment.Null; 420rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null;
MS\Internal\Annotations\TextAnchor.cs (7)
289TextSegment otherSegment = TextSegment.Null; 292Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 386TextSegment currentSegment, otherSegment = TextSegment.Null; 394Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 774if (x.Equals(TextSegment.Null)) 777if (y.Equals(TextSegment.Null)) 786if (y.Equals(TextSegment.Null))
MS\Internal\Documents\DocumentPageTextView.cs (1)
299return TextSegment.Null;
MS\Internal\Documents\MultiPageTextView.cs (1)
282TextSegment textSegment = TextSegment.Null;
MS\Internal\Documents\TextDocumentView.cs (3)
2274TextSegment lineRange = TextSegment.Null; 2307TextSegment lineRange = TextSegment.Null; 2419return TextSegment.Null;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
375return TextSegment.Null;
System\Windows\Documents\TextRangeBase.cs (2)
204TextSegment autoWordRange = TextSegment.Null; 220autoWordRange = TextSegment.Null;