Skip to content

IDE1006 thinks positional parameters on records are parameters and properties #47508

@davidwengier

Description

@davidwengier

When defining a record with positional parameters, IDE1006 will tell you to format names as properties, and then tell you to format them back to parameters.

record Foo(int MyInt);

Actual Behavior:
image
and then
image

Expected Behavior:
My proposal is that IDE1006 simply ignores parameters of record declarations as their usage matches property semantics.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions