Commit Graph
4 Commits
Author SHA1 Message Date
Ankit Jain 832218ea3c Fix bug #367114.
In class/PEAPI:
	Fix bug #367114.
	* Code.cs (TryBlock.ResolveCatchBlocks): New.
	(CILInstructions.AddTryBlock): Resolve the catch blocks with the new
	method.
	(Catch..ctor): Add new .ctor to allow exceptions of any type.
	(Catch.ResolveType): New. Add the exception type to the metadata.

In ilasm/codegen:
	Fix bug #367114.
	* CatchBlock.cs: Allow exception to be of any type (BaseTypeRef) and not
	just a class (BaseClassRef).

In ilasm/parser:
	Part of fix for bug #367114.
	* ILParser.jay (seh_clause): Allow exception to be of any type and not
	just class.

svn path=/trunk/mcs/; revision=104636
2008-06-01 23:06:37 +00:00
Rodrigo Kumpera 289748ab62 2008-04-07 Rodrigo Kumpera <[email protected]>
* Code.cs: Removed Local::TypeSig() as it is not needed
	for the previous patch.


svn path=/trunk/mcs/; revision=100039
2008-04-07 17:40:05 +00:00
Miguel de Icaza b8804ec871 2008-04-07 Erven Rohou <[email protected]>
* Code.cs: Add new method: GetLocalVars() for ilasm support for
	emitting local variable names.

2008-04-07  Erven Rohou <[email protected]>

	* DebugInfo.cs, MethodDef.cs: Add support for emitting variable names
	in mdb file.


svn path=/trunk/mcs/; revision=100031
2008-04-07 16:29:17 +00:00
Ankit Jain 3c22594b57 * PEAPI.cs: Clean up indentation. Split into ...
Metadata.cs, Code.cs, PEAPI.cs: ... these.

svn path=/trunk/mcs/; revision=50145
2005-09-16 12:48:51 +00:00