PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IMethod Interface / IMethod Methods / IMethod.​Get­System­Method Method / IMethod.​Get­System­Method Method (Type[], Type[], Binding­Options)

IMethod.GetSystemMethod Method (Type[], Type[], BindingOptions)

Gets the system runtime method corresponding to the current method.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
MethodBase GetSystemMethod(
	Type[] genericTypeArguments,
	Type[] genericMethodArguments,
	BindingOptions bindingOptions
)

Parameters

genericTypeArguments
Type: System.Type[]
Array of generic type arguments valid in the current context.
genericMethodArguments
Type: System.Type[]
Array of generic method arguments valid in the current context.
bindingOptions
Type: PostSharp.Sdk.CodeModel.BindingOptions
Binding options.

Return Value

Type: MethodBase
The system runtime MethodBase, or null if the current method could not be bound.
See Also