11 [__DynamicallyInvokable]
12 [PermissionSet(
SecurityAction.InheritanceDemand, Name =
"FullTrust")]
21 [__DynamicallyInvokable]
24 [__DynamicallyInvokable]
34 [__DynamicallyInvokable]
37 [__DynamicallyInvokable]
56 [__DynamicallyInvokable]
59 if ((
object)left == right)
63 if ((
object)left ==
null || (
object)right ==
null || left is RuntimeMethodInfo || right is RuntimeMethodInfo)
75 [__DynamicallyInvokable]
78 return !(left == right);
85 [__DynamicallyInvokable]
86 public override bool Equals(
object obj)
88 return base.Equals(obj);
93 [__DynamicallyInvokable]
96 return base.GetHashCode();
101 [__DynamicallyInvokable]
108 [__DynamicallyInvokable]
119 [__DynamicallyInvokable]
133 [__DynamicallyInvokable]
142 [__DynamicallyInvokable]
152 [__DynamicallyInvokable]
180 throw new NotImplementedException();
192 throw new NotImplementedException();
205 void _MethodInfo.
Invoke(uint dispIdMember, [
In] ref Guid riid, uint lcid,
short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
207 throw new NotImplementedException();
Discovers the attributes of a parameter and provides access to parameter metadata.
override int GetHashCode()
Returns the hash code for this instance.
abstract MethodInfo GetBaseDefinition()
When overridden in a derived class, returns the T:System.Reflection.MethodInfo object for the method ...
virtual MethodInfo GetGenericMethodDefinition()
Returns a T:System.Reflection.MethodInfo object that represents a generic method definition from whic...
override bool Equals(object obj)
Returns a value that indicates whether this instance is equal to a specified object.
Discovers the attributes of a method and provides access to method metadata.
Exposes the public members of the T:System.Reflection.MethodInfo class to unmanaged code.
virtual Type ReturnType
Gets the return type of this method.
void GetTypeInfoCount(out uint pcTInfo)
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
virtual MethodInfo MakeGenericMethod(params Type[] typeArguments)
Substitutes the elements of an array of types for the type parameters of the current generic method d...
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...
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.
SecurityAction
Specifies the security actions that can be performed using declarative security.
Provides information about, and means to manipulate, the current environment and platform....
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 ParameterInfo ReturnParameter
Gets a T:System.Reflection.ParameterInfo object that contains information about the return type of th...
virtual Delegate CreateDelegate(Type delegateType)
Creates a delegate of the specified type from this method.
static bool operator !=(MethodInfo left, MethodInfo right)
Indicates whether two T:System.Reflection.MethodInfo objects are not equal.
Represents a delegate, which is a data structure that refers to a static method or to a class instanc...
Represents type declarations: class types, interface types, array types, value types,...
override MemberTypes MemberType
Gets a T:System.Reflection.MemberTypes value indicating that this member is a method.
Provides information about methods and constructors.
abstract ICustomAttributeProvider ReturnTypeCustomAttributes
Gets the custom attributes for the return type.
override Type [] GetGenericArguments()
Returns an array of T:System.Type objects that represent the type arguments of a generic method or th...
virtual Delegate CreateDelegate(Type delegateType, object target)
Creates a delegate of the specified type with the specified target from this method.
static bool operator==(MethodInfo left, MethodInfo right)
Indicates whether two T:System.Reflection.MethodInfo objects are equal.
Specifies that the class can be serialized.
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
Specifies that the parameter is an input parameter.
new Type GetType()
Provides COM objects with version-independent access to the M:System.Type.GetType method.
The exception that is thrown when an invoked method is not supported, or when there is an attempt to ...
MemberTypes
Marks each type of member that is defined as a derived class of T:System.Reflection....
The exception that is thrown when a requested method or operation is not implemented.
Provides custom attributes for reflection objects that support them.