projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git]
/
mcs
/
errors
/
cs1540-14.cs
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
}