public void RegisterBuiltIn(string name, ClrFunction clrFunction) { if (BuiltIns.ContainsKey(name)) { throw new InvalidOperationException($"Built-in function '{name}' has already been registered."); } BuiltIns.Add(name, clrFunction); }