public static void setField(object o, string field, object @value) { global::haxe.lang.IHxObject ihx = ((global::haxe.lang.IHxObject)((o as global::haxe.lang.IHxObject))); if ((ihx != null)) { ihx.__hx_setField(field, global::haxe.lang.FieldLookup.hash(field), @value, false); } else { global::haxe.lang.Runtime.slowSetField(o, field, @value); } }
public static void setField(object o, string field, object @value) { #line 53 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" global::haxe.lang.IHxObject ihx = ((global::haxe.lang.IHxObject)((o as global::haxe.lang.IHxObject))); if ((ihx != null)) { #line 55 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" ihx.__hx_setField(field, global::haxe.lang.FieldLookup.hash(field), @value, false); } else { #line 57 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" global::haxe.lang.Runtime.slowSetField(o, field, @value); } }
public static void setField(object o, string field, object @value) { #line 53 "/opt/haxe/std/cs/_std/Reflect.hx" global::haxe.lang.IHxObject ihx = (o as global::haxe.lang.IHxObject); if ((ihx != null)) { #line 55 "/opt/haxe/std/cs/_std/Reflect.hx" ihx.__hx_setField(field, global::haxe.lang.FieldLookup.hash(field), @value, false); } else { #line 57 "/opt/haxe/std/cs/_std/Reflect.hx" global::haxe.lang.Runtime.slowSetField(o, field, @value); } }
public static void setProperty(object o, string field, object @value) { #line 72 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" global::haxe.lang.IHxObject ihx = ((global::haxe.lang.IHxObject)((o as global::haxe.lang.IHxObject))); if ((ihx != null)) { #line 74 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" ihx.__hx_setField(field, global::haxe.lang.FieldLookup.hash(field), @value, true); } else if (global::haxe.lang.Runtime.slowHasField(o, global::haxe.lang.Runtime.concat("set_", field))) { #line 76 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" global::haxe.lang.Runtime.slowCallField(o, global::haxe.lang.Runtime.concat("set_", field), new object[] { ((object)(@value)) }); } else { #line 78 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" global::haxe.lang.Runtime.slowSetField(o, field, @value); } }
public static void setProperty(object o, string field, object @value) { #line 72 "/opt/haxe/std/cs/_std/Reflect.hx" global::haxe.lang.IHxObject ihx = (o as global::haxe.lang.IHxObject); if ((ihx != null)) { #line 74 "/opt/haxe/std/cs/_std/Reflect.hx" ihx.__hx_setField(field, global::haxe.lang.FieldLookup.hash(field), @value, true); } else if (global::haxe.lang.Runtime.slowHasField(o, global::haxe.lang.Runtime.concat("set_", field))) { #line 76 "/opt/haxe/std/cs/_std/Reflect.hx" global::haxe.lang.Runtime.slowCallField(o, global::haxe.lang.Runtime.concat("set_", field), new object[] { ((object)(@value)) }); } else { #line 78 "/opt/haxe/std/cs/_std/Reflect.hx" global::haxe.lang.Runtime.slowSetField(o, field, @value); } }