Add unit tests for MaskedTextBox to test its properties: MaskedTextBox_RejectInputOnFirstFailure, ResetOnPrompt, ValidatingType, PromptChar, PasswordChar.
Add unit tests for MaskedTextBox to test its events: TypeValidationCompletedEvent.
Add unit tests for MaskedTextBox to test its methods: GetCharFromPosition, GetCharIndexFromPosition, GetPositionFromCharIndex, ValidateText.
Related https://github.com/dotnet/winforms/issues/10453
Proposed changes
Add unit tests for MaskedTextBox to test its methods: GetCharFromPosition, GetCharIndexFromPosition, GetPositionFromCharIndex, ValidateText.
Microsoft Reviewers: Open in CodeFlow