-
Notifications
You must be signed in to change notification settings - Fork 748
Issue4415 #4419
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
Issue4415 #4419
Conversation
@OsirisTerje It would have been nicer if you had made a PR to merge into Issue4416 iso master. Observations:
I think I have addressed all of the above in my review commit. One remark is regarding optimization. Assuming NUnit test pass in 99% of the cases, the string will be formatted unnecessary. And that operation is quite expensive. This is not only the case for the classic versions with The latter can be fixed by adding an overload accepting |
@manfred-brands Awesome - thanks a lot for the comments and the changes !! |
I like the DefaultInterpolatedStringHandler . What if we add the Net6 build, but for now keep the netstandard 2.0 and add a compiler directive for the code for netstd 2. ? That way we can keep the netcore3.1 in play a little bit longer. (Would have loved some metrics on the framework usage though...) |
…ts by removing those with Args
@manfred-brands If you have time, (after the DefaultInterpolatedStringHandler ) you could start up with the CallerArgumentExpression. We should consider the sequence of the messages, we have 3 types, user added message, result message and then CAE message. I believe the sequence could be like that too, or possible CAE message as 2nd. |
Still on vacation but I've been following from my phone. I like the NET6 target as it would also allow for many more internal optimizations by allowing us to use more newer span-based APIs when possible, among other newer performance-based APIs. In there past one noted concern was keeping on top of which newer runtimes to target as the framework has historically had a slower release cadence than the newer .NET LTS schedule but I think we've agreed in another issue that the quicker framework release cadence we're aiming for can help here 🙂 |
I started on the .NET6 target. Have to work through some Obsolete and non-available APIs. @stevenaw Once we have the build in place we can see what optimizations we can apply. |
Merging this since #4420 handles net6 target |
Removing params from framework, and handle params in classic.
See #4415
Note: This PR builds on top of the PR #4417 . See commits after #ccd58ab