2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1501-2.cs
blobdfb0ef443cfa7548cc896404969c2d6dc5bc4e1a
1 // CS1501: No overload for method `Foo' takes `0' arguments
2 // Line: 20
4 class A
6 protected virtual void Foo (object[] arr)
11 class B : A
13 protected override void Foo (params object[] arr)
17 static void Bar()
19 B b = new B ();
20 b.Foo ();