public void CallBuiltinFunction(string functionName) { if (!functions.ContainsKey(functionName)) { throw new Exception("Call to non-existent function " + functionName); } FunctionBase function = functions[functionName]; function.Execute(shared); }