System.@__Decimal.ToUInt1651 C# (CSharp) Method

ToUInt1651() private static method

private static ToUInt1651 ( global @__envp, global @__class, global value ) : ushort
@__envp global
@__class global
value global
return ushort
        private static ushort ToUInt1651(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__class, global::net.sf.jni4net.utils.JniLocalHandle value)
        {
            // (Lsystem/Decimal;)S
            // (LSystem/Decimal;)LSystem/UInt16;
            global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
            ushort @__return = default(ushort);
            try {
            @__return = ((ushort)(decimal.ToUInt16(global::net.sf.jni4net.utils.Convertor.StrongJp2C<decimal>(@__env, value))));
            }catch (global::System.Exception __ex){@__env.ThrowExisting(__ex);}
            return @__return;
        }