MethodSpecDeclaration.GetSystemMethod Method (Type[], Type[]) |
Gets the system runtime method corresponding to the current method.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public MethodBase GetSystemMethod( Type[] genericTypeArguments, Type[] genericMethodArguments )
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.
Return Value
Type: MethodBaseThe system runtime MethodBase, or null if the current method could not be bound.