PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / IIndex­Method­Usage­Service Interface / IIndex­Method­Usage­Service Methods / IIndex­Method­Usage­Service.​Get­Uses­With­Info Method

IIndexMethodUsageService.GetUsesWithInfo Method

Gets the set of declarations used by a given method and returns information about which instructions these declarations are used with.

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
ICollection<MethodUsageInfo> GetUsesWithInfo(
	MethodDefDeclaration method


Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration
A method.

Return Value

Type: ICollection<MethodUsageInfo>
The set of declarations used by the body of method including, for each declaration, an IndexUsagesInstructions value indicating in which instructions the declaration is used.
See Also