[2132]Code analysis problem

i just stumbled about the following code:

        #region Documentation
        /// <summary>
        /// Constructor taking an array of adjacent view names.
        /// </summary>
        #endregion
        public AdjacentPointsAttribute(params string[] adjacentViewNames)
        {
            this.adjacentViewNames = adjacentViewNames;
        }

R# gives a warning "XML comment is not placed on a valid language element" which is wrong for me because the comment is just wrapped in a region (don't ask me why this was done, i'm not the programmer, it's a snippet from an open source library).

Regards
Klaus

1 comment
Comment actions Permalink

Hello Klaus,

There's already a request regarding this problem: http://youtrack.jetbrains.net/issue/RSRP-178482.
I've added your example as a comment. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

#region Documentation
/// <summary>
/// Constructor taking an array of adjacent view names.
/// </summary>
#endregion
public AdjacentPointsAttribute(params string[]
adjacentViewNames)
{
this.adjacentViewNames = adjacentViewNames;
}



0

Please sign in to leave a comment.