70 references to ValidationHelper
PresentationFramework (70)
src\Framework\MS\Internal\Documents\TextDocumentView.cs (13)
99
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
127
ValidationHelper
.VerifyPosition(_textContainer, startPosition, "startPosition");
128
ValidationHelper
.VerifyPosition(_textContainer, endPosition, "endPosition");
243
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
294
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
313
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
314
ValidationHelper
.VerifyDirection(direction, "direction");
333
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
352
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
373
ValidationHelper
.VerifyPosition(_textContainer, start, "start");
374
ValidationHelper
.VerifyPosition(_textContainer, end, "end");
375
ValidationHelper
.VerifyPositionPair(start, end);
400
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
src\Framework\MS\Internal\Documents\TextParagraphView.cs (10)
107
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
133
ValidationHelper
.VerifyPosition(_textContainer, startPosition, "startPosition");
134
ValidationHelper
.VerifyDirection(startPosition.LogicalDirection, "startPosition.LogicalDirection");
135
ValidationHelper
.VerifyPosition(_textContainer, endPosition, "endPosition");
160
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
220
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
239
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
262
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
292
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
314
ValidationHelper
.VerifyPosition(_textContainer, position, "position");
src\Framework\System\Windows\Controls\RichTextBox.cs (3)
236
ValidationHelper
.VerifyPosition(this.TextContainer, position);
255
ValidationHelper
.VerifyPosition(this.TextContainer, position);
281
ValidationHelper
.VerifyPosition(this.TextContainer, position);
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (6)
645
ValidationHelper
.VerifyDirection(direction, "direction");
656
ValidationHelper
.VerifyDirection(direction, "direction");
667
ValidationHelper
.VerifyDirection(direction, "direction");
699
ValidationHelper
.VerifyDirection(direction, "direction");
710
ValidationHelper
.VerifyDirection(direction, "direction");
797
ValidationHelper
.VerifyDirection(gravity, "gravity");
src\Framework\System\Windows\Documents\FixedTextPointer.cs (9)
108
ValidationHelper
.VerifyDirection(direction, "direction");
118
ValidationHelper
.VerifyDirection(direction, "direction");
138
ValidationHelper
.VerifyDirection(direction, "direction");
161
ValidationHelper
.VerifyDirection(direction, "direction");
176
ValidationHelper
.VerifyDirection(direction, "direction");
293
ValidationHelper
.VerifyDirection(gravity, "gravity");
402
ValidationHelper
.VerifyDirection(direction, "direction");
443
ValidationHelper
.VerifyElementEdge(edge, "edge");
697
ValidationHelper
.VerifyDirection(value, "value");
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
229
ValidationHelper
.VerifyDirection(direction, "gravity");
src\Framework\System\Windows\Documents\TextEffectResolver.cs (1)
57
ValidationHelper
.VerifyPositionPair(startPosition, endPosition);
src\Framework\System\Windows\Documents\TextElement.cs (2)
106
ValidationHelper
.VerifyPositionPair(start, end);
421
ValidationHelper
.VerifyPosition(tree, position);
src\Framework\System\Windows\Documents\TextPointer.cs (19)
479
ValidationHelper
.VerifyPosition(_tree, position);
557
ValidationHelper
.VerifyDirection(direction, "direction");
579
ValidationHelper
.VerifyDirection(direction, "direction");
695
ValidationHelper
.VerifyPosition(_tree, position);
750
ValidationHelper
.VerifyDirection(direction, "direction");
790
ValidationHelper
.VerifyDirection(direction, "direction");
822
ValidationHelper
.VerifyDirection(direction, "direction");
1261
ValidationHelper
.VerifyDirection(direction, "direction");
1407
ValidationHelper
.ValidateChild(this, textElement, "textElement");
1873
ValidationHelper
.VerifyPosition(_tree, textPosition);
1995
ValidationHelper
.VerifyDirection(direction, "direction");
2051
ValidationHelper
.VerifyDirection(direction, "direction");
2094
ValidationHelper
.VerifyDirection(direction, "direction");
2169
ValidationHelper
.ValidateChild(this, uiElement, "uiElement");
2211
ValidationHelper
.VerifyDirection(direction, "direction");
2361
ValidationHelper
.VerifyDirection(logicalDirection, "logicalDirection");
2438
ValidationHelper
.VerifyDirection(direction, "direction");
2457
ValidationHelper
.VerifyPosition(_tree, position);
2652
ValidationHelper
.VerifyElementEdge(edge, "edge");
src\Framework\System\Windows\Documents\TextRange.cs (2)
88
ValidationHelper
.VerifyPosition(position1.TextContainer, position1, "position1");
89
ValidationHelper
.VerifyPosition(position1.TextContainer, position2, "position2");
src\Framework\System\Windows\Documents\TextRangeBase.cs (3)
170
ValidationHelper
.VerifyPosition(thisRange.Start.TextContainer, position1, "position1");
171
ValidationHelper
.VerifyPosition(thisRange.Start.TextContainer, position2, "position2");
1732
ValidationHelper
.VerifyPositionPair(start, end);
src\Framework\System\windows\Documents\TextSegment.cs (1)
65
ValidationHelper
.VerifyPositionPair(startPosition, endPosition);