Boo.Lang.Compiler.Steps.EmitAssembly.GetExpectedTypeForBitwiseRightOperand C# (CSharp) Метод

GetExpectedTypeForBitwiseRightOperand() приватный Метод

private GetExpectedTypeForBitwiseRightOperand ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : IType
node Boo.Lang.Compiler.Ast.BinaryExpression
Результат IType
        IType GetExpectedTypeForBitwiseRightOperand(BinaryExpression node)
        {
            switch (node.Operator)
            {
                case BinaryOperatorType.ShiftLeft:
                case BinaryOperatorType.ShiftRight:
                    return TypeSystemServices.IntType;
            }
            return GetExpressionType(node);
        }
EmitAssembly