28 references to IsNull
PresentationFramework (28)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
366
while ((ind < _segments.Count) && (!rangeSegment.
IsNull
))
393
Debug.Assert(rangeEnumerator.Current.
IsNull
|| !next ||
444
if (!rangeSegment.
IsNull
)
1007
Debug.Assert(!_segment.
IsNull
, "null TextSegment");
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
155
if (textSegment.
IsNull
)
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
805
if (textSegment.
IsNull
)
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
145
if (!lineRange.
IsNull
)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (3)
613
if (!lineRange.
IsNull
)
635
if (!lineRange.
IsNull
)
796
if (!lineRange.
IsNull
)
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
583
if (textSegment.
IsNull
)
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (1)
389
if (!childTR.
IsNull
)
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
156
if (autoWordRange.
IsNull
)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
489
if (!lineRange.
IsNull
&&
src\Framework\System\windows\Documents\TextEditorSelection.cs (8)
129
if (lineRange.
IsNull
)
816
if (lineRange.
IsNull
)
867
if (lineRange.
IsNull
)
1619
if (lineRange.
IsNull
)
1664
if (lineRange.
IsNull
)
1687
if (!lineRange.
IsNull
&& anchorLineRange.Start.CompareTo(This.Selection.AnchorPosition) == 0)
2383
return lineRange.
IsNull
? position : lineRange.Start;
2390
return lineRange.
IsNull
? position : lineRange.End;
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1626
if (!lineRange.
IsNull
)
src\Framework\System\Windows\Documents\TextPointerBase.cs (2)
699
if (lineSegment.
IsNull
)
843
if (!lineRange.
IsNull
)
src\Framework\System\windows\Documents\TextSegment.cs (1)
99
return (!this.
IsNull
&& this._start.CompareTo(position) <= 0 && position.CompareTo(this._end) <= 0);
src\Framework\System\windows\Documents\TextSelection.cs (1)
1289
if (autoWordRange.
IsNull
)
src\Framework\System\Windows\Documents\TextStore.cs (1)
952
if (!lineRange.
IsNull
)