Class UnaryNegationOperatorStaticSemantics
MS-VBAL 5.6.9.3.1 Unary '-' Operator (static semantics)
public sealed record UnaryNegationOperatorStaticSemantics : UnaryArithmeticOperatorStaticSemantics, IEquatable<StaticSemantics>, IStaticSemantics, IEquatable<UnaryArithmeticOperatorStaticSemantics>, IEquatable<UnaryNegationOperatorStaticSemantics>
- Inheritance
-
UnaryNegationOperatorStaticSemantics
- Implements
- Inherited Members
Methods
DetermineOperatorStaticType(ISymbolResolver, ExpressionNode, VBType)
MS-VBAL 5.6.9.3 Arithmetic Operators (static semantics) The operator has the declared type returned by this method, based on the declared type of its operands.
protected override StaticSemanticsEvaluationResult DetermineOperatorStaticType(ISymbolResolver resolver, ExpressionNode expression, VBType operand)
Parameters
resolverISymbolResolverexpressionExpressionNodeThe expression node being evaluated.
operandVBTypeThe declared type of the operand.