PostSharp4.3//API Reference/Post­Sharp.​Reflection.​Syntax Namespace/IInit­Buffer­Expression Interface
IInitBufferExpression Interface
Expression equivalent to the Initblk instruction.

Namespace: PostSharp.Reflection.Syntax
Assembly: PostSharp (in PostSharp.dll) Version: (
public interface IInitBufferExpression : IExpression, 

The IInitBufferExpression type exposes the following members.

Public propertyAlignment
Gets the alignment of the buffers.
Public propertyBuffer
Gets the address of the buffer to be initialized.
Public propertyIsVolatile
Determines whether the buffers can be modified from a different thread.
Public propertyLength
Gets the number of bytes to be initialized.
Public propertyParentElement
Gets the parent element in the tree.
(Inherited from ISyntaxElement.)
Public propertyParentMethodBody
Gets the parent method body.
(Inherited from ISyntaxElement.)
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 propertySyntaxElementKind
Gets the kind of syntax element.
(Inherited from ISyntaxElement.)

This expression type has no equivalent in C#.

See Also