1 write to _testString
System.ComponentModel.TypeConverter (1)
System\ComponentModel\MaskedTextProvider.cs (1)
289
_testString
= new StringBuilder();
68 references to _testString
System.ComponentModel.TypeConverter (68)
System\ComponentModel\MaskedTextProvider.cs (68)
285
[MemberNotNull(nameof(
_testString
))]
419
_testString
.Append(chVal);
428
_testString
.Capacity =
_testString
.Length;
490
for (int position = 0; position <
_testString
.Length; position++)
496
clonedProvider.Replace(
_testString
[position], position);
616
public int LastAssignedPosition => FindAssignedEditPositionFrom(
_testString
.Length - 1, BACKWARD);
621
public int Length =>
_testString
.Length;
712
for (int position = 0; position <
_testString
.Length; position++)
718
_testString
[position] = _promptChar;
792
if (index < 0 || index >=
_testString
.Length)
797
return
_testString
[index];
825
if (lastAssignedPos ==
_testString
.Length - 1) // at the last edit char position.
827
testPosition =
_testString
.Length;
839
testPosition =
_testString
.Length;
907
for (int position = 0; position <
_testString
.Length; position++)
931
endPosition =
_testString
.Length - 1;
971
endPosition =
_testString
.Length - 1;
1064
endPosition =
_testString
.Length - 1;
1099
if (endPosition >=
_testString
.Length)
1101
endPosition =
_testString
.Length - 1;
1140
endPosition =
_testString
.Length - 1;
1202
if (position < 0 || position >=
_testString
.Length)
1245
if (position < 0 || position >=
_testString
.Length)
1266
Debug.Assert(input != null && position >= 0 && position <
_testString
.Length, "input param out of range.");
1287
if (shiftNeeded && (testPosition ==
_testString
.Length - 1)) // no room for shifting.
1290
testPosition =
_testString
.Length;
1307
testPosition =
_testString
.Length;
1315
if (!TestChar(
_testString
[srcPos], dstPos, out tempHint))
1353
SetChar(
_testString
[srcPos], dstPos);
1394
if (position < 0 || position >=
_testString
.Length)
1408
if (position < 0 || position >=
_testString
.Length)
1526
if (endPosition >=
_testString
.Length)
1554
Debug.Assert(startPosition >= 0 && startPosition <= endPosition && endPosition <
_testString
.Length, "Out of range input value.");
1591
char srcCh =
_testString
[srcPos];
1631
char srcCh =
_testString
[srcPos];
1688
if (position < 0 || position >=
_testString
.Length)
1732
if (endPosition >=
_testString
.Length)
1779
if (position < 0 || position >=
_testString
.Length)
1814
if (endPosition >=
_testString
.Length)
1883
testPosition =
_testString
.Length;
1888
if (!TestChar(
_testString
[srcPos], dstPos, out tempHint))
1914
SetChar(
_testString
[srcPos], dstPos);
1938
_testString
[testPosition] = _promptChar;
1956
Debug.Assert(startPosition >= 0 && endPosition >= 0 && endPosition >= startPosition && endPosition <
_testString
.Length, "position out of range.");
2013
ResetString(resetPos,
_testString
.Length - 1);
2025
Debug.Assert(position >= 0 && position <
_testString
.Length, "Position out of range.");
2037
Debug.Assert(position >= 0 && position <
_testString
.Length, "Position out of range.");
2071
_testString
[position] = input;
2162
Debug.Assert(position >= 0 && position <
_testString
.Length, "Position out of range.");
2178
if (SkipLiterals && (input ==
_testString
[position]))
2330
if (input ==
_testString
[position] && charDex.IsAssigned) // setting char would not make any difference
2358
return SkipLiterals && input ==
_testString
[position];
2437
if (testPosition >=
_testString
.Length)
2450
testPosition =
_testString
.Length;
2485
return
_testString
.ToString();
2489
StringBuilder st = new StringBuilder(
_testString
.Length);
2491
for (int position = 0; position <
_testString
.Length; position++)
2494
st.Append(IsEditPosition(chDex) && chDex.IsAssigned ? _passwordChar :
_testString
[position]);
2506
return ToString(/*ignorePwdChar*/ true, IncludePrompt, IncludeLiterals, 0,
_testString
.Length);
2515
return ToString(ignorePasswordChar, IncludePrompt, IncludeLiterals, 0,
_testString
.Length);
2545
return ToString( /*ignorePwdChar*/ true, includePrompt, includeLiterals, 0,
_testString
.Length);
2575
if (startPosition >=
_testString
.Length)
2580
int maxLength =
_testString
.Length - startPosition;
2591
return
_testString
.ToString(startPosition, length); // testString contains just what the user is asking for.
2624
char ch =
_testString
[index];
2672
if (position < 0 || position >=
_testString
.Length)
2686
if (position < 0 || position >=
_testString
.Length)