In mcs:
authorRaja R Harinath <harinath@hurrynot.org>
Fri, 8 Apr 2005 09:12:02 +0000 (09:12 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Fri, 8 Apr 2005 09:12:02 +0000 (09:12 -0000)
commit5400a5de0c3cae0e23517f9c6f8273b09ec1672b
treecacfa68dfe5b55efe5f57df4b193d49601a45938
parent27c1de26f16b9e05ee80a6ad60366f1b41ee68b9
In mcs:
Fix #74484.
* attribute.cs (Attribute.GetAttributeUsage): Resolve
AttributeUsageAttribute in the emitcontext of the attribute class,
not in the emitcontext of the attributable entity it was attached to.
* cs-parser.jay: Use 'current_class', not 'current_container',
when creating a GlobalAttribute.

In tests:
* test-361.cs, test-361-2.cs: New test from #74484.

svn path=/trunk/mcs/; revision=42679
mcs/mcs/ChangeLog
mcs/mcs/attribute.cs
mcs/mcs/cs-parser.jay
mcs/tests/ChangeLog
mcs/tests/Makefile
mcs/tests/test-361-2.cs [new file with mode: 0644]
mcs/tests/test-361.cs [new file with mode: 0644]