public static bool IsNotOutOfRangeInvoked(string methodBody, string argumentName)
{
Argument.IsNotNullOrWhitespace(() => argumentName);
return Regex.IsMatch(methodBody, string.Format(ArgumentCheckStatementDetectionPatterns.IsNotOutOfRange, argumentName), RegexOptions.IgnorePatternWhitespace) || Regex.IsMatch(methodBody, string.Format(ArgumentCheckStatementDetectionPatterns.IsNotOutOfRange2, argumentName), RegexOptions.IgnorePatternWhitespace);
}