PostSharp SDK 6.10 / / 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
System.Object
  PostSharp.Sdk.AspectInfrastructure.MethodMapping
    PostSharp.Sdk.AspectInfrastructure.CanonicalMethodMapping

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public class CanonicalMethodMapping : MethodMapping

The CanonicalMethodMapping type exposes the following members.

Constructors
  NameDescription
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.
Properties
  NameDescription
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.)
Methods
  NameDescription
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