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