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

Update CA rules for .NET 8 #38045

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Update CA rules for .NET 8 #38045

merged 2 commits into from
Nov 14, 2023

Conversation

gewarren
Copy link
Contributor

@gewarren gewarren commented Nov 14, 2023

Contributes to #34171

(Note: rules that are missing documentation are tracked separately in #34171.)


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 8](https://review.learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview?branch=pr-en-us-38045)
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/ca1036.md CA1036: Override methods on comparable types
docs/fundamentals/code-analysis/quality-rules/ca1040.md docs/fundamentals/code-analysis/quality-rules/ca1040
docs/fundamentals/code-analysis/quality-rules/ca1041.md CA1041: Provide ObsoleteAttribute message
docs/fundamentals/code-analysis/quality-rules/ca1043.md "CA1043: Use integral or string argument for indexers (code analysis)"
docs/fundamentals/code-analysis/quality-rules/ca1044.md CA1044: Properties should not be write only
docs/fundamentals/code-analysis/quality-rules/ca2229.md docs/fundamentals/code-analysis/quality-rules/ca2229

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.

@dotnet-bot dotnet-bot added this to the November 2023 milestone Nov 14, 2023
@gewarren gewarren requested review from mavasani and a team November 14, 2023 00:44
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 309f625 into dotnet:main Nov 14, 2023
8 checks passed
@gewarren gewarren deleted the ca-net8 branch November 14, 2023 16:03
@gewarren gewarren added the 🏁 Release: .NET 8 Work items for the .NET 8 release label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏁 Release: .NET 8 Work items for the .NET 8 release dotnet-fundamentals/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants