예제 #1
0
        public override object __hx_setField(string field, int hash, object @value, bool handleProperties)
        {
            unchecked {
                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                switch (hash)
                {
                case 293985672:
                {
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    this.releaseCount = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    return(@value);
                }


                case 127488538:
                {
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    this.waitCount = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    return(@value);
                }


                case 1021796563:
                {
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    this.releaseEvent = ((global::System.Threading.ManualResetEvent)(@value));
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    return(@value);
                }


                case 877441228:
                {
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    this.lockObj = ((object)(@value));
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    return(@value);
                }


                default:
                {
                                                #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Lock.hx"
                    return(base.__hx_setField(field, hash, @value, handleProperties));
                }
                }
            }
                        #line default
        }
예제 #2
0
        public override object __hx_setField(string field, int hash, object @value, bool handleProperties)
        {
            unchecked {
                                #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx"
                switch (hash)
                {
                case 1864494649:
                {
                                                #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx"
                    this.addEvent = ((global::System.Threading.ManualResetEvent)(@value));
                                                #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx"
                    return(@value);
                }


                case 877441228:
                {
                                                #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx"
                    this.lockObj = ((object)(@value));
                                                #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx"
                    return(@value);
                }


                case 1151917883:
                {
                                                #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx"
                    this.storage = ((global::haxe.root.Array)(@value));
                                                #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx"
                    return(@value);
                }


                default:
                {
                                                #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx"
                    return(base.__hx_setField(field, hash, @value, handleProperties));
                }
                }
            }
                        #line default
        }