Repository navigation
Implement asynchronous support in JsonReader - #2217
Conversation
e94abbe to
5dee5ef
Compare
6631deb to
37ad022
Compare
| /// true if the specified exception can be caught and handled; | ||
| /// false otherwise. | ||
| /// | ||
| [DebuggerStepThrough] |
There was a problem hiding this comment.
Why are we using this attribute?
There was a problem hiding this comment.
@KenitoInc I'd like to apply these attribute to methods that one almost never wants to step into when debugging, CheckArgumentNotNull for example. It improves the debugging experience
37ad022 to
258b430
Compare
| } | ||
|
|
||
| [Fact] | ||
| public async Task ReadNullStringValue() |
There was a problem hiding this comment.
It seems we can put "non-null" and "null" test in to one [Theory] test?
There was a problem hiding this comment.
In the [Theory] test, it's \"null\" (as a string) so we're just verify that it's read as a string. In this test, its just null and we're verifying that's its read as null. I hope I understood your question correctly
| switch (currentScope.Type) | ||
| { | ||
| case ScopeType.Root: | ||
| if (commaFound) |
There was a problem hiding this comment.
I almost feel like this switch would be easier to understand if there was one for commaFound == true and one for commaFound == false. Probably not worth changing now, but maybe something to consider.
258b430 to
36c23c4
Compare
36c23c4 to
baeb492
Compare
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
Issues
This pull request is a partial fulfilment of #2019 .
Description
Implement asynchronous support in
JsonReaderChecklist (Uncheck if it is not completed)
Additional work necessary
If documentation update is needed, please add "Docs Needed" label to the issue and provide details about the required document change in the issue.