MA0015 - Specify the parameter name in ArgumentException void Sample(string str) { if (str == "") throw new ArgumentException("Error message"); // non-compliant } void Sample(string str) { if (str == "") throw new ArgumentException("Error message", paramName: nameof(str)); // ok }