And another FxCop strange one
Here is the code:
Protected ReadOnly Property UserChapter() As String
Get
Dim dr As DataRow = Utilities.SharedData.drSyUse
Return dr.Item("chapter").ToString.Trim()
End Get
End Property ' GetUserChapter
And here is FxCop's complaint:
"file:///C:/Projects/AM.NET/CDS%20Forms/General/UIBase.vb<254>" (String)
Resolution : "UIBase.get_UserChapter():String declares a local, 'UserChapter',
of type System.String, which is never used or is only
assigned to. Use this local or remove it."
Help : "http://www.gotdotnet.com/team/fxcop/docs/rules.aspx?version=1.312&&url=/Performance/RemoveUnusedLocals.html"
These make no sense to me.