jiller / agentsmithplugin

Automatically exported from code.google.com/p/agentsmithplugin
0 stars 0 forks source link

'Any declaration should have XML comment' wrongly displayed on private fields and events. #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make proper XML comment to private field or event (both in classes and
interfaces) - examples below.
2. Warning 'Any declaration should have XML comment' is displayed.

What is the expected behavior? What do you see instead?
 - Warning should not be displayed if there is proper XML comment.

What version of ReSharper, Visual Studio and Windows do you use?
 - R# 4.5.1230.4.RC
 - Agent Smith Plugin version 1.3.5 (04/01/2009)
 - VS 2008 Professional SP1
 - Windows XP 32bit SP3 Eng

Please provide any additional information below.
 - There was no such behaviour in previous version of R# (4.1) and Agent
Smith Plugin.
 - Examples of XML comments that causes above warning:

/// <summary>
/// Occurs when something changed.
/// </summary>
public event EventHandler<SomeEventArgs> SomethingChanged;

/// <summary>Lock for this instance.</summary>
private readonly object _lock = new object();

Original issue reported on code.google.com by TKWoj...@gmail.com on 8 Apr 2009 at 8:41

GoogleCodeExporter commented 8 years ago
Agreed, this is very annoying
the following code:
        /// <summary>
        /// XXX.
        /// </summary>
        public static readonly DependencyProperty ProjectProperty =
            DependencyProperty.Register("Project", typeof(Project), typeof(Diagram),
                                        new PropertyMetadata(new
PropertyChangedCallback(project_PropertyChanged)));

also tells me to comment...
But this is a R#4.5 specific issue since it was working properly before with R# 
4.1

Original comment by Merts...@gmail.com on 9 Apr 2009 at 12:09

GoogleCodeExporter commented 8 years ago
Fixed in 1.3.6

Original comment by forever....@gmail.com on 21 Apr 2009 at 7:51