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\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]))