public static bool _Create_System_String( ) { //Parameters System.String AlgName = null; //ReturnType/Value System.Security.Cryptography.RC2 returnVal_Real = null; System.Security.Cryptography.RC2 returnVal_Intercepted = null; //Exception Exception exception_Real = null; Exception exception_Intercepted = null; InterceptionMaintenance.disableInterception( ); try { returnValue_Real = System.Security.Cryptography.RC2.Create(AlgName); } catch (Exception e) { exception_Real = e; } InterceptionMaintenance.enableInterception( ); try { returnValue_Intercepted = System.Security.Cryptography.RC2.Create(AlgName); } catch (Exception e) { exception_Intercepted = e; } Return((exception_Real.Messsage == exception_Intercepted.Message) && (returnValue_Real == returnValue_Intercepted)); }
public RC2 Create() { return(RC2.Create()); }