repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs1972.cs
blob
550a6c2e9542a306a00fa820db22db8d325015ad
1
// CS1972: The indexer base access cannot be dynamically dispatched. Consider casting the dynamic arguments or eliminating the base access
2
// Line: 18
3
4
class
A
5
{
6
public int this
[
int
i
] {
7
get
{
8
return
i
;
9
}
10
}
11
}
12
13
class
B
:
A
14
{
15
public void
Test
()
16
{
17
dynamic
d
=
null
;
18
var
r
=
base
[
d
];
19
}
20
}