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