IFieldExpression Interface |
Expression that represents a field.
Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.21.0 (6.5.21.0)
C#
public interface IFieldExpression : IExpression, IMethodBodyElement
The IFieldExpression type exposes the following members.
Name | Description | |
---|---|---|
Alignment |
Gets the field alignment.
| |
Field |
Gets the field.
| |
Instance |
Gets the object containing the field, or null if the field is static.
| |
IsVolatile |
Determine whether the field is can be written by a different thread than the current one.
| |
MethodBodyElementKind |
Gets the kind of syntax element.
(Inherited from IMethodBodyElement.) | |
ParentElement |
Gets the parent element in the tree.
(Inherited from IMethodBodyElement.) | |
ParentMethodBody |
Gets the parent method body.
(Inherited from IMethodBodyElement.) | |
ReturnType |
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.) |