The following code appears to be generating a false positive. CIR is telling me to "Add 'Microsoft.SharePoint.Security.SharePointPermissionAttribute' attributes to base method. Fully qualifying the attribute as Microsoft.SharePoint.Security.SharePointPermissionAttribute does not effect the outcome of the CIR analysis. This code block will pass through FxCop as is...and if removed CIR will identify the missing attribute correctly as well. But when it is added...CIR ignores the attribute tag. Running version 1.8.09300. I am running with default settings...not sure if I need to make some configuration changes.
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Protected Overrides Sub RenderToolPart(ByVal output As System.Web.UI.HtmlTextWriter)
End Sub