Update mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/RelaxngPattern.cs
[mono.git] / mcs / errors / cs1503-4.cs
1 // CS1503: Argument `#1' cannot convert `A' expression to type `B'
2 // Line: 17
3
4 class A { }
5 class B : A { }
6
7 class Test
8 {
9         static void Foo (out B b)
10         {
11                 b = new B ();
12         }
13
14         static void Main ()
15         {
16                 A a;
17                 Foo (out a);
18         }
19 }