The following seems to not result in an error, but should:
namespace ConsoleApp33
{
class Program
{
static void Main(string[] args)
{
var o = new P1();
}
public void Foo(in int z) { }
public void Foo(int z) { }
}
class P1: Program
{
}
}
We should also add tests to make sure we select the correct overload, also in case of in situation of ambiguity (because of inheritance or extension methods)
The following seems to not result in an error, but should:
We should also add tests to make sure we select the correct overload, also in case of in situation of ambiguity (because of inheritance or extension methods)