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 #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs1540-14.cs
blob
90c65b515a0e1f6f688e0d38cbfdecfd1f01fac9
1
// CS1540: Cannot access protected member `object.MemberwiseClone()' via a qualifier of type `anonymous type'. The qualifier must be of type `A' or derived from it
2
// Line: 9
3
4
class
A
5
{
6
public
A
()
7
{
8
var
x
=
new
{ s = "-" }
;
9
x
.
MemberwiseClone
();
10
}
11
}