-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
System.Text.Json.SourceGeneration.Tests have issues with BigInteger and records on netfx #63802
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/area-system-text-json Issue DetailsFollowing issues were found when enabling netfx tests: Whenever:
is used the code no longer compiles - code generator seem to be generating code which tries to access private fields. Search for also Related to: #63463 cc: @layomia Note: this issue is related to the PR which is not merged yet so some details reated to ActiveIssue or DefineConstants are relevant after merging it. (I need ActiveIssue number in order to finish PR)
|
The BigInteger failures were fixed by #87383 and the record unit tests are caused by the fact that netfx doesn't have the |
Following issues were found when enabling netfx tests:
Whenever:
is used the code no longer compiles - code generator seem to be generating code which tries to access private fields. Search for
#if !NETFRAMEWORK
in that code - this have been removed for netfx for now to unblock remainder of the testsalso
JsonIgnoreAttribute_UnsupportedBigInteger
is not passing - expected exception seem to differ. See test with ActiveIssue.Another issues I'm seeing are InvalidOperationException (emit fails in CreateAssemblyImage in the test code), following tests are affected:
(those tests were recently added)
Related to: #63463
cc: @layomia
Note: this issue is related to the PR which is not merged yet so some details reated to ActiveIssue or DefineConstants are relevant after merging it. (I need ActiveIssue number in order to finish PR)
The text was updated successfully, but these errors were encountered: