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