CDISP0302E

A value name is expected, but the identifier identifier is not a value in this scope.

An identifier is referenced in a context that requires an expression value, but the identifier is not the correct kind. The identifier might refer to a type, an operator, or a function that is not a value.
Ensure that the expression is valid.