You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
566 B
27 lines
566 B
3 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
|
||
|
using ILRuntime.CLR.TypeSystem;
|
||
|
|
||
|
namespace ILRuntime.CLR.Method
|
||
|
{
|
||
|
enum ExceptionHandlerType
|
||
|
{
|
||
|
Catch,
|
||
|
Finally,
|
||
|
Fault,
|
||
|
}
|
||
|
class ExceptionHandler
|
||
|
{
|
||
|
public ExceptionHandlerType HandlerType { get; set; }
|
||
|
|
||
|
public int TryStart { get; set; }
|
||
|
public int TryEnd { get; set; }
|
||
|
public int HandlerStart { get; set; }
|
||
|
public int HandlerEnd { get; set; }
|
||
|
public IType CatchType { get; set; }
|
||
|
}
|
||
|
}
|