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