72 references to ValidationHelper
PresentationFramework (72)
MS\Internal\Documents\TextDocumentView.cs (13)
89ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 117ValidationHelper.VerifyPosition(_textContainer, startPosition, nameof(startPosition)); 118ValidationHelper.VerifyPosition(_textContainer, endPosition, nameof(endPosition)); 232ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 283ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 302ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 303ValidationHelper.VerifyDirection(direction, "direction"); 322ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 341ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 362ValidationHelper.VerifyPosition(_textContainer, start, nameof(start)); 363ValidationHelper.VerifyPosition(_textContainer, end, nameof(end)); 364ValidationHelper.VerifyPositionPair(start, end); 389ValidationHelper.VerifyPosition(_textContainer, position, nameof(position));
MS\Internal\Documents\TextParagraphView.cs (10)
90ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 110ValidationHelper.VerifyPosition(_textContainer, startPosition, nameof(startPosition)); 111ValidationHelper.VerifyDirection(startPosition.LogicalDirection, "startPosition.LogicalDirection"); 112ValidationHelper.VerifyPosition(_textContainer, endPosition, nameof(endPosition)); 134ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 194ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 213ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 236ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 263ValidationHelper.VerifyPosition(_textContainer, position, nameof(position)); 282ValidationHelper.VerifyPosition(_textContainer, position, nameof(position));
System\Windows\Controls\RichTextBox.cs (3)
223ValidationHelper.VerifyPosition(this.TextContainer, position); 242ValidationHelper.VerifyPosition(this.TextContainer, position); 268ValidationHelper.VerifyPosition(this.TextContainer, position);
System\Windows\Documents\DocumentSequenceTextPointer.cs (6)
631ValidationHelper.VerifyDirection(direction, "direction"); 642ValidationHelper.VerifyDirection(direction, "direction"); 653ValidationHelper.VerifyDirection(direction, "direction"); 682ValidationHelper.VerifyDirection(direction, "direction"); 693ValidationHelper.VerifyDirection(direction, "direction"); 774ValidationHelper.VerifyDirection(gravity, "gravity");
System\Windows\Documents\FixedTextPointer.cs (9)
94ValidationHelper.VerifyDirection(direction, "direction"); 104ValidationHelper.VerifyDirection(direction, "direction"); 124ValidationHelper.VerifyDirection(direction, "direction"); 144ValidationHelper.VerifyDirection(direction, "direction"); 159ValidationHelper.VerifyDirection(direction, "direction"); 270ValidationHelper.VerifyDirection(gravity, "gravity"); 379ValidationHelper.VerifyDirection(direction, "direction"); 420ValidationHelper.VerifyElementEdge(edge, "edge"); 670ValidationHelper.VerifyDirection(value, "value");
System\Windows\Documents\NullTextNavigator.cs (1)
221ValidationHelper.VerifyDirection(direction, "gravity");
System\Windows\Documents\TextEffectResolver.cs (1)
43ValidationHelper.VerifyPositionPair(startPosition, endPosition);
System\Windows\Documents\TextElement.cs (2)
96ValidationHelper.VerifyPositionPair(start, end); 400ValidationHelper.VerifyPosition(tree, position);
System\Windows\Documents\TextPointer.cs (21)
462ValidationHelper.VerifyPosition(_tree, position); 540ValidationHelper.VerifyDirection(direction, "direction"); 562ValidationHelper.VerifyDirection(direction, "direction"); 678ValidationHelper.VerifyPosition(_tree, position); 733ValidationHelper.VerifyDirection(direction, "direction"); 773ValidationHelper.VerifyDirection(direction, "direction"); 805ValidationHelper.VerifyDirection(direction, "direction"); 1244ValidationHelper.VerifyDirection(direction, "direction"); 1387ValidationHelper.ValidateChild(this, textElement, nameof(textElement)); 1850ValidationHelper.VerifyPosition(_tree, textPosition); 1972ValidationHelper.VerifyDirection(direction, "direction"); 2028ValidationHelper.VerifyDirection(direction, "direction"); 2071ValidationHelper.VerifyDirection(direction, "direction"); 2143ValidationHelper.ValidateChild(this, uiElement, nameof(uiElement)); 2185ValidationHelper.VerifyDirection(direction, "direction"); 2335ValidationHelper.VerifyDirection(logicalDirection, "logicalDirection"); 2412ValidationHelper.VerifyDirection(direction, "direction"); 2431ValidationHelper.VerifyPosition(_tree, position); 2620ValidationHelper.VerifyElementEdge(edge, "edge"); 2679ValidationHelper.VerifyDirection(contentDirection, "contentDirection"); 2713ValidationHelper.VerifyDirection(direction, "direction");
System\Windows\Documents\TextRange.cs (2)
88ValidationHelper.VerifyPosition(position1.TextContainer, position1, nameof(position1)); 89ValidationHelper.VerifyPosition(position1.TextContainer, position2, nameof(position2));
System\Windows\Documents\TextRangeBase.cs (3)
161ValidationHelper.VerifyPosition(thisRange.Start.TextContainer, position1, nameof(position1)); 162ValidationHelper.VerifyPosition(thisRange.Start.TextContainer, position2, nameof(position2)); 1700ValidationHelper.VerifyPositionPair(start, end);
System\windows\Documents\TextSegment.cs (1)
61ValidationHelper.VerifyPositionPair(startPosition, endPosition);