18 references to Null
PresentationFramework (18)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (3)
357
TextSegment rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.
Null
;
388
rangeSegment = next ? rangeEnumerator.Current : TextSegment.
Null
;
427
rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.
Null
;
MS\Internal\Annotations\TextAnchor.cs (7)
292
TextSegment otherSegment = TextSegment.
Null
;
295
Invariant.Assert(otherSegment.Equals(TextSegment.
Null
) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered.");
389
TextSegment currentSegment, otherSegment = TextSegment.
Null
;
397
Invariant.Assert(otherSegment.Equals(TextSegment.
Null
) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered.");
777
if (x.Equals(TextSegment.
Null
))
780
if (y.Equals(TextSegment.
Null
))
789
if (y.Equals(TextSegment.
Null
))
MS\Internal\Documents\DocumentPageTextView.cs (1)
301
return TextSegment.
Null
;
MS\Internal\Documents\MultiPageTextView.cs (1)
284
TextSegment textSegment = TextSegment.
Null
;
MS\Internal\Documents\TextDocumentView.cs (3)
2276
TextSegment lineRange = TextSegment.
Null
;
2309
TextSegment lineRange = TextSegment.
Null
;
2421
return TextSegment.
Null
;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
383
return TextSegment.
Null
;
System\Windows\Documents\TextRangeBase.cs (2)
207
TextSegment autoWordRange = TextSegment.
Null
;
223
autoWordRange = TextSegment.
Null
;