4 instantiations of RuntimeMethodInfo
mscorlib (4)
system\rttype.cs (4)
339new RuntimeMethodInfo(method, declaringType, m_runtimeTypeCache, methodAttributes, bindingFlags, null) 673RuntimeMethodInfo runtimeMethodInfo = new RuntimeMethodInfo( 781RuntimeMethodInfo runtimeMethodInfo = new RuntimeMethodInfo( 1817RuntimeMethodInfo rmi = new RuntimeMethodInfo(
130 references to RuntimeMethodInfo
mscorlib (130)
system\attribute.cs (6)
104RuntimeMethodInfo rtPropAccessor = propAccessor as RuntimeMethodInfo; 174RuntimeMethodInfo rtAdd = add as RuntimeMethodInfo; 221RuntimeMethodInfo rtMethod = param.Member as RuntimeMethodInfo;
system\delegate.cs (10)
121RuntimeMethodInfo invoke = (RuntimeMethodInfo)RuntimeType.GetMethodBase((RuntimeType)this.GetType(), method); 497RuntimeMethodInfo rmi = method as RuntimeMethodInfo; 548RuntimeMethodInfo rmi = method as RuntimeMethodInfo; 651RuntimeMethodInfo rtMethod = method as RuntimeMethodInfo; 683internal static Delegate CreateDelegateInternal(RuntimeType rtType, RuntimeMethodInfo rtMethod, Object firstArgument, DelegateBindingFlags flags, ref StackCrawlMark stackMark) 704internal static Delegate UnsafeCreateDelegate(RuntimeType rtType, RuntimeMethodInfo rtMethod, Object firstArgument, DelegateBindingFlags flags)
system\exception.cs (2)
498RuntimeMethodInfo rmi = (RuntimeMethodInfo)methBase;
system\multicastdelegate.cs (2)
65if ( !(method is RuntimeMethodInfo) || IsUnmanagedFunctionPtr() ) 83if ( !(method is RuntimeMethodInfo) || IsUnmanagedFunctionPtr() )
system\reflection\Associates.cs (10)
41private static unsafe RuntimeMethodInfo AssignAssociates( 109RuntimeMethodInfo associateMethod = 110RuntimeType.GetMethodBase(reflectedType, associateMethodHandle) as RuntimeMethodInfo; 114associateMethod = reflectedType.Module.ResolveMethod(tkMethod, null, null) as RuntimeMethodInfo; 125out RuntimeMethodInfo addOn, 126out RuntimeMethodInfo removeOn, 127out RuntimeMethodInfo fireOn, 128out RuntimeMethodInfo getter, 129out RuntimeMethodInfo setter, 160RuntimeMethodInfo associateMethod =
system\reflection\customattribute.cs (10)
115internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeMethodInfo target) 122Attribute[] a = PseudoCustomAttribute.GetCustomAttributes((RuntimeMethodInfo)target, typeof(object) as RuntimeType, true, out pcaCount); 1217internal static bool IsDefined(RuntimeMethodInfo method, RuntimeType caType, bool inherit) 1414Contract.Requires(method is RuntimeMethodInfo || method is RuntimeConstructorInfo); 1433internal static Object[] GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, bool inherit) 1439method = method.GetGenericMethodDefinition() as RuntimeMethodInfo; 1795RuntimeMethodInfo setMethod = property.GetSetMethod(true) as RuntimeMethodInfo; 2253internal static Attribute[] GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, bool includeSecCa, out int count) 2292internal static bool IsDefined(RuntimeMethodInfo method, RuntimeType caType)
system\reflection\emit\dynamicilgenerator.cs (9)
104RuntimeMethodInfo rtMeth = meth as RuntimeMethodInfo; 495RuntimeMethodInfo rtMeth = methodInfo as RuntimeMethodInfo; 624private int GetTokenFor(RuntimeMethodInfo rtMeth) 634private int GetTokenFor(RuntimeMethodInfo rtMeth, RuntimeType rtType) 655private int GetTokenForVarArgMethod(RuntimeMethodInfo rtMeth, SignatureHelper sig) 1314internal RuntimeMethodInfo m_method; 1324internal VarArgMethod(RuntimeMethodInfo method, SignatureHelper signature)
system\reflection\emit\modulebuilder.cs (4)
201private int GetMemberRefOfMethodInfo(int tr, RuntimeMethodInfo method) 707Contract.Assert(method is RuntimeMethodInfo || method is RuntimeConstructorInfo); 1869RuntimeMethodInfo rtMeth = null; 1883else if ( (rtMeth = method as RuntimeMethodInfo) != null )
system\reflection\emit\xxxontypebuilderinstantiation.cs (2)
35Contract.Assert(method is MethodBuilder || method is RuntimeMethodInfo); 65Contract.Assert(m_method is RuntimeMethodInfo);
system\reflection\eventinfo.cs (4)
238private RuntimeMethodInfo m_addMethod; 239private RuntimeMethodInfo m_removeMethod; 240private RuntimeMethodInfo m_raiseMethod; 269RuntimeMethodInfo dummy;
system\reflection\loaderallocator.cs (2)
82internal CerHashtable<RuntimeMethodInfo, RuntimeMethodInfo> m_methodInstantiations;
system\reflection\memberinfoserializationholder.cs (2)
220if (((RuntimeMethodInfo)methods[i]).SerializationToString().Equals(m_signature2)) 246if (((RuntimeMethodInfo)candidateMethod).SerializationToString().Equals(m_signature2))
system\reflection\methodbase.cs (1)
92return RuntimeMethodInfo.InternalGetCurrentMethod(ref stackMark);
system\reflection\methodinfo.cs (8)
51left is RuntimeMethodInfo || right is RuntimeMethodInfo) 359RuntimeMethodInfo m = o as RuntimeMethodInfo; 387internal RuntimeMethodInfo GetParentDefinition() 402return (RuntimeMethodInfo)RuntimeType.GetMethodBase(parent, RuntimeTypeHandle.GetMethodAt(parent, slot)); 442RuntimeMethodInfo mi = obj as RuntimeMethodInfo;
system\reflection\parameterinfo.cs (4)
271Contract.Assert(method is RuntimeMethodInfo || method is RuntimeConstructorInfo); 280Contract.Assert(method is RuntimeMethodInfo || method is RuntimeConstructorInfo); 694RuntimeMethodInfo method = Member as RuntimeMethodInfo;
system\reflection\propertyinfo.cs (3)
201private RuntimeMethodInfo m_getterMethod; 202private RuntimeMethodInfo m_setterMethod; 228RuntimeMethodInfo dummy;
system\reflection\RuntimeReflectionExtensions.cs (1)
19if (!(m is RuntimeMethodInfo)) throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"));
system\rttype.cs (24)
338list = (T[])(object)new RuntimeMethodInfo[1] { 623private unsafe RuntimeMethodInfo[] PopulateMethods(Filter filter) 625ListBuilder<RuntimeMethodInfo> list = new ListBuilder<RuntimeMethodInfo>(); 673RuntimeMethodInfo runtimeMethodInfo = new RuntimeMethodInfo( 781RuntimeMethodInfo runtimeMethodInfo = new RuntimeMethodInfo( 1439int slot = RuntimeMethodHandle.GetSlot((RuntimeMethodInfo)associateMethod); 1579private MemberInfoCache<RuntimeMethodInfo> m_methodInfoCache; 1586private static CerHashtable<RuntimeMethodInfo, RuntimeMethodInfo> s_methodInstantiations; 1817RuntimeMethodInfo rmi = new RuntimeMethodInfo( 1821RuntimeMethodInfo crmi; 1868internal RuntimeMethodInfo[] GetMethodList(MemberListType listType, string name) 1870return GetMemberList<RuntimeMethodInfo>(ref m_methodInfoCache, listType, name, CacheType.Method); 1913GetMemberCache<RuntimeMethodInfo>(ref m_methodInfoCache); 2242RuntimeMethodInfo genericMethodDefinition = (RuntimeMethodInfo)definition; 2500RuntimeMethodInfo method, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes) 2811RuntimeMethodInfo[] cache = Cache.GetMethodList(listType, name); 2816RuntimeMethodInfo methodInfo = cache[i]; 3188Contract.Assert(ifaceMethodBase is RuntimeMethodInfo); 3201Contract.Assert(rtTypeMethodBase == null || rtTypeMethodBase is RuntimeMethodInfo); 4844if (!FilterApplyMethodInfo((RuntimeMethodInfo)semiFinalist, bindingFlags, CallingConventions.Any, new Type[argCnt])) 4898if (!FilterApplyMethodInfo((RuntimeMethodInfo)semiFinalist, bindingFlags, CallingConventions.Any, new Type[argCnt]))
system\runtime\interopservices\attributes.cs (4)
675internal static Attribute GetCustomAttribute(RuntimeMethodInfo method) 683internal static bool IsDefined(RuntimeMethodInfo method) 777internal static Attribute GetCustomAttribute(RuntimeMethodInfo method) 827internal static bool IsDefined(RuntimeMethodInfo method)
system\runtime\interopservices\marshal.cs (5)
864RuntimeMethodInfo rmi = m as RuntimeMethodInfo; 904RuntimeMethodInfo rmi = m as RuntimeMethodInfo; 2300if (!(m is RuntimeMethodInfo))
system\runtime\interopservices\windowsruntime\custompropertyimpl.cs (2)
122RuntimeMethodInfo rtMethod = accessor as RuntimeMethodInfo;
system\runtime\remoting\remotingattributes.cs (3)
270internal RemotingMethodCachedData(RuntimeMethodInfo ri) 458RuntimeMethodInfo rmi = null; 461if ((rmi = mb as RuntimeMethodInfo) != null)
system\runtime\remoting\remotingservices.cs (2)
2796RuntimeMethodInfo rmi = null; 2799if ((rmi = mi as RuntimeMethodInfo) != null)
system\runtime\remoting\soap.cs (4)
476RuntimeMethodInfo rmi = mb as RuntimeMethodInfo; 522RuntimeMethodInfo rmi = mb as RuntimeMethodInfo;
system\security\permissiontoken.cs (4)
168RuntimeMethodInfo getTokenIndex = method as RuntimeMethodInfo; 256RuntimeMethodInfo getTokenIndex = method as RuntimeMethodInfo;
system\security\securityexception.cs (2)
514RuntimeMethodInfo m = value as RuntimeMethodInfo;