projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mcs] Don't report hiding warnings for compiler generated fields
[mono.git]
/
mcs
/
mcs
/
field.cs
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 ();
}