Fix special handling of Winforms Reset method in IDE0051 (RemoveUnusedMembers)
My previous fix to #30887 added special handling for special Winforms method with prefix "ShouldSerialize" or "Reset". However, I incorrectly required both these methods to have boolean return type, while only the former should have boolean return. Reset methods needs to be void returning. This change fixes this case. Fixes #38491 reported on developer community for this bug.
Showing
想要评论请 注册 或 登录