Skip to content

Bump the analyzers group with 8 updates - #58

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/nuget/develop/analyzers-18bee9906e
Open

Bump the analyzers group with 8 updates#58
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/nuget/develop/analyzers-18bee9906e

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 27, 2026

Copy link
Copy Markdown
Contributor

Updated Meziantou.Analyzer from 3.0.137 to 3.0.190.

Release notes

Sourced from Meziantou.Analyzer's releases.

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.190
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.190
  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 Aug 27, 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

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.74GHz, 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.135 μs 0.0289 μs 0.0075 μs 0.64 0.2518 4248 B 0.23
SpanReader_ReadAsync 100 7.127 μs 0.2073 μs 0.0538 μs 0.89 0.2518 4264 B 0.23
Naive_ReadLineAsync 100 7.995 μs 0.3291 μs 0.0855 μs 1.00 1.0986 18424 B 1.00
GeneratedReader_ReadAsync_Pooled 100 9.102 μs 0.0699 μs 0.0108 μs 1.14 0.0153 328 B 0.02
SpanReader_ReadAsync_Pooled 100 11.429 μs 0.2362 μs 0.0366 μs 1.43 0.0153 344 B 0.02
GeneratedReader_ReadAsync 1000 48.724 μs 0.9628 μs 0.2500 μs 0.62 2.3193 39528 B 0.216
SpanReader_ReadAsync 1000 69.958 μs 1.3085 μs 0.3398 μs 0.89 2.3193 39544 B 0.216
Naive_ReadLineAsync 1000 78.310 μs 2.8178 μs 0.7318 μs 1.00 10.8643 183304 B 1.000
GeneratedReader_ReadAsync_Pooled 1000 90.028 μs 3.4309 μs 0.8910 μs 1.15 - 328 B 0.002
SpanReader_ReadAsync_Pooled 1000 111.743 μs 1.5209 μs 0.3950 μs 1.43 - 344 B 0.002

Benchmarks.Perf.ByteReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 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 Allocated Alloc Ratio
CharParser_Parse 100 5.168 μs 0.0470 μs 0.0073 μs 1.00 0.1526 3.83 KB 1.00
ByteParser_Parse 100 5.818 μs 0.0131 μs 0.0020 μs 1.13 0.1526 3.83 KB 1.00
CharParser_Parse_AfterUtf8Decode 100 7.134 μs 0.0470 μs 0.0122 μs 1.38 0.4425 10.86 KB 2.84
CharParser_Parse 1000 50.840 μs 0.3075 μs 0.0476 μs 1.00 1.5259 38.28 KB 1.00
ByteParser_Parse 1000 58.364 μs 0.5095 μs 0.1323 μs 1.15 1.5259 38.28 KB 1.00
CharParser_Parse_AfterUtf8Decode 1000 75.484 μs 0.9914 μs 0.2575 μs 1.48 4.3945 108.59 KB 2.84

Benchmarks.Perf.ByteReaderPoolingBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 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 Allocated Alloc Ratio
NoString 100 3.866 μs 0.0427 μs 0.0066 μs 0.60 - - 0.00
WithString_NoPool 100 6.482 μs 0.0507 μs 0.0078 μs 1.00 0.1526 3920 B 1.00
WithString_Pooled 100 13.159 μs 0.3022 μs 0.0785 μs 2.03 - - 0.00
NoString 1000 35.973 μs 0.1366 μs 0.0211 μs 0.55 - - 0.00
WithString_NoPool 1000 65.000 μs 0.7992 μs 0.2075 μs 1.00 1.4648 39200 B 1.00
WithString_Pooled 1000 135.227 μs 0.3061 μs 0.0795 μs 2.08 - - 0.00

