SubMain - CodeIt.Right The First Time!

/Community

A Support Community for SubMain Products
 Home Products Services Download Purchase Support
in Search
 
Home Forums Blogs Tutorials Downloads
Welcome to SubMain Community Sign in | Join | Help

Rules generating false positives.

Last post 07-03-2009, 11:59 PM by Serge B.. 1 replies.
Sort Posts: Previous Next
  •  06-30-2009, 6:08 AM 818

    Rules generating false positives.

    In running the XMLComment rule, the following code:

        ''' <summary>
        ''' Gets the maximum line count. 
        ''' </summary>
        ''' <value>The maximum line count.</value>
        ''' <remarks></remarks>
        Public MustOverride ReadOnly Property MaximumLineCount() As Integer Implements IMB.MaximumLineCount

     results in a 'Externally visible types and members should have XML comments' Warning.

    It does not happen on all members, but does for 478 of them.  Most often they are MustOverride, or Interfaces, with no code associated with them, but not always.  There are a few properties with valid code that are reporting this need, also.

     I am using version 1.6.09151.

     

    Thank you.

  •  07-03-2009, 11:59 PM 822 in reply to 818

    Re: Rules generating false positives.

    Hello,

    We unfortunately were not able to reproduce this.

    Can you tell us what was the code just above the code that you posted?

    Thanks!


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML
 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |