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

IIndexMethodUsageService Interface

Service (provided by GetServices<T>()) that provides access to the index of method usages.

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 interface IIndexMethodUsageService : IService

The IIndexMethodUsageService type exposes the following members.

Methods
  NameDescription
Public methodGetUsedBy
Gets the set of methods using a given declaration in their method bodies.
Public methodGetUsedByWithInfo
Gets the set of methods using a given declaration in their method bodies and returns information about which instructions this declaration is used with.
Public methodGetUsedDeclarations
Gets all declarations used in the current assembly.
Public methodGetUses
Gets the set of declarations used by a given method.
Public methodGetUsesWithInfo
Gets the set of declarations used by a given method and returns information about which instructions these declarations are used with.
See Also