Skip to content

SA1009 can trigger when a closing parenthesis ends XML comment's cref attribute #2985

@peteroupc

Description

@peteroupc

SA1009 can trigger (and output the message "Closing parenthesis should be followed by a space") when a closing parenthesis ends a cref attribute in XML documentation, as in the following example:

/// <summary>This is a test.  
/// <see cref='MyClass.MyMethod(System.String)'/></summary>

In general, SA1009 should not apply to closing parentheses in comments at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions