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

Code analysis updates for .NET 9 release #43395

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Conversation

gewarren
Copy link
Contributor

@gewarren gewarren commented Nov 10, 2024

Contributes to #43163


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
docs/core/project-sdk/msbuild-props.md MSBuild reference for .NET SDK projects
docs/fundamentals/code-analysis/overview.md [.NET 9](https://review.learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview?branch=pr-en-us-43395)
docs/fundamentals/code-analysis/quality-rules/ca1000.md "CA1000: Do not declare static members on generic types (code analysis)"
docs/fundamentals/code-analysis/quality-rules/ca1001.md CA1001: Types that own disposable fields should be disposable
docs/fundamentals/code-analysis/quality-rules/ca1002.md docs/fundamentals/code-analysis/quality-rules/ca1002
docs/fundamentals/code-analysis/quality-rules/ca1003.md CA1003: Use generic event handler instances
docs/fundamentals/code-analysis/quality-rules/ca1005.md "CA1005: Avoid excessive parameters on generic types (code analysis)"
docs/fundamentals/code-analysis/quality-rules/ca1008.md CA1008: Enums should have zero value
docs/fundamentals/code-analysis/quality-rules/ca1010.md CA1010: Collections should implement generic interface
docs/fundamentals/code-analysis/quality-rules/ca1012.md docs/fundamentals/code-analysis/quality-rules/ca1012
docs/fundamentals/code-analysis/quality-rules/ca1014.md CA1014: Mark assemblies with CLSCompliantAttribute
docs/fundamentals/code-analysis/quality-rules/ca1016.md "CA1016: Mark assemblies with AssemblyVersionAttribute (code analysis)"
docs/fundamentals/code-analysis/quality-rules/ca1017.md CA1017: Mark assemblies with ComVisibleAttribute
docs/fundamentals/code-analysis/quality-rules/ca1018.md docs/fundamentals/code-analysis/quality-rules/ca1018
docs/fundamentals/code-analysis/quality-rules/ca1019.md CA1019: Define accessors for attribute arguments
docs/fundamentals/code-analysis/quality-rules/ca1021.md "CA1021: Avoid out parameters (code analysis)"
docs/fundamentals/code-analysis/quality-rules/ca1024.md CA1024: Use properties where appropriate
docs/fundamentals/code-analysis/quality-rules/ca1027.md docs/fundamentals/code-analysis/quality-rules/ca1027
docs/fundamentals/code-analysis/quality-rules/ca1028.md CA1028: Enum storage should be Int32
docs/fundamentals/code-analysis/quality-rules/ca1030.md "CA1030: Use events where appropriate (code analysis)"
docs/fundamentals/code-analysis/quality-rules/ca1031.md CA1031: Do not catch general exception types
docs/fundamentals/code-analysis/quality-rules/ca1032.md docs/fundamentals/code-analysis/quality-rules/ca1032
docs/fundamentals/code-analysis/quality-rules/ca1033.md CA1033: Interface methods should be callable by child types
docs/fundamentals/code-analysis/quality-rules/ca1034.md "CA1034: Nested types should not be visible (code analysis)"
docs/fundamentals/code-analysis/quality-rules/ca1416.md CA1416: Validate platform compatibility
docs/fundamentals/code-analysis/quality-rules/ca1418.md docs/fundamentals/code-analysis/quality-rules/ca1418
docs/fundamentals/code-analysis/quality-rules/ca1831.md CA1831: Use AsSpan instead of Range-based indexers for string when appropriate
docs/fundamentals/code-analysis/quality-rules/ca1832.md CA1832: Use AsSpan or AsMemory instead of Range-based indexers for getting ReadOnlySpan or ReadOnlyMemory portion of an array
docs/fundamentals/code-analysis/quality-rules/ca1833.md "CA1833: Use AsSpan or AsMemory instead of Range-based indexers for getting Span or Memory portion of an array (code analysis)"
docs/fundamentals/code-analysis/quality-rules/ca2015.md CA2015: Do not define finalizers for types derived from MemoryManager<T>

Note

This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.

@gewarren gewarren requested a review from a team as a code owner November 10, 2024 23:27
@dotnetrepoman dotnetrepoman bot added this to the November 2024 milestone Nov 10, 2024
@gewarren gewarren added the okr-freshness OKR: Freshness of content label Nov 10, 2024
@gewarren gewarren enabled auto-merge (squash) November 10, 2024 23:28
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

This LGTM @gewarren

Let's :shipit:

@gewarren gewarren merged commit 4ac6387 into dotnet:main Nov 11, 2024
8 checks passed
@gewarren gewarren deleted the net9-updates-ca branch November 11, 2024 18:54
@gewarren
Copy link
Contributor Author

Thanks @BillWagner!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants