Mono now uses ExceptionHandlingClauseOptions from methodbody.cs and ExceptionHandler from methobuilder.cs.
Remaining types from thoses files were ignored with ifdef.
using System.Security.Permissions;
using System.Runtime.InteropServices;
using System.Diagnostics.Contracts;
-
+#if !MONO
[HostProtection(MayLeakOnAbort = true)]
[ClassInterface(ClassInterfaceType.None)]
[ComDefaultInterface(typeof(_MethodBuilder))]
#endregion
}
+#endif
/// <summary>
/// Describes exception handler in a method body.
Finally = 0x2,
Fault = 0x4,
}
-
+#if !MONO
[System.Runtime.InteropServices.ComVisible(true)]
public class ExceptionHandlingClause
{
public virtual int LocalIndex { get { return m_localIndex; } }
#endregion
}
+#endif
}