summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1971.cs
blob: c92e58b7104893cd30e6260db5e61d759b383b75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS1971: The base call to method `Foo' cannot be dynamically dispatched. Consider casting the dynamic arguments or eliminating the base access
// Line: 16

class A
{
	public void Foo (int i)
	{
	}
}

class B : A
{
	public void Test ()
	{
		dynamic d = null;
		var r = base.Foo (d);
	}
}