Class MethodInfoExtensions
Represents the method info extensions.
Inherited Members
Namespace: Platform.Reflection
Assembly: Platform.Reflection.dll
Syntax
public static class MethodInfoExtensions
Methods
| Improve this Doc View SourceGetILBytes(MethodInfo)
Gets the il bytes using the specified method info.
Declaration
public static byte[] GetILBytes(this MethodInfo methodInfo)
Parameters
Type | Name | Description |
---|---|---|
MethodInfo | methodInfo | The method info.
|
Returns
Type | Description |
---|---|
Byte[] | The byte array
|
GetParameterTypes(MethodInfo)
Gets the parameter types using the specified method info.
Declaration
public static Type[] GetParameterTypes(this MethodInfo methodInfo)
Parameters
Type | Name | Description |
---|---|---|
MethodInfo | methodInfo | The method info.
|
Returns
Type | Description |
---|---|
Type[] | The type array
|