Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs1972.cs
blob550a6c2e9542a306a00fa820db22db8d325015ad
1 // CS1972: The indexer base access cannot be dynamically dispatched. Consider casting the dynamic arguments or eliminating the base access
2 // Line: 18
4 class A
6 public int this [int i] {
7 get {
8 return i;
13 class B : A
15 public void Test ()
17 dynamic d = null;
18 var r = base [d];