PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / Method­Usage­Info Structure / Method­Usage­Info Constructor

MethodUsageInfo Constructor

Initializes a new MethodUsageInfo.

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public MethodUsageInfo(
	MethodDefDeclaration usingMethod,
	MetadataDeclaration usedDeclaration,
	IndexUsagesInstructions instructions
)

Parameters

usingMethod
Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration
Method whose body is using the declaration.
usedDeclaration
Type: PostSharp.Sdk.CodeModel.MetadataDeclaration
Declaration used by the method body.
instructions
Type: PostSharp.Sdk.Extensibility.Tasks.IndexUsagesInstructions
Bitmask of instructions whose operand refer to the declaration.
See Also