In System.Reflection.Emit:
commitd77caf4c86f6a78194aed6cf09649e1c648276dd
authorRolf Bjarne Kvinge <RKvinge@novell.com>
Fri, 17 Aug 2007 09:12:13 +0000 (17 09:12 -0000)
committerRolf Bjarne Kvinge <RKvinge@novell.com>
Fri, 17 Aug 2007 09:12:13 +0000 (17 09:12 -0000)
tree0c6abd6a83383a7d16366bc1cb61e63630056d81
parent2c4f7d23e9d4de399a713cd6ea318fe2aa3aa32d
In System.Reflection.Emit:
2007-08-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ILGenerator.cs: Change BeginCatchBlock to end the current filter block if called with a null exceptionType. Added ILExceptionBlock.FILTER_START to be able to track if we're in a filter block or not. Renamed PatchLastClauseStart to PatchFilterClause to match better what it does, and make it update the handler's type to FILTER. Fixes #81431.

In Test/System.Reflection.Emit:
2007-08-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ILGeneratorTest.cs: Added FilterAndCatchBlock (bug #81431), InvalidFilterBlock1, ValidFilterBlock1, ValidFilterBlock2.

svn path=/trunk/mcs/; revision=84262
mcs/class/corlib/System.Reflection.Emit/ChangeLog
mcs/class/corlib/System.Reflection.Emit/ILGenerator.cs
mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
mcs/class/corlib/Test/System.Reflection.Emit/ILGeneratorTest.cs