public static bool _ <T>(this go.crypto.cipher_package.BlockMode target, out T result) { try { result = target._ <T>(); return(true); } catch (PanicException) { result = default !;
public static T _ <T>(this go.crypto.cipher_package.BlockMode target) { try { return(((go.crypto.cipher_package.BlockMode <T>)target).Target); } catch (NotImplementedException ex) { throw new PanicException($"interface conversion: {GetGoTypeName(target.GetType())} is not {GetGoTypeName(typeof(T))}: missing method {ex.InnerException?.Message}"); } }