Skip to content

Some incorrect NRT annotations in System.CodeDom #78036

Closed
@MaceWindu

Description

@MaceWindu

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions