Skip to content

CS1729 code fix does not respect naming convention for records #56952

@meziantou

Description

@meziantou

Version Used: 4.0.0-4.21458.2 (2bfff7b)

Steps to Reproduce:

new Test("repro"); // Use code fix here

record Test();

image

Expected Behavior:

The new parameter name should follow the current naming convention (pascal case).

Actual Behavior:

The new parameter name does not follow the current naming convention, so I must apply the fix for the new suggestion (IDE1006)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions