Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CA2022 - Avoid inexact read with 'System.IO.FileStream.Read(byte[], int, int) #5845

Closed
rajkumar-rangaraj opened this issue Sep 18, 2024 · 1 comment · Fixed by #5884
Closed
Assignees
Labels
enhancement New feature or request help wanted Good for taking. Extra help will be provided by maintainers
Milestone

Comments

@rajkumar-rangaraj
Copy link
Contributor

rajkumar-rangaraj commented Sep 18, 2024

https://github.com/open-telemetry/opentelemetry-dotnet/pull/5832/files#r1765766226

Updating to .NET 9.0 RC1 introduced this new CA2022 error, and it needs to be fixed.

@rajkumar-rangaraj rajkumar-rangaraj added enhancement New feature or request needs-triage New issues which have not been classified or triaged by a community member labels Sep 18, 2024
@Kielek Kielek added this to the 1.10.0 milestone Sep 19, 2024
@Kielek
Copy link
Contributor

Kielek commented Sep 19, 2024

Adding to 1.10.0 as it is part if upgrading to .NET9.

@CodeBlanch CodeBlanch removed the needs-triage New issues which have not been classified or triaged by a community member label Sep 23, 2024
@CodeBlanch CodeBlanch added the help wanted Good for taking. Extra help will be provided by maintainers label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Good for taking. Extra help will be provided by maintainers
Projects
None yet
3 participants