12 [__DynamicallyInvokable]
13 [PermissionSet(
SecurityAction.InheritanceDemand, Name =
"FullTrust")]
25 [__DynamicallyInvokable]
26 public abstract string Name 28 [__DynamicallyInvokable]
34 [__DynamicallyInvokable]
37 [__DynamicallyInvokable]
43 [__DynamicallyInvokable]
46 [__DynamicallyInvokable]
52 [__DynamicallyInvokable]
55 [__DynamicallyInvokable]
76 [__DynamicallyInvokable]
79 [__DynamicallyInvokable]
84 return ((
Type)
this).Module;
90 internal virtual bool CacheEquals(
object o)
101 [__DynamicallyInvokable]
112 [__DynamicallyInvokable]
121 [__DynamicallyInvokable]
122 public abstract bool IsDefined(
Type attributeType,
bool inherit);
136 [__DynamicallyInvokable]
139 if ((
object)left == right)
143 if ((
object)left ==
null || (
object)right ==
null)
149 if ((left2 = (left as
Type)) !=
null && (right2 = (right as
Type)) !=
null)
151 return left2 == right2;
157 return left3 == right3;
163 return left4 == right4;
169 return left5 == right5;
175 return left6 == right6;
185 [__DynamicallyInvokable]
188 return !(left == right);
195 [__DynamicallyInvokable]
198 return base.Equals(obj);
203 [__DynamicallyInvokable]
206 return base.GetHashCode();
231 throw new NotImplementedException();
243 throw new NotImplementedException();
256 void _MemberInfo.
Invoke(uint dispIdMember, [
In] ref Guid riid, uint lcid,
short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
258 throw new NotImplementedException();
Obtains information about the attributes of a member and provides access to member metadata.
Performs reflection on a module.
abstract Type DeclaringType
Gets the class that declares this member.
static bool operator !=(MemberInfo left, MemberInfo right)
Indicates whether two T:System.Reflection.MemberInfo objects are not equal.
Discovers the attributes of a field and provides access to field metadata.
abstract object [] GetCustomAttributes(bool inherit)
When overridden in a derived class, returns an array of all custom attributes applied to this member.
Exposes the enumerator, which supports a simple iteration over a collection of a specified type....
new Type GetType()
Provides COM objects with version-independent access to the M:System.Type.GetType method.
SecurityAction
Specifies the security actions that can be performed using declarative security.
abstract bool IsDefined(Type attributeType, bool inherit)
When overridden in a derived class, indicates whether one or more attributes of the specified type or...
void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
Maps a set of names to a corresponding set of dispatch identifiers.
virtual IEnumerable< CustomAttributeData > CustomAttributes
Gets a collection that contains this member's custom attributes.
Discovers the attributes of an event and provides access to event metadata.
Represents type declarations: class types, interface types, array types, value types,...
Provides information about methods and constructors.
abstract string Name
Gets the name of the current member.
static bool operator==(MemberInfo left, MemberInfo right)
Indicates whether two T:System.Reflection.MemberInfo objects are equal.
override int GetHashCode()
Returns the hash code for this instance.
Discovers the attributes of a property and provides access to property metadata.
void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
Provides access to properties and methods exposed by an object.
abstract Type ReflectedType
Gets the class object that was used to obtain this instance of MemberInfo.
Represents a collection of objects that can be individually accessed by index.
void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo)
Retrieves the type information for an object, which can be used to get the type information for an in...
virtual IList< CustomAttributeData > GetCustomAttributesData()
Returns a list of T:System.Reflection.CustomAttributeData objects representing data about the attribu...
Specifies that the class can be serialized.
The exception that is thrown when a method call is invalid for the object's current state.
abstract MemberTypes MemberType
When overridden in a derived class, gets a T:System.Reflection.MemberTypes value indicating the type ...
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
Specifies that the parameter is an input parameter.
void GetTypeInfoCount(out uint pcTInfo)
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
MemberTypes
Marks each type of member that is defined as a derived class of T:System.Reflection....
Exposes the public members of the T:System.Reflection.MemberInfo class to unmanaged code.
The exception that is thrown when a requested method or operation is not implemented.
Provides custom attributes for reflection objects that support them.
virtual int MetadataToken
Gets a value that identifies a metadata element.
override bool Equals(object obj)
Returns a value that indicates whether this instance is equal to a specified object.