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