Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / IField­Or­Property / Initializer­Expression

Property InitializerExpression

InitializerExpression

Gets the initializer expression (i.e. the expression at the right hand of the equal sign), if any. When the field or property is defined in source code, this property returns an ISourceExpression, which exposes a TypedConstant when possible.

Declaration
IExpression InitializerExpression { get; }
Property Value
Type Description
IExpression