MethodUsageInfo Structure |
Represents the usage of a MetadataDeclaration inside the body of a MethodDefDeclaration,
as instruction operands.
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 struct MethodUsageInfo
The MethodUsageInfo type exposes the following members.
Name | Description | |
---|---|---|
MethodUsageInfo |
Initializes a new MethodUsageInfo.
|
Name | Description | |
---|---|---|
Instructions |
Gets the bitmask of instructions whose operand refer to the declaration.
| |
UsedDeclaration |
Gets the declaration used by the method body.
| |
UsingMethod |
Gets the method whose body is using the declaration.
|
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |