PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Method­Extensions Class / Method­Extensions Methods / Method­Extensions.​Get­Call­Op­Code Method

MethodExtensions.GetCallOpCode Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.MethodExtensions.GetCallOpCode(PostSharp.Sdk.CodeModel.IMethod)"]

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
public static OpCodeNumber GetCallOpCode(
	this IMethod method


Type: PostSharp.Sdk.CodeModel.IMethod

[Missing <param name="method"/> documentation for "M:PostSharp.Sdk.CodeModel.MethodExtensions.GetCallOpCode(PostSharp.Sdk.CodeModel.IMethod)"]

Return Value

Type: OpCodeNumber

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.MethodExtensions.GetCallOpCode(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 IMethod. 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