diff options
author | Marek Safar <marek.safar@gmail.com> | 2013-03-22 18:49:27 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2013-03-22 18:49:27 +0400 |
commit | 0873dd811f5cf0889bc5dbca665a02f0183d6453 (patch) | |
tree | baa4b6e3a289db60183455764033b207afc5153e /mcs | |
parent | 19e7a81b9b4e99ae2c3588fed99b15affac2df16 (diff) |
Don't report error for incomplete member type
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/mcs/class.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mcs/mcs/class.cs b/mcs/mcs/class.cs index 24a6bf223eb..01a545d622a 100644 --- a/mcs/mcs/class.cs +++ b/mcs/mcs/class.cs @@ -3523,7 +3523,9 @@ namespace Mono.CSharp { this.Parent = parent; this.type_expr = type; - ModFlags = ModifiersExtensions.Check (allowed_mod, mod, def_mod, Location, Report); + + if (name != MemberName.Null) + ModFlags = ModifiersExtensions.Check (allowed_mod, mod, def_mod, Location, Report); } #region Properties |