Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2013-03-22 18:49:27 +0400
committerMarek Safar <marek.safar@gmail.com>2013-03-22 18:49:27 +0400
commit0873dd811f5cf0889bc5dbca665a02f0183d6453 (patch)
treebaa4b6e3a289db60183455764033b207afc5153e /mcs
parent19e7a81b9b4e99ae2c3588fed99b15affac2df16 (diff)
Don't report error for incomplete member type
Diffstat (limited to 'mcs')
-rw-r--r--mcs/mcs/class.cs4
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