Boo.Lang.Compiler.Steps.ProcessMethodBodies.ProcessSwitchInvocation C# (CSharp) Method

ProcessSwitchInvocation() private method

private ProcessSwitchInvocation ( MethodInvocationExpression node ) : bool
node MethodInvocationExpression
return bool
        bool ProcessSwitchInvocation(MethodInvocationExpression node)
        {
            if (BuiltinFunction.Switch != node.Target.Entity) return false;
            BindSwitchLabelReferences(node);
            if (CheckSwitchArguments(node)) return true;
            Error(node, CompilerErrorFactory.InvalidSwitch(node.Target));
            return true;
        }
ProcessMethodBodies