You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The name of this rule reflects an action that was taken to get the code into a rule-breaking state, not the actual state that is the problem.
The Description of SA1625 is correct...
"The Xml documentation for a C# element contains two or more identical entries"
until the second phrase..
"indicating that the documentation has been copied and pasted."
The name of this rule reflects an action that was taken to get the code into a rule-breaking state, not the actual state that is the problem.
The Description of SA1625 is correct...
"The Xml documentation for a C# element contains two or more identical entries"
until the second phrase..
"indicating that the documentation has been copied and pasted."
/// <returns>A configured <see cref="WebApplicationBuilder"/>.</returns>/// <returns>A configured <see cref="WebApplicationBuilder"/>.</returns> public static WebApplicationBuilder
I can think of at least two other ways in the IDE to get into this state: bad merge & bad highlight & delete, neither of which describes the problem.
The -actual- problem is a duplicate tag for the same element, not the action I took to get into the bad state.
I would recommend changing this rule to something like:
ElementDocumentationMustNotBeDuplicated
or
ElementContainsTwoOrMoreIdenticalEntries (which would align with the documentation already provided).
The text was updated successfully, but these errors were encountered: