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 diagnostics found with new analyzer - CA1858 #79896

Merged
merged 3 commits into from Dec 22, 2022
Merged

Fix diagnostics found with new analyzer - CA1858 #79896

merged 3 commits into from Dec 22, 2022

Conversation

buyaa-n
Copy link
Member

@buyaa-n buyaa-n commented Dec 22, 2022

Fix diagnostics found with the new analyzer CA1858 Use 'StartsWith' instead of comparing the result of 'IndexOf' to 0 implemented by @Youssef1313

@ghost
Copy link

ghost commented Dec 22, 2022

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Issue Details

Fix diagnostics found with the new analyzer CA1853 Use 'StartsWith' instead of comparing the result of 'IndexOf' to 0 implemented by @Youssef1313

Author: buyaa-n
Assignees: buyaa-n
Labels:

area-Meta

Milestone: -

…/PortableExecutable/DebugDirectory/DebugDirectoryBuilder.cs

Co-authored-by: Dan Moseley <danmose@microsoft.com>
@build-analysis build-analysis bot mentioned this pull request Dec 22, 2022
…/PortableExecutable/DebugDirectory/DebugDirectoryBuilder.cs
@buyaa-n
Copy link
Member Author

buyaa-n commented Dec 22, 2022

The failure unrelated andreported

@buyaa-n buyaa-n merged commit 9fbb4ef into main Dec 22, 2022
@buyaa-n buyaa-n deleted the ca1858-fixes branch December 22, 2022 23:20
@dotnet dotnet locked as resolved and limited conversation to collaborators Jan 22, 2023
@buyaa-n buyaa-n changed the title Fix diagnostics found with new analyzer - CA1853 Fix diagnostics found with new analyzer - CA1858 Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants