ShaderTools.Hlsl.Binding.BinaryOperator.Resolve C# (CSharp) Method

Resolve() public static method

public static Resolve ( BinaryOperatorKind kind, TypeSymbol leftOperandType, TypeSymbol rightOperandType ) : OverloadResolutionResult
kind BinaryOperatorKind
leftOperandType ShaderTools.Hlsl.Symbols.TypeSymbol
rightOperandType ShaderTools.Hlsl.Symbols.TypeSymbol
return OverloadResolutionResult
        public static OverloadResolutionResult<BinaryOperatorSignature> Resolve(BinaryOperatorKind kind, TypeSymbol leftOperandType, TypeSymbol rightOperandType)
        {
            return ResolveOverloads(kind, leftOperandType, rightOperandType);
        }

Usage Example

Exemplo n.º 1
0
 private static OverloadResolutionResult <BinaryOperatorSignature> LookupBinaryOperator(BinaryOperatorKind operatorKind, BoundExpression left, BoundExpression right)
 {
     return(BinaryOperator.Resolve(operatorKind, left.Type, right.Type));
 }