1 write to testString
System (1)
compmod\system\componentmodel\MaskedTextProvider.cs (1)
312
this.
testString
= new StringBuilder();
67 references to testString
System (67)
compmod\system\componentmodel\MaskedTextProvider.cs (67)
442
this.
testString
.Append(chVal);
451
this.
testString
.Capacity = this.
testString
.Length;
532
for (int position = 0; position < this.
testString
.Length; position++)
538
clonedProvider.Replace(this.
testString
[position], position);
690
return FindAssignedEditPositionFrom( this.
testString
.Length - 1, backward );
701
return this.
testString
.Length;
800
for(int position = 0; position < this.
testString
.Length; position++ )
806
this.
testString
[position] = this.promptChar;
880
if( index < 0 || index >= this.
testString
.Length )
885
return this.
testString
[index];
915
if( lastAssignedPos == this.
testString
.Length - 1 ) // at the last edit char position.
917
testPosition = this.
testString
.Length;
929
testPosition = this.
testString
.Length;
1003
for( int position = 0; position < this.
testString
.Length; position++ )
1027
endPosition = this.
testString
.Length - 1;
1067
endPosition = this.
testString
.Length - 1;
1160
endPosition = this.
testString
.Length - 1;
1195
if (endPosition >= this.
testString
.Length)
1197
endPosition = this.
testString
.Length - 1;
1236
endPosition = this.
testString
.Length - 1;
1299
if (position < 0 || position >= this.
testString
.Length)
1348
if (position < 0 || position >= this.
testString
.Length)
1370
Debug.Assert(input != null && position >= 0 && position < this.
testString
.Length, "input param out of range.");
1391
if( shiftNeeded && (testPosition == this.
testString
.Length - 1)) // no room for shifting.
1394
testPosition = this.
testString
.Length;
1411
testPosition = this.
testString
.Length;
1419
if (!TestChar(this.
testString
[srcPos], dstPos, out tempHint))
1457
SetChar(this.
testString
[srcPos], dstPos);
1514
if (position < 0 || position >= this.
testString
.Length)
1529
if (position < 0 || position >= this.
testString
.Length)
1652
if (endPosition >= this.
testString
.Length)
1682
Debug.Assert(startPosition >= 0 && startPosition <= endPosition && endPosition < this.
testString
.Length, "Out of range input value.");
1719
char srcCh = this.
testString
[srcPos];
1759
char srcCh = this.
testString
[srcPos];
1818
if (position < 0 || position >= this.
testString
.Length)
1863
if (endPosition >= this.
testString
.Length)
1917
if (position < 0 || position >= this.
testString
.Length)
1956
if (endPosition >= this.
testString
.Length)
2027
testPosition = this.
testString
.Length;
2032
if (!TestChar(this.
testString
[srcPos], dstPos, out tempHint))
2058
SetChar(this.
testString
[srcPos], dstPos);
2082
this.
testString
[testPosition] = this.promptChar;
2100
Debug.Assert( startPosition >= 0 && endPosition >= 0 && endPosition >= startPosition && endPosition < this.
testString
.Length, "position out of range." );
2164
ResetString(resetPos, this.
testString
.Length - 1);
2176
Debug.Assert(position >= 0 && position < this.
testString
.Length, "Position out of range.");
2188
Debug.Assert(position >= 0 && position < this.
testString
.Length, "Position out of range.");
2222
this.
testString
[position] = input;
2313
Debug.Assert(position >= 0 && position < this.
testString
.Length, "Position out of range.");
2329
if (this.SkipLiterals && (input == this.
testString
[position]))
2481
if (input == this.
testString
[position] && charDex.IsAssigned) // setting char would not make any difference
2510
return this.SkipLiterals && input == this.
testString
[position];
2589
if( testPosition >= this.
testString
.Length )
2602
testPosition = this.
testString
.Length;
2637
return this.
testString
.ToString();
2641
StringBuilder st = new StringBuilder(this.
testString
.Length);
2643
for (int position = 0; position < this.
testString
.Length; position++)
2646
st.Append(IsEditPosition(chDex) && chDex.IsAssigned ? this.passwordChar : this.
testString
[position]);
2658
return ToString(/*ignorePwdChar*/ true, this.IncludePrompt, this.IncludeLiterals, 0, this.
testString
.Length);
2667
return ToString(ignorePasswordChar, this.IncludePrompt, this.IncludeLiterals, 0, this.
testString
.Length);
2697
return ToString( /*ignorePwdChar*/ true, includePrompt, includeLiterals, 0, this.
testString
.Length );
2728
if (startPosition >= this.
testString
.Length)
2734
int maxLength = this.
testString
.Length - startPosition;
2746
return this.
testString
.ToString(startPosition, length); // testString contains just what the user is asking for.
2779
char ch = this.
testString
[index];
2829
if (position < 0 || position >= this.
testString
.Length)
2843
if (position < 0 || position >= this.
testString
.Length)