Esempio n. 1
0
        public static bool compareMethods(object f1, object f2)
        {
                        #line 121 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
            if (global::haxe.lang.Runtime.eq(f1, f2))
            {
                                #line 122 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
                return(true);
            }

                        #line 124 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
            if (((f1 is global::haxe.lang.Closure) && (f2 is global::haxe.lang.Closure)))
            {
                                #line 125 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
                global::haxe.lang.Closure f1c = ((global::haxe.lang.Closure)(f1));
                global::haxe.lang.Closure f2c = ((global::haxe.lang.Closure)(f2));
                                #line 128 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
                if (global::haxe.lang.Runtime.refEq(f1c.obj, f2c.obj))
                {
                                        #line 128 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
                    return(f1c.field == f2c.field);
                }
                else
                {
                                        #line 128 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
                    return(false);
                }
            }

                        #line 131 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
            return(false);
        }
Esempio n. 2
0
    public static bool compareMethods(object f1, object f2)
    {
                #line 121 "/opt/haxe/std/cs/_std/Reflect.hx"
        if (global::haxe.lang.Runtime.eq(f1, f2))
        {
                        #line 122 "/opt/haxe/std/cs/_std/Reflect.hx"
            return(true);
        }

                #line 124 "/opt/haxe/std/cs/_std/Reflect.hx"
        if (((f1 is global::haxe.lang.Closure) && (f2 is global::haxe.lang.Closure)))
        {
                        #line 125 "/opt/haxe/std/cs/_std/Reflect.hx"
            global::haxe.lang.Closure f1c = ((global::haxe.lang.Closure)(f1));
            global::haxe.lang.Closure f2c = ((global::haxe.lang.Closure)(f2));
                        #line 128 "/opt/haxe/std/cs/_std/Reflect.hx"
            if (global::haxe.lang.Runtime.refEq(f1c.obj, f2c.obj))
            {
                                #line 128 "/opt/haxe/std/cs/_std/Reflect.hx"
                return(f1c.field == f2c.field);
            }
            else
            {
                                #line 128 "/opt/haxe/std/cs/_std/Reflect.hx"
                return(false);
            }
        }

                #line 131 "/opt/haxe/std/cs/_std/Reflect.hx"
        return(false);
    }
Esempio n. 3
0
        public override bool Equals(object obj)
        {
            global::haxe.lang.Closure c = ((global::haxe.lang.Closure)((obj as global::haxe.lang.Closure)));
            if ((c == null))
            {
                return(false);
            }

            if (global::haxe.lang.Runtime.eq(c.obj, this.obj))
            {
                return(string.Equals(c.field, this.field));
            }
            else
            {
                return(false);
            }
        }
Esempio n. 4
0
        public override bool Equals(object obj)
        {
                        #line 70 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\Function.hx"
            global::haxe.lang.Closure c = ((global::haxe.lang.Closure)((obj as global::haxe.lang.Closure)));
            if ((c == null))
            {
                                #line 72 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\Function.hx"
                return(false);
            }

                        #line 73 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\Function.hx"
            if (global::haxe.lang.Runtime.eq(c.obj, this.obj))
            {
                                #line 73 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\Function.hx"
                return(c.field == this.field);
            }
            else
            {
                                #line 73 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\Function.hx"
                return(false);
            }
        }
Esempio n. 5
0
        public override bool Equals(object obj)
        {
                        #line 70 "/opt/haxe/std/cs/internal/Function.hx"
            global::haxe.lang.Closure c = (obj as global::haxe.lang.Closure);
            if ((c == null))
            {
                                #line 72 "/opt/haxe/std/cs/internal/Function.hx"
                return(false);
            }

                        #line 73 "/opt/haxe/std/cs/internal/Function.hx"
            if (global::haxe.lang.Runtime.eq(c.obj, this.obj))
            {
                                #line 73 "/opt/haxe/std/cs/internal/Function.hx"
                return(c.field == this.field);
            }
            else
            {
                                #line 73 "/opt/haxe/std/cs/internal/Function.hx"
                return(false);
            }
        }