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, BoundExpression, 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, BoundExpression expression, VBType operand)
Parameters
resolverISymbolResolverexpressionBoundExpressionThe expression node being evaluated.
operandVBTypeThe declared type of the operand.