public Function GetImplementation(Span <Value> args) { var func = FindMatch(args); if (func == null) { throw new FunctionOverloadNotFoundException(this, args.ArraySelect(a => a.Type)); } return(func); }
public Function GetImplementation(Span <Type> types) { var func = FindMatch(types); if (func == null) { throw new FunctionOverloadNotFoundException(this, types.ArraySelect(t => t)); } return(func); }