* attribute.cs (Attribute.CheckAttributeType, Attribute.ResolveType):
authorRaja R Harinath <harinath@hurrynot.org>
Fri, 7 May 2004 11:00:44 +0000 (11:00 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Fri, 7 May 2004 11:00:44 +0000 (11:00 -0000)
commit1b5ee8c867fa91ec7317327d42b1fb1c9d6cb09d
treeac318700a37482cecdacfe7764a1da0c4351d309
parent6a2b24f38b5da4f094df7e33310a9cc8c28c92a5
* attribute.cs (Attribute.CheckAttributeType, Attribute.ResolveType):
Add a 'complain' parameter to silence errors.
(Attribute.Resolve): Update to changes.  Put in sanity check to catch
silently overlooked type-resolutions.
(Attribute.ScanForIndexerName, Attribute.DefinePInvokeMethod): Update
to reflect changes.
(Attributes.Search): New function.
(Attributes.Contains, Attributes.GetClsCompliantAttribute): Use Search.
(Attributes.GetAttributeFullName): Remove hack.
* class.cs (MethodCore.LabelParameters, MethodData.ApplyAttributes):
Update to reflect changes.
* codegen.cs (CommonAssemblyModulClass.GetClsCompliantAttribute):
Use Attributes.Search instead of nested loops.

svn path=/trunk/mcs/; revision=26899
mcs/mcs/ChangeLog
mcs/mcs/attribute.cs
mcs/mcs/class.cs
mcs/mcs/codegen.cs