PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Type­Signature­Extensions Class / Type­Signature­Extensions Methods / Type­Signature­Extensions.​Find­Method Method / Type­Signature­Extensions.​Find­Method Method (IType­Signature, IMethod)

TypeSignatureExtensions.FindMethod Method (ITypeSignature, IMethod)

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.TypeSignatureExtensions.FindMethod(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.IMethod)"]

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static GenericMethodReference FindMethod(
	this ITypeSignature typeSignature,
	IMethod method
)

Parameters

typeSignature
Type: PostSharp.Sdk.CodeModel.ITypeSignature

[Missing <param name="typeSignature"/> documentation for "M:PostSharp.Sdk.CodeModel.TypeSignatureExtensions.FindMethod(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.IMethod)"]

method
Type: PostSharp.Sdk.CodeModel.IMethod

[Missing <param name="method"/> documentation for "M:PostSharp.Sdk.CodeModel.TypeSignatureExtensions.FindMethod(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.IMethod)"]

Return Value

Type: GenericMethodReference

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.TypeSignatureExtensions.FindMethod(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.IMethod)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITypeSignature. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also