Benchmarks.Perf.ByteReaderStreamBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 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 Gen2 Allocated Alloc Ratio
ByteReader_Read 100 6.690 μs 0.0339 μs 0.0053 μs 0.30 0.1526 - - 3.83 KB 0.02
CharReader_Read 100 22.066 μs 0.7601 μs 0.1974 μs 1.00 41.6565 41.6565 41.6565 196.04 KB 1.00
ByteReader_Read 1000 67.865 μs 0.6501 μs 0.1688 μs 0.70 1.4648 - - 38.28 KB 0.17
CharReader_Read 1000 96.540 μs 0.5745 μs 0.0889 μ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)
AMD EPYC 9V74 2.87GHz, 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
FixedWidthParser_Generated 100 4.763 μs 0.1657 μs 0.0430 μs 0.14 0.00 0.2289 - 3.86 KB 0.09
FixedWidthParser_Read 100 6.220 μs 0.0916 μs 0.0238 μs 0.18 0.00 0.2289 - 3.86 KB 0.09
RecordParser_Read 100 12.169 μs 0.1777 μs 0.0462 μs 0.35 0.00 0.2441 - 4.23 KB 0.10
FileHelpers_Read 100 34.778 μs 0.7619 μs 0.1979 μs 1.00 0.01 2.5024 0.0610 41.49 KB 1.00
FlatFiles_Read 100 62.454 μs 1.8436 μs 0.4788 μs 1.80 0.02 6.2256 0.1221 103.13 KB 2.49
FixedWidthParser_Generated 1000 47.038 μs 0.5744 μs 0.1492 μs 0.14 0.00 2.3193 - 38.31 KB 0.09
FixedWidthParser_Read 1000 66.613 μs 11.0479 μs 2.8691 μs 0.19 0.01 2.3193 - 38.31 KB 0.09
RecordParser_Read 1000 109.043 μs 0.8964 μs 0.2328 μs 0.31 0.00 2.3193 - 38.69 KB 0.10
FileHelpers_Read 1000 347.134 μs 16.4020 μs 4.2596 μs 1.00 0.02 24.4141 5.8594 406.42 KB 1.00
FlatFiles_Read 1000 654.715 μs 21.0689 μs 5.4715 μs 1.89 0.03 57.6172 1.9531 953.2 KB 2.35

Benchmarks.Perf.ComparisonWriterBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.87GHz, 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
FixedWidthParser_Write 1 129.8 ns 0.11 ns 0.03 ns 0.71 0.00 - - - 0.00
FileHelpers_Write 1 181.6 ns 1.40 ns 0.36 ns 1.00 0.00 0.0215 - 360 B 1.00
FlatFiles_Write 1 417.8 ns 6.87 ns 1.06 ns 2.30 0.01 0.0424 - 712 B 1.98
RecordParser_Write 1 19,313.4 ns 1,500.34 ns 389.63 ns 106.36 1.97 1.0986 0.0305 18128 B 50.36
FixedWidthParser_Write 100 13,189.8 ns 16.94 ns 2.62 ns 0.71 0.00 - - - 0.00
FileHelpers_Write 100 18,492.3 ns 351.94 ns 54.46 ns 1.00 0.00 1.9531 - 32832 B 1.00
FlatFiles_Write 100 45,531.4 ns 770.98 ns 200.22 ns 2.46 0.01 4.2114 - 71200 B 2.17
RecordParser_Write 100 58,252.8 ns 26,959.65 ns 7,001.33 ns 3.15 0.35 1.2207 - 20440 B 0.62
FixedWidthParser_Write 1000 131,755.2 ns 389.28 ns 60.24 ns 0.70 0.01 - - - 0.00
FileHelpers_Write 1000 187,461.9 ns 7,269.00 ns 1,887.74 ns 1.00 0.01 19.5313 - 328032 B 1.00
FlatFiles_Write 1000 435,090.5 ns 9,236.35 ns 2,398.65 ns 2.32 0.02 42.4805 - 712000 B 2.17
RecordParser_Write 1000 532,709.0 ns 261,041.28 ns 67,791.59 ns 2.84 0.33 80.0781 78.1250 1334882 B 4.07

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] 48.43 ns 1.450 ns 0.377 ns 1.00 0.0029 48 B 1.00
Parse_WithStringPool Jane (...)0.00 [25] 85.95 ns 0.037 ns 0.006 ns 1.77 - - 0.00
Parse_NoPool John (...)0.00 [25] 54.74 ns 1.094 ns 0.284 ns 1.00 0.0024 40 B 1.00
Parse_WithStringPool John (...)0.00 [25] 75.09 ns 0.244 ns 0.038 ns 1.37 - - 0.00

Benchmarks.Perf.PipeReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 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 Allocated Alloc Ratio
Stream_ReadAsync 100 7.263 μs 0.0756 μs 0.0196 μs 1.00 0.00 0.1602 4.09 KB 1.00
Pipe_ReadAsync 100 17.049 μs 0.5598 μs 0.1454 μs 2.35 0.02 0.1526 4.48 KB 1.10
Pipe_ReadAsync_SmallSegments 100 54.503 μs 0.1117 μs 0.0173 μs 7.50 0.02 0.1831 4.67 KB 1.14
Stream_ReadAsync 1000 74.464 μs 0.3095 μs 0.0804 μs 1.00 0.00 1.4648 38.54 KB 1.00
Pipe_ReadAsync 1000 159.251 μs 0.8354 μs 0.1293 μs 2.14 0.00 1.4648 39.03 KB 1.01
Pipe_ReadAsync_SmallSegments 1000 537.235 μs 2.2685 μs 0.3510 μs 7.21 0.01 0.9766 39.13 KB 1.02

Benchmarks.Perf.ReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.74GHz, 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.677 μs 0.1030 μs 0.0159 μs 0.71 0.2289 3952 B 0.354
SpanReader_Read 100 5.947 μs 0.0597 μs 0.0092 μs 0.91 0.2289 3952 B 0.354
Naive_ReadLine 100 6.565 μs 0.0429 μs 0.0111 μs 1.00 0.6638 11152 B 1.000
GeneratedReader_Read_Pooled 100 8.604 μs 0.0093 μs 0.0014 μs 1.31 - 32 B 0.003
SpanReader_Read_Pooled 100 10.186 μs 0.1103 μs 0.0286 μs 1.55 - 32 B 0.003
GeneratedReader_Read 1000 46.304 μs 0.3140 μs 0.0486 μs 0.66 2.3193 39232 B 0.353
SpanReader_Read 1000 62.424 μs 1.9695 μs 0.3048 μs 0.88 2.3193 39232 B 0.353
Naive_ReadLine 1000 70.632 μs 2.2924 μs 0.3547 μs 1.00 6.5918 111232 B 1.000
GeneratedReader_Read_Pooled 1000 87.860 μs 0.4728 μs 0.0732 μs 1.24 - 32 B 0.000
SpanReader_Read_Pooled 1000 101.530 μs 0.3075 μs 0.0798 μs 1.44 - 32 B 0.000

Benchmarks.Perf.ReaderStartupBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.74GHz, 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 106.1 ns 4.28 ns 0.66 ns 1.00 0.0057 96 B 1.00
GeneratedReader_ReadOne 119.6 ns 2.15 ns 0.33 ns 1.13 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.74 ns 0.603 ns 0.093 ns 0.75 0.0024 40 B 1.00
Reflection John (...)00.00 [25] 51.94 ns 0.468 ns 0.072 ns 1.00 0.0024 40 B 1.00

Benchmarks.Perf.WriterBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon 6973P-C 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-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
WriteMany_ReuseWriter 1 72.25 ns 0.550 ns 0.085 ns 0.38 0.01 - - - 0.00
WriteMany_ReuseWriterSpan 1 73.77 ns 1.247 ns 0.324 ns 0.38 0.01 - - - 0.00
WriteMany_AsyncReuseWriter 1 98.46 ns 0.932 ns 0.242 ns 0.51 0.01 0.0004 - 32 B 0.01
WriteMany_NewStream 1 192.70 ns 12.739 ns 3.308 ns 1.00 0.02 0.0265 - 2224 B 1.00
WriteMany_AsyncNewStream 1 374.32 ns 12.815 ns 3.328 ns 1.94 0.03 0.0639 0.0005 5360 B 2.41
WriteMany_ReuseWriter 100 7,656.14 ns 8.366 ns 1.295 ns 0.93 0.00 - - - 0.000
WriteMany_ReuseWriterSpan 100 7,689.01 ns 77.868 ns 20.222 ns 0.93 0.00 - - - 0.000
WriteMany_NewStream 100 8,228.67 ns 125.844 ns 19.475 ns 1.00 0.00 0.0610 - 5328 B 1.000
WriteMany_AsyncReuseWriter 100 8,368.77 ns 64.070 ns 9.915 ns 1.02 0.00 - - 32 B 0.006
WriteMany_AsyncNewStream 100 8,916.22 ns 171.662 ns 44.580 ns 1.08 0.01 0.0610 - 5360 B 1.006
WriteMany_ReuseWriter 1000 76,039.32 ns 954.820 ns 247.964 ns 0.97 0.00 - - - 0.000
WriteMany_ReuseWriterSpan 1000 76,652.06 ns 26.491 ns 4.099 ns 0.98 0.00 - - - 0.000
WriteMany_NewStream 1000 78,038.27 ns 1,000.693 ns 259.877 ns 1.00 0.00 - - 5328 B 1.000
WriteMany_AsyncNewStream 1000 84,098.64 ns 3,147.238 ns 487.039 ns 1.08 0.01 - - 5360 B 1.006
WriteMany_AsyncReuseWriter 1000 87,091.02 ns 10,780.075 ns 2,799.551 ns 1.12 0.03 - - 32 B 0.006

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