system\attribute.cs (11)
450public static Attribute[] GetCustomAttributes(MemberInfo element, Type type)
455public static Attribute[] GetCustomAttributes(MemberInfo element, Type type, bool inherit)
480public static Attribute[] GetCustomAttributes(MemberInfo element)
485public static Attribute[] GetCustomAttributes(MemberInfo element, bool inherit)
504public static bool IsDefined(MemberInfo element, Type attributeType)
509public static bool IsDefined(MemberInfo element, Type attributeType, bool inherit)
536public static Attribute GetCustomAttribute(MemberInfo element, Type attributeType)
541public static Attribute GetCustomAttribute(MemberInfo element, Type attributeType, bool inherit)
583MemberInfo member = element.Member;
600MemberInfo member = element.Member;
625MemberInfo member = element.Member;
system\reflection\CustomAttributeExtensions.cs (12)
16public static Attribute GetCustomAttribute(this MemberInfo element, Type attributeType)
33public static T GetCustomAttribute<T>(this MemberInfo element) where T : Attribute
42public static Attribute GetCustomAttribute(this MemberInfo element, Type attributeType, bool inherit)
51public static T GetCustomAttribute<T>(this MemberInfo element, bool inherit) where T : Attribute
70public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element)
79public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element, bool inherit)
98public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element, Type attributeType)
115public static IEnumerable<T> GetCustomAttributes<T>(this MemberInfo element) where T : Attribute
124public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element, Type attributeType, bool inherit)
133public static IEnumerable<T> GetCustomAttributes<T>(this MemberInfo element, bool inherit) where T : Attribute
152public static bool IsDefined(this MemberInfo element, Type attributeType)
161public static bool IsDefined(this MemberInfo element, Type attributeType, bool inherit)
system\reflection\parameterinfo.cs (9)
36protected MemberInfo MemberImpl;
99public virtual MemberInfo Member {
101Contract.Ensures(Contract.Result<MemberInfo>() != null);
269internal unsafe static ParameterInfo[] GetParameters(IRuntimeMethodInfo method, MemberInfo member, Signature sig)
278internal unsafe static ParameterInfo GetReturnParameter(IRuntimeMethodInfo method, MemberInfo member, Signature sig)
289IRuntimeMethodInfo methodHandle, MemberInfo member, Signature sig, out ParameterInfo returnParameter, bool fetchReturnParameter)
444: this(accessor, (MemberInfo)property)
449private RuntimeParameterInfo(RuntimeParameterInfo accessor, MemberInfo member)
474int position, ParameterAttributes attributes, MemberInfo member)
system\rttype.cs (15)
271private class MemberInfoCache<T> where T : MemberInfo
1615where T : MemberInfo
1641where T : MemberInfo
2228internal static void ValidateGenericArguments(MemberInfo definition, RuntimeType[] genericArguments, Exception e)
2376private static bool FilterApplyPrefixLookup(MemberInfo memberInfo, string name, bool ignoreCase)
2397MemberInfo memberInfo, BindingFlags bindingFlags, bool isPublic, bool isNonProtectedInternal, bool isStatic,
3118public override MemberInfo[] GetMembers(BindingFlags bindingAttr)
3128MemberInfo[] members = new MemberInfo[
3457public override MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr)
3525MemberInfo[] compressMembers = (type == (MemberTypes.Method | MemberTypes.Constructor)) ?
3526new MethodBase[totalCount] : new MemberInfo[totalCount];
4490public override MemberInfo[] GetDefaultMembers()
4493MemberInfo[] members = null;
4502members = EmptyArray<MemberInfo>.Value;
system\runtime\serialization\objectmanager.cs (7)
586Contract.Assert(fixupInfo is MemberInfo,"fixupInfo is MemberInfo");
588MemberInfo tempMember = (MemberInfo)fixupInfo;
723public void RegisterObject(Object obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member) {
728internal void RegisterString(String obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member)
740public void RegisterObject(Object obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member, int[] arrayIndex) {
1010public virtual void RecordFixup(long objectToBeFixed, MemberInfo member, long objectRequired) {