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

Resolve() public static method

public static Resolve ( UnaryOperatorKind kind, TypeSymbol operandType ) : OverloadResolutionResult
kind UnaryOperatorKind
operandType ShaderTools.Hlsl.Symbols.TypeSymbol
return OverloadResolutionResult
        public static OverloadResolutionResult<UnaryOperatorSignature> Resolve(UnaryOperatorKind kind, TypeSymbol operandType)
        {
            return ResolveOverloads(kind, operandType);
        }

Usage Example

Exemplo n.º 1
0
 private static OverloadResolutionResult <UnaryOperatorSignature> LookupUnaryOperator(UnaryOperatorKind operatorKind, BoundExpression operand)
 {
     return(UnaryOperator.Resolve(operatorKind, operand.Type));
 }