PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IMethod Interface / IMethod Methods / IMethod.​Get­Generic­Method Method

IMethod.GetGenericMethod Method

If this is a MethodDefDeclaration or a MethodRefDeclaration, returns itself.

If this is a MethodSpecDeclaration, returns the method-def-declaration or the method-ref-declaration that it's derived from.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
IGenericMethodDefinition GetGenericMethod()

Return Value

Type: IGenericMethodDefinition

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.IMethod.GetGenericMethod"]

See Also