internal void WriteMemberReport(global::System.Reflection.MemberInfo memberInfo) { object[] args = new object[] { memberInfo }; m_privateObject.Invoke("WriteMemberReport", new System.Type[] { typeof(global::System.Reflection.MemberInfo) }, args); }
private static void GetTypeInfo4(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, uint iTInfo, uint lcid, global::System.IntPtr ppTInfo) { // (IIJ)V // (LSystem/UInt32;LSystem/UInt32;LSystem/IntPtr;)V global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); try { global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); ((global::System.Runtime.InteropServices._MemberInfo)(@__real)).GetTypeInfo(iTInfo, lcid, ppTInfo); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } }
private static void GetTypeInfoCount3(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle pcTInfo) { // (Lnet/sf/jni4net/Out;)V // (LSystem/UInt32;)V global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); try { uint @__out_pcTInfo; global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); ((global::System.Runtime.InteropServices._MemberInfo)(@__real)).GetTypeInfoCount(out __out_pcTInfo); net.sf.jni4net.Out.SetValue <uint>(@__env, pcTInfo, @__out_pcTInfo); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } }
private static global::net.sf.jni4net.utils.JniHandle GetCustomAttributes1(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle attributeType, bool inherit) { // (Lsystem/Type;Z)[Lsystem/Object; // (LSystem/Type;Z)[LSystem/Object; global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle); try { global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); @__return = global::net.sf.jni4net.utils.Convertor.ArrayFullC2J <object[], object>(@__env, ((global::System.Reflection.ICustomAttributeProvider)(@__real)).GetCustomAttributes(global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Type>(@__env, attributeType), inherit)); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } return(@__return); }
private static global::net.sf.jni4net.utils.JniHandle Module12(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj) { // ()Lsystem/Object; // ()LSystem/Reflection/Module; global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle); try { global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); @__return = global::net.sf.jni4net.utils.Convertor.StrongC2Jp <global::System.Reflection.Module>(@__env, @__real.Module); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } return(@__return); }
private static global::net.sf.jni4net.utils.JniHandle ReflectedType10(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj) { // ()Lsystem/Type; // ()LSystem/Type; global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle); try { global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); @__return = global::net.sf.jni4net.utils.Convertor.StrongC2Jp <global::System.Type>(@__env, ((global::System.Runtime.InteropServices._MemberInfo)(@__real)).ReflectedType); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } return(@__return); }
private static void Invoke6(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, uint dispIdMember, global::net.sf.jni4net.utils.JniLocalHandle riid, uint lcid, short wFlags, global::System.IntPtr pDispParams, global::System.IntPtr pVarResult, global::System.IntPtr pExcepInfo, global::System.IntPtr puArgErr) { // (ILnet/sf/jni4net/Ref;ISJJJJ)V // (LSystem/UInt32;LSystem/Guid;LSystem/UInt32;SLSystem/IntPtr;LSystem/IntPtr;LSystem/IntPtr;LSystem/IntPtr;)V global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); try { global::System.Guid @__ref_riid = net.sf.jni4net.Ref.GetValue <global::System.Guid>(@__env, riid); global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); ((global::System.Runtime.InteropServices._MemberInfo)(@__real)).Invoke(dispIdMember, ref __ref_riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr); net.sf.jni4net.Ref.SetValue <global::System.Guid>(@__env, riid, @__ref_riid); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } }
private static void GetIDsOfNames5(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle riid, global::System.IntPtr rgszNames, uint cNames, uint lcid, global::System.IntPtr rgDispId) { // (Lnet/sf/jni4net/Ref;JIIJ)V // (LSystem/Guid;LSystem/IntPtr;LSystem/UInt32;LSystem/UInt32;LSystem/IntPtr;)V global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); try { global::System.Guid @__ref_riid = net.sf.jni4net.Ref.GetValue <global::System.Guid>(@__env, riid); global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); ((global::System.Runtime.InteropServices._MemberInfo)(@__real)).GetIDsOfNames(ref __ref_riid, rgszNames, cNames, lcid, rgDispId); net.sf.jni4net.Ref.SetValue <global::System.Guid>(@__env, riid, @__ref_riid); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } }
public static global::Array <object> getInstanceFields(global::System.Type c) { unchecked { if (global::haxe.lang.Runtime.refEq(c, typeof(string))) { return(global::haxe.lang.StringRefl.fields); } global::System.Type c1 = ((global::System.Type)(c)); global::Array <object> ret = new global::Array <object>(new object[] {}); global::System.Reflection.BindingFlags this1 = global::System.Reflection.BindingFlags.Public; global::System.Reflection.BindingFlags this2 = ((global::System.Reflection.BindingFlags)((((global::System.Reflection.BindingFlags)(this1)) | ((global::System.Reflection.BindingFlags)(global::System.Reflection.BindingFlags.Instance))))); global::System.Reflection.BindingFlags this3 = ((global::System.Reflection.BindingFlags)((((global::System.Reflection.BindingFlags)(this2)) | ((global::System.Reflection.BindingFlags)(global::System.Reflection.BindingFlags.FlattenHierarchy))))); global::System.Reflection.MemberInfo[] mis = c1.GetMembers(((global::System.Reflection.BindingFlags)(this3))); { int _g1 = 0; int _g = (mis as global::System.Array).Length; while ((_g1 < _g)) { int i = _g1++; global::System.Reflection.MemberInfo i1 = mis[i]; if ((i1 is global::System.Reflection.PropertyInfo)) { continue; } string n = i1.Name; if ((!(n.StartsWith("__hx_")) && ((((((bool)((((uint)(0)) < n.Length)))) ? (((int)(n[0]))) : (-1))) != 46))) { switch (n) { case "Equals": case "GetHashCode": case "GetType": case "ToString": { break; } default: { ret.push(n); break; } } } } } return(ret); } }
private static global::net.sf.jni4net.utils.JniHandle GetCustomAttributesData12(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj) { // ()Lsystem/collections/IList; // ()[[LSystem/Collections/Generic/IList`1; global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle); try { global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); @__return = global::net.sf.jni4net.utils.Convertor.FullC2J <global::System.Collections.Generic.IList <System.Reflection.CustomAttributeData> >(@__env, @__real.GetCustomAttributesData()); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } return(@__return); }
private static bool IsDefined2(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle attributeType, bool inherit) { // (Lsystem/Type;Z)Z // (LSystem/Type;Z)Z global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); bool @__return = default(bool); try { global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); @__return = ((bool)(((global::System.Reflection.ICustomAttributeProvider)(@__real)).IsDefined(global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Type>(@__env, attributeType), inherit))); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } return(@__return); }
private static int MetadataToken11(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj) { // ()I // ()I global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); int @__return = default(int); try { global::System.Reflection.MemberInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Reflection.MemberInfo>(@__env, @__obj); @__return = ((int)(@__real.MetadataToken)); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } return(@__return); }
DesignerActionItem IActionGetItem.GetItem(DesignerActionList actions, global::System.Reflection.MemberInfo mbr) { var ret = new DesignerActionPropertyItem(mbr.Name, DisplayName, Category, Description) { AllowAssociate = AllowAssociate }; if (!string.IsNullOrEmpty(Condition)) { ret.Properties.Add("Condition", Condition); } ret.Properties.Add("Order", DisplayOrder); return(ret); }
public static global::Array <string> getInstanceFields(global::System.Type c) { unchecked { #line 206 "/opt/haxe/std/cs/_std/Type.hx" if (global::haxe.lang.Runtime.refEq(c, typeof(string))) { #line 207 "/opt/haxe/std/cs/_std/Type.hx" return(global::haxe.lang.StringRefl.fields); } #line 209 "/opt/haxe/std/cs/_std/Type.hx" global::System.Type c1 = ((global::System.Type)(c)); global::Array <string> ret = new global::Array <string>(new string[] {}); #line 211 "/opt/haxe/std/cs/_std/Type.hx" global::haxe.lang.Null <global::System.Reflection.BindingFlags> initial = new global::haxe.lang.Null <global::System.Reflection.BindingFlags>(global::System.Reflection.BindingFlags.Public, true); #line 211 "/opt/haxe/std/cs/_std/Type.hx" global::System.Reflection.BindingFlags this1 = ((!(initial.hasValue)) ? (default(global::System.Reflection.BindingFlags)) : ((initial).@value)); #line 211 "/opt/haxe/std/cs/_std/Type.hx" global::haxe.lang.Null <global::System.Reflection.BindingFlags> initial1 = new global::haxe.lang.Null <global::System.Reflection.BindingFlags>((((global::System.Reflection.BindingFlags)(this1)) | ((global::System.Reflection.BindingFlags)(global::System.Reflection.BindingFlags.Instance))), true); #line 211 "/opt/haxe/std/cs/_std/Type.hx" global::System.Reflection.BindingFlags this2 = ((!(initial1.hasValue)) ? (default(global::System.Reflection.BindingFlags)) : ((initial1).@value)); #line 211 "/opt/haxe/std/cs/_std/Type.hx" global::haxe.lang.Null <global::System.Reflection.BindingFlags> initial2 = new global::haxe.lang.Null <global::System.Reflection.BindingFlags>((((global::System.Reflection.BindingFlags)(this2)) | ((global::System.Reflection.BindingFlags)(global::System.Reflection.BindingFlags.FlattenHierarchy))), true); #line 211 "/opt/haxe/std/cs/_std/Type.hx" global::System.Reflection.BindingFlags this3 = ((!(initial2.hasValue)) ? (default(global::System.Reflection.BindingFlags)) : ((initial2).@value)); #line 211 "/opt/haxe/std/cs/_std/Type.hx" global::System.Reflection.MemberInfo[] mis = c1.GetMembers(((global::System.Reflection.BindingFlags)(this3))); { #line 212 "/opt/haxe/std/cs/_std/Type.hx" int _g = 0; #line 212 "/opt/haxe/std/cs/_std/Type.hx" int _g1 = (mis as global::System.Array).Length; #line 212 "/opt/haxe/std/cs/_std/Type.hx" while ((_g < _g1)) { #line 212 "/opt/haxe/std/cs/_std/Type.hx" int i = _g++; global::System.Reflection.MemberInfo i1 = ((global::System.Reflection.MemberInfo)(mis[i])); #line 214 "/opt/haxe/std/cs/_std/Type.hx" if ((i1 is global::System.Reflection.PropertyInfo)) { #line 215 "/opt/haxe/std/cs/_std/Type.hx" continue; } #line 216 "/opt/haxe/std/cs/_std/Type.hx" string n = i1.Name; if ((!(n.StartsWith("__hx_")) && (((((((uint)(0)) < n.Length)) ? (((int)(n[0]))) : (-1))) != 46))) { #line 218 "/opt/haxe/std/cs/_std/Type.hx" switch (n) { case "Equals": case "GetHashCode": case "GetType": case "ToString": { #line 219 "/opt/haxe/std/cs/_std/Type.hx" break; } default: { #line 221 "/opt/haxe/std/cs/_std/Type.hx" ret.push(n); #line 221 "/opt/haxe/std/cs/_std/Type.hx" break; } } } } } #line 225 "/opt/haxe/std/cs/_std/Type.hx" return(ret); } #line default }
public static global::haxe.root.Array getInstanceFields(global::System.Type c) { unchecked { #line 206 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" if (global::haxe.lang.Runtime.refEq(c, typeof(string))) { #line 207 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" return(global::haxe.lang.StringRefl.fields); } #line 209 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" global::System.Type c1 = ((global::System.Type)(c)); global::haxe.root.Array ret = new global::haxe.root.Array(new object[] {}); #line 211 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" object initial = global::System.Reflection.BindingFlags.Public; #line 211 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" global::System.Reflection.BindingFlags this1 = (((initial == default(object))) ? (default(global::System.Reflection.BindingFlags)) : (((global::System.Reflection.BindingFlags)(initial)))); #line 211 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" object initial1 = ((global::System.Reflection.BindingFlags)((((global::System.Reflection.BindingFlags)(this1)) | ((global::System.Reflection.BindingFlags)(global::System.Reflection.BindingFlags.Instance))))); #line 211 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" global::System.Reflection.BindingFlags this2 = (((initial1 == default(object))) ? (default(global::System.Reflection.BindingFlags)) : (((global::System.Reflection.BindingFlags)(initial1)))); #line 211 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" object initial2 = ((global::System.Reflection.BindingFlags)((((global::System.Reflection.BindingFlags)(this2)) | ((global::System.Reflection.BindingFlags)(global::System.Reflection.BindingFlags.FlattenHierarchy))))); #line 211 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" global::System.Reflection.BindingFlags this3 = (((initial2 == default(object))) ? (default(global::System.Reflection.BindingFlags)) : (((global::System.Reflection.BindingFlags)(initial2)))); #line 211 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" global::System.Reflection.MemberInfo[] mis = c1.GetMembers(((global::System.Reflection.BindingFlags)(this3))); { #line 212 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" int _g = 0; #line 212 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" int _g1 = (mis as global::System.Array).Length; #line 212 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" while ((_g < _g1)) { #line 212 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" int i = _g++; global::System.Reflection.MemberInfo i1 = ((global::System.Reflection.MemberInfo)(mis[i])); #line 214 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" if ((i1 is global::System.Reflection.PropertyInfo)) { #line 215 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" continue; } #line 216 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" string n = i1.Name; if ((!(n.StartsWith("__hx_")) && ((((((bool)((((uint)(0)) < n.Length)))) ? (((int)(n[0]))) : (-1))) != 46))) { #line 218 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" switch (n) { case "Equals": case "GetHashCode": case "GetType": case "ToString": { #line 219 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" break; } default: { #line 221 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" ret.push(n); #line 221 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" break; } } } } } #line 225 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Type.hx" return(ret); } #line default }