Browse Source

Add attributes also to the "Attribute.Attrs" member, not only to Sections.

newNRvisualizers
Erik Källén 13 years ago
parent
commit
8c129cd076
  1. 3
      ICSharpCode.NRefactory.CSharp/Parser/mcs/attribute.cs

3
ICSharpCode.NRefactory.CSharp/Parser/mcs/attribute.cs

@ -1154,9 +1154,8 @@ namespace Mono.CSharp {
{ {
#if FULL_AST #if FULL_AST
Sections.Add (attrs); Sections.Add (attrs);
#else
Attrs.AddRange (attrs);
#endif #endif
Attrs.AddRange (attrs);
} }
public void AttachTo (Attributable attributable, IMemberContext context) public void AttachTo (Attributable attributable, IMemberContext context)

Loading…
Cancel
Save