Repository navigation
Issue #45096 Toru_Watanbe - #48352
toruwatanbe wants to merge 1 commit into
Conversation
|
Thanks for your PR, @toruwatanbe. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
|
@surayya-MS can you please review this? Thanks! |
|
Thanks for your contribution, @toruwatanbe ! I've tried out your changes on this test scenario and found out that the error message is still the same "Value cannot be null. (Parameter 'obj')". If you have any further updates or improvements to address this issue, please feel free to continue with the PR. |
|
Hello. I see that you've just added |
| public FieldIdentifier(object model, string fieldName) | ||
| { | ||
| ArgumentNullException.ThrowIfNull(model); | ||
| ArgumentNullException.ThrowIfNull(model, nameof(model)); |
There was a problem hiding this comment.
I'm not sure this change makes any difference. Doesn't ArgumentNullException.ThrowIfNull use [CallerNameExpression] to receive the parameter expression string anyway? (Reference: https://endjin.com/blog/2021/11/csharp-10-net-6-argument-exceptions)
There was a problem hiding this comment.
Thanks for your contribution, @toruwatanbe !
I've tried out your changes on this test scenario and found out that the error message is still the same "Value cannot be null. (Parameter 'obj')". When debugging I also noticed that the
FieldIdentifierconstructor wasn't called. Hence, it appears that the issue lies elsewhere.If you have any further updates or improvements to address this issue, please feel free to continue with the PR.
Thank you for testing it and giving feedback. I am new here, can you tell me how do you test the code. In this case or in any case how does one test an entire framework or an entire wmdows or any other app. Thank you again.
|
@toruwatanbe, of course. First make sure you followed this doc Build from Source. Then you can change Samples/BlazorServerApp to repro this test scenario, put breakpoints in the file you changed (or anywhere) |
Thank you so much!!Means a lot. @surayya-MS |
moghitech
left a comment
There was a problem hiding this comment.
Maybe Without {} is More Than Readable :)
Just For Improve Readability
|
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
|
Looks like this PR hasn't been active for a while now. Closing this PR. Feel free to open a new one to address this issue |
{PR title}
Summary of the changes (Less than 80 chars)
Description
{Detail}
Fixes #45096