Skip to content

[WinForms] Deprecate Switch.System.Windows.Forms.DontSupportReentrantFilterMessage quirk #14157

@RussKie

Description

@RussKie

Deprecate Switch.System.Windows.Forms.DontSupportReentrantFilterMessage quirk

See Switch.System.Windows.Forms.DontSupportReentrantFilterMessage compatibility switch not supported for updated documentation for this change.

Deprecate Switch.System.Windows.Forms.DontSupportReentrantFilterMessage quirk

Version introduced

3.0 Preview9

Old behavior

Switch.System.Windows.Forms.DontSupportReentrantFilterMessage was introduced in .NET Framework 4.6.1 to address possible IndexOutOfRangeException exceptions when the Application.FilterMessage method was called.
For more information please refer to

New behavior

The switch is deprecated, and no alternative functionality is available.

Reason for change

.NET Core 3.0 is a new moderm development platform, and it brings significantly simpler servicing scenarios, thus allowing for removal of quirks targeting specific legacy use cases.

Recommended action

Remove the switch.
Migrate the code dependent on the switch to handle IndexOutOfRangeException exceptions.

Category

  • Windows Forms

Affected APIs

Not detectable via API analysis


Issue metadata

  • Issue type: breaking-change

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeIndicates a .NET Core breaking change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions