Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2004-11-10 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DefineType): Call TypeBuilder.DefineGenericParameters() before resolving the type parameters. (MethodData.parent_method): New protected field. (MethodData..ctor): Added `MethodInfo parent_method' argument. (MethodData.Define): Compute `parent_method'. * decl.cs (MemberCore.GetObsoleteAttribute): Don't create a new EmitContext. (MemberCore.GetClsCompliantAttributeValue): Likewise. (DeclSpace.ec): New protected field; store the EmitContext here. (DeclSpace.EmitContext): New public property. (DeclSpace.ResolveType): Un-comment from the [Obsolte] attribute. (DeclSpace.ResolveNestedType): New public method. (DeclSpace.ResolveTypeExpr): Just call ResolveAsTypeTerminal() here. (DeclSpace.NestedAccessible): Added `Type tb' argument. (DeclSpace.FamilyAccessible): Likewise. (DeclSpace.FindType): Call ResolveNestedType() for nested types. (DeclSpace.GetClsCompliantAttributeValue): Don't create a new EmitContext. * delegate.cs (Delegate.Define): Store the EmitContext in the `ec' field. * enum.cs (Enum.Define): Store the EmitContext in the `ec' field. (Enum.Emit): Don't create a new EmitContext. svn path=/trunk/mcs/; revision=35925
- Loading branch information
Martin Baulig
committed
Nov 9, 2004
1 parent
1a79dad
commit a17130c
Showing
5 changed files
with
87 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.