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