prog.cs(9,6): error CS1502: The best overloaded method match for `Program.Foo(IInterface)' has some invalid arguments
prog.cs(6,24): (Location of the symbol related to previous error)
prog.cs(9,10): error CS1503: Argument `#1' cannot convert `MyClass' expression to type `IInterface'
Compilation failed: 2 error(s), 0 warnings