projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug #367114.
[mono.git]
/
mcs
/
ilasm
/
codegen
/
CatchBlock.cs
diff --git
a/mcs/ilasm/codegen/CatchBlock.cs
b/mcs/ilasm/codegen/CatchBlock.cs
index 6fc78c4fa37f26e8e92bae0a0e7ce1cbb25b80e3..ecc61b384e65d795f736c1ad4470f4bf894e88b2 100644
(file)
--- a/
mcs/ilasm/codegen/CatchBlock.cs
+++ b/
mcs/ilasm/codegen/CatchBlock.cs
@@
-15,12
+15,12
@@
namespace Mono.ILASM {
public class CatchBlock : ISehClause {
public class CatchBlock : ISehClause {
- private Base
ClassRef class
_ref;
+ private Base
TypeRef type
_ref;
private HandlerBlock handler_block;
private HandlerBlock handler_block;
- public CatchBlock (Base
ClassRef class
_ref)
+ public CatchBlock (Base
TypeRef type
_ref)
{
{
- this.
class_ref = class
_ref;
+ this.
type_ref = type
_ref;
}
public void SetHandlerBlock (HandlerBlock hb)
}
public void SetHandlerBlock (HandlerBlock hb)
@@
-34,9
+34,9
@@
namespace Mono.ILASM {
PEAPI.CILLabel to = handler_block.GetToLabel (code_gen, method);
PEAPI.Catch katch;
PEAPI.CILLabel to = handler_block.GetToLabel (code_gen, method);
PEAPI.Catch katch;
-
class
_ref.Resolve (code_gen);
+
type
_ref.Resolve (code_gen);
- katch = new PEAPI.Catch (
class_ref.PeapiClass
, from, to);
+ katch = new PEAPI.Catch (
type_ref.PeapiType
, from, to);
return katch;
}
return katch;
}