Why SuppressMessage?

Why SuppressMessage?

Old forum URL: forums.lhotka.net/forums/t/402.aspx


guyroch posted on Sunday, June 18, 2006

I was wandering why there is a SuppressMessage attribute before each CommonRules in the Csla.Validation namespace?

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods")]

bcdennis replied on Sunday, June 18, 2006

So MS's CodeAnalysis doesn't bark if you run it against the CSLA library.

Copyright (c) Marimer LLC