28 references to IsNull
PresentationFramework (28)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
358
while ((ind < _segments.Count) && (!rangeSegment.
IsNull
))
385
Debug.Assert(rangeEnumerator.Current.
IsNull
|| !next ||
433
if (!rangeSegment.
IsNull
)
990
Debug.Assert(!_segment.
IsNull
, "null TextSegment");
MS\Internal\Documents\DocumentViewerHelper.cs (1)
140
if (textSegment.
IsNull
)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
793
if (textSegment.
IsNull
)
System\Windows\Controls\TextAdaptor.cs (1)
137
if (!lineRange.
IsNull
)
System\Windows\Controls\TextRangeAdaptor.cs (3)
605
if (!lineRange.
IsNull
)
627
if (!lineRange.
IsNull
)
788
if (!lineRange.
IsNull
)
System\Windows\Documents\CompositionAdorner.cs (1)
581
if (textSegment.
IsNull
)
System\Windows\Documents\DocumentSequenceTextView.cs (1)
374
if (!childTR.
IsNull
)
System\windows\Documents\TextEditorCharacters.cs (1)
154
if (autoWordRange.
IsNull
)
System\windows\Documents\TextEditorDragDrop.cs (1)
477
if (!lineRange.
IsNull
&&
System\windows\Documents\TextEditorSelection.cs (8)
121
if (lineRange.
IsNull
)
807
if (lineRange.
IsNull
)
858
if (lineRange.
IsNull
)
1610
if (lineRange.
IsNull
)
1655
if (lineRange.
IsNull
)
1678
if (!lineRange.
IsNull
&& anchorLineRange.Start.CompareTo(This.Selection.AnchorPosition) == 0)
2374
return lineRange.
IsNull
? position : lineRange.Start;
2381
return lineRange.
IsNull
? position : lineRange.End;
System\Windows\Documents\TextPointer.cs (1)
1612
if (!lineRange.
IsNull
)
System\Windows\Documents\TextPointerBase.cs (2)
694
if (lineSegment.
IsNull
)
838
if (!lineRange.
IsNull
)
System\windows\Documents\TextSegment.cs (1)
97
return (!this.
IsNull
&& this._start.CompareTo(position) <= 0 && position.CompareTo(this._end) <= 0);
System\windows\Documents\TextSelection.cs (1)
1286
if (autoWordRange.
IsNull
)
System\Windows\Documents\TextStore.cs (1)
1092
if (!lineRange.
IsNull
)