28 references to IsNull
PresentationFramework (28)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
350
while ((ind < _segments.Count) && (!rangeSegment.
IsNull
))
377
Debug.Assert(rangeEnumerator.Current.
IsNull
|| !next ||
425
if (!rangeSegment.
IsNull
)
979
Debug.Assert(!_segment.
IsNull
, "null TextSegment");
MS\Internal\Documents\DocumentViewerHelper.cs (1)
137
if (textSegment.
IsNull
)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
773
if (textSegment.
IsNull
)
System\Windows\Controls\TextAdaptor.cs (1)
136
if (!lineRange.
IsNull
)
System\Windows\Controls\TextRangeAdaptor.cs (3)
602
if (!lineRange.
IsNull
)
624
if (!lineRange.
IsNull
)
785
if (!lineRange.
IsNull
)
System\Windows\Documents\CompositionAdorner.cs (1)
576
if (textSegment.
IsNull
)
System\Windows\Documents\DocumentSequenceTextView.cs (1)
365
if (!childTR.
IsNull
)
System\windows\Documents\TextEditorCharacters.cs (1)
137
if (autoWordRange.
IsNull
)
System\windows\Documents\TextEditorDragDrop.cs (1)
459
if (!lineRange.
IsNull
&&
System\windows\Documents\TextEditorSelection.cs (8)
105
if (lineRange.
IsNull
)
791
if (lineRange.
IsNull
)
842
if (lineRange.
IsNull
)
1594
if (lineRange.
IsNull
)
1639
if (lineRange.
IsNull
)
1662
if (!lineRange.
IsNull
&& anchorLineRange.Start.CompareTo(This.Selection.AnchorPosition) == 0)
2358
return lineRange.
IsNull
? position : lineRange.Start;
2365
return lineRange.
IsNull
? position : lineRange.End;
System\Windows\Documents\TextPointer.cs (1)
1606
if (!lineRange.
IsNull
)
System\Windows\Documents\TextPointerBase.cs (2)
691
if (lineSegment.
IsNull
)
835
if (!lineRange.
IsNull
)
System\windows\Documents\TextSegment.cs (1)
95
return (!this.
IsNull
&& this._start.CompareTo(position) <= 0 && position.CompareTo(this._end) <= 0);
System\windows\Documents\TextSelection.cs (1)
1267
if (autoWordRange.
IsNull
)
System\Windows\Documents\TextStore.cs (1)
1077
if (!lineRange.
IsNull
)