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