private MatchType GetMatchType(IEnumerable<FunctionArgument> arguments) { var matchType = MatchType.ClosestBelow; if (arguments.Count() > 2) { matchType = (MatchType)ArgToInt(arguments, 2); } return matchType; }