Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void JitCode()
- {
- Type[] types = System.Reflection.Assembly.GetExecutingAssembly().GetTypes();
- for (int typeIx = 0; typeIx < types.Length; ++typeIx)
- {
- if (!types[typeIx].IsGenericType)
- {
- continue;
- }
- a = typeIx;
- System.Reflection.MethodInfo[] methodInfos = types[typeIx].GetMethods(System.Reflection.BindingFlags.DeclaredOnly |
- System.Reflection.BindingFlags.NonPublic |
- System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance |
- System.Reflection.BindingFlags.Static);
- for (int methodIx = 0; methodIx < methodInfos.Length; ++methodIx)
- {
- b = methodIx;
- if ((methodInfos[methodIx].Attributes & System.Reflection.MethodAttributes.Abstract) == System.Reflection.MethodAttributes.Abstract)
- {
- continue;
- }
- if (methodInfos[methodIx].Name.CompareTo("CountIEnumerable") != 0
- && methodInfos[methodIx].Name.CompareTo("get_Item") != 0
- && methodInfos[methodIx].Name.CompareTo("Get") != 0
- && methodInfos[methodIx].Name.CompareTo("get_Count") != 0
- && methodInfos[methodIx].Name.CompareTo("TryGet") != 0
- && methodInfos[methodIx].Name.CompareTo("Add") != 0
- && methodInfos[methodIx].Name.CompareTo("IndexOfKey") != 0
- && methodInfos[methodIx].Name.CompareTo("ContainsKey") != 0
- && methodInfos[methodIx].Name.CompareTo("GetControl") != 0
- && methodInfos[methodIx].Name.CompareTo("InstantiateGUIObject") != 0
- && methodInfos[methodIx].Name.CompareTo("InstantiateGUIObject_Pre") != 0
- && methodInfos[methodIx].Name.CompareTo("Swap") != 0
- && methodInfos[methodIx].Name.CompareTo("Clear") != 0
- )
- {
- methodInfos[methodIx].MethodHandle.GetFunctionPointer();
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement