7
Vote

StyleCop Rule CA1062 Fires

description

Condition.Requires(inEmailBody, "inEmailBody").IsNotNull();
gives
 
CA1062 : Microsoft.Design : In externally visible method 'BusinessEmailSender.ReplaceHostName(string)', validate parameter 'inEmailBody' before using it.

comments

dot_NET_Junkie wrote Nov 15, 2011 at 8:10 PM

Is there anything we can change to CuttingEdge.Conditions that can fix this?