SuppressMessage not working

  • Thread starter Thread starter sri_vas
  • Start date Start date
S

sri_vas

Guest
I have the following code

[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0060:Remove unused parameter", Justification = "<Pending>")]
private bool CanChange(string oldVal, string selectedItem)
{
return true;
}

I still see code analysis warning. What else I need to do that did not explain in the MSDN documentation. It seems to not work for any type of warning.

Continue reading...
 
Back
Top