title: Unit testing custom FxCop rules
body: <p>I would like to test my custom fxrules.</p>
  
  <p>I've seen this post : <a href="http://weblogs.asp.net/rosherove/archive/2007/02/24/writing-real-unit-tests-for-your-custom-fxcop-rules.aspx" rel="nofollow noreferrer">http://weblogs.asp.net/rosherove/archive/2007/02/24/writing-real-unit-tests-for-your-custom-fxcop-rules.aspx</a></p>
  
  <p>but it's not working with the last version of fxcop.
  The Microsoft.Cci.Method.GetMethod doesn't exists and I can't find an alternative.</p>
  
  <p>Do you know how to get a Microsoft.FxCop.Sdk.Method object ?</p>
  
  <p>Thanks in advance for any help.
  Best regards,</p>