Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@gnome.org>2012-08-02 17:39:45 +0400
committerJeffrey Stedfast <fejj@gnome.org>2012-08-02 17:39:45 +0400
commit863e731183a0ac54590dc095ff7a0de6f6a1156a (patch)
tree1db49a41f14e221e9bd954df22e9e1b4a8c20017 /main/contrib
parentab6e82595110fb0a784aabb5401d0eae836461a0 (diff)
Oops, added missing source file
Diffstat (limited to 'main/contrib')
-rw-r--r--main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/ILExceptionHandler.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/ILExceptionHandler.cs b/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/ILExceptionHandler.cs
new file mode 100644
index 0000000000..927949d071
--- /dev/null
+++ b/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/ILExceptionHandler.cs
@@ -0,0 +1,33 @@
+using System;
+using System.IO;
+
+namespace Mono.Debugger.Soft
+{
+ public enum ILExceptionHandlerType
+ {
+ Catch = ExceptionClauseFlags.None,
+ Filter = ExceptionClauseFlags.Filter,
+ Finally = ExceptionClauseFlags.Finally,
+ Fault = ExceptionClauseFlags.Fault,
+ }
+
+ public class ILExceptionHandler
+ {
+ public int TryOffset { get; internal set; }
+ public int TryLength { get; internal set; }
+ public ILExceptionHandlerType HandlerType { get; internal set; }
+ public int HandlerOffset { get; internal set; }
+ public int HandlerLength { get; internal set;}
+ public int FilterOffset { get; internal set; }
+ public TypeMirror CatchType { get; internal set; }
+
+ internal ILExceptionHandler (int try_offset, int try_length, ILExceptionHandlerType handler_type, int handler_offset, int handler_length)
+ {
+ TryOffset = try_offset;
+ TryLength = try_length;
+ HandlerType = handler_type;
+ HandlerOffset = handler_offset;
+ HandlerLength = handler_length;
+ }
+ }
+}