Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ActivatorUtilitiesConstructor] is dependent on constructor ordering #6959

Conversation

david-driscoll
Copy link
Contributor

In order for the [ActivatorUtilitiesConstructor] attribute to work correctly, if there are less parameters than the other constructors on the class, the constructor decorated with the [ActivatorUtilitiesConstructor] attribute must be the last constructor defined.

See this issue (dotnet/runtime#98959) and this pr comment (dotnet/runtime#99175 (comment))

@michaelstaib michaelstaib merged commit a5d4578 into ChilliCream:main Mar 3, 2024
9 of 13 checks passed
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.

None yet

3 participants