System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (50)
78private static readonly int s_queryBaseText = BitVector32.CreateMask(s_isNullMask);
112_flagState[s_isNullMask] = true;
124_flagState[s_isNullMask] = false;
135_flagState[s_isNullMask] = false;
151if (!_flagState[s_isNullMask])
458if (!_flagState[s_isNullMask] && !Focused && !MaskFull && !DesignMode)
550if (_flagState[s_isNullMask])
633return _flagState[s_isNullMask] ? string.Empty : _maskedTextProvider.Mask;
643if (_flagState[s_isNullMask] == string.IsNullOrEmpty(value) && (_flagState[s_isNullMask] || value == _maskedTextProvider.Mask))
661_flagState[s_isNullMask] = true;
694if (_flagState[s_isNullMask])
766return _flagState[s_isNullMask] ? null : (MaskedTextProvider)_maskedTextProvider.Clone();
859if (_flagState[s_isNullMask])
940if (!_flagState[s_isNullMask])
1033if (_flagState[s_isNullMask])
1048if (_flagState[s_isNullMask])
1145if (_flagState[s_isNullMask] || _flagState[s_queryBaseText])
1154if (_flagState[s_isNullMask])
1200if (_flagState[s_isNullMask])
1223Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
1312string? oldText = _flagState[s_isNullMask] ? null : TextOutput;
1344if (_flagState[s_isNullMask])
1414if (_flagState[s_isNullMask])
1484if (!_flagState[s_isNullMask] && RecreatingHandle)
1499Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
1655if (_flagState[s_isNullMask])
1694Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
1772Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
1817if (_flagState[s_isNullMask] && _maskedTextProvider.IsPassword)
1842if (_flagState[s_isNullMask])
1954if (_flagState[s_isNullMask])
2058Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2158Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2277Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2308if (!_flagState[s_isNullMask] && !_maskedTextProvider.MaskCompleted)
2316if (!_flagState[s_isNullMask]) // replace prompt with space.
2384Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2448if (_flagState[s_isNullMask])
2506if (_flagState[s_isNullMask] && textOnInitializingMask is null)
2582if (_flagState[s_isNullMask])
2584_flagState[s_isNullMask] = false;
2699Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2718Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2756Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2805Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2862Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2929if (_flagState[s_isNullMask])
2998Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
3017Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");