28 references to IsNull
PresentationFramework (28)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
351
while ((ind < _segments.Count) && (!rangeSegment.
IsNull
))
378
Debug.Assert(rangeEnumerator.Current.
IsNull
|| !next ||
426
if (!rangeSegment.
IsNull
)
983
Debug.Assert(!_segment.
IsNull
, "null TextSegment");
MS\Internal\Documents\DocumentViewerHelper.cs (1)
138
if (textSegment.
IsNull
)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
777
if (textSegment.
IsNull
)
System\Windows\Controls\TextAdaptor.cs (1)
134
if (!lineRange.
IsNull
)
System\Windows\Controls\TextRangeAdaptor.cs (3)
603
if (!lineRange.
IsNull
)
625
if (!lineRange.
IsNull
)
786
if (!lineRange.
IsNull
)
System\Windows\Documents\CompositionAdorner.cs (1)
580
if (textSegment.
IsNull
)
System\Windows\Documents\DocumentSequenceTextView.cs (1)
366
if (!childTR.
IsNull
)
System\windows\Documents\TextEditorCharacters.cs (1)
138
if (autoWordRange.
IsNull
)
System\windows\Documents\TextEditorDragDrop.cs (1)
460
if (!lineRange.
IsNull
&&
System\windows\Documents\TextEditorSelection.cs (8)
106
if (lineRange.
IsNull
)
792
if (lineRange.
IsNull
)
843
if (lineRange.
IsNull
)
1595
if (lineRange.
IsNull
)
1640
if (lineRange.
IsNull
)
1663
if (!lineRange.
IsNull
&& anchorLineRange.Start.CompareTo(This.Selection.AnchorPosition) == 0)
2359
return lineRange.
IsNull
? position : lineRange.Start;
2366
return lineRange.
IsNull
? position : lineRange.End;
System\Windows\Documents\TextPointer.cs (1)
1607
if (!lineRange.
IsNull
)
System\Windows\Documents\TextPointerBase.cs (2)
692
if (lineSegment.
IsNull
)
836
if (!lineRange.
IsNull
)
System\windows\Documents\TextSegment.cs (1)
96
return (!this.
IsNull
&& this._start.CompareTo(position) <= 0 && position.CompareTo(this._end) <= 0);
System\windows\Documents\TextSelection.cs (1)
1283
if (autoWordRange.
IsNull
)
System\Windows\Documents\TextStore.cs (1)
1081
if (!lineRange.
IsNull
)