예제 #1
0
 /// <summary>
 /// Begins a catch block for all exceptions in the given exception block
 ///
 /// The given exception block must still be open.
 ///
 /// Equivalent to BeginCatchBlock(typeof(Exception), forTry).
 /// </summary>
 public Emit BeginCatchAllBlock(ExceptionBlock forTry, out CatchBlock forCatch)
 {
     InnerEmit.BeginCatchAllBlock(forTry, out forCatch);
     return(this);
 }
예제 #2
0
 /// <summary>
 /// Begins a catch block for all exceptions in the given exception block
 ///
 /// The given exception block must still be open.
 ///
 /// Equivalent to BeginCatchBlock(typeof(Exception), forTry).
 /// </summary>
 public CatchBlock BeginCatchAllBlock(ExceptionBlock forTry)
 {
     return(InnerEmit.BeginCatchAllBlock(forTry));
 }