Boo.Lang.Compiler.Steps.EmitAssembly.GetExpectedTypeForBitwiseRightOperand C# (CSharp) Méthode

GetExpectedTypeForBitwiseRightOperand() private méthode

private GetExpectedTypeForBitwiseRightOperand ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : IType
node Boo.Lang.Compiler.Ast.BinaryExpression
Résultat IType
        IType GetExpectedTypeForBitwiseRightOperand(BinaryExpression node)
        {
            switch (node.Operator)
            {
                case BinaryOperatorType.ShiftLeft:
                case BinaryOperatorType.ShiftRight:
                    return TypeSystemServices.IntType;
            }
            return GetExpressionType(node);
        }
EmitAssembly