diff --git a/docs/core/project-sdk/msbuild-props.md b/docs/core/project-sdk/msbuild-props.md index 46e2d55eea232..e2e5ff5ed65dc 100644 --- a/docs/core/project-sdk/msbuild-props.md +++ b/docs/core/project-sdk/msbuild-props.md @@ -751,7 +751,7 @@ The following MSBuild properties are documented in this section: ### AnalysisLevel -The `AnalysisLevel` property lets you specify a set of code analyzers to run according to a .NET release. Each .NET release, starting in .NET 5, has a set of code analysis rules. Of that set, the rules that are enabled by default for that release will analyze your code. For example, if you upgrade to .NET 7 but don't want the default set of code analysis rules to change, set `AnalysisLevel` to `6`. +The `AnalysisLevel` property lets you specify a set of code analyzers to run according to a .NET release. Each .NET release, starting in .NET 5, has a set of code analysis rules. Of that set, the rules that are enabled by default for that release will analyze your code. For example, if you upgrade to .NET 8 but don't want the default set of code analysis rules to change, set `AnalysisLevel` to `7`. ```xml @@ -767,9 +767,6 @@ Optionally, starting in .NET 6, you can specify a compound value for this proper ``` -> [!NOTE] -> If you set `AnalysisLevel` to `5-` or `5.0-` and then install the .NET 6 SDK and recompile your project, you may see unexpected new build warnings. For more information, see [dotnet/roslyn-analyzers#5679](https://github.com/dotnet/roslyn-analyzers/issues/5679). - Default value: - If your project targets .NET 5 or later, or if you've added the [AnalysisMode](#analysismode) property, the default value is `latest`. @@ -783,6 +780,10 @@ The following table shows the values you can specify. | `latest-` | The latest code analyzers that have been released are used. The `` value determines which rules are enabled. | | `preview` | The latest code analyzers are used, even if they are in preview. | | `preview-` | The latest code analyzers are used, even if they are in preview. The `` value determines which rules are enabled. | +| `8.0` | The set of rules that was available for the .NET 8 release is used, even if newer rules are available. | +| `8.0-` | The set of rules that was available for the .NET 8 release is used, even if newer rules are available. The `` value determines which rules are enabled. | +| `8` | The set of rules that was available for the .NET 8 release is used, even if newer rules are available. | +| `8-` | The set of rules that was available for the .NET 8 release is used, even if newer rules are available. The `` value determines which rules are enabled. | | `7.0` | The set of rules that was available for the .NET 7 release is used, even if newer rules are available. | | `7.0-` | The set of rules that was available for the .NET 7 release is used, even if newer rules are available. The `` value determines which rules are enabled. | | `7` | The set of rules that was available for the .NET 7 release is used, even if newer rules are available. | @@ -798,13 +799,13 @@ The following table shows the values you can specify. > [!NOTE] > -> - In .NET 5 and earlier versions, this property only affects [code-quality (CAXXXX) rules](../../fundamentals/code-analysis/quality-rules/index.md). Starting in .NET 6, if you set [EnforceCodeStyleInBuild](#enforcecodestyleinbuild) to `true`, this property affects [code-style (IDEXXXX) rules](../../fundamentals/code-analysis/style-rules/index.md) too. +> - Starting in .NET 6, if you set [EnforceCodeStyleInBuild](#enforcecodestyleinbuild) to `true`, this property affects [code-style (IDEXXXX) rules](../../fundamentals/code-analysis/style-rules/index.md) (in addition to code-quality rules). > - If you set a compound value for `AnalysisLevel`, you don't need to specify an [AnalysisMode](#analysismode). However, if you do, `AnalysisLevel` takes precedence over `AnalysisMode`. > - This property has no effect on code analysis in projects that don't reference a [project SDK](overview.md), for example, legacy .NET Framework projects that reference the Microsoft.CodeAnalysis.NetAnalyzers NuGet package. ### AnalysisLevel\ -Introduced in .NET 6, this property is the same as [AnalysisLevel](#analysislevel), except that it only applies to a specific [category of code-analysis rules](../../fundamentals/code-analysis/categories.md). This property allows you to use a different version of code analyzers for a specific category, or to enable or disable rules at a different level to the other rule categories. If you omit this property for a particular category of rules, it defaults to the [AnalysisLevel](#analysislevel) value. The available values are the same as those for [AnalysisLevel](#analysislevel). +This property is the same as [AnalysisLevel](#analysislevel), except that it only applies to a specific [category of code-analysis rules](../../fundamentals/code-analysis/categories.md). This property allows you to use a different version of code analyzers for a specific category, or to enable or disable rules at a different level to the other rule categories. If you omit this property for a particular category of rules, it defaults to the [AnalysisLevel](#analysislevel) value. The available values are the same as those for [AnalysisLevel](#analysislevel). ```xml @@ -837,7 +838,7 @@ The following table lists the property name for each rule category. ### AnalysisMode -Starting with .NET 5, the .NET SDK ships with all of the ["CA" code quality rules](../../fundamentals/code-analysis/quality-rules/index.md). By default, only [some rules are enabled](../../fundamentals/code-analysis/overview.md#enabled-rules) as build warnings in each .NET release. The `AnalysisMode` property lets you customize the set of rules that's enabled by default. You can either switch to a more aggressive analysis mode where you can opt out of rules individually, or a more conservative analysis mode where you can opt in to specific rules. For example, if you want to enable all rules as build warnings, set the value to `All`. +The .NET SDK ships with all of the ["CA" code quality rules](../../fundamentals/code-analysis/quality-rules/index.md). By default, only [some rules are enabled](../../fundamentals/code-analysis/overview.md#enabled-rules) as build warnings in each .NET release. The `AnalysisMode` property lets you customize the set of rules that's enabled by default. You can either switch to a more aggressive analysis mode where you can opt out of rules individually, or a more conservative analysis mode where you can opt in to specific rules. For example, if you want to enable all rules as build warnings, set the value to `All`. ```xml @@ -845,26 +846,25 @@ Starting with .NET 5, the .NET SDK ships with all of the ["CA" code quality rule ``` -The following table shows the available option values in .NET 5 and later versions. They're listed in increasing order of the number of rules they enable. +The following table shows the available option values. They're listed in increasing order of the number of rules they enable. -| .NET 6+ value | .NET 5 value | Meaning | -|-|-|-| -| `None` | `AllDisabledByDefault` | All rules are disabled. You can selectively [opt in to](../../fundamentals/code-analysis/configuration-options.md) individual rules to enable them. | -| `Default` | `Default` | Default mode, where certain rules are enabled as build warnings, certain rules are enabled as Visual Studio IDE suggestions, and the remainder are disabled. | -| `Minimum` | N/A | More aggressive mode than `Default` mode. Certain suggestions that are highly recommended for build enforcement are enabled as build warnings. To see which rules this includes, inspect the *%ProgramFiles%/dotnet/sdk/\[version]/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_\[level]_minimum.editorconfig* file. | -| `Recommended` | N/A | More aggressive mode than `Minimum` mode, where more rules are enabled as build warnings. To see which rules this includes, inspect the *%ProgramFiles%/dotnet/sdk/\[version]/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_\[level]_recommended.editorconfig* file. | -| `All` | `AllEnabledByDefault` | All rules are enabled as build warnings. You can selectively [opt out](../../fundamentals/code-analysis/configuration-options.md) of individual rules to disable them. | +| .NET 6+ value | Meaning | +|-|-| +| `None` | All rules are disabled. You can selectively [opt in to](../../fundamentals/code-analysis/configuration-options.md) individual rules to enable them. | +| `Default` | Default mode, where certain rules are enabled as build warnings, certain rules are enabled as Visual Studio IDE suggestions, and the remainder are disabled. | +| `Minimum` | More aggressive mode than `Default` mode. Certain suggestions that are highly recommended for build enforcement are enabled as build warnings. To see which rules this includes, inspect the *%ProgramFiles%/dotnet/sdk/\[version]/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_\[level]_minimum.editorconfig* file. | +| `Recommended` | More aggressive mode than `Minimum` mode, where more rules are enabled as build warnings. To see which rules this includes, inspect the *%ProgramFiles%/dotnet/sdk/\[version]/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_\[level]_recommended.editorconfig* file. | +| `All` | All rules are enabled as build warnings. You can selectively [opt out](../../fundamentals/code-analysis/configuration-options.md) of individual rules to disable them. | > [!NOTE] > -> - In .NET 5, this property only affects [code-quality (CAXXXX) rules](../../fundamentals/code-analysis/quality-rules/index.md). Starting in .NET 6, if you set [EnforceCodeStyleInBuild](#enforcecodestyleinbuild) to `true`, this property affects [code-style (IDEXXXX) rules](../../fundamentals/code-analysis/style-rules/index.md) too. -> - If you use a compound value for [AnalysisLevel](#analysislevel), for example, `5-recommended`, you can omit this property entirely. However, if you specify both properties, `AnalysisLevel` takes precedence over `AnalysisMode`. -> - If `AnalysisMode` is set to `AllEnabledByDefault` and `AnalysisLevel` is set to `5` or `5.0`, and then you install the .NET 6 SDK and recompile your project, you may see unexpected new build warnings. For more information, see [dotnet/roslyn-analyzers#5679](https://github.com/dotnet/roslyn-analyzers/issues/5679). +> - Starting in .NET 6, if you set [EnforceCodeStyleInBuild](#enforcecodestyleinbuild) to `true`, this property affects [code-style (IDEXXXX) rules](../../fundamentals/code-analysis/style-rules/index.md) (in addition to code-quality rules). +> - If you use a compound value for [AnalysisLevel](#analysislevel), for example, `8-recommended`, you can omit this property entirely. However, if you specify both properties, `AnalysisLevel` takes precedence over `AnalysisMode`. > - This property has no effect on code analysis in projects that don't reference a [project SDK](overview.md), for example, legacy .NET Framework projects that reference the Microsoft.CodeAnalysis.NetAnalyzers NuGet package. ### AnalysisMode\ -Introduced in .NET 6, this property is the same as [AnalysisMode](#analysismode), except that it only applies to a specific [category of code-analysis rules](../../fundamentals/code-analysis/categories.md). This property allows you to enable or disable rules at a different level to the other rule categories. If you omit this property for a particular category of rules, it defaults to the [AnalysisMode](#analysismode) value. The available values are the same as those for [AnalysisMode](#analysismode). +This property is the same as [AnalysisMode](#analysismode), except that it only applies to a specific [category of code-analysis rules](../../fundamentals/code-analysis/categories.md). This property allows you to enable or disable rules at a different level to the other rule categories. If you omit this property for a particular category of rules, it defaults to the [AnalysisMode](#analysismode) value. The available values are the same as those for [AnalysisMode](#analysismode). ```xml @@ -924,9 +924,6 @@ The `CodeAnalysisTreatWarningsAsErrors` property lets you configure whether code All code style rules that are [configured](../../fundamentals/code-analysis/overview.md#code-style-analysis) to be warnings or errors will execute on build and report violations. -> [!NOTE] -> If you install .NET 6 (or Visual Studio 2022, which includes .NET 6) but want to build your project using Visual Studio 2019, you might see new **CS8032** warnings if you have the `EnforceCodeStyleInBuild` property set to `true`. To resolve the warnings, you can specify the version of the .NET SDK to build your project with (in this case, something like `5.0.404`) by adding a [global.json entry](../tools/global-json.md). - ### _SkipUpgradeNetAnalyzersNuGetWarning The `_SkipUpgradeNetAnalyzersNuGetWarning` property lets you configure whether you receive a warning if you're using code analyzers from a NuGet package that's out-of-date when compared with the code analyzers in the latest .NET SDK. The warning looks similar to: diff --git a/docs/fundamentals/code-analysis/overview.md b/docs/fundamentals/code-analysis/overview.md index bf5ea4e1d4851..24d8c35450b02 100644 --- a/docs/fundamentals/code-analysis/overview.md +++ b/docs/fundamentals/code-analysis/overview.md @@ -29,6 +29,37 @@ If rule violations are found by an analyzer, they're reported as a suggestion, w ### Enabled rules +# [.NET 8](#tab/net-8) + +The following rules are enabled, by default, in .NET 8. + +| Diagnostic ID | Category | Severity | Description | +| - | - | - | - | +| [CA1416](quality-rules/ca1416.md) | Interoperability | Warning | Validate platform compatibility | +| [CA1417](quality-rules/ca1417.md) | Interoperability | Warning | Do not use `OutAttribute` on string parameters for P/Invokes | +| [CA1418](quality-rules/ca1418.md) | Interoperability | Warning | Use valid platform string | +| [CA1420](quality-rules/ca1420.md) | Interoperability | Warning | Using features that require runtime marshalling when it's disabled will result in run-time exceptions | +| [CA1422](quality-rules/ca1422.md) | Interoperability | Warning | Validate platform compatibility | +| [CA1831](quality-rules/ca1831.md) | Performance | Warning | Use `AsSpan` instead of range-based indexers for string when appropriate | +| CA1856 | Performance | Error | Incorrect usage of `ConstantExpected` attribute | +| CA1857 | Performance | Warning | A constant is expected for the parameter | +| [CA2013](quality-rules/ca2013.md) | Reliability | Warning | Do not use `ReferenceEquals` with value types | +| [CA2014](quality-rules/ca2014.md) | Reliability | Warning | Do not use `stackalloc` in loops | +| [CA2015](quality-rules/ca2015.md) | Reliability | Warning | Do not define finalizers for types derived from | +| [CA2017](quality-rules/ca2017.md) | Reliability | Warning | Parameter count mismatch | +| [CA2018](quality-rules/ca2018.md) | Reliability | Warning | The `count` argument to `Buffer.BlockCopy` should specify the number of bytes to copy | +| [CA2200](quality-rules/ca2200.md) | Usage | Warning | Rethrow to preserve stack details | +| CA2021 | Reliability | Warning | Do not call `Enumerable.Cast` or `Enumerable.OfType` with incompatible types | +| [CA2247](quality-rules/ca2247.md) | Usage | Warning | Argument passed to `TaskCompletionSource` constructor should be enum instead of | +| [CA2252](quality-rules/ca2252.md) | Usage | Error | Opt in to preview features | +| [CA2255](quality-rules/ca2255.md) | Usage | Warning | The `ModuleInitializer` attribute should not be used in libraries | +| [CA2256](quality-rules/ca2256.md) | Usage | Warning | All members declared in parent interfaces must have an implementation in a `DynamicInterfaceCastableImplementation`-attributed interface | +| [CA2257](quality-rules/ca2257.md) | Usage | Warning | Members defined on an interface with the `DynamicInterfaceCastableImplementationAttribute` should be `static` | +| [CA2258](quality-rules/ca2258.md) | Usage | Warning | Providing a `DynamicInterfaceCastableImplementation` interface in Visual Basic is unsupported | +| [CA2259](quality-rules/ca2259.md) | Usage | Warning | `ThreadStatic` only affects static fields | +| [CA2260](quality-rules/ca2260.md) | Usage | Warning | Use correct type parameter | +| CA2261 | Usage | Warning | Do not use `ConfigureAwaitOptions.SuppressThrowing` with `Task` | + # [.NET 7](#tab/net-7) The following rules are enabled, by default, in .NET 7. diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1000.md b/docs/fundamentals/code-analysis/quality-rules/ca1000.md index ce59dec6cdcd5..2fd6eb4bcd6e9 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1000.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1000.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Do not declare static members on generic types | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1001.md b/docs/fundamentals/code-analysis/quality-rules/ca1001.md index f7a38b3d3d811..a0272a9f91ce3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1001.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1001.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Types that own disposable fields should be disposable | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking - If the type is not visible outside the assembly.

Breaking - If the type is visible outside the assembly. | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1002.md b/docs/fundamentals/code-analysis/quality-rules/ca1002.md index 0ff39cc26ca4b..f12935bbf7ab4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1002.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1002.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not expose generic lists | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1003.md b/docs/fundamentals/code-analysis/quality-rules/ca1003.md index 927ee32ca8d69..b1bf95cfee820 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1003.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1003.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Use generic event handler instances | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1005.md b/docs/fundamentals/code-analysis/quality-rules/ca1005.md index 0e26e88e12201..04dda4db04012 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1005.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1005.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Avoid excessive parameters on generic types | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1008.md b/docs/fundamentals/code-analysis/quality-rules/ca1008.md index deac6f2a14b39..4e7a739c6ec89 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1008.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1008.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Enums should have zero value | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking - When you're prompted to add a `None` value to a non-flag enumeration. Breaking - When you're prompted to rename or remove any enumeration values. | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1010.md b/docs/fundamentals/code-analysis/quality-rules/ca1010.md index 848f8ff6b1446..79b4451e7e0b3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1010.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1010.md @@ -21,7 +21,7 @@ ms.author: gewarren | **Title** | Collections should implement generic interface | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1012.md b/docs/fundamentals/code-analysis/quality-rules/ca1012.md index a414972db9669..8c4fb3d8f025a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1012.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1012.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Abstract types should not have public constructors | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1014.md b/docs/fundamentals/code-analysis/quality-rules/ca1014.md index 8865e7bd6820e..a4a186c91f485 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1014.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1014.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Mark assemblies with CLSCompliantAttribute | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1016.md b/docs/fundamentals/code-analysis/quality-rules/ca1016.md index ac685b5865ae3..94799955f20d5 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1016.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1016.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Mark assemblies with AssemblyVersionAttribute | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1017.md b/docs/fundamentals/code-analysis/quality-rules/ca1017.md index b70030ed53688..32e78677ed962 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1017.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1017.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Mark assemblies with Mark assemblies with ComVisibleAttribute | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1018.md b/docs/fundamentals/code-analysis/quality-rules/ca1018.md index f5b58f24d9cab..bf2ba3271f58d 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1018.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1018.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Mark attributes with AttributeUsageAttribute | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1019.md b/docs/fundamentals/code-analysis/quality-rules/ca1019.md index c67f05df7260e..367e0a884d1ac 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1019.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1019.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Define accessors for attribute arguments | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1021.md b/docs/fundamentals/code-analysis/quality-rules/ca1021.md index da8a1b095b885..def0e32851211 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1021.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1021.md @@ -21,7 +21,7 @@ ms.author: gewarren | **Title** | Avoid out parameters | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1024.md b/docs/fundamentals/code-analysis/quality-rules/ca1024.md index 51303f4565e96..6adf60e8acc45 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1024.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1024.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Use properties where appropriate | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1027.md b/docs/fundamentals/code-analysis/quality-rules/ca1027.md index a3f5afd382df2..dc0f74b2876e4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1027.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1027.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Mark enums with FlagsAttribute | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1028.md b/docs/fundamentals/code-analysis/quality-rules/ca1028.md index a62d147c151c3..b9ce77b77d5e0 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1028.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1028.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Enum storage should be Int32 | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1030.md b/docs/fundamentals/code-analysis/quality-rules/ca1030.md index c299063c94c75..75e5322dc75fa 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1030.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1030.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Use events where appropriate | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1031.md b/docs/fundamentals/code-analysis/quality-rules/ca1031.md index 07e7471cbbe20..db2df1b216f47 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1031.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1031.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Do not catch general exception types | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1032.md b/docs/fundamentals/code-analysis/quality-rules/ca1032.md index 64792c4ebfdc8..a0d25042c5d06 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1032.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1032.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Implement standard exception constructors | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1033.md b/docs/fundamentals/code-analysis/quality-rules/ca1033.md index bfbd87c8dbad1..5a764ef515e02 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1033.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1033.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Interface methods should be callable by child types | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1034.md b/docs/fundamentals/code-analysis/quality-rules/ca1034.md index 233a5df148cb5..e601f8ab6f9db 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1034.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1034.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Nested types should not be visible | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1036.md b/docs/fundamentals/code-analysis/quality-rules/ca1036.md index 92cd0ee230ba2..5114299764df8 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1036.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1036.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Override methods on comparable types | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1040.md b/docs/fundamentals/code-analysis/quality-rules/ca1040.md index 20825d180001c..be708127d8491 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1040.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1040.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Avoid empty interfaces | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1041.md b/docs/fundamentals/code-analysis/quality-rules/ca1041.md index e1ac123c65c4d..c820e453c0cb1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1041.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1041.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Provide ObsoleteAttribute message | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1043.md b/docs/fundamentals/code-analysis/quality-rules/ca1043.md index 18b874925340a..e0431b6c68530 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1043.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1043.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Use integral or string argument for indexers | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1044.md b/docs/fundamentals/code-analysis/quality-rules/ca1044.md index 6026233592810..8b7eb6c5dc15f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1044.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1044.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Properties should not be write only | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1045.md b/docs/fundamentals/code-analysis/quality-rules/ca1045.md index 5176180787248..d12559f046618 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1045.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1045.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not pass types by reference | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1046.md b/docs/fundamentals/code-analysis/quality-rules/ca1046.md index 23403a9f39539..9ee8607c30d98 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1046.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1046.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not overload operator equals on reference types | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1047.md b/docs/fundamentals/code-analysis/quality-rules/ca1047.md index 9dfefe01ee76e..f125e6de4ca8f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1047.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1047.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Do not declare protected members in sealed types | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1050.md b/docs/fundamentals/code-analysis/quality-rules/ca1050.md index 7b8f1c01481d4..1116099d933b4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1050.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1050.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Declare types in namespaces | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1051.md b/docs/fundamentals/code-analysis/quality-rules/ca1051.md index dc31bc8febe18..4b5c0009edf0c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1051.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1051.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not declare visible instance fields | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1052.md b/docs/fundamentals/code-analysis/quality-rules/ca1052.md index 481723d7c4b5d..15d73b3b7c4aa 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1052.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1052.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Static holder types should be Static or NotInheritable | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1053.md b/docs/fundamentals/code-analysis/quality-rules/ca1053.md index 0ee6e3c091881..4c4b0ff3eaeb6 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1053.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1053.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Static holder types should not have default constructors | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | > [!NOTE] > Rule CA1053 only applies to legacy Visual Studio code analysis. In the .NET code-quality analyzers, it's combined into rule [CA1052: Static holder types should be Static or NotInheritable](ca1052.md). diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1054.md b/docs/fundamentals/code-analysis/quality-rules/ca1054.md index 0ffb3ddd36a1f..fd6a1ca5a9025 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1054.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1054.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | URI parameters should not be strings | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1055.md b/docs/fundamentals/code-analysis/quality-rules/ca1055.md index 09bd36b3f3f41..0da1fd400e4fe 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1055.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1055.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | URI return values should not be strings | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1056.md b/docs/fundamentals/code-analysis/quality-rules/ca1056.md index c3454cdc4c0fa..78ce4352e2b8f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1056.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1056.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | URI properties should not be strings | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1058.md b/docs/fundamentals/code-analysis/quality-rules/ca1058.md index 5bee3d0cdda08..83693ec23ff1f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1058.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1058.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Types should not extend certain base types | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1060.md b/docs/fundamentals/code-analysis/quality-rules/ca1060.md index eca8f84140c7f..d115534e7557c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1060.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1060.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Move P/Invokes to NativeMethods class | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1061.md b/docs/fundamentals/code-analysis/quality-rules/ca1061.md index d65a671d2d199..6eb1950e2779c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1061.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1061.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not hide base class methods | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1062.md b/docs/fundamentals/code-analysis/quality-rules/ca1062.md index 8c530015c08c9..ff37d3f52e180 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1062.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1062.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Validate arguments of public methods | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1063.md b/docs/fundamentals/code-analysis/quality-rules/ca1063.md index c36c7b3f954b3..49953b7a8da85 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1063.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1063.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Implement IDisposable correctly | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1064.md b/docs/fundamentals/code-analysis/quality-rules/ca1064.md index 39bae83cc4206..a17fa8a369da3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1064.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1064.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Exceptions should be public | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1065.md b/docs/fundamentals/code-analysis/quality-rules/ca1065.md index 4275810659d62..31c1c468cc743 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1065.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1065.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not raise exceptions in unexpected locations | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1066.md b/docs/fundamentals/code-analysis/quality-rules/ca1066.md index f0ee14bb9b6b3..0394ab9bf248a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1066.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1066.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Implement IEquatable when overriding Equals | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1067.md b/docs/fundamentals/code-analysis/quality-rules/ca1067.md index 0a45e1984e017..4914ad0651853 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1067.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1067.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Override Equals when implementing IEquatable | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1068.md b/docs/fundamentals/code-analysis/quality-rules/ca1068.md index 74ef95d6ae297..9fc5a01149a63 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1068.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1068.md @@ -19,7 +19,7 @@ ms.author: mavasani | **Title** | CancellationToken parameters must come last | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1069.md b/docs/fundamentals/code-analysis/quality-rules/ca1069.md index da6ce0d3a6161..36d3a5f94287d 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1069.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1069.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Enums should not have duplicate values | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1070.md b/docs/fundamentals/code-analysis/quality-rules/ca1070.md index 90b80b118b5cf..aafcbb099b6ad 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1070.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1070.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Do not declare event fields as virtual | | **Category** | [Design](design-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1200.md b/docs/fundamentals/code-analysis/quality-rules/ca1200.md index 0d4824d0c159f..bf99886bd5353 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1200.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1200.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Avoid using cref tags with a prefix | | **Category** | [Documentation](documentation-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1303.md b/docs/fundamentals/code-analysis/quality-rules/ca1303.md index 11db1771a5836..d3c0998d5c1bb 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1303.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1303.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Do not pass literals as localized parameters | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1304.md b/docs/fundamentals/code-analysis/quality-rules/ca1304.md index a28af1b602a1f..fc76d5434a673 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1304.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1304.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Specify CultureInfo | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1305.md b/docs/fundamentals/code-analysis/quality-rules/ca1305.md index cb2b12b5421ec..1b8b39828a925 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1305.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1305.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Specify IFormatProvider | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1307.md b/docs/fundamentals/code-analysis/quality-rules/ca1307.md index ff654e6470672..72c328af86441 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1307.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1307.md @@ -21,7 +21,7 @@ ms.author: gewarren | **Title** | Specify StringComparison for clarity | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1308.md b/docs/fundamentals/code-analysis/quality-rules/ca1308.md index 6a8737fdd702f..08df5f7d7b7b9 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1308.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1308.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Normalize strings to uppercase | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1309.md b/docs/fundamentals/code-analysis/quality-rules/ca1309.md index 0a896dbe5b351..0ebb063f241a9 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1309.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1309.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Use ordinal StringComparison | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1310.md b/docs/fundamentals/code-analysis/quality-rules/ca1310.md index b780739416f70..b5ac85b73a5d5 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1310.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1310.md @@ -21,7 +21,7 @@ ms.author: gewarren | **Title** | Specify StringComparison for correctness | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1311.md b/docs/fundamentals/code-analysis/quality-rules/ca1311.md index 08875110f2267..ac2d27c24dc2b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1311.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1311.md @@ -19,7 +19,7 @@ dev_langs: | **Title** | Specify a culture or use an invariant version | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1401.md b/docs/fundamentals/code-analysis/quality-rules/ca1401.md index 3a138a40cd128..ed559ba3c8686 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1401.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1401.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | P/Invokes should not be visible | | **Category** | [Interoperability](interoperability-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1416.md b/docs/fundamentals/code-analysis/quality-rules/ca1416.md index a376411660424..fb6d3eb3a970a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1416.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1416.md @@ -19,7 +19,7 @@ ms.author: bunamnan | **Title** | Validate platform compatibility | | **Category** | [Interoperability](interoperability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1417.md b/docs/fundamentals/code-analysis/quality-rules/ca1417.md index bb82520898a8b..1c9e8535f04ab 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1417.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1417.md @@ -19,7 +19,7 @@ ms.author: elfung | **Title** | Do not use `OutAttribute` on string parameters for P/Invokes | | **Category** | [Interoperability](interoperability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1418.md b/docs/fundamentals/code-analysis/quality-rules/ca1418.md index 492d2f27179e3..929de48acae1d 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1418.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1418.md @@ -19,7 +19,7 @@ ms.author: bunamnan | **Title** | Validate platform compatibility | | **Category** | [Interoperability](interoperability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1419.md b/docs/fundamentals/code-analysis/quality-rules/ca1419.md index a2d01f75f49e0..cd1ecf8a215b7 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1419.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1419.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' | | **Category** | [Interoperability](interoperability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1420.md b/docs/fundamentals/code-analysis/quality-rules/ca1420.md index cfa36df788986..e588bdf0a3fb8 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1420.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1420.md @@ -18,7 +18,7 @@ dev_langs: | **Title** | Property, type, or attribute requires runtime marshalling | | **Category** | [Interoperability](interoperability-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1421.md b/docs/fundamentals/code-analysis/quality-rules/ca1421.md index 174d75a23e86f..5c79b18df960e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1421.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1421.md @@ -19,7 +19,7 @@ dev_langs: | **Title** | Method uses runtime marshalling when DisableRuntimeMarshallingAttribute is applied | | **Category** | [Interoperability](interoperability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1422.md b/docs/fundamentals/code-analysis/quality-rules/ca1422.md index d325b1c59f99b..2d9fe72e4f279 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1422.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1422.md @@ -18,7 +18,7 @@ dev_langs: | **Title** | Validate platform compatibility - obsoleted APIs | | **Category** | [Interoperability](interoperability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1501.md b/docs/fundamentals/code-analysis/quality-rules/ca1501.md index a22c2cb769b4a..b635b7a19182a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1501.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1501.md @@ -23,7 +23,7 @@ dev_langs: | **Category** | [Maintainability](maintainability-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | | **Default threshold** | 5 | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1502.md b/docs/fundamentals/code-analysis/quality-rules/ca1502.md index 1da16f3637f92..1488d7110869b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1502.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1502.md @@ -23,7 +23,7 @@ dev_langs: | **Category** | [Maintainability](maintainability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | | **Default threshold** | 25 | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1505.md b/docs/fundamentals/code-analysis/quality-rules/ca1505.md index 5bdf58b5f848a..b192981f147e7 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1505.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1505.md @@ -20,7 +20,7 @@ ms.author: gewarren | **Category** | [Maintainability](maintainability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | | **Default threshold** | 10 | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1506.md b/docs/fundamentals/code-analysis/quality-rules/ca1506.md index aee16c792986a..51964377faf94 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1506.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1506.md @@ -18,7 +18,7 @@ helpviewer_keywords: | **Category** | [Maintainability](maintainability-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | | **Default threshold** | Types: 95  Other symbols: 40 | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1507.md b/docs/fundamentals/code-analysis/quality-rules/ca1507.md index 7b21ac73584e2..8da2b8d6b5cfb 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1507.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1507.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Use `nameof` in place of string | | **Category** | [Maintainability](maintainability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1508.md b/docs/fundamentals/code-analysis/quality-rules/ca1508.md index 3955158f8f965..72a1e45052c7d 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1508.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1508.md @@ -19,7 +19,7 @@ ms.author: mavasani | **Title** | Avoid dead conditional code | | **Category** | [Maintainability](maintainability-warnings.md) | | **Fix is breaking or non-breaking** | Non-Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1509.md b/docs/fundamentals/code-analysis/quality-rules/ca1509.md index 6fa85ee48deb0..5b29ec9ce0793 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1509.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1509.md @@ -19,7 +19,7 @@ ms.author: mavasani | **Title** | Invalid entry in code metrics configuration file | | **Category** | [Maintainability](maintainability-warnings.md) | | **Fix is breaking or non-breaking** | Non-Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1514.md b/docs/fundamentals/code-analysis/quality-rules/ca1514.md index e558183c6780f..cab8dc6d1de73 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1514.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1514.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Avoid redundant length argument | | **Category** | [Maintainability](maintainability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1700.md b/docs/fundamentals/code-analysis/quality-rules/ca1700.md index dd91b4ab27cd8..d35546fe6bf37 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1700.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1700.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not name enum values 'Reserved' | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1707.md b/docs/fundamentals/code-analysis/quality-rules/ca1707.md index 0543c377cf54c..4448a5079f355 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1707.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1707.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Identifiers should not contain underscores | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking - when raised on assemblies

Non-breaking - when raised on type parameters | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1708.md b/docs/fundamentals/code-analysis/quality-rules/ca1708.md index 8b33d97332b57..d7ce860f08c47 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1708.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1708.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Identifiers should differ by more than case | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1710.md b/docs/fundamentals/code-analysis/quality-rules/ca1710.md index 4162b673c10c2..375ca7e9bff41 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1710.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1710.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Identifiers should have correct suffix | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1711.md b/docs/fundamentals/code-analysis/quality-rules/ca1711.md index 266ac26ea26ee..3ca7790f0aedb 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1711.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1711.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Identifiers should not have incorrect suffix | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1712.md b/docs/fundamentals/code-analysis/quality-rules/ca1712.md index 6cc49a9a0c873..453cb5ecb88c4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1712.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1712.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Do not prefix enum values with type name | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1713.md b/docs/fundamentals/code-analysis/quality-rules/ca1713.md index 7fe2da2e03141..23198d6853c29 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1713.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1713.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Events should not have before or after prefix | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1714.md b/docs/fundamentals/code-analysis/quality-rules/ca1714.md index 097a7937400be..4efa3f305539f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1714.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1714.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Flags enums should have plural names | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1715.md b/docs/fundamentals/code-analysis/quality-rules/ca1715.md index 4c33a5b6be604..01dc6da85a31a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1715.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1715.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Identifiers should have correct prefix | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking - when fired on interfaces.

Non-breaking - when raised on generic type parameters. | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1716.md b/docs/fundamentals/code-analysis/quality-rules/ca1716.md index de879be125c84..90589c932ebe4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1716.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1716.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Identifiers should not match keywords | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1717.md b/docs/fundamentals/code-analysis/quality-rules/ca1717.md index 6d2624103e8dd..95b636f8b2bc9 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1717.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1717.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Only FlagsAttribute enums should have plural names | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1720.md b/docs/fundamentals/code-analysis/quality-rules/ca1720.md index 0cbc54d009dc8..b11bf139206a3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1720.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1720.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Identifiers should not contain type names | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1721.md b/docs/fundamentals/code-analysis/quality-rules/ca1721.md index 7daa30793bdb4..86f66cd755b51 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1721.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1721.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Property names should not match get methods | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1724.md b/docs/fundamentals/code-analysis/quality-rules/ca1724.md index ec91de4abeef2..b20b0f8d5fa61 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1724.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1724.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Type names should not match namespaces | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1725.md b/docs/fundamentals/code-analysis/quality-rules/ca1725.md index a50dd468d03a9..aefc190fd628b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1725.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1725.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Parameter names should match base declaration | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1727.md b/docs/fundamentals/code-analysis/quality-rules/ca1727.md index b3cdf7ca95f0e..73c0d9856f3c9 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1727.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1727.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Use PascalCase for named placeholders | | **Category** | [Naming](naming-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1801.md b/docs/fundamentals/code-analysis/quality-rules/ca1801.md index c8b21d6c31c48..81666d7b740b1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1801.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1801.md @@ -20,7 +20,7 @@ ms.author: gewarren | **Title** | Review unused parameters | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking - If the member is not visible outside the assembly, regardless of the change you make.

Non-breaking - If you change the member to use the parameter within its body.

Breaking - If you remove the parameter and it is visible outside the assembly. | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1802.md b/docs/fundamentals/code-analysis/quality-rules/ca1802.md index e4c1f686fdb88..a082db1e3133e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1802.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1802.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Use Literals Where Appropriate | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1805.md b/docs/fundamentals/code-analysis/quality-rules/ca1805.md index af495cc15cb65..1b673a3ca28e4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1805.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1805.md @@ -19,7 +19,7 @@ ms.author: stoub | **Title** | Do not initialize unnecessarily | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1806.md b/docs/fundamentals/code-analysis/quality-rules/ca1806.md index 918ca6ed5aac4..07e892d4262fa 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1806.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1806.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Do not ignore method results | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1810.md b/docs/fundamentals/code-analysis/quality-rules/ca1810.md index 7356b5f0b6d23..be4fe44080d63 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1810.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1810.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Initialize reference type static fields inline | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1812.md b/docs/fundamentals/code-analysis/quality-rules/ca1812.md index 1921c3e91eb6e..b827647664730 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1812.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1812.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Avoid uninstantiated internal classes | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1813.md b/docs/fundamentals/code-analysis/quality-rules/ca1813.md index a5af876fdca2d..94b43b66f4e42 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1813.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1813.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Avoid unsealed attributes | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1814.md b/docs/fundamentals/code-analysis/quality-rules/ca1814.md index a85c83114447f..660cd093d1af4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1814.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1814.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Prefer jagged arrays over multidimensional | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1815.md b/docs/fundamentals/code-analysis/quality-rules/ca1815.md index c718764921228..99f493a2898c2 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1815.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1815.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Override equals and operator equals on value types | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1816.md b/docs/fundamentals/code-analysis/quality-rules/ca1816.md index 762a0cad27d33..06da92af2a7ed 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1816.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1816.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Call GC.SuppressFinalize correctly | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1819.md b/docs/fundamentals/code-analysis/quality-rules/ca1819.md index c28a45dfd6a06..e92f3ee1ad450 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1819.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1819.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Properties should not return arrays | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1820.md b/docs/fundamentals/code-analysis/quality-rules/ca1820.md index 5cc09114a5672..8f96e179f5fd5 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1820.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1820.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Test for empty strings using string length | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1821.md b/docs/fundamentals/code-analysis/quality-rules/ca1821.md index 047430f2efb1c..98d6600e29c5f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1821.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1821.md @@ -18,7 +18,7 @@ ms.author: gewarren | **Title** | Remove empty finalizers | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1822.md b/docs/fundamentals/code-analysis/quality-rules/ca1822.md index fe27ed11f4c1f..4d6467fdc260e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1822.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1822.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Mark members as static | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking - If the member is not visible outside the assembly, regardless of the change you make.

Non-breaking - If you just change the member to an instance member with the `this` keyword.

Breaking - If you change the member from an instance member to a static member and it is visible outside the assembly. | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1823.md b/docs/fundamentals/code-analysis/quality-rules/ca1823.md index 33505c91cb5a2..c444fc4183470 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1823.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1823.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Avoid unused private fields | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1824.md b/docs/fundamentals/code-analysis/quality-rules/ca1824.md index ec6af24b97fa5..4d35c520f6a94 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1824.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1824.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Mark assemblies with NeutralResourcesLanguageAttribute | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1825.md b/docs/fundamentals/code-analysis/quality-rules/ca1825.md index 7bd790a056d6c..ac8ed18d71864 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1825.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1825.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Avoid zero-length array allocations | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1826.md b/docs/fundamentals/code-analysis/quality-rules/ca1826.md index e2769f3b3614e..76e19da953ccc 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1826.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1826.md @@ -19,7 +19,7 @@ ms.author: mavasani | **Title** | Use property instead of Linq Enumerable method | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1827.md b/docs/fundamentals/code-analysis/quality-rules/ca1827.md index a19956cab8aef..9ea350094e2fc 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1827.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1827.md @@ -19,7 +19,7 @@ ms.author: mavasani | **Title** | Do not use Count()/LongCount() when Any() can be used | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1828.md b/docs/fundamentals/code-analysis/quality-rules/ca1828.md index c539a21775a74..7ab27f8d463e2 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1828.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1828.md @@ -19,7 +19,7 @@ ms.author: mavasani | **Title** | Do not use CountAsync/LongCountAsync when AnyAsync can be used | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1829.md b/docs/fundamentals/code-analysis/quality-rules/ca1829.md index 9b092ca636caa..5a27c4ace3c57 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1829.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1829.md @@ -19,7 +19,7 @@ ms.author: mavasani | **Title** | Use Length/Count property instead of Enumerable.Count method | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1830.md b/docs/fundamentals/code-analysis/quality-rules/ca1830.md index 2d16a88cc07b6..48514bd7f134f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1830.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1830.md @@ -19,7 +19,7 @@ ms.author: stoub | **Title** | Prefer strongly-typed Append and Insert method overloads on StringBuilder | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1831.md b/docs/fundamentals/code-analysis/quality-rules/ca1831.md index b162d2649e892..0f0a196cb7a1b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1831.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1831.md @@ -19,7 +19,7 @@ ms.author: bunamnan | **Title** | Use AsSpan instead of Range-based indexers for string when appropriate | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1832.md b/docs/fundamentals/code-analysis/quality-rules/ca1832.md index 9d1cd3ba70413..1177098dd442b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1832.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1832.md @@ -19,7 +19,7 @@ ms.author: bunamnan | **Title** | Use AsSpan or AsMemory instead of Range-based indexers for getting ReadOnlySpan or ReadOnlyMemory portion of an array | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1833.md b/docs/fundamentals/code-analysis/quality-rules/ca1833.md index d97b3a8debca5..d6239bbd21dd0 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1833.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1833.md @@ -19,7 +19,7 @@ ms.author: bunamnan | **Title** | Use AsSpan or AsMemory instead of Range-based indexers for getting Span or Memory portion of an array | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1834.md b/docs/fundamentals/code-analysis/quality-rules/ca1834.md index 2e73810fef1be..f5a688fbd196e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1834.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1834.md @@ -18,7 +18,7 @@ author: pgovind | **Title** | Use StringBuilder.Append(char) for single character strings | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1835.md b/docs/fundamentals/code-analysis/quality-rules/ca1835.md index 6d92341c5501c..b03c3d8f3c183 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1835.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1835.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Prefer the memory-based overloads of ReadAsync/WriteAsync methods in stream-based classes | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1836.md b/docs/fundamentals/code-analysis/quality-rules/ca1836.md index 5a50bc0a6b4f1..bf9455b6f09c4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1836.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1836.md @@ -19,7 +19,7 @@ ms.author: dacantu | **Title** | Prefer IsEmpty over Count when available | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1837.md b/docs/fundamentals/code-analysis/quality-rules/ca1837.md index 1fcb4b6e34ea0..bc5d6f167696d 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1837.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1837.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Use Environment.ProcessId instead of Process.GetCurrentProcess().Id | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1838.md b/docs/fundamentals/code-analysis/quality-rules/ca1838.md index 23eda3741a9c3..0dfac11856d75 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1838.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1838.md @@ -20,7 +20,7 @@ ms.author: elfung | **Title** | Avoid `StringBuilder` parameters for P/Invokes | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1839.md b/docs/fundamentals/code-analysis/quality-rules/ca1839.md index 75ea1642abf14..c49e6a91e73d7 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1839.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1839.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Use Environment.ProcessPath instead of Process.GetCurrentProcess().MainModule.FileName | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1840.md b/docs/fundamentals/code-analysis/quality-rules/ca1840.md index fec7fe00c29af..0243959ea9a1c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1840.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1840.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Use Environment.CurrentManagedThreadId instead of Thread.CurrentThread.ManagedThreadId | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1841.md b/docs/fundamentals/code-analysis/quality-rules/ca1841.md index 720775e608840..f3b992ee84f96 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1841.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1841.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Prefer Dictionary Contains methods | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1842.md b/docs/fundamentals/code-analysis/quality-rules/ca1842.md index d9c32b14b4ed8..3242fd3cdbbb0 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1842.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1842.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Do not use 'WhenAll' with a single task | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1843.md b/docs/fundamentals/code-analysis/quality-rules/ca1843.md index 84ded87ead8a1..1eca008ba745e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1843.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1843.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Do not use 'WaitAll' with a single task | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1844.md b/docs/fundamentals/code-analysis/quality-rules/ca1844.md index 7cb4f88b967b2..25874ceddfd84 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1844.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1844.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Provide memory-based overrides of async methods when subclassing 'Stream' | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1845.md b/docs/fundamentals/code-analysis/quality-rules/ca1845.md index ccf8aed17760b..afa1e482214c2 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1845.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1845.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Use span-based 'string.Concat' | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1846.md b/docs/fundamentals/code-analysis/quality-rules/ca1846.md index 3109d01b7cc4f..c5a5deb2444e1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1846.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1846.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Prefer `AsSpan` over `Substring` | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1847.md b/docs/fundamentals/code-analysis/quality-rules/ca1847.md index 035e9c73347e7..7c8af76e96715 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1847.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1847.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Use string.Contains(char) instead of string.Contains(string) with single characters | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1848.md b/docs/fundamentals/code-analysis/quality-rules/ca1848.md index 04157f202cd9c..2b6aa7f467d33 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1848.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1848.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Use the LoggerMessage delegates | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1849.md b/docs/fundamentals/code-analysis/quality-rules/ca1849.md index 6ab634fbb80ed..756f61f5d9e5b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1849.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1849.md @@ -18,7 +18,7 @@ author: mahdiva | **Title** | Call async methods when in an async method | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1850.md b/docs/fundamentals/code-analysis/quality-rules/ca1850.md index 86c1f428f182c..88b30725ecee7 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1850.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1850.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Prefer static `HashData` method over `ComputeHash` | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1851.md b/docs/fundamentals/code-analysis/quality-rules/ca1851.md index 10b30a548b52b..3c8a10e6f8d84 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1851.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1851.md @@ -20,7 +20,7 @@ dev_langs: | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | | **Introduced version** | .NET 7 | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1852.md b/docs/fundamentals/code-analysis/quality-rules/ca1852.md index 5d2dbc2eee53e..7fbea618c67cd 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1852.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1852.md @@ -21,7 +21,7 @@ dev_langs: | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | | **Introduced version** | .NET 7 | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1853.md b/docs/fundamentals/code-analysis/quality-rules/ca1853.md index 0bdfbc6ef96c2..3bb6b123a2c3f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1853.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1853.md @@ -21,7 +21,7 @@ dev_langs: | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | | **Introduced version** | .NET 7 | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1854.md b/docs/fundamentals/code-analysis/quality-rules/ca1854.md index c4129e58150f3..3737753b99a54 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1854.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1854.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Prefer the `IDictionary.TryGetValue(TKey, out TValue)` method | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1855.md b/docs/fundamentals/code-analysis/quality-rules/ca1855.md index 90899e065cf15..f7979195daabc 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1855.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1855.md @@ -19,7 +19,7 @@ dev_langs: | **Title** | Use Span\.Clear() instead of Span\.Fill() | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1858.md b/docs/fundamentals/code-analysis/quality-rules/ca1858.md index c5ed9a994b01d..7250a99c4dc60 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1858.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1858.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Use StartsWith instead of IndexOf | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1860.md b/docs/fundamentals/code-analysis/quality-rules/ca1860.md index 58ba74522f162..df45478e84e66 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1860.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1860.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Avoid using 'Enumerable.Any()' extension method | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1861.md b/docs/fundamentals/code-analysis/quality-rules/ca1861.md index f77baed2c6bf8..a96d55d31dad4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1861.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1861.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Avoid constant arrays as arguments | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1864.md b/docs/fundamentals/code-analysis/quality-rules/ca1864.md index ec18945530730..3e7b706f7ef2a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1864.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1864.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Prefer the 'IDictionary.TryAdd(TKey, TValue)' method | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1865-ca1867.md b/docs/fundamentals/code-analysis/quality-rules/ca1865-ca1867.md index 8e4c00ab11e28..64f434435231f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1865-ca1867.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1865-ca1867.md @@ -24,7 +24,7 @@ author: mrahhal | **Title** | Use 'string.Method(char)' instead of 'string.Method(string)' for string with single char | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1868.md b/docs/fundamentals/code-analysis/quality-rules/ca1868.md index 403c90b5be980..f5246db0af679 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1868.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1868.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Unnecessary call to 'Contains' for sets | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca1869.md b/docs/fundamentals/code-analysis/quality-rules/ca1869.md index 9246999b91218..2f651ba51b75c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca1869.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca1869.md @@ -19,7 +19,7 @@ ms.author: dacantu | **Title** | Cache and reuse 'JsonSerializerOptions' instances | | **Category** | [Performance](performance-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2000.md b/docs/fundamentals/code-analysis/quality-rules/ca2000.md index 4ab86896b897f..aaa7966281182 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2000.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2000.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Dispose objects before losing scope | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2002.md b/docs/fundamentals/code-analysis/quality-rules/ca2002.md index bd33cef17307b..77e8f5473dd1f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2002.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2002.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Do not lock on objects with weak identity | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2007.md b/docs/fundamentals/code-analysis/quality-rules/ca2007.md index 694e595e223db..4f6a1b4ebdd8c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2007.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2007.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Do not directly await a Task | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2008.md b/docs/fundamentals/code-analysis/quality-rules/ca2008.md index 537fd6376ea62..09f19e35bfbd0 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2008.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2008.md @@ -18,7 +18,7 @@ ms.author: gewarren | **Title** | Do not create tasks without passing a TaskScheduler | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2009.md b/docs/fundamentals/code-analysis/quality-rules/ca2009.md index 38043c907e0a6..b9e68f82fd9c3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2009.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2009.md @@ -18,7 +18,7 @@ ms.author: mavasani | **Title** | Do not call ToImmutableCollection on an ImmutableCollection value | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2011.md b/docs/fundamentals/code-analysis/quality-rules/ca2011.md index 84c4efe438439..c431edef15e01 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2011.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2011.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Do not assign property within its setter | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2012.md b/docs/fundamentals/code-analysis/quality-rules/ca2012.md index 0fa965670ca6e..6f3327d620b75 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2012.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2012.md @@ -19,7 +19,7 @@ ms.author: stoub | **Title** | Use ValueTasks correctly | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2013.md b/docs/fundamentals/code-analysis/quality-rules/ca2013.md index f142a0802a74b..c6eabecf555c1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2013.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2013.md @@ -19,7 +19,7 @@ ms.author: bunamnan | **Title** | Do not use ReferenceEquals with value types | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2014.md b/docs/fundamentals/code-analysis/quality-rules/ca2014.md index c4330f9381b9d..8681fab1971d8 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2014.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2014.md @@ -19,7 +19,7 @@ ms.author: stoub | **Title** | Do not use stackalloc in loops | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2015.md b/docs/fundamentals/code-analysis/quality-rules/ca2015.md index a13d797a128f4..8ec805f3a860c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2015.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2015.md @@ -19,7 +19,7 @@ ms.author: bunamnan | **Title** | Do not define finalizers for types derived from MemoryManager<T> | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2016.md b/docs/fundamentals/code-analysis/quality-rules/ca2016.md index 67fc2467f8dec..6b05d36eacee2 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2016.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2016.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Forward the CancellationToken parameter to methods that take one | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2017.md b/docs/fundamentals/code-analysis/quality-rules/ca2017.md index 7b457df98fc5f..bd3056887cef5 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2017.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2017.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Parameter count mismatch | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2018.md b/docs/fundamentals/code-analysis/quality-rules/ca2018.md index 0b7fab15de0f4..cc4a8cb93419e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2018.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2018.md @@ -18,7 +18,7 @@ author: mahdiva | **Title** | The `count` argument to `Buffer.BlockCopy` should specify the number of bytes to copy | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2019.md b/docs/fundamentals/code-analysis/quality-rules/ca2019.md index 8aafedd63c160..681dc93303035 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2019.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2019.md @@ -18,7 +18,7 @@ dev_langs: | **Title** | `ThreadStatic` fields should not use inline initialization | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2020.md b/docs/fundamentals/code-analysis/quality-rules/ca2020.md index de6da79477118..57f1dc9230a76 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2020.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2020.md @@ -18,7 +18,7 @@ author: buyaa-n | **Title** | Prevent behavioral change caused by built-in operators of IntPtr/UIntPtr | | **Category** | [Reliability](reliability-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2100.md b/docs/fundamentals/code-analysis/quality-rules/ca2100.md index 5256bdf3bd10c..c4d1ddc016f20 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2100.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2100.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Review SQL queries for security vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2101.md b/docs/fundamentals/code-analysis/quality-rules/ca2101.md index bea8aa2bb7b51..d42b57a2e55f1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2101.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2101.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Specify marshalling for P/Invoke string arguments | | **Category** | [Globalization](globalization-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2109.md b/docs/fundamentals/code-analysis/quality-rules/ca2109.md index eaca0f044158f..394700382cbdd 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2109.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2109.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Review visible event handlers | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2119.md b/docs/fundamentals/code-analysis/quality-rules/ca2119.md index ec1e39b855699..0584948961009 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2119.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2119.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Seal methods that satisfy private interfaces | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2153.md b/docs/fundamentals/code-analysis/quality-rules/ca2153.md index 123e9fb04d070..5099b9ea5dfa9 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2153.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2153.md @@ -13,7 +13,7 @@ ms.author: gewarren | **Title** | Avoid handling Corrupted State Exceptions | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2200.md b/docs/fundamentals/code-analysis/quality-rules/ca2200.md index 7e1a22ba8c885..0d302158f8409 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2200.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2200.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Rethrow to preserve stack details | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2201.md b/docs/fundamentals/code-analysis/quality-rules/ca2201.md index 065e0cb12077f..39ed1436295e5 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2201.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2201.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not raise reserved exception types | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2207.md b/docs/fundamentals/code-analysis/quality-rules/ca2207.md index b0db1f156eab4..584eaebe98c57 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2207.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2207.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Initialize value type static fields inline | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2208.md b/docs/fundamentals/code-analysis/quality-rules/ca2208.md index 76c6f962602ae..d468898f020c4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2208.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2208.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Instantiate argument exceptions correctly | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2211.md b/docs/fundamentals/code-analysis/quality-rules/ca2211.md index c5349bb70c318..5e3e05e31c00e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2211.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2211.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Non-constant fields should not be visible | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2213.md b/docs/fundamentals/code-analysis/quality-rules/ca2213.md index e62d72803e971..eaa4e950bbdb2 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2213.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2213.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Disposable fields should be disposed | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2214.md b/docs/fundamentals/code-analysis/quality-rules/ca2214.md index 7e45f390274ed..24f04eebce76f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2214.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2214.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Do not call overridable methods in constructors | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2215.md b/docs/fundamentals/code-analysis/quality-rules/ca2215.md index d12e3887c530b..c6034778427e5 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2215.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2215.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Dispose methods should call base class dispose | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2216.md b/docs/fundamentals/code-analysis/quality-rules/ca2216.md index a12c6aaa0fe51..fcd4e2aaf00f1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2216.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2216.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Disposable types should declare finalizer | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2217.md b/docs/fundamentals/code-analysis/quality-rules/ca2217.md index dacf8de7ccf16..076c3d0af9a3a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2217.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2217.md @@ -22,7 +22,7 @@ ms.author: gewarren | **Title** | Do not mark enums with FlagsAttribute | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2218.md b/docs/fundamentals/code-analysis/quality-rules/ca2218.md index a503eecc9e6d6..133ad0c780a44 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2218.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2218.md @@ -19,7 +19,7 @@ dev_langs: | **Title** | Override GetHashCode on overriding Equals | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2219.md b/docs/fundamentals/code-analysis/quality-rules/ca2219.md index 7586ad83bab46..1e3ae5e5e93b5 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2219.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2219.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Do not raise exceptions in exception clauses | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking, Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2224.md b/docs/fundamentals/code-analysis/quality-rules/ca2224.md index 1d71c2f969dc0..3e9535e152529 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2224.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2224.md @@ -18,7 +18,7 @@ helpviewer_keywords: | **Title** | Override Equals on overloading operator equals | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2225.md b/docs/fundamentals/code-analysis/quality-rules/ca2225.md index 9637b9560388b..d5f432f17dad1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2225.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2225.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Operator overloads have named alternates | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2226.md b/docs/fundamentals/code-analysis/quality-rules/ca2226.md index af9a642b16bb5..b66ac9d6b6da0 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2226.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2226.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Operators should have symmetrical overloads | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2227.md b/docs/fundamentals/code-analysis/quality-rules/ca2227.md index f2794e28d7af7..25f3fe9f71af9 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2227.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2227.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Collection properties should be read only | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2229.md b/docs/fundamentals/code-analysis/quality-rules/ca2229.md index add852138b527..5c56be7647d99 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2229.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2229.md @@ -1,7 +1,7 @@ --- title: "CA2229: Implement serialization constructors (code analysis)" description: "Learn about code analysis rule CA2229: Implement serialization constructors" -ms.date: 11/04/2016 +ms.date: 11/13/2023 f1_keywords: - CA2229 - ImplementSerializationConstructors @@ -19,7 +19,10 @@ ms.author: gewarren | **Title** | Implement serialization constructors | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | + +> [!NOTE] +> This rule was removed in .NET 8 because it conflicts with [SYSLIB0051: Legacy serialization support APIs are obsolete](../../syslib-diagnostics/syslib0051.md). ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2231.md b/docs/fundamentals/code-analysis/quality-rules/ca2231.md index 9e61aceb129ef..c15c4c9af6909 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2231.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2231.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Overload operator equals on overriding ValueType.Equals | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2234.md b/docs/fundamentals/code-analysis/quality-rules/ca2234.md index 344874cd090aa..1ff2f23337b20 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2234.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2234.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Pass System.Uri objects instead of strings | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2235.md b/docs/fundamentals/code-analysis/quality-rules/ca2235.md index 15c6eb33dd254..566c82e3e37a8 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2235.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2235.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Mark all non-serializable fields | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2237.md b/docs/fundamentals/code-analysis/quality-rules/ca2237.md index ed77111686c86..3b58d42d1d2d6 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2237.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2237.md @@ -22,7 +22,7 @@ dev_langs: | **Title** | Mark ISerializable types with SerializableAttribute | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2241.md b/docs/fundamentals/code-analysis/quality-rules/ca2241.md index 606fcc6e25bb7..ac5396eaf9bf1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2241.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2241.md @@ -23,7 +23,7 @@ dev_langs: | **Title** | Provide correct arguments to formatting methods | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2242.md b/docs/fundamentals/code-analysis/quality-rules/ca2242.md index e732c337c347c..ea79fc6ffadc0 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2242.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2242.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Test for NaN correctly | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2243.md b/docs/fundamentals/code-analysis/quality-rules/ca2243.md index 062d413473078..5991d7402359a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2243.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2243.md @@ -19,7 +19,7 @@ ms.author: gewarren | **Title** | Attribute string literals should parse correctly | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2244.md b/docs/fundamentals/code-analysis/quality-rules/ca2244.md index 725e75c157a05..12ec06d11ea26 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2244.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2244.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Do not duplicate indexed element initializations | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2245.md b/docs/fundamentals/code-analysis/quality-rules/ca2245.md index 6a0adcb5a03b2..a4b4086fef441 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2245.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2245.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Do not assign a property to itself | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2246.md b/docs/fundamentals/code-analysis/quality-rules/ca2246.md index 91675d03020c6..8b99e5cd6a015 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2246.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2246.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Do not assign a symbol and its member in the same statement | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2247.md b/docs/fundamentals/code-analysis/quality-rules/ca2247.md index 32bd0b2e68345..2fb23560e697c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2247.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2247.md @@ -19,7 +19,7 @@ ms.author: stoub | **Title** | Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2248.md b/docs/fundamentals/code-analysis/quality-rules/ca2248.md index 1310ca9babbd5..ec110ecbb0f9b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2248.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2248.md @@ -17,7 +17,7 @@ ms.author: mavasani | **Title** | Provide correct enum argument to Enum.HasFlag | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2249.md b/docs/fundamentals/code-analysis/quality-rules/ca2249.md index fec7b55eb37ba..310d9817d82b4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2249.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2249.md @@ -16,7 +16,7 @@ author: pgovind | **Title** | Consider using String.Contains instead of String.IndexOf | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2250.md b/docs/fundamentals/code-analysis/quality-rules/ca2250.md index 470808bc176d8..2be7b99bbc402 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2250.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2250.md @@ -21,7 +21,7 @@ dev_langs: | **Title** | Use `ThrowIfCancellationRequested` | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2251.md b/docs/fundamentals/code-analysis/quality-rules/ca2251.md index 07e197d253cee..1f3869aa428fe 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2251.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2251.md @@ -18,7 +18,7 @@ author: NewellClark | **Title** | Use `String.Equals` over `String.Compare` | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2252.md b/docs/fundamentals/code-analysis/quality-rules/ca2252.md index c8a099b3ad68c..e34501dc94f41 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2252.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2252.md @@ -20,7 +20,7 @@ dev_langs: | **Title** | Opt in to preview features before using them | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2253.md b/docs/fundamentals/code-analysis/quality-rules/ca2253.md index dcf0bfdaed8b3..131f1e09abbd1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2253.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2253.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Named placeholders should not be numeric values | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2254.md b/docs/fundamentals/code-analysis/quality-rules/ca2254.md index c8617165fbbdd..09f2d195b2011 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2254.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2254.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Template should be a static expression | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2255.md b/docs/fundamentals/code-analysis/quality-rules/ca2255.md index d4a796b7a97b3..f5dd3858a924f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2255.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2255.md @@ -18,7 +18,7 @@ author: jeffhandley | **Title** | The `ModuleInitializer` attribute should not be used in libraries | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2256.md b/docs/fundamentals/code-analysis/quality-rules/ca2256.md index 638106a5a5379..c0fa6f96d8dfb 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2256.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2256.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2257.md b/docs/fundamentals/code-analysis/quality-rules/ca2257.md index 4359e6432efff..718a3e56326c6 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2257.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2257.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2258.md b/docs/fundamentals/code-analysis/quality-rules/ca2258.md index d890c6420ab02..04f52baddc5c9 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2258.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2258.md @@ -18,7 +18,7 @@ author: Youssef1313 | **Title** | Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2259.md b/docs/fundamentals/code-analysis/quality-rules/ca2259.md index b96c0b4b48070..d1c351e1dc746 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2259.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2259.md @@ -18,7 +18,7 @@ dev_langs: | **Title** | Ensure `ThreadStatic` is only used with static fields | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2260.md b/docs/fundamentals/code-analysis/quality-rules/ca2260.md index aac61ff91ba34..50c1ce2d813cd 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2260.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2260.md @@ -18,7 +18,7 @@ author: buyaa-n | **Title** | Implement generic math interfaces correctly | | **Category** | [Usage](usage-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | Yes | +| **Enabled by default in .NET 8** | Yes | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2300.md b/docs/fundamentals/code-analysis/quality-rules/ca2300.md index 550738626fdb1..ec9f0dfa357bf 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2300.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2300.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Do not use insecure deserializer BinaryFormatter | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2301.md b/docs/fundamentals/code-analysis/quality-rules/ca2301.md index acdc4ef0ad34a..fdad129a3e693 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2301.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2301.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2302.md b/docs/fundamentals/code-analysis/quality-rules/ca2302.md index 7ee7b49350ee6..2e09f5a7c97fa 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2302.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2302.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2305.md b/docs/fundamentals/code-analysis/quality-rules/ca2305.md index be2a73a576ae2..26d014c63328d 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2305.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2305.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Do not use insecure deserializer LosFormatter | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2310.md b/docs/fundamentals/code-analysis/quality-rules/ca2310.md index 8a697d419c7f0..87201e5c45c63 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2310.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2310.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Do not use insecure deserializer NetDataContractSerializer | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2311.md b/docs/fundamentals/code-analysis/quality-rules/ca2311.md index 57560c2bb32d3..7b0c338d4c838 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2311.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2311.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Do not deserialize without first setting NetDataContractSerializer.Binder | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2312.md b/docs/fundamentals/code-analysis/quality-rules/ca2312.md index 1f8817a994da6..0455e8eb21a2b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2312.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2312.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Ensure NetDataContractSerializer.Binder is set before deserializing | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2315.md b/docs/fundamentals/code-analysis/quality-rules/ca2315.md index f1773d72fa32b..d1c93820c5073 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2315.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2315.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Do not use insecure deserializer ObjectStateFormatter | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2321.md b/docs/fundamentals/code-analysis/quality-rules/ca2321.md index 689a18fa24375..1a830d8fff382 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2321.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2321.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2322.md b/docs/fundamentals/code-analysis/quality-rules/ca2322.md index d93ad28a7d0e8..b9e7653d204e5 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2322.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2322.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2326.md b/docs/fundamentals/code-analysis/quality-rules/ca2326.md index 1838a9d7e89ba..57aa23973b91f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2326.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2326.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Do not use TypeNameHandling values other than None | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2327.md b/docs/fundamentals/code-analysis/quality-rules/ca2327.md index fa763e78c6319..90d607160d186 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2327.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2327.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Do not use insecure JsonSerializerSettings | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2328.md b/docs/fundamentals/code-analysis/quality-rules/ca2328.md index 0afe2f147420b..fa904c40e146c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2328.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2328.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Ensure that JsonSerializerSettings are secure | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2329.md b/docs/fundamentals/code-analysis/quality-rules/ca2329.md index 84911d0a3d982..c558ef253bdf1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2329.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2329.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Do not deserialize with JsonSerializer using an insecure configuration | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2330.md b/docs/fundamentals/code-analysis/quality-rules/ca2330.md index 2e087e037d34d..6b8b0ec47fb7e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2330.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2330.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Ensure that JsonSerializer has a secure configuration when deserializing | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2350.md b/docs/fundamentals/code-analysis/quality-rules/ca2350.md index 683e86727cd13..e57662b181a68 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2350.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2350.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Ensure DataTable.ReadXml()'s input is trusted | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2351.md b/docs/fundamentals/code-analysis/quality-rules/ca2351.md index 9432544ba63f1..3b273a56f7a10 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2351.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2351.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Ensure DataSet.ReadXml()'s input is trusted | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2352.md b/docs/fundamentals/code-analysis/quality-rules/ca2352.md index 408d155304d9c..e5aa0dc5b697e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2352.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2352.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2353.md b/docs/fundamentals/code-analysis/quality-rules/ca2353.md index e5d83639a2bec..7219245d8ed84 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2353.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2353.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Unsafe DataSet or DataTable in serializable type | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2354.md b/docs/fundamentals/code-analysis/quality-rules/ca2354.md index 470e53f5d5241..b0f9dd4e4900d 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2354.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2354.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attack | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2355.md b/docs/fundamentals/code-analysis/quality-rules/ca2355.md index c5aac3587b7e9..7b997146d2eaa 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2355.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2355.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Unsafe DataSet or DataTable in deserialized object graph | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2356.md b/docs/fundamentals/code-analysis/quality-rules/ca2356.md index 97084c6597dd1..bd176d56c5883 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2356.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2356.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Unsafe DataSet or DataTable type in web deserialized object graph | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2361.md b/docs/fundamentals/code-analysis/quality-rules/ca2361.md index 7ecd4934749a8..c7ccd269caa6b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2361.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2361.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Ensure autogenerated class containing DataSet.ReadXml() is not used with untrusted data | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2362.md b/docs/fundamentals/code-analysis/quality-rules/ca2362.md index da2e1c6b5c997..482db2e44ff19 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2362.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2362.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Unsafe DataSet or DataTable in autogenerated serializable type can be vulnerable to remote code execution attacks | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3001.md b/docs/fundamentals/code-analysis/quality-rules/ca3001.md index 4942c42338e0a..72cac38b0318c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3001.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3001.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for SQL injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3002.md b/docs/fundamentals/code-analysis/quality-rules/ca3002.md index 4a632193005c6..1ecadfc46699c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3002.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3002.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for XSS vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3003.md b/docs/fundamentals/code-analysis/quality-rules/ca3003.md index d273d251864c2..d33ab9bd8d5cd 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3003.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3003.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for file path injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3004.md b/docs/fundamentals/code-analysis/quality-rules/ca3004.md index f8fb30166305d..1182953cdf64f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3004.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3004.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for information disclosure vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3005.md b/docs/fundamentals/code-analysis/quality-rules/ca3005.md index 11683517d7f1e..901851b772f5c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3005.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3005.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for LDAP injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3006.md b/docs/fundamentals/code-analysis/quality-rules/ca3006.md index 8edec94ef64fb..b08a65e4dc3f6 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3006.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3006.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for process command injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3007.md b/docs/fundamentals/code-analysis/quality-rules/ca3007.md index 135cdaddbec2c..7370da8e27873 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3007.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3007.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for open redirect vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3008.md b/docs/fundamentals/code-analysis/quality-rules/ca3008.md index 4892abfcc3f55..8b57966b1b1d1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3008.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3008.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for XPath injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3009.md b/docs/fundamentals/code-analysis/quality-rules/ca3009.md index e2e83ff18a501..23050718ff573 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3009.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3009.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for XML injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3010.md b/docs/fundamentals/code-analysis/quality-rules/ca3010.md index e8445f7b68f0e..8fb29e24c2581 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3010.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3010.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for XAML injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3011.md b/docs/fundamentals/code-analysis/quality-rules/ca3011.md index 99c97abe47f51..aba8e54dad139 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3011.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3011.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for DLL injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3012.md b/docs/fundamentals/code-analysis/quality-rules/ca3012.md index 8b5cced1b90bd..d1401d752b182 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3012.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3012.md @@ -16,7 +16,7 @@ dev_langs: | **Title** | Review code for regex injection vulnerabilities | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3061.md b/docs/fundamentals/code-analysis/quality-rules/ca3061.md index a26e845585065..71d2811365b0e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3061.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3061.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Do not add schema by URL | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3075.md b/docs/fundamentals/code-analysis/quality-rules/ca3075.md index 06ada107022df..380faccf583e4 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3075.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3075.md @@ -13,7 +13,7 @@ ms.author: gewarren | **Title** | Insecure DTD Processing | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3076.md b/docs/fundamentals/code-analysis/quality-rules/ca3076.md index 3a5b7bbec8a7f..84a338ab4561b 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3076.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3076.md @@ -13,7 +13,7 @@ ms.author: gewarren | **Title** | Insecure XSLT Script Execution | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3077.md b/docs/fundamentals/code-analysis/quality-rules/ca3077.md index 787f100781f42..b70b94d634bf3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3077.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3077.md @@ -13,7 +13,7 @@ ms.author: gewarren | **Title** | Insecure Processing in API Design, XML Document and XML Text Reader | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca3147.md b/docs/fundamentals/code-analysis/quality-rules/ca3147.md index 487abe369c87d..20a594114daea 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca3147.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca3147.md @@ -15,7 +15,7 @@ dev_langs: | **Title** | Mark verb handlers with ValidateAntiForgeryToken | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5350.md b/docs/fundamentals/code-analysis/quality-rules/ca5350.md index 4ed74cc953181..44e79e4d03297 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5350.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5350.md @@ -13,7 +13,7 @@ ms.author: gewarren | **Title** | Do Not Use Weak Cryptographic Algorithms | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | > [!NOTE] > This warning was last updated on November 2015. diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5351.md b/docs/fundamentals/code-analysis/quality-rules/ca5351.md index ebe364e35fda4..0834a6adcd19a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5351.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5351.md @@ -13,7 +13,7 @@ ms.author: gewarren | **Title** | Do Not Use Broken Cryptographic Algorithms | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | > [!NOTE] > This warning was last updated on November 2015. diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5358.md b/docs/fundamentals/code-analysis/quality-rules/ca5358.md index 5c7e318184758..b1cc5d6270900 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5358.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5358.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Do Not Use Unsafe Cipher Modes | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5359.md b/docs/fundamentals/code-analysis/quality-rules/ca5359.md index e3b0f0e3d7ffa..ad50d1f32e719 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5359.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5359.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Do not disable certificate validation | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5360.md b/docs/fundamentals/code-analysis/quality-rules/ca5360.md index a1bcba77a2a3b..b80febbfcfefe 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5360.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5360.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Do not call dangerous methods in deserialization | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5361.md b/docs/fundamentals/code-analysis/quality-rules/ca5361.md index d49e2d7a56350..687c83a5c1a20 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5361.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5361.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Do not disable SChannel use of strong crypto | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5362.md b/docs/fundamentals/code-analysis/quality-rules/ca5362.md index 76abee4e75223..708d06f291271 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5362.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5362.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Potential reference cycle in deserialized object graph | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5363.md b/docs/fundamentals/code-analysis/quality-rules/ca5363.md index 20e7dcffac530..eab514852e383 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5363.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5363.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Do not disable request validation | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5364.md b/docs/fundamentals/code-analysis/quality-rules/ca5364.md index 1c32d99db56e1..36d117ffc86a3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5364.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5364.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Do not use deprecated security protocols | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5365.md b/docs/fundamentals/code-analysis/quality-rules/ca5365.md index 002141de8735c..996958b99dd5e 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5365.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5365.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Do Not Disable HTTP Header Checking | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5366.md b/docs/fundamentals/code-analysis/quality-rules/ca5366.md index 11cab6b577bcb..a2b2aaacab2ab 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5366.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5366.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Use XmlReader For DataSet Read XML | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5367.md b/docs/fundamentals/code-analysis/quality-rules/ca5367.md index 1dfef21ddbe5e..787550cacea79 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5367.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5367.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Do not serialize types with pointer fields | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5368.md b/docs/fundamentals/code-analysis/quality-rules/ca5368.md index d2ea02c1d3002..972253ca505b7 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5368.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5368.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Set ViewStateUserKey For Classes Derived From Page | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5369.md b/docs/fundamentals/code-analysis/quality-rules/ca5369.md index 313e3bf42a23d..26be0aec11adb 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5369.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5369.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Use XmlReader for Deserialize | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5370.md b/docs/fundamentals/code-analysis/quality-rules/ca5370.md index 9a5b9e1ea99e3..efa5f51e1ebf8 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5370.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5370.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Use XmlReader for validating reader | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5371.md b/docs/fundamentals/code-analysis/quality-rules/ca5371.md index 21490396ff63e..ac81ee48af206 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5371.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5371.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Use XmlReader for schema read | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5372.md b/docs/fundamentals/code-analysis/quality-rules/ca5372.md index 00b2dbcae2e8d..f65414507f8fc 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5372.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5372.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Use XmlReader for XPathDocument | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5373.md b/docs/fundamentals/code-analysis/quality-rules/ca5373.md index 5679d1c18c630..07bd1d050e978 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5373.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5373.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Do not use obsolete key derivation function | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5374.md b/docs/fundamentals/code-analysis/quality-rules/ca5374.md index de5422e2c95ce..0886e0b2539f3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5374.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5374.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Do not use XslTransform | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5375.md b/docs/fundamentals/code-analysis/quality-rules/ca5375.md index 51748d6fe8b64..22eecdabd0e08 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5375.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5375.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Do not use account shared access signature | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5376.md b/docs/fundamentals/code-analysis/quality-rules/ca5376.md index d89188ec537e0..0bd523f0baf01 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5376.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5376.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Use SharedAccessProtocol HttpsOnly | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5377.md b/docs/fundamentals/code-analysis/quality-rules/ca5377.md index ed0cf43cb86c3..6f6cf575cad1d 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5377.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5377.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Use container level access policy | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5378.md b/docs/fundamentals/code-analysis/quality-rules/ca5378.md index bcb30f7a264b4..ff68d71cd1f1f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5378.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5378.md @@ -19,7 +19,7 @@ f1_keywords: | **Title** | Do not disable ServicePointManagerSecurityProtocols | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5379.md b/docs/fundamentals/code-analysis/quality-rules/ca5379.md index 9aff9a49b22d5..862b84c48bacc 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5379.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5379.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Ensure key derivation function algorithm is sufficiently strong | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5380.md b/docs/fundamentals/code-analysis/quality-rules/ca5380.md index 42068b704d726..3783bdcc388c2 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5380.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5380.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Do not add certificates to root store | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5381.md b/docs/fundamentals/code-analysis/quality-rules/ca5381.md index 6ba467a71e131..bae2f1e142a4f 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5381.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5381.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Ensure certificates are not added to root store | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5382.md b/docs/fundamentals/code-analysis/quality-rules/ca5382.md index c61febdd2a169..947e63a38ccd7 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5382.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5382.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Use secure cookies in ASP.NET Core | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5383.md b/docs/fundamentals/code-analysis/quality-rules/ca5383.md index 18a1876096ec0..f883b01d51274 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5383.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5383.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Ensure use secure cookies in ASP.NET Core | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5384.md b/docs/fundamentals/code-analysis/quality-rules/ca5384.md index 68a7ed45a392b..3cb0f6d0c86e1 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5384.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5384.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Do not use digital signature algorithm (DSA) | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5385.md b/docs/fundamentals/code-analysis/quality-rules/ca5385.md index bc6b0bdb3f82e..a6a1a5a654934 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5385.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5385.md @@ -16,7 +16,7 @@ f1_keywords: | **Title** | Use Rivest–Shamir–Adleman (RSA) algorithm with sufficient key size | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5386.md b/docs/fundamentals/code-analysis/quality-rules/ca5386.md index 66a3c90522063..7d8749a57f50c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5386.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5386.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Avoid hardcoding SecurityProtocolType value | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5387.md b/docs/fundamentals/code-analysis/quality-rules/ca5387.md index 6481c0c5c010a..cf853c0aab312 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5387.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5387.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Do not use weak key derivation function with insufficient iteration count | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5388.md b/docs/fundamentals/code-analysis/quality-rules/ca5388.md index 0f9a06f4b6b76..ec20bfad16518 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5388.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5388.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Ensure sufficient iteration count when using weak key derivation function | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5389.md b/docs/fundamentals/code-analysis/quality-rules/ca5389.md index d1a3847901421..5ec7dd22d9935 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5389.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5389.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Do not add archive item's path to the target file system path | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5390.md b/docs/fundamentals/code-analysis/quality-rules/ca5390.md index 2aa0e782a6970..fcac2b296e7fa 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5390.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5390.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Do not hard-code encryption key | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5391.md b/docs/fundamentals/code-analysis/quality-rules/ca5391.md index 33aaa1b0188a3..48be87a386bc7 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5391.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5391.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Use antiforgery tokens in ASP.NET Core MVC controllers | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5392.md b/docs/fundamentals/code-analysis/quality-rules/ca5392.md index e98c0c5dd47f6..a8250bd382314 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5392.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5392.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Use DefaultDllImportSearchPaths attribute for P/Invokes | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5393.md b/docs/fundamentals/code-analysis/quality-rules/ca5393.md index 6d08f6ced85de..ab02cd71e3d72 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5393.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5393.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Do not use unsafe DllImportSearchPath value | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5394.md b/docs/fundamentals/code-analysis/quality-rules/ca5394.md index 9b21edd778ac5..9b0a7934247e6 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5394.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5394.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Do not use insecure randomness | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5395.md b/docs/fundamentals/code-analysis/quality-rules/ca5395.md index dafe639e7ac28..c2ff7b2d9b631 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5395.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5395.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Miss HttpVerb attribute for action methods | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5396.md b/docs/fundamentals/code-analysis/quality-rules/ca5396.md index 4c74e98896176..01482a533305c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5396.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5396.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Set HttpOnly to true for HttpCookie | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5397.md b/docs/fundamentals/code-analysis/quality-rules/ca5397.md index 1e47db74bedeb..34d63abecb761 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5397.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5397.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Do not use deprecated SslProtocols values | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5398.md b/docs/fundamentals/code-analysis/quality-rules/ca5398.md index bcb240a9c3de7..465b1981ecb80 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5398.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5398.md @@ -18,7 +18,7 @@ f1_keywords: | **Title** | Avoid hardcoded SslProtocols values | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5399.md b/docs/fundamentals/code-analysis/quality-rules/ca5399.md index 535060ba03d82..20af8b1778627 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5399.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5399.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Enable HttpClient certificate revocation list check | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5400.md b/docs/fundamentals/code-analysis/quality-rules/ca5400.md index a35fd963786f1..03a690d826a1c 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5400.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5400.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Ensure HttpClient certificate revocation list check is not disabled | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5401.md b/docs/fundamentals/code-analysis/quality-rules/ca5401.md index 187cdd62ee323..48823f733d7fe 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5401.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5401.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Do not use CreateEncryptor with non-default IV | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5402.md b/docs/fundamentals/code-analysis/quality-rules/ca5402.md index 7074d4dda9953..0640da4aa24de 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5402.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5402.md @@ -15,7 +15,7 @@ f1_keywords: | **Title** | Use CreateEncryptor with the default IV | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5403.md b/docs/fundamentals/code-analysis/quality-rules/ca5403.md index 67216b1dcbb49..5a8603a19ecaf 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5403.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5403.md @@ -17,7 +17,7 @@ f1_keywords: | **Title** | Do not hard-code certificate | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5404.md b/docs/fundamentals/code-analysis/quality-rules/ca5404.md index 79b308f4c5f86..92e6259b455c3 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5404.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5404.md @@ -14,7 +14,7 @@ f1_keywords: | **Title** | Do not disable token validation checks | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause diff --git a/docs/fundamentals/code-analysis/quality-rules/ca5405.md b/docs/fundamentals/code-analysis/quality-rules/ca5405.md index f43730180b6b7..4e68134a21058 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca5405.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca5405.md @@ -14,7 +14,7 @@ f1_keywords: | **Title** | Do not always skip token validation in delegates | | **Category** | [Security](security-warnings.md) | | **Fix is breaking or non-breaking** | Non-breaking | -| **Enabled by default in .NET 7** | No | +| **Enabled by default in .NET 8** | No | ## Cause