Making sure that "in" matches exactly in method group conversions.
It looks like method group conversions apply regular method overload resolution when resolving target method group. However we know that in such scenario, unlike the regular argument passing, "byval" cannot match "in". We should reject candidates with in/val mismatches when doing overload resolution for group conversion purposes. Otherwise we may encounter false ambiguity errors or even pick wrong candidates that crash at run time. Fixes:#23319
Showing
想要评论请 注册 或 登录