Skip to content

Comments

Remove unnecessary CA2022 suppressions#15673

Merged
akoeplinger merged 8 commits intodotnet:mainfrom
Winniexu01:CA2022
Apr 4, 2025
Merged

Remove unnecessary CA2022 suppressions#15673
akoeplinger merged 8 commits intodotnet:mainfrom
Winniexu01:CA2022

Conversation

@Winniexu01
Copy link
Member

@Winniexu01 Winniexu01 commented Mar 27, 2025

Related to dotnet/source-build#4322

Remove all the unnecessary CA2022 suppressions

VMR: https://dev.azure.com/dnceng/internal/_build/results?buildId=2673846&view=results (internal Microsoft link)

@Winniexu01
Copy link
Member Author

Add @dotnet/source-build and @dotnet/product-construction as reviewers.

}
}

private static void ReadExist(FileStream stream, byte[] buffer, int offset, int count)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: #if !NET around this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: 0bc7cc0

mmitche
mmitche previously approved these changes Mar 28, 2025
@Winniexu01
Copy link
Member Author

Hi @mmitche , @NikolaMilosavljevic , all the checks are done, could you please do another code review?

@akoeplinger akoeplinger merged commit 0c0caeb into dotnet:main Apr 4, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants