Skip to content

Bump the analyzers group with 8 updates - #59

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/nuget/develop/analyzers-2ee2c41792
Closed

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/nuget/develop/analyzers-2ee2c41792

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Updated Meziantou.Analyzer from 3.0.137 to 3.0.203.

Release notes

Sourced from Meziantou.Analyzer's releases.

3.0.203

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.203

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.202...3.0.203

3.0.202

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.202

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.201...3.0.202

3.0.201

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.201

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.200...3.0.201

3.0.200

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.200

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.199...3.0.200

3.0.199

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.199

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.198...3.0.199

3.0.198

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.198

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.197...3.0.198

3.0.197

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.197

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.196...3.0.197

3.0.196

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.196

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.195...3.0.196

3.0.195

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.195

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.194...3.0.195

3.0.194

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.194

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.193...3.0.194

3.0.193

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.193

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.192...3.0.193

3.0.192

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.192

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.191...3.0.192

3.0.191

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.191

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.190...3.0.191

3.0.190

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.190

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.189...3.0.190

3.0.189

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.189

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.188...3.0.189

3.0.188

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.188

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.187...3.0.188

3.0.187

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.187

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.186...3.0.187

3.0.186

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.186

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.185...3.0.186

3.0.185

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.185

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.184...3.0.185

3.0.184

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.184

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.183...3.0.184

3.0.183

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.183

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.182...3.0.183

3.0.182

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.182

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.181...3.0.182

3.0.181

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.181

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.180...3.0.181

3.0.180

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.180

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.179...3.0.180

3.0.179

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.179

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.178...3.0.179

3.0.178

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.178

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.177...3.0.178

3.0.177

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.177

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.176...3.0.177

3.0.176

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.176

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.175...3.0.176

3.0.175

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.175

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.174...3.0.175

3.0.174

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.174

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.173...3.0.174

3.0.173

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.173

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.172...3.0.173

3.0.172

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.172

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.171...3.0.172

3.0.171

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.171

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.170...3.0.171

3.0.170

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.170

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.169...3.0.170

3.0.169

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.169

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.168...3.0.169

3.0.168

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.168

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.167...3.0.168

3.0.167

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.167

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.166...3.0.167

3.0.166

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.166

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.165...3.0.166

3.0.165

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.165

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.164...3.0.165

3.0.164

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.164

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.163...3.0.164

3.0.163

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.163

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.162...3.0.163

3.0.162

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.162

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.161...3.0.162

3.0.161

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.161

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.159...3.0.161

3.0.159

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.159

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.158...3.0.159

3.0.158

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.158

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.157...3.0.158

3.0.157

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.157

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.156...3.0.157

3.0.156

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.156

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.155...3.0.156

3.0.155

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.155

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.154...3.0.155

3.0.154

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.154

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.153...3.0.154

3.0.153

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.153

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.152...3.0.153

3.0.152

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.152

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.151...3.0.152

3.0.151

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.151

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.150...3.0.151

3.0.150

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.150

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.149...3.0.150

3.0.149

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.149

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.148...3.0.149

3.0.148

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.148

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.147...3.0.148

3.0.147

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.147

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.146...3.0.147

3.0.146

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.146

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.145...3.0.146

3.0.145

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.145

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.144...3.0.145

3.0.144

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.144

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.143...3.0.144

3.0.143

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.143

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.142...3.0.143

3.0.142

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.142

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.141...3.0.142

3.0.141

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.141

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.140...3.0.141

3.0.140

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.140

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.139...3.0.140

3.0.139

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.139

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.138...3.0.139

3.0.138

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.138

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.137...3.0.138

Commits viewable in compare view.

Updated Microsoft.CodeAnalysis.Analyzers from 5.6.0 to 5.9.0.

Release notes

Sourced from Microsoft.CodeAnalysis.Analyzers's releases.

No release notes found for this version range.

Commits viewable in compare view.

Updated Microsoft.CodeAnalysis.CSharp from 5.6.0 to 5.9.0.

Updated Microsoft.CodeAnalysis.NetAnalyzers from 11.0.100-preview.6.26359.118 to 11.0.100-preview.7.26381.103.

Release notes

Sourced from Microsoft.CodeAnalysis.NetAnalyzers's releases.

11.0.100-preview.7.26381.103

You can build .NET 11.0 Preview 7 from the repository by cloning the release tag v11.0.100-preview.7.26381.103 and following the build instructions in the main README.md.

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the dotnet/dotnet repository.

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at https://dot.net/release-key-2023

Commits viewable in compare view.

Updated Roslynator.Analyzers from 4.15.0 to 5.0.0.

Release notes

Sourced from Roslynator.Analyzers's releases.

5.0.0

Added

  • Add roslyn5.0 NuGet package flavor (analyzers/dotnet/roslyn5.0/cs) (PR)

Breaking

  • Enable nullable annotations on Roslynator.Common and Roslynator.Workspaces.Common (#​1817)
    • Source-breaking for projects that compile against this surface with nullable reference types enabled.
  • [Testing Framework] Lower Roslyn dependency of testing packages to 3.8.0 so that the Roslyn version is determined by the consumer's own Microsoft.CodeAnalysis.* reference instead of being forced to a fixed version (PR)
    • Roslynator.Testing.Common, Roslynator.Testing.CSharp, Roslynator.Testing.CSharp.Xunit and Roslynator.Testing.CSharp.MSTest now depend on Microsoft.CodeAnalysis.* >= 3.8.0 (previously >= 4.14.0).
    • Roslynator.Testing.Common no longer depends on Roslynator.Core.
    • Action required: a test project that previously relied on the testing framework to pull in Roslyn 4.14.0 should now add its own reference, e.g. <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.14.0" />. The chosen version raises the maximum C# language version the parser can accept; test sources still parse at CSharpParseOptions.Default unless you set parse options / LanguageVersion (for example LanguageVersion.Latest).
    • Action required: a test project that used Roslynator.Core types via the old transitive dependency must now add an explicit Roslynator.Core package reference.

Changed

  • Bump Roslyn to 5.0.0 (PR)
    • CLI targets Roslyn 5.0.0
    • Solution build and tests use Roslyn 5.0.0 by default (the testing packages floor at 3.8.0; see Breaking)
  • Replace Visual Studio 2022 extension with Roslynator 2026 for Visual Studio 2026 ([18.0,19.0)) (PR)
    • Extension ships refactorings and compiler diagnostic code fixes; analyzers via NuGet
    • Roslynator 2022 remains available as the last 4.x VSIX
  • Visual Studio Code extension ships refactorings and compiler diagnostic code fixes only (PR)
    • Analyzers require Roslynator NuGet packages
    • Requires OmniSharp with Roslyn 5.x (C# extension 1.39.15+; set dotnet.server.useOmnisharp to true)

Removed

  • Remove leftover implementations of obsolete analyzers (XML descriptors remain). Enable the successor rules instead: RCS0014 → RCS0061, RCS0022 → RCS0021, RCS0038 → RCS0015, RCS0043 → RCS0020, RCS0047 → RCS0053, RCS1008/RCS1009/RCS1010/RCS1012/RCS1176/RCS1177 → RCS1264, RCS1035 → RCS1260, RCS1036 → RCS0063, RCS1038/RCS1040/RCS1041/RCS1066/RCS1072/RCS1091/RCS1106 → RCS1259, RCS1063/RCS1064/RCS1065 → RCS1252, RCS1100/RCS1101 → RCS1253, RCS1237 → RCS1254.
  • Remove SyntaxInverter (Roslynator.CSharp.Workspaces). Use SyntaxLogicalInverter.
  • Remove unused obsolete DiagnosticCategories constants and make the type internal.
  • Remove unused ROS0001/ROS0002 diagnostic IDs.
  • Remove obsolete constructors/properties from the testing package (DiagnosticTestData, CompilerDiagnosticFixTestData, RefactoringTestData).
  • Remove legacy config keys roslynator.max_line_length, roslynator.prefix_field_identifier_with_underscore, and roslynator_suppress_unity_script_methods. Use roslynator_max_line_length, roslynator_prefix_field_identifier_with_underscore, and roslynator_unity_code_analysis.enabled.
  • [CLI] Remove obsolete command generate-doc-root. Use generate-doc --root-file-path instead.
  • Remove bundled analyzers from Visual Studio extension (PR)
  • Remove bundled analyzers from Visual Studio Code extension (PR)
    • Use Roslynator NuGet packages for diagnostics
  • Remove AnalyzersOptionsPage from Visual Studio extension (PR)
  • Drop support for Visual Studio 2022 VSIX (PR)
    • Pin last 4.x release (Roslynator 2022) or use NuGet packages on Visual Studio 2022

Fixed

  • Fix analyzers RCS1263 and RCS1139 for C# 14 extension block documentation (PR)

4.16.1

Fixed

  • Fix analyzer RCS1060 to not report a file that contains only multiple partial declarations of the same type (PR)
  • Fix analyzer RCS1231 to not suggest in for ref struct parameters (#​1725) (PR)
  • Fix analyzer RCS1260 false positive for omit_when_single_line on multi-line object/collection initializers (#​1439) (PR)
  • Fix analyzer RCS0036 to report blank lines between single-line declarations in records (PR)
  • Fix analyzer RCS1046 to report async void methods without Async suffix (PR)
  • Fix analyzer RCS1265 to not report catch clauses with a when filter (PR)
  • Fix analyzer RCS0034 for types with a primary constructor and multiple constraint clauses (PR)
  • Fix analyzer RCS1231 to not report CancellationToken in sync methods returning Task (PR)
  • [CLI] Fix GitLab output format to use relative paths, forward slashes, and 1-based line numbers (PR)
  • [CLI] Fix generate-doc to omit internal interfaces from type declarations and the Implements section (PR)

4.16.0

Added

  • [CLI] Suppress error code from Roslynator when it detects issues in code but runs successfully (PR by @​mdrybak)

Fixed

Commits viewable in compare view.

Updated Roslynator.CodeAnalysis.Analyzers from 4.15.0 to 5.0.0.

Release notes

Sourced from Roslynator.CodeAnalysis.Analyzers's releases.

5.0.0

Added

  • Add roslyn5.0 NuGet package flavor (analyzers/dotnet/roslyn5.0/cs) (PR)

Breaking

  • Enable nullable annotations on Roslynator.Common and Roslynator.Workspaces.Common (#​1817)
    • Source-breaking for projects that compile against this surface with nullable reference types enabled.
  • [Testing Framework] Lower Roslyn dependency of testing packages to 3.8.0 so that the Roslyn version is determined by the consumer's own Microsoft.CodeAnalysis.* reference instead of being forced to a fixed version (PR)
    • Roslynator.Testing.Common, Roslynator.Testing.CSharp, Roslynator.Testing.CSharp.Xunit and Roslynator.Testing.CSharp.MSTest now depend on Microsoft.CodeAnalysis.* >= 3.8.0 (previously >= 4.14.0).
    • Roslynator.Testing.Common no longer depends on Roslynator.Core.
    • Action required: a test project that previously relied on the testing framework to pull in Roslyn 4.14.0 should now add its own reference, e.g. <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.14.0" />. The chosen version raises the maximum C# language version the parser can accept; test sources still parse at CSharpParseOptions.Default unless you set parse options / LanguageVersion (for example LanguageVersion.Latest).
    • Action required: a test project that used Roslynator.Core types via the old transitive dependency must now add an explicit Roslynator.Core package reference.

Changed

  • Bump Roslyn to 5.0.0 (PR)
    • CLI targets Roslyn 5.0.0
    • Solution build and tests use Roslyn 5.0.0 by default (the testing packages floor at 3.8.0; see Breaking)
  • Replace Visual Studio 2022 extension with Roslynator 2026 for Visual Studio 2026 ([18.0,19.0)) (PR)
    • Extension ships refactorings and compiler diagnostic code fixes; analyzers via NuGet
    • Roslynator 2022 remains available as the last 4.x VSIX
  • Visual Studio Code extension ships refactorings and compiler diagnostic code fixes only (PR)
    • Analyzers require Roslynator NuGet packages
    • Requires OmniSharp with Roslyn 5.x (C# extension 1.39.15+; set dotnet.server.useOmnisharp to true)

Removed

  • Remove leftover implementations of obsolete analyzers (XML descriptors remain). Enable the successor rules instead: RCS0014 → RCS0061, RCS0022 → RCS0021, RCS0038 → RCS0015, RCS0043 → RCS0020, RCS0047 → RCS0053, RCS1008/RCS1009/RCS1010/RCS1012/RCS1176/RCS1177 → RCS1264, RCS1035 → RCS1260, RCS1036 → RCS0063, RCS1038/RCS1040/RCS1041/RCS1066/RCS1072/RCS1091/RCS1106 → RCS1259, RCS1063/RCS1064/RCS1065 → RCS1252, RCS1100/RCS1101 → RCS1253, RCS1237 → RCS1254.
  • Remove SyntaxInverter (Roslynator.CSharp.Workspaces). Use SyntaxLogicalInverter.
  • Remove unused obsolete DiagnosticCategories constants and make the type internal.
  • Remove unused ROS0001/ROS0002 diagnostic IDs.
  • Remove obsolete constructors/properties from the testing package (DiagnosticTestData, CompilerDiagnosticFixTestData, RefactoringTestData).
  • Remove legacy config keys roslynator.max_line_length, roslynator.prefix_field_identifier_with_underscore, and roslynator_suppress_unity_script_methods. Use roslynator_max_line_length, roslynator_prefix_field_identifier_with_underscore, and roslynator_unity_code_analysis.enabled.
  • [CLI] Remove obsolete command generate-doc-root. Use generate-doc --root-file-path instead.
  • Remove bundled analyzers from Visual Studio extension (PR)
  • Remove bundled analyzers from Visual Studio Code extension (PR)
    • Use Roslynator NuGet packages for diagnostics
  • Remove AnalyzersOptionsPage from Visual Studio extension (PR)
  • Drop support for Visual Studio 2022 VSIX (PR)
    • Pin last 4.x release (Roslynator 2022) or use NuGet packages on Visual Studio 2022

Fixed

  • Fix analyzers RCS1263 and RCS1139 for C# 14 extension block documentation (PR)

4.16.1

Fixed

  • Fix analyzer RCS1060 to not report a file that contains only multiple partial declarations of the same type (PR)
  • Fix analyzer RCS1231 to not suggest in for ref struct parameters (#​1725) (PR)
  • Fix analyzer RCS1260 false positive for omit_when_single_line on multi-line object/collection initializers (#​1439) (PR)
  • Fix analyzer RCS0036 to report blank lines between single-line declarations in records (PR)
  • Fix analyzer RCS1046 to report async void methods without Async suffix (PR)
  • Fix analyzer RCS1265 to not report catch clauses with a when filter (PR)
  • Fix analyzer RCS0034 for types with a primary constructor and multiple constraint clauses (PR)
  • Fix analyzer RCS1231 to not report CancellationToken in sync methods returning Task (PR)
  • [CLI] Fix GitLab output format to use relative paths, forward slashes, and 1-based line numbers (PR)
  • [CLI] Fix generate-doc to omit internal interfaces from type declarations and the Implements section (PR)

4.16.0

Added

  • [CLI] Suppress error code from Roslynator when it detects issues in code but runs successfully (PR by @​mdrybak)

Fixed

Commits viewable in compare view.

Updated Roslynator.Formatting.Analyzers from 4.15.0 to 5.0.0.

Release notes

Sourced from Roslynator.Formatting.Analyzers's releases.

5.0.0

Added

  • Add roslyn5.0 NuGet package flavor (analyzers/dotnet/roslyn5.0/cs) (PR)

Breaking

  • Enable nullable annotations on Roslynator.Common and Roslynator.Workspaces.Common (#​1817)
    • Source-breaking for projects that compile against this surface with nullable reference types enabled.
  • [Testing Framework] Lower Roslyn dependency of testing packages to 3.8.0 so that the Roslyn version is determined by the consumer's own Microsoft.CodeAnalysis.* reference instead of being forced to a fixed version (PR)
    • Roslynator.Testing.Common, Roslynator.Testing.CSharp, Roslynator.Testing.CSharp.Xunit and Roslynator.Testing.CSharp.MSTest now depend on Microsoft.CodeAnalysis.* >= 3.8.0 (previously >= 4.14.0).
    • Roslynator.Testing.Common no longer depends on Roslynator.Core.
    • Action required: a test project that previously relied on the testing framework to pull in Roslyn 4.14.0 should now add its own reference, e.g. <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.14.0" />. The chosen version raises the maximum C# language version the parser can accept; test sources still parse at CSharpParseOptions.Default unless you set parse options / LanguageVersion (for example LanguageVersion.Latest).
    • Action required: a test project that used Roslynator.Core types via the old transitive dependency must now add an explicit Roslynator.Core package reference.

Changed

  • Bump Roslyn to 5.0.0 (PR)
    • CLI targets Roslyn 5.0.0
    • Solution build and tests use Roslyn 5.0.0 by default (the testing packages floor at 3.8.0; see Breaking)
  • Replace Visual Studio 2022 extension with Roslynator 2026 for Visual Studio 2026 ([18.0,19.0)) (PR)
    • Extension ships refactorings and compiler diagnostic code fixes; analyzers via NuGet
    • Roslynator 2022 remains available as the last 4.x VSIX
  • Visual Studio Code extension ships refactorings and compiler diagnostic code fixes only (PR)
    • Analyzers require Roslynator NuGet packages
    • Requires OmniSharp with Roslyn 5.x (C# extension 1.39.15+; set dotnet.server.useOmnisharp to true)

Removed

  • Remove leftover implementations of obsolete analyzers (XML descriptors remain). Enable the successor rules instead: RCS0014 → RCS0061, RCS0022 → RCS0021, RCS0038 → RCS0015, RCS0043 → RCS0020, RCS0047 → RCS0053, RCS1008/RCS1009/RCS1010/RCS1012/RCS1176/RCS1177 → RCS1264, RCS1035 → RCS1260, RCS1036 → RCS0063, RCS1038/RCS1040/RCS1041/RCS1066/RCS1072/RCS1091/RCS1106 → RCS1259, RCS1063/RCS1064/RCS1065 → RCS1252, RCS1100/RCS1101 → RCS1253, RCS1237 → RCS1254.
  • Remove SyntaxInverter (Roslynator.CSharp.Workspaces). Use SyntaxLogicalInverter.
  • Remove unused obsolete DiagnosticCategories constants and make the type internal.
  • Remove unused ROS0001/ROS0002 diagnostic IDs.
  • Remove obsolete constructors/properties from the testing package (DiagnosticTestData, CompilerDiagnosticFixTestData, RefactoringTestData).
  • Remove legacy config keys roslynator.max_line_length, roslynator.prefix_field_identifier_with_underscore, and roslynator_suppress_unity_script_methods. Use roslynator_max_line_length, roslynator_prefix_field_identifier_with_underscore, and roslynator_unity_code_analysis.enabled.
  • [CLI] Remove obsolete command generate-doc-root. Use generate-doc --root-file-path instead.
  • Remove bundled analyzers from Visual Studio extension (PR)
  • Remove bundled analyzers from Visual Studio Code extension (PR)
    • Use Roslynator NuGet packages for diagnostics
  • Remove AnalyzersOptionsPage from Visual Studio extension (PR)
  • Drop support for Visual Studio 2022 VSIX (PR)
    • Pin last 4.x release (Roslynator 2022) or use NuGet packages on Visual Studio 2022

Fixed

  • Fix analyzers RCS1263 and RCS1139 for C# 14 extension block documentation (PR)

4.16.1

Fixed

  • Fix analyzer RCS1060 to not report a file that contains only multiple partial declarations of the same type (PR)
  • Fix analyzer RCS1231 to not suggest in for ref struct parameters (#​1725) (PR)
  • Fix analyzer RCS1260 false positive for omit_when_single_line on multi-line object/collection initializers (#​1439) (PR)
  • Fix analyzer RCS0036 to report blank lines between single-line declarations in records (PR)
  • Fix analyzer RCS1046 to report async void methods without Async suffix (PR)
  • Fix analyzer RCS1265 to not report catch clauses with a when filter (PR)
  • Fix analyzer RCS0034 for types with a primary constructor and multiple constraint clauses (PR)
  • Fix analyzer RCS1231 to not report CancellationToken in sync methods returning Task (PR)
  • [CLI] Fix GitLab output format to use relative paths, forward slashes, and 1-based line numbers (PR)
  • [CLI] Fix generate-doc to omit internal interfaces from type declarations and the Implements section (PR)

4.16.0

Added

  • [CLI] Suppress error code from Roslynator when it detects issues in code but runs successfully (PR by @​mdrybak)

Fixed

Commits viewable in compare view.

Updated SonarAnalyzer.CSharp from 10.31.0.145097 to 10.33.0.1635.

Release notes

Sourced from SonarAnalyzer.CSharp's releases.

10.33.0.1635

Release notes - .NET Analyzers - 10.33

Feature

NET-4312 Update RSPEC before 10.33 release
NET-4254 Implement rule S9129: "Include" and "ThenInclude" chains of reference navigations should be merged into a single "Include" call

False Positive

NET-1777 Fix S101 FP: Lower case character after number
NET-4245 Fix S107 FP: should not raise for parameters marked with dependency-injection attributes

Maintenance

NET-4184 Duplicate telemetry key exception when multiple projects report the same non-counter telemetry value

10.32.0.713

Release notes - .NET Analyzers - 10.32

Feature

NET-4132 Implement rule S9022: Redundant "Include" calls should be removed
NET-4215 Implement rule S9118: Default values should be compatible with their entity property type
NET-4240 Update RSPEC before 10.32 release

False Positive

NET-1322 Fix S2857 FP: Do not raise in constant string interpolation when string is in square brackets
NET-1468 Fix S6966 FP: should not raise when inside lock
NET-1598 Fix S1125 FP: dynamic and custom nullable structs with conversion to bool are compliant
NET-4233 Fix S8733 FP: AsSplitQuery/AsSingleQuery set in a different statement than the colliding Includes goes undetected
NET-4297 Fix S8717 FP: EFCore DBFirst Scaffold

Commits viewable in compare view.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps Meziantou.Analyzer from 3.0.137 to 3.0.203
Bumps Microsoft.CodeAnalysis.Analyzers from 5.6.0 to 5.9.0
Bumps Microsoft.CodeAnalysis.CSharp from 5.6.0 to 5.9.0
Bumps Microsoft.CodeAnalysis.NetAnalyzers from 11.0.100-preview.6.26359.118 to 11.0.100-preview.7.26381.103
Bumps Roslynator.Analyzers from 4.15.0 to 5.0.0
Bumps Roslynator.CodeAnalysis.Analyzers from 4.15.0 to 5.0.0
Bumps Roslynator.Formatting.Analyzers from 4.15.0 to 5.0.0
Bumps SonarAnalyzer.CSharp from 10.31.0.145097 to 10.33.0.1635

---
updated-dependencies:
- dependency-name: Meziantou.Analyzer
  dependency-version: 3.0.203
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: analyzers
- dependency-name: Microsoft.CodeAnalysis.Analyzers
  dependency-version: 5.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: analyzers
- dependency-name: Microsoft.CodeAnalysis.CSharp
  dependency-version: 5.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: analyzers
- dependency-name: Microsoft.CodeAnalysis.NetAnalyzers
  dependency-version: 11.0.100-preview.7.26381.103
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: analyzers
- dependency-name: Roslynator.Analyzers
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: analyzers
- dependency-name: Roslynator.CodeAnalysis.Analyzers
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: analyzers
- dependency-name: Roslynator.Formatting.Analyzers
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: analyzers
- dependency-name: SonarAnalyzer.CSharp
  dependency-version: 10.33.0.1635
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: analyzers
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Benchmark Results

Measured on ubuntu-latest (GitHub Actions). Runner noise may affect absolute numbers; use these for relative comparisons within a PR.

Benchmarks.Perf.AsyncReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GeneratedReader_ReadAsync 100 5.041 μs 0.0949 μs 0.0246 μs 0.68 0.2518 4248 B 0.23
SpanReader_ReadAsync 100 7.016 μs 0.1032 μs 0.0268 μs 0.95 0.2518 4264 B 0.23
Naive_ReadLineAsync 100 7.367 μs 0.0765 μs 0.0118 μs 1.00 1.0986 18424 B 1.00
GeneratedReader_ReadAsync_Pooled 100 9.660 μs 0.2544 μs 0.0661 μs 1.31 0.0153 328 B 0.02
SpanReader_ReadAsync_Pooled 100 11.485 μs 0.0508 μs 0.0079 μs 1.56 0.0153 344 B 0.02
GeneratedReader_ReadAsync 1000 48.314 μs 0.7486 μs 0.1944 μs 0.64 2.3193 39528 B 0.216
SpanReader_ReadAsync 1000 67.918 μs 1.1902 μs 0.3091 μs 0.90 2.3193 39544 B 0.216
Naive_ReadLineAsync 1000 75.681 μs 1.7396 μs 0.2692 μs 1.00 10.8643 183304 B 1.000
GeneratedReader_ReadAsync_Pooled 1000 89.697 μs 0.5836 μs 0.1515 μs 1.19 - 328 B 0.002
SpanReader_ReadAsync_Pooled 1000 113.540 μs 0.7576 μs 0.1172 μs 1.50 - 344 B 0.002

Benchmarks.Perf.ByteReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
CharParser_Parse 100 5.377 μs 0.1209 μs 0.0314 μs 1.00 0.01 0.2289 3.83 KB 1.00
ByteParser_Parse 100 5.780 μs 0.1462 μs 0.0226 μs 1.07 0.01 0.2289 3.83 KB 1.00
CharParser_Parse_AfterUtf8Decode 100 7.973 μs 0.4150 μs 0.1078 μs 1.48 0.02 0.6561 10.86 KB 2.84
CharParser_Parse 1000 54.907 μs 1.8533 μs 0.4813 μs 1.00 0.01 2.3193 38.28 KB 1.00
ByteParser_Parse 1000 64.678 μs 0.9403 μs 0.1455 μs 1.18 0.01 2.3193 38.28 KB 1.00
CharParser_Parse_AfterUtf8Decode 1000 72.714 μs 2.6218 μs 0.6809 μs 1.32 0.02 6.5918 108.59 KB 2.84

Benchmarks.Perf.ByteReaderPoolingBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NoString 100 4.364 μs 0.0421 μs 0.0109 μs 0.61 - - 0.00
WithString_NoPool 100 7.136 μs 0.1001 μs 0.0155 μs 1.00 0.2289 3920 B 1.00
WithString_Pooled 100 14.540 μs 0.0717 μs 0.0111 μs 2.04 - - 0.00
NoString 1000 42.605 μs 0.2305 μs 0.0599 μs 0.60 - - 0.00
WithString_NoPool 1000 71.210 μs 0.8113 μs 0.1256 μs 1.00 2.3193 39200 B 1.00
WithString_Pooled 1000 134.140 μs 0.9555 μs 0.1479 μs 1.88 - - 0.00

Benchmarks.Perf.ByteReaderStreamBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
ByteReader_Read 100 6.920 μs 0.1043 μs 0.0161 μs 0.27 0.2289 - - 3.83 KB 0.02
CharReader_Read 100 25.663 μs 0.5650 μs 0.1467 μs 1.00 41.6565 41.6565 41.6565 196.04 KB 1.00
ByteReader_Read 1000 68.944 μs 3.9570 μs 1.0276 μs 0.68 2.3193 - - 38.28 KB 0.17
CharReader_Read 1000 101.801 μs 2.5643 μs 0.6659 μs 1.00 41.6260 41.6260 41.6260 230.5 KB 1.00

Benchmarks.Perf.ComparisonBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v4
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v4

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Gen1 Allocated Alloc Ratio
FixedWidthParser_Generated 100 3.874 μs 0.1221 μs 0.0189 μs 0.13 0.0458 - 3.86 KB 0.09
FixedWidthParser_Read 100 5.232 μs 0.0256 μs 0.0040 μs 0.18 0.0458 - 3.86 KB 0.09
RecordParser_Read 100 8.838 μs 0.0366 μs 0.0057 μs 0.30 0.0458 - 4.23 KB 0.10
FileHelpers_Read 100 29.632 μs 0.4164 μs 0.1081 μs 1.00 0.4883 - 41.49 KB 1.00
FlatFiles_Read 100 62.401 μs 0.5004 μs 0.0774 μs 2.11 1.2207 - 103.13 KB 2.49
FixedWidthParser_Generated 1000 38.934 μs 0.3764 μs 0.0582 μs 0.13 0.4272 - 38.31 KB 0.09
FixedWidthParser_Read 1000 52.146 μs 0.6779 μs 0.1760 μs 0.18 0.4272 - 38.31 KB 0.09
RecordParser_Read 1000 84.911 μs 1.5047 μs 0.2328 μs 0.29 0.3662 - 38.69 KB 0.10
FileHelpers_Read 1000 290.980 μs 3.6402 μs 0.9453 μs 1.00 4.8828 0.9766 406.42 KB 1.00
FlatFiles_Read 1000 619.436 μs 6.6934 μs 1.0358 μs 2.13 10.7422 - 953.2 KB 2.35

Benchmarks.Perf.ComparisonWriterBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v4
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v4

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Gen1 Allocated Alloc Ratio
FixedWidthParser_Write 1 102.6 ns 1.23 ns 0.32 ns 0.59 0.01 - - - 0.00
FileHelpers_Write 1 172.6 ns 7.51 ns 1.95 ns 1.00 0.01 0.0043 - 360 B 1.00
FlatFiles_Write 1 408.7 ns 2.98 ns 0.46 ns 2.37 0.02 0.0081 - 712 B 1.98
RecordParser_Write 1 17,852.5 ns 4,727.91 ns 1,227.82 ns 103.43 6.58 0.1831 - 18128 B 50.36
FixedWidthParser_Write 100 10,650.0 ns 162.82 ns 42.28 ns 0.61 0.01 - - - 0.00
FileHelpers_Write 100 17,459.9 ns 620.77 ns 161.21 ns 1.00 0.01 0.3662 - 32832 B 1.00
FlatFiles_Write 100 42,521.4 ns 1,077.93 ns 279.93 ns 2.44 0.03 0.7935 - 71200 B 2.17
RecordParser_Write 100 63,389.9 ns 2,820.17 ns 732.39 ns 3.63 0.05 0.2441 - 20440 B 0.62
FixedWidthParser_Write 1000 105,432.5 ns 572.94 ns 148.79 ns 0.60 0.00 - - - 0.00
FileHelpers_Write 1000 175,463.8 ns 1,032.67 ns 268.18 ns 1.00 0.00 3.9063 - 328032 B 1.00
FlatFiles_Write 1000 425,098.7 ns 7,305.13 ns 1,897.12 ns 2.42 0.01 8.3008 - 712000 B 2.17
RecordParser_Write 1000 534,373.9 ns 29,978.44 ns 7,785.31 ns 3.05 0.04 11.7188 10.7422 1039259 B 3.17

Benchmarks.Perf.ParserBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Line Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
Parse_NoPool Jane (...)0.00 [25] 47.45 ns 2.289 ns 0.354 ns 1.00 0.0029 48 B 1.00
Parse_WithStringPool Jane (...)0.00 [25] 80.49 ns 0.220 ns 0.034 ns 1.70 - - 0.00
Parse_NoPool John (...)0.00 [25] 50.42 ns 0.905 ns 0.235 ns 1.00 0.0024 40 B 1.00
Parse_WithStringPool John (...)0.00 [25] 83.90 ns 0.687 ns 0.106 ns 1.66 - - 0.00

Benchmarks.Perf.PipeReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
Stream_ReadAsync 100 8.477 μs 0.2380 μs 0.0368 μs 1.00 0.01 0.2441 4.09 KB 1.00
Pipe_ReadAsync 100 18.373 μs 0.2222 μs 0.0577 μs 2.17 0.01 0.2441 4.48 KB 1.10
Pipe_ReadAsync_SmallSegments 100 59.239 μs 0.7609 μs 0.1976 μs 6.99 0.03 0.2441 4.67 KB 1.14
Stream_ReadAsync 1000 80.797 μs 0.9502 μs 0.2468 μs 1.00 0.00 2.3193 38.54 KB 1.00
Pipe_ReadAsync 1000 165.140 μs 0.5045 μs 0.0781 μs 2.04 0.01 2.1973 39.03 KB 1.01
Pipe_ReadAsync_SmallSegments 1000 576.142 μs 4.9549 μs 0.7668 μs 7.13 0.02 1.9531 39.13 KB 1.02

Benchmarks.Perf.ReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GeneratedReader_Read 100 4.687 μs 0.1846 μs 0.0479 μs 0.69 0.2289 3952 B 0.354
SpanReader_Read 100 6.390 μs 0.3310 μs 0.0859 μs 0.94 0.2289 3952 B 0.354
Naive_ReadLine 100 6.769 μs 0.1780 μs 0.0462 μs 1.00 0.6638 11152 B 1.000
GeneratedReader_Read_Pooled 100 8.667 μs 0.0761 μs 0.0118 μs 1.28 - 32 B 0.003
SpanReader_Read_Pooled 100 10.965 μs 0.1330 μs 0.0345 μs 1.62 - 32 B 0.003
GeneratedReader_Read 1000 46.369 μs 0.8048 μs 0.1245 μs 0.67 2.3193 39232 B 0.353
SpanReader_Read 1000 63.309 μs 0.7216 μs 0.1874 μs 0.92 2.3193 39232 B 0.353
Naive_ReadLine 1000 68.985 μs 0.6596 μs 0.1713 μs 1.00 6.5918 111232 B 1.000
GeneratedReader_Read_Pooled 1000 85.424 μs 0.1034 μs 0.0160 μs 1.24 - 32 B 0.000
SpanReader_Read_Pooled 1000 107.315 μs 1.2603 μs 0.3273 μs 1.56 - 32 B 0.000

Benchmarks.Perf.ReaderStartupBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
ReflectionReader_ConstructAndReadOne 115.8 ns 2.52 ns 0.66 ns 1.00 0.0057 96 B 1.00
GeneratedReader_ReadOne 116.2 ns 1.63 ns 0.25 ns 1.00 0.0043 72 B 0.75

Benchmarks.Perf.SourceGenParserBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Line Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
Generated John (...)00.00 [25] 38.62 ns 0.283 ns 0.044 ns 0.69 0.0024 40 B 1.00
Reflection John (...)00.00 [25] 55.91 ns 1.241 ns 0.322 ns 1.00 0.0024 40 B 1.00

Benchmarks.Perf.WriterBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.400
  [Host]     : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.11 (10.0.11, 10.0.1126.37416), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Gen1 Allocated Alloc Ratio
WriteMany_ReuseWriterSpan 1 129.4 ns 0.34 ns 0.09 ns 0.48 0.00 - - - 0.00
WriteMany_ReuseWriter 1 132.9 ns 0.36 ns 0.09 ns 0.50 0.00 - - - 0.00
WriteMany_AsyncReuseWriter 1 189.5 ns 2.97 ns 0.77 ns 0.71 0.01 0.0019 - 32 B 0.01
WriteMany_NewStream 1 268.3 ns 8.56 ns 2.22 ns 1.00 0.01 0.1326 - 2224 B 1.00
WriteMany_AsyncNewStream 1 502.5 ns 8.95 ns 2.32 ns 1.87 0.02 0.3204 0.0029 5360 B 2.41
WriteMany_ReuseWriterSpan 100 13,178.8 ns 40.14 ns 6.21 ns 0.95 0.00 - - - 0.000
WriteMany_NewStream 100 13,929.5 ns 225.64 ns 34.92 ns 1.00 0.00 0.3052 - 5328 B 1.000
WriteMany_ReuseWriter 100 14,499.4 ns 55.93 ns 14.52 ns 1.04 0.00 - - - 0.000
WriteMany_AsyncReuseWriter 100 15,245.0 ns 122.99 ns 31.94 ns 1.09 0.00 - - 32 B 0.006
WriteMany_AsyncNewStream 100 15,729.7 ns 99.27 ns 15.36 ns 1.13 0.00 0.3052 - 5360 B 1.006
WriteMany_ReuseWriterSpan 1000 131,317.1 ns 704.60 ns 109.04 ns 0.98 0.00 - - - 0.000
WriteMany_ReuseWriter 1000 132,159.2 ns 258.21 ns 67.06 ns 0.98 0.00 - - - 0.000
WriteMany_NewStream 1000 134,456.4 ns 2,568.79 ns 667.11 ns 1.00 0.01 0.2441 - 5328 B 1.000
WriteMany_AsyncReuseWriter 1000 153,568.0 ns 580.66 ns 150.80 ns 1.14 0.01 - - 32 B 0.006
WriteMany_AsyncNewStream 1000 155,750.1 ns 1,093.18 ns 169.17 ns 1.16 0.01 0.2441 - 5360 B 1.006

@dependabot @github

dependabot Bot commented on behalf of github Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #62.

@dependabot dependabot Bot closed this Sep 10, 2026
@dependabot
dependabot Bot deleted the dependabot/nuget/develop/analyzers-2ee2c41792 branch September 10, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants