Skip to content

Inconsistent XmlDoc parameters analysis for properties with accessors #13684

@DedSec256

Description

@DedSec256

Inconsistent XmlDoc parameters analysis for properties with accessors

Repro steps

Project with enabled $(OtherFlags) --warnon:3390 option

type A =
    /// <summary>
    /// 
    /// </summary>
    /// <param name="j"></param>
    /// <param name="k"></param>
    /// <param name="l"></param>
    member x.A with get j = 3
               and set k l = () 

The code above results in the following warnings
image

Remove the documentation for the parameter 'l'
image

Expected behavior

No warnings 'comment is invalid' for all accessor parameters on the first screenshot

or

no warnings 'comment is incomplete' for the 'l' parameter on the second screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-XmlDocsxmldoc generation, xmldoc contentBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.help wanted

    Type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions