projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e014ce6
)
[mcs] Don't report hiding warnings for compiler generated fields
author
Marek Safar
<marek.safar@gmail.com>
Mon, 26 May 2014 07:54:33 +0000
(09:54 +0200)
committer
Marek Safar
<marek.safar@gmail.com>
Mon, 26 May 2014 07:55:11 +0000
(09:55 +0200)
mcs/mcs/field.cs
patch
|
blob
|
history
diff --git
a/mcs/mcs/field.cs
b/mcs/mcs/field.cs
index 4b0b21685993678e3891b45c005db46cbadaf61d..278f71e0f1830471ef1bda269a3856f7efafaaf2 100644
(file)
--- a/
mcs/mcs/field.cs
+++ b/
mcs/mcs/field.cs
@@
-223,7
+223,9
@@
namespace Mono.CSharp
if (MemberType.IsStatic)
Error_VariableOfStaticClass (Location, GetSignatureForError (), MemberType, Report);
- CheckBase ();
+ if (!IsCompilerGenerated)
+ CheckBase ();
+
IsTypePermitted ();
}