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(StaticEvaluationContext, 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(StaticEvaluationContext context, ExpressionNode expression, VBType operand)
Parameters
contextStaticEvaluationContextexpressionExpressionNodeThe expression node being evaluated.
operandVBTypeThe declared type of the operand.