-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Description
Looks like System.CodeDom 7.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, test- set of
Executor. ExecWaitWithCapturemethods withref stringparameters which should beref string?, test
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