Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / ISource­Expression / As­Typed­Constant

Property AsTypedConstant

AsTypedConstant

Gets the TypedConstant corresponding to the current expression, or null if the current expression cannot be represented as a TypedConstant.

Declaration
Nullable<TypedConstant> AsTypedConstant { get; }
Property Value
Type Description
Nullable<TypedConstant>