106 if (name.Length == 0)
113 if (attributes !=
null)
191 if (
obj.GetType() != GetType())
273 while (num <
list.Count)
276 object obj =
list[num]?.TypeId;
302 [
UnconditionalSuppressMessage(
"ReflectionAnalysis",
"IL2067:UnrecognizedReflectionPattern", Justification =
"This method only looks for public methods by hard-coding publicOnly=true")]
334 if (instance ==
null)
346 [
Obsolete(
"MemberDescriptor.GetInvokee has been deprecated. Use GetInvocationTarget instead.")]
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
void Add(TKey key, TValue value)
static readonly DesignOnlyAttribute Yes
static ? ISite GetSite(object? component)
override int GetHashCode()
virtual ? Attribute[] AttributeArray
void CheckAttributesValid()
MemberDescriptor(MemberDescriptor descr)
static ? MethodInfo FindMethod([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods|DynamicallyAccessedMemberTypes.NonPublicMethods)] Type componentClass, string name, Type[] args, Type returnType, bool publicOnly)
override bool Equals([NotNullWhen(true)] object? obj)
static object GetInvokee(Type componentClass, object component)
virtual ? object GetInvocationTarget(Type type, object instance)
virtual string Description
Attribute[] _originalAttributes
static ? MethodInfo FindMethod([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] Type componentClass, string name, Type[] args, Type returnType)
MemberDescriptor(MemberDescriptor oldMemberDescriptor, Attribute[]? newAttributes)
MemberDescriptor(string name, Attribute[]? attributes)
virtual AttributeCollection CreateAttributeCollection()
AttributeCollection _attributeCollection
virtual string DisplayName
virtual void FillAttributes(IList attributeList)
virtual AttributeCollection Attributes
virtual bool DesignTimeOnly
void FilterAttributesIfNeeded()
readonly string _displayName
readonly object _lockCookie
MemberDescriptor(string name)
static int MetadataVersion
static object GetAssociation(Type type, object primary)
static string InvalidMemberName
DynamicallyAccessedMemberTypes