C# Class System.Reflection.RuntimeMethodInfo

Inheritance: MethodInfo, ISerializable, IRuntimeMethodInfo
Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
CacheEquals bool
CheckConsistency void
ConstructName string
ConstructParameters string
ConstructParameters string
FetchNonReturnParameters System.Reflection.ParameterInfo[]
FetchReturnParameter ParameterInfo
GetMethodBody MethodBody
GetMethodHandle System.RuntimeMethodHandle
GetOneTimeFlags uint
GetParametersNoCopy System.Reflection.ParameterInfo[]
GetParentDefinition MethodInfo
InternalGetCurrentMethod MethodBase
Invoke Object
Invoke object
RuntimeMethodInfo System
RuntimeMethodInfo System
ThrowNoInvokeException void

Public Methods

Method Description
Equals ( object obj ) : bool
GetBaseDefinition ( ) : MethodInfo
GetCustomAttributes ( Type attributeType, bool inherit ) : Object[]
GetCustomAttributes ( bool inherit ) : Object[]
GetGenericArguments ( ) : System.Type[]
GetGenericMethodDefinition ( ) : MethodInfo
GetHashCode ( ) : int
GetMethodImplementationFlags ( ) : MethodImplAttributes
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetParameters ( ) : System.Reflection.ParameterInfo[]
IsDefined ( Type attributeType, bool inherit ) : bool
MakeGenericMethod ( ) : MethodInfo
ToString ( ) : String

Private Methods

Method Description
CacheEquals ( object o ) : bool
CheckConsistency ( Object target ) : void
ConstructName ( MethodBase mi ) : string
ConstructParameters ( ParameterInfo parameters, CallingConventions callingConvention ) : string
ConstructParameters ( Type parameters, CallingConventions callingConvention ) : string
FetchNonReturnParameters ( ) : System.Reflection.ParameterInfo[]
FetchReturnParameter ( ) : ParameterInfo
GetMethodBody ( ) : MethodBody
GetMethodHandle ( ) : RuntimeMethodHandle
GetOneTimeFlags ( ) : uint
GetParametersNoCopy ( ) : System.Reflection.ParameterInfo[]
GetParentDefinition ( ) : MethodInfo
InternalGetCurrentMethod ( System.Threading.StackCrawlMark &stackMark ) : MethodBase
Invoke ( Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture ) : Object
Invoke ( Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, bool skipVisibilityChecks ) : object
RuntimeMethodInfo ( ) : System
RuntimeMethodInfo ( RuntimeMethodHandle handle, RuntimeTypeHandle declaringTypeHandle, System.RuntimeType.RuntimeTypeCache reflectedTypeCache, MethodAttributes methodAttributes, BindingFlags bindingFlags ) : System
ThrowNoInvokeException ( ) : void

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetBaseDefinition() public method

public GetBaseDefinition ( ) : MethodInfo
return MethodInfo

GetCustomAttributes() public method

public GetCustomAttributes ( Type attributeType, bool inherit ) : Object[]
attributeType System.Type
inherit bool
return Object[]

GetCustomAttributes() public method

public GetCustomAttributes ( bool inherit ) : Object[]
inherit bool
return Object[]

GetGenericArguments() public method

public GetGenericArguments ( ) : System.Type[]
return System.Type[]

GetGenericMethodDefinition() public method

public GetGenericMethodDefinition ( ) : MethodInfo
return MethodInfo

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetMethodImplementationFlags() public method

public GetMethodImplementationFlags ( ) : MethodImplAttributes
return MethodImplAttributes

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetParameters() public method

public GetParameters ( ) : System.Reflection.ParameterInfo[]
return System.Reflection.ParameterInfo[]

IsDefined() public method

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType System.Type
inherit bool
return bool

MakeGenericMethod() public method

public MakeGenericMethod ( ) : MethodInfo
return MethodInfo

ToString() public method

public ToString ( ) : String
return String