Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs1503-4.cs
blobe72574fa77ba7eb29478c60a48f7b565b7205b32
1 // CS1503: Argument `#1' cannot convert `out A' expression to type `out 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);