quote only work on lambda on net_4_0
[mcs.git] / errors / dcs1971.cs
blob203403bb35a7e86a57ee8b2ccfc77dc56418661b
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
5 class A
7 public void Foo (int i)
12 class B : A
14 public void Test ()
16 dynamic d = null;
17 var r = base.Foo (d);