Description
Looks like System.CodeDom 7.0.0 enabled or updated NRT annotations and now we get build errors:
Could be more, but that's all we encountered during build of our code. I see tests already check for null values so it is possible to use NRT warnings from test code to detect more issues in this area.
Reproduction Steps
see referenced existing tests that test affected APIs with null
Expected behavior
No NRT errors
Actual behavior
CS8601, CS8604 errors on build
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Description
Looks like
System.CodeDom7.0.0 enabled or updated NRT annotations and now we get build errors:CodePrimitiveExpression.ctor(object)should beCodePrimitiveExpression.ctor(object?), testobject CodePrimitiveExpression.Valueshould beobject? CodePrimitiveExpression.Value, testExecutor. ExecWaitWithCapturemethods withref stringparameters which should beref string?, testCould be more, but that's all we encountered during build of our code. I see tests already check for
nullvalues so it is possible to use NRT warnings from test code to detect more issues in this area.Reproduction Steps
see referenced existing tests that test affected APIs with
nullExpected behavior
No NRT errors
Actual behavior
CS8601, CS8604 errors on build
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response