Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only allow static methods for applicable members (#3281)
* Only allow static methods for applicable members This fixes a very similar problem to #3277, where this code is unable to be resolved: ```cs interface I1{} interface I2{} public unsafe class C : I1, I2 { void M(I1 i) {} static void M(I2 i) {} public void M1() { delegate*<C, void> a = M; // Ambiguous because both M's are applicable } } ``` With this change, the instance method M is not applicable, so there is no ambiguity.
- Loading branch information