CanonicalMethodMapping Class |
An implementation of MethodMapping representing an identical mapping,
where all parameters are mapped to themselves.
System.Object
PostSharp.Sdk.AspectInfrastructure.MethodMapping
PostSharp.Sdk.AspectInfrastructure.CanonicalMethodMapping
PostSharp.Sdk.AspectInfrastructure.MethodMapping
PostSharp.Sdk.AspectInfrastructure.CanonicalMethodMapping
Namespace: PostSharp.Sdk.AspectInfrastructure
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public class CanonicalMethodMapping : MethodMapping
The CanonicalMethodMapping type exposes the following members.
Name | Description | |
---|---|---|
CanonicalMethodMapping(AspectInfrastructureTask, IMethod, GenericMap) | Obsolete.
Initializes a new CanonicalMethodMapping from a method.
| |
CanonicalMethodMapping(AspectInfrastructureTask, ITypeSignature, IMethodSignature, GenericMap, MethodDefDeclaration) |
Initializes a new CanonicalMethodMapping by specifying it completely.
|
Name | Description | |
---|---|---|
AvailableContextItems |
Set of context items (MethodMappingContextItem) that are available in the current context.
(Inherited from MethodMapping.) | |
GenericMap |
Gets the GenericMap mapping the current generic context to the original generic context.
(Overrides MethodMapping.GenericMap.) | |
InstanceType |
Gets the type of values of the this reference mapped in the current generic context.
If this is a value type (IsValueType is true), the current property
is a managed pointer to the value type.
(Overrides MethodMapping.InstanceType.) | |
InstanceValueType |
Gets the value type of the this reference, without the managed pointer.
(Overrides MethodMapping.InstanceValueType.) | |
IsValueType |
Determines whether the this object is a value type.
(Overrides MethodMapping.IsValueType.) | |
MethodMappingInformation |
Gets static information about the current MethodMapping.
(Inherited from MethodMapping.) | |
MethodSignature |
Gets the method signature mapped in the current generic context.
(Overrides MethodMapping.MethodSignature.) | |
Module |
Gets the current ModuleDeclaration.
(Inherited from MethodMapping.) | |
Task |
Gets the parent AspectInfrastructureTask.
(Inherited from MethodMapping.) |
Name | Description | |
---|---|---|
CreateWriter |
Creates a MethodMappingWriter able to emit MSIL instructions relevant for the current MethodMapping.
(Overrides MethodMapping.CreateWriter().) | |
DefineLocalStorage | (Inherited from MethodMapping.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInstanceTypeDefinition |
Gets the TypeDefDeclaration of the this object.
(Inherited from MethodMapping.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |