PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Name­Mapper Class

NameMapper Class

Provides an additional level of indirection between a named metadata declaration and its name, allowing to use the services of IWriteReflectionName in situations where the name of declaration has changed, for instance in an obfuscator.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.NameMapper

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public class NameMapper

The NameMapper type exposes the following members.

Constructors
  NameDescription
Public methodNameMapper
Initializes a new instance of the NameMapper class
Methods
  NameDescription
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 methodGetName
Gets the name of a declaration.
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.)
Fields
  NameDescription
Public fieldStatic memberDefault
The default NameMapper, where the name is unchanged.
See Also