ExceptionHandler.cs 566 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using ILRuntime.CLR.TypeSystem;
  6. namespace ILRuntime.CLR.Method
  7. {
  8. enum ExceptionHandlerType
  9. {
  10. Catch,
  11. Finally,
  12. Fault,
  13. }
  14. class ExceptionHandler
  15. {
  16. public ExceptionHandlerType HandlerType { get; set; }
  17. public int TryStart { get; set; }
  18. public int TryEnd { get; set; }
  19. public int HandlerStart { get; set; }
  20. public int HandlerEnd { get; set; }
  21. public IType CatchType { get; set; }
  22. }
  23. }