Skip to content

Remove unnecessary CA2022 suppressions #4322

Closed
dotnet/sdk
#48766
@NikolaMilosavljevic

Description

@NikolaMilosavljevic

As part of re-bootstrapping in dotnet/installer#19145 we've encountered numerous CA2022 errors. This required patches for several repos. Most of those changes were backported.

It appears that compiler/analyzer was unnecessarily restrictive and the change was made in dotnet/roslyn-analyzers#7268 to relax the check.

Once we pick up newer SDK (9.0.100-preview.4.24209.7 or later) we should be able to remove all of these suppressions and backport them.

Metadata

Metadata

Assignees

Labels

area-buildImprovements in source-build's own build process

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions