Skip to content

SA1135 throws exception for type keywords #3882

Open
@rsking

Description

@rsking

When adding a type alias using a keyword, the analyzer throws AD0001, when inside a namespace

namespace ClassLibrary
{
    using Example = string;
}

and also when using value tuple values

namespace ClassLibrary
{
    using Example = (System.Collections.IList, int);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions