Boo.Lang.Compiler.Steps.ProcessMethodBodies.ProcessSwitchInvocation C# (CSharp) 메소드

ProcessSwitchInvocation() 개인적인 메소드

private ProcessSwitchInvocation ( MethodInvocationExpression node ) : bool
node MethodInvocationExpression
리턴 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