PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / ICopy­Buffer­Expression Interface

ICopyBufferExpression Interface

Expression equivalent to the cpblk instruction.

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public interface ICopyBufferExpression : IExpression, 
	IMethodBodyElement

The ICopyBufferExpression type exposes the following members.

Properties
  NameDescription
Public propertyAlignment
Gets the alignment of source and destination buffers.
Public propertyDestination
Gets the destination address.
Public propertyIsVolatile
Determines whether the buffers can be modified from a different thread.
Public propertyLength
Gets the number of bytes to be copied.
Public propertyMethodBodyElementKind
Gets the kind of syntax element.
(Inherited from IMethodBodyElement.)
Public propertyParentElement
Gets the parent element in the tree.
(Inherited from IMethodBodyElement.)
Public propertyParentMethodBody
Gets the parent method body.
(Inherited from IMethodBodyElement.)
Public propertyReturnType
Gets the type of the return value of the current expression, or Void if the expression does not return anything (i.e. for pure instructions, for instance a goto or throw instruction).
(Inherited from IExpression.)
Public propertySource
Gets the source address.
Remarks

This expression type has no equivalent in C#.

See Also