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

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: 6.10.14.0 (6.10.14.0)
Syntax
C#
public struct MethodUsageInfo

The MethodUsageInfo type exposes the following members.

Constructors
  NameDescription
Public methodMethodUsageInfo
Initializes a new MethodUsageInfo.
Properties
  NameDescription
Public propertyInstructions
Gets the bitmask of instructions whose operand refer to the declaration.
Public propertyUsedDeclaration
Gets the declaration used by the method body.
Public propertyUsingMethod
Gets the method whose body is using the declaration.
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
See Also