PostSharp4.3//API Reference/Post­Sharp.​Reflection.​Syntax Namespace/IField­Expression Interface
IFieldExpression Interface
Expression that represents a field.

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

The IFieldExpression type exposes the following members.

Public propertyAlignment
Gets the field alignment.
Public propertyField
Gets the field.
Public propertyInstance
Gets the object containing the field, or null if the field is static.
Public propertyIsVolatile
Determine whether the field is can be written by a different thread than the current one.
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.)
See Also