Skip to content

Conversation

manfred-brands
Copy link
Contributor

Replaces #1055

@RicoSuter
Copy link
Owner

We should switch this to use public required string Foo { get; init; }, no?

@lahma lahma force-pushed the UnsortedConstructorParameters branch from 933acc6 to 0b434df Compare July 27, 2025 09:02
@lahma lahma force-pushed the UnsortedConstructorParameters branch from 95b8409 to d4811e1 Compare July 27, 2025 09:13
@lahma lahma changed the title Unsorted constructor parameters Support configuring whether constructor parameter are sorted Jul 27, 2025
Copy link
Collaborator

@lahma lahma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've rebased this, tested and cases seem to work as expected. There was already some work done for init etc support so removed the extras, but the PR's main goal of correctly sorted/unsorted properties is fulfilled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants