18 references to Null
PresentationFramework (18)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (3)
365
TextSegment rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.
Null
;
396
rangeSegment = next ? rangeEnumerator.Current : TextSegment.
Null
;
437
rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.
Null
;
src\Framework\MS\Internal\Annotations\TextAnchor.cs (7)
299
TextSegment otherSegment = TextSegment.
Null
;
302
Invariant.Assert(otherSegment.Equals(TextSegment.
Null
) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered.");
396
TextSegment currentSegment, otherSegment = TextSegment.
Null
;
404
Invariant.Assert(otherSegment.Equals(TextSegment.
Null
) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered.");
784
if (x.Equals(TextSegment.
Null
))
787
if (y.Equals(TextSegment.
Null
))
796
if (y.Equals(TextSegment.
Null
))
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (1)
303
return TextSegment.
Null
;
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
287
TextSegment textSegment = TextSegment.
Null
;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (3)
2284
TextSegment lineRange = TextSegment.
Null
;
2317
TextSegment lineRange = TextSegment.
Null
;
2429
return TextSegment.
Null
;
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (1)
398
return TextSegment.
Null
;
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
215
TextSegment autoWordRange = TextSegment.
Null
;
231
autoWordRange = TextSegment.
Null
;