-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
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
- https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/mitigation-custom-imessagefilter-prefiltermessage-implementations.
- https://github.com/dotnet/docs/blob/master/docs/framework/configure-apps/file-schema/runtime/appcontextswitchoverrides-element.md.
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