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: 2023.0.3.0 (2023.0.3.0)
C#
public interface IIndexMethodUsageService : IService
The IIndexMethodUsageService type exposes the following members.
Name | Description | |
---|---|---|
GetUsedBy |
Gets the set of methods using a given declaration in their method bodies.
| |
GetUsedByWithInfo |
Gets the set of methods using a given declaration in their method bodies and returns information about
which instructions this declaration is used with.
| |
GetUsedDeclarations |
Gets all declarations used in the current assembly.
| |
GetUses |
Gets the set of declarations used by a given method.
| |
GetUsesWithInfo |
Gets the set of declarations used by a given method and returns information about
which instructions these declarations are used with.
|