Table of Contents

Class UnaryNegationOperatorStaticSemantics

Namespace
RDCore.SDK.Semantics.Static.Operators
Assembly
RDCore.SDK.dll

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

resolver ISymbolResolver
expression BoundExpression

The expression node being evaluated.

operand VBType

The declared type of the operand.

Returns

StaticSemanticsEvaluationResult