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