+2005-05-12 Martin Baulig <martin@ximian.com>
+
+ * cs-parser.jay (property_declaration): Pass the `current_class',
+ not the `current_container' to Property's .ctor. Fixes #74912.
+
2005-05-11 Martin Baulig <martin@ximian.com>
* typemanager.cs (Closure): Copy this from MCS and merge all the
if (name.TypeArguments != null)
syntax_error (lexer.Location, "a property can't have type arguments");
- prop = new Property (current_container, (Expression) $3, (int) $2, false,
+ prop = new Property (current_class, (Expression) $3, (int) $2, false,
name, (Attributes) $1, get_block, set_block, loc);
if (SimpleIteratorContainer.Simple.Yields)
prop.SetYields ();