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

MethodMappingWriter Methods

The MethodMappingWriter type exposes the following members.

Methods
  NameDescription
Public methodClone
Clones the current MethodMappingWriter.
Public methodEmitLoadArgument
Emits instructions that load the value of an argument on the stack.
Public methodEmitLoadArgumentAddress
Emits instructions that load the address of an argument on the stack.
Public methodEmitLoadContextItem
Emits instructions that load the value of a context item on the stack. If the item is not available in the current context, it is loaded using instructions emitted by a delegate.
Public methodEmitLoadInstance
Emits instructions that load the this value on the stack.
Public methodEmitStoreByRefArgument
Emits instructions that set the value of an out or ref argument.
Public methodEmitStoreContextItemIntoLocal(MethodMappingContextItem, InstructionWriter, ILocalStorage)
Emits instructions that store a context item into an existing local variable.
Public methodEmitStoreContextItemIntoLocal(MethodMappingContextItem, InstructionWriter, ILocalStorage, ILocalStorage)
Public methodEmitStoreContextItemIntoLocal(MethodMappingContextItem, InstructionWriter, ILocalStorage, Boolean)
Emits instructions that store the value of a context item into a local variable, creates and returns the local variable if it has not been passed by the caller, and returns a value indicating whether the value stored may be null at run time.
Public methodEmitStoreContextItemIntoLocalConditional(MethodMappingContextItem, ILocalStorage, ITypeSignature, InstructionWriter, Action<InstructionWriter, ILocalStorage>)
Public methodEmitStoreContextItemIntoLocalConditional(MethodMappingContextItem, ILocalStorage, ITypeSignature, InstructionWriter, Action<InstructionWriter, ILocalStorage>, Action<InstructionWriter, ILocalStorage>)
Emits instructions that store the value of a context item to a local variable. If the item is not available in the current context, it is loaded using instructions emitted by a delegate.
Public methodEmitStoreContextItemIntoLocalConditional(MethodMappingContextItem, ILocalStorage, ILocalStorage, ITypeSignature, InstructionWriter, Action<InstructionWriter, ILocalStorage>, Action<InstructionWriter, ILocalStorage>)
Public methodEmitStoreInstance
Emits instructions that set the value of the this object (typically a struct).
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 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