Skip to content

Inconsistency between classic StyleCop and StyleCopAnalyzers with SA1303 #2082

@NikolayIT

Description

@NikolayIT

In this code:

public class SomeClass
{
    public void SomeMethod()
    {
        const string url = "some constant value";
    }
}

the classic StyleCop reports SA1303 (ConstFieldNamesMustBeginWithUpperCaseLetter) but StyleCopAnalyzers doesn't.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions