DotNetAnalyzers / DocumentationAnalyzers

Analyzers for XML documentation
MIT License
35 stars 6 forks source link

Check that property and constructor parameter docs are in sync. #73

Open JohanLarsson opened 6 years ago

JohanLarsson commented 6 years ago
public class Foo
{
    /// <summary>
    /// Initializes a new instance of the <see cref="Foo"/> class.
    /// </summary>
    /// <param name="bar">The lorem ipsum.</param>
    public Foo(int bar)
    {
        this.Bar= bar;
    }

    /// <summary>
    /// Gets the lorem ipsum.
    /// </summary>
    public int Bar { get; }
}

There are also code gen opportunities when one is missing.