2010-06-04 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1503-4.cs
blob2215b255fa77aec014f40396ba29057eef6fe9aa
1 // CS1503: Argument `#1' cannot convert `A' expression to type `B'
2 // Line: 17
4 class A { }
5 class B : A { }
7 class Test
9 static void Foo (out B b)
11 b = new B ();
14 static void Main ()
16 A a;
17 Foo (out a);