예제 #1
0
        public override bool Equals(object other)
        {
                        #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Error.hx"
            if (global::System.Object.ReferenceEquals(((object)(this)), ((object)(other))))
            {
                                #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Error.hx"
                return(true);
            }

                        #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Error.hx"
            global::haxe.io.Error_Custom en = (other as global::haxe.io.Error_Custom);
                        #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Error.hx"
            if ((en == null))
            {
                                #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Error.hx"
                return(false);
            }

                        #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Error.hx"
            if (!(global::haxe.root.Type.enumEq(((object)(this.e)), ((object)(en.e)))))
            {
                                #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Error.hx"
                return(false);
            }

                        #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Error.hx"
            return(true);
        }
예제 #2
0
        public override bool Equals(object other)
        {
                        #line 42 "/opt/haxe/std/haxe/io/Error.hx"
            if (global::System.Object.ReferenceEquals(((object)(this)), ((object)(other))))
            {
                                #line 42 "/opt/haxe/std/haxe/io/Error.hx"
                return(true);
            }

                        #line 42 "/opt/haxe/std/haxe/io/Error.hx"
            global::haxe.io.Error_Custom en = (other as global::haxe.io.Error_Custom);
                        #line 42 "/opt/haxe/std/haxe/io/Error.hx"
            if ((en == null))
            {
                                #line 42 "/opt/haxe/std/haxe/io/Error.hx"
                return(false);
            }

                        #line 42 "/opt/haxe/std/haxe/io/Error.hx"
            if (!(global::Type.enumEq <object>(((object)(this.e)), ((object)(en.e)))))
            {
                                #line 42 "/opt/haxe/std/haxe/io/Error.hx"
                return(false);
            }

                        #line 42 "/opt/haxe/std/haxe/io/Error.hx"
            return(true);
        }
예제 #3
0
        public override bool Equals(object other)
        {
            if (global::System.Object.ReferenceEquals(((object)(this)), ((object)(other))))
            {
                return(true);
            }

            global::haxe.io.Error_Custom en = (other as global::haxe.io.Error_Custom);
            if ((en == null))
            {
                return(false);
            }

            if (!(global::Type.enumEq <object>(((object)(this.e)), ((object)(en.e)))))
            {
                return(false);
            }

            return(true);
        }