PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Canonical­Method­Mapping Class

CanonicalMethodMapping Class

An implementation of MethodMapping representing an identical mapping, where all parameters are mapped to themselves.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public class CanonicalMethodMapping : MethodMapping

The CanonicalMethodMapping type exposes the following members.

Public methodCanonicalMethodMapping(AspectInfrastructureTask, IMethod, GenericMap) Obsolete.
Initializes a new CanonicalMethodMapping from a method.
Public methodCanonicalMethodMapping(AspectInfrastructureTask, ITypeSignature, IMethodSignature, GenericMap, MethodDefDeclaration)
Initializes a new CanonicalMethodMapping by specifying it completely.
Public propertyAvailableContextItems
Set of context items (MethodMappingContextItem) that are available in the current context.
(Inherited from MethodMapping.)
Public propertyGenericMap
Gets the GenericMap mapping the current generic context to the original generic context.
(Overrides MethodMapping.GenericMap.)
Public propertyInstanceType
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.)
Public propertyInstanceValueType
Gets the value type of the this reference, without the managed pointer.
(Overrides MethodMapping.InstanceValueType.)
Public propertyIsValueType
Determines whether the this object is a value type.
(Overrides MethodMapping.IsValueType.)
Public propertyMethodMappingInformation
Gets static information about the current MethodMapping.
(Inherited from MethodMapping.)
Public propertyMethodSignature
Gets the method signature mapped in the current generic context.
(Overrides MethodMapping.MethodSignature.)
Public propertyModule
Gets the current ModuleDeclaration.
(Inherited from MethodMapping.)
Public propertyTask
Gets the parent AspectInfrastructureTask.
(Inherited from MethodMapping.)
Public methodCreateWriter
Creates a MethodMappingWriter able to emit MSIL instructions relevant for the current MethodMapping.
(Overrides MethodMapping.CreateWriter().)
Public methodDefineLocalStorage (Inherited from MethodMapping.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInstanceTypeDefinition
Gets the TypeDefDeclaration of the this object.
(Inherited from MethodMapping.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also