public static ILGenerator ThrowException <tException>(this ILGenerator generator) where tException : Exception
 {
     return
         (generator
          .AndPushNewObjectOntoStack(typeof(tException).GetConstructor(Type.EmptyTypes))
          .AndThrowExceptionFromStack());
 }