MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeISource­ExpressionAs­Typed­Constant
Open sandboxFocus

ISourceExpression.AsTypedConstant Property

AsTypedConstant

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

Declaration
TypedConstant? AsTypedConstant { get; }
Property Value
Type Description
TypedConstant?