Skip to content

Fix null message in internal static string? ExtendedMessage(string methodName, string? message, string actualExpression, string constraintExpression) #4432

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

Closed
OsirisTerje opened this issue Jul 24, 2023 · 2 comments · Fixed by #4435
Assignees
Labels
is:internal Internal fixes
Milestone

Comments

@OsirisTerje
Copy link
Member

Ref comment in PR #4430

The message comes from the _getExceptionMessageoverloads which are declared asFunc<string?>. Also there are some NUnit tests (e.g. LifeCycleAttributeTest) that pass in result.Messagewhich is also declaredstring?`.
If we want to change all that, I would do that in a separate PR.

@manfred-brands
Copy link
Member

@OsirisTerje I started in this.

@OsirisTerje
Copy link
Member Author

@manfred-brands Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:internal Internal fixes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants