[xbuild] Fix bug #676671. Raise AnyEvent .
[mono.git] / mcs / errors / dcs1971.cs
1 // CS1971: The base call to method `Foo' cannot be dynamically dispatched. Consider casting the dynamic arguments or eliminating the base access
2 // Line: 16
3 // Compiler options: -langversion:future
4
5 class A
6 {
7         public void Foo (int i)
8         {
9         }
10 }
11
12 class B : A
13 {
14         public void Test ()
15         {
16                 dynamic d = null;
17                 var r = base.Foo (d);
18         }
19 }