System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (50)
80private static readonly int s_queryBaseText = BitVector32.CreateMask(s_isNullMask);
114_flagState[s_isNullMask] = true;
126_flagState[s_isNullMask] = false;
137_flagState[s_isNullMask] = false;
153if (!_flagState[s_isNullMask])
462if (!_flagState[s_isNullMask] && !Focused && !MaskFull && !DesignMode)
554if (_flagState[s_isNullMask])
637return _flagState[s_isNullMask] ? string.Empty : _maskedTextProvider.Mask;
647if (_flagState[s_isNullMask] == string.IsNullOrEmpty(value) && (_flagState[s_isNullMask] || value == _maskedTextProvider.Mask))
665_flagState[s_isNullMask] = true;
698if (_flagState[s_isNullMask])
770return _flagState[s_isNullMask] ? null : (MaskedTextProvider)_maskedTextProvider.Clone();
863if (_flagState[s_isNullMask])
944if (!_flagState[s_isNullMask])
1037if (_flagState[s_isNullMask])
1052if (_flagState[s_isNullMask])
1149if (_flagState[s_isNullMask] || _flagState[s_queryBaseText])
1158if (_flagState[s_isNullMask])
1204if (_flagState[s_isNullMask])
1227Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
1316string? oldText = _flagState[s_isNullMask] ? null : TextOutput;
1348if (_flagState[s_isNullMask])
1418if (_flagState[s_isNullMask])
1490if (!_flagState[s_isNullMask] && RecreatingHandle)
1505Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
1661if (_flagState[s_isNullMask])
1700Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
1778Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
1823if (_flagState[s_isNullMask] && _maskedTextProvider.IsPassword)
1848if (_flagState[s_isNullMask])
1960if (_flagState[s_isNullMask])
2064Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2164Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2283Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2314if (!_flagState[s_isNullMask] && !_maskedTextProvider.MaskCompleted)
2322if (!_flagState[s_isNullMask]) // replace prompt with space.
2390Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2454if (_flagState[s_isNullMask])
2512if (_flagState[s_isNullMask] && textOnInitializingMask is null)
2588if (_flagState[s_isNullMask])
2590_flagState[s_isNullMask] = false;
2705Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2724Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2762Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2811Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2868Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
2935if (_flagState[s_isNullMask])
3004Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
3023Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");