public static void NotNull(object argumentValue, string argumentName) { if (argumentValue == null) throw new ArgumentNullException(argumentName); }