Bumps Meziantou.Analyzer from 3.0.137 to 3.0.303
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-rc.2.26504.105
Bumps Microsoft.VisualStudio.Threading.Analyzers from 18.7.23 to 18.12.1
Bumps Roslynator.Analyzers from 4.15.0 to 5.0.1
Bumps Roslynator.CodeAnalysis.Analyzers from 4.15.0 to 5.0.1
Bumps Roslynator.Formatting.Analyzers from 4.15.0 to 5.0.1
Bumps SharpSource from 1.33.3 to 1.33.4
Bumps SonarAnalyzer.CSharp from 10.31.0.145097 to 10.35.0.4138
---
updated-dependencies:
- dependency-name: Meziantou.Analyzer
dependency-version: 3.0.303
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-rc.2.26504.105
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: analyzers
- dependency-name: Microsoft.VisualStudio.Threading.Analyzers
dependency-version: 18.12.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: analyzers
- dependency-name: Roslynator.Analyzers
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: analyzers
- dependency-name: Roslynator.CodeAnalysis.Analyzers
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: analyzers
- dependency-name: Roslynator.Formatting.Analyzers
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: analyzers
- dependency-name: SharpSource
dependency-version: 1.33.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: analyzers
- dependency-name: SonarAnalyzer.CSharp
dependency-version: 10.35.0.4138
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: analyzers
...
Signed-off-by: dependabot[bot] <support@github.com>
Updated Meziantou.Analyzer from 3.0.137 to 3.0.316.
Release notes
Sourced from Meziantou.Analyzer's releases.
No release notes found for this version range.
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-rc.2.26504.105.
Release notes
Sourced from Microsoft.CodeAnalysis.NetAnalyzers's releases.
11.0.100-rc.2.26504.105
You can build .NET 11.0 RC 2 from the repository by cloning the release tag
v11.0.100-rc.2.26504.105and 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
11.0.100-rc.1.26425.128
You can build .NET 11.0 RC 1 from the repository by cloning the release tag
v11.0.100-rc.1.26425.128and 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
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.103and 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 Microsoft.VisualStudio.Threading.Analyzers from 18.7.23 to 18.12.1.
Release notes
Sourced from Microsoft.VisualStudio.Threading.Analyzers's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Roslynator.Analyzers from 4.15.0 to 5.0.1.
Release notes
Sourced from Roslynator.Analyzers's releases.
5.0.1
Fixed
InstallationTargetto API version[17.14,)so Marketplace publish succeeds (VsixPub0029; API 18.0 is experimental). Installable on Visual Studio 2022 17.14+ and Visual Studio 2026 (VS 2026 extension compatibility).CS0103/CS0246) during analysis (PR)System.Compositionon the .NET 10 SDK (PR)&&/||expression is an operand of an operator with higher precedence (e.g.a && b | cis now fixed toa && (b || c)) (PR)5.0.0
Added
roslyn5.0NuGet package flavor (analyzers/dotnet/roslyn5.0/cs) (PR)Breaking
Roslynator.CommonandRoslynator.Workspaces.Common(#1817)Microsoft.CodeAnalysis.*reference instead of being forced to a fixed version (PR)Roslynator.Testing.Common,Roslynator.Testing.CSharp,Roslynator.Testing.CSharp.XunitandRoslynator.Testing.CSharp.MSTestnow depend onMicrosoft.CodeAnalysis.*>= 3.8.0(previously>= 4.14.0).Roslynator.Testing.Commonno longer depends onRoslynator.Core.<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 atCSharpParseOptions.Defaultunless you set parse options /LanguageVersion(for exampleLanguageVersion.Latest).Roslynator.Coretypes via the old transitive dependency must now add an explicitRoslynator.Corepackage reference.Changed
[18.0,19.0)) (PR)dotnet.server.useOmnisharptotrue)Removed
SyntaxInverter(Roslynator.CSharp.Workspaces). UseSyntaxLogicalInverter.DiagnosticCategoriesconstants and make the typeinternal.ROS0001/ROS0002diagnostic IDs.DiagnosticTestData,CompilerDiagnosticFixTestData,RefactoringTestData).roslynator.max_line_length,roslynator.prefix_field_identifier_with_underscore, androslynator_suppress_unity_script_methods. Useroslynator_max_line_length,roslynator_prefix_field_identifier_with_underscore, androslynator_unity_code_analysis.enabled.generate-doc-root. Usegenerate-doc --root-file-pathinstead.AnalyzersOptionsPagefrom Visual Studio extension (PR)Fixed
4.16.1
Fixed
inforref structparameters (#1725) (PR)omit_when_single_lineon multi-line object/collection initializers (#1439) (PR)async voidmethods withoutAsyncsuffix (PR)whenfilter (PR)CancellationTokenin sync methods returningTask(PR)generate-docto omit internal interfaces from type declarations and the Implements section (PR)4.16.0
Added
Fixed
filemodifier (PR by @cbersch)fixcommand ignoring--include/--excludefile filter (PR by @hashiiiii)Commits viewable in compare view.
Updated Roslynator.CodeAnalysis.Analyzers from 4.15.0 to 5.0.1.
Release notes
Sourced from Roslynator.CodeAnalysis.Analyzers's releases.
5.0.1
Fixed
InstallationTargetto API version[17.14,)so Marketplace publish succeeds (VsixPub0029; API 18.0 is experimental). Installable on Visual Studio 2022 17.14+ and Visual Studio 2026 (VS 2026 extension compatibility).CS0103/CS0246) during analysis (PR)System.Compositionon the .NET 10 SDK (PR)&&/||expression is an operand of an operator with higher precedence (e.g.a && b | cis now fixed toa && (b || c)) (PR)5.0.0
Added
roslyn5.0NuGet package flavor (analyzers/dotnet/roslyn5.0/cs) (PR)Breaking
Roslynator.CommonandRoslynator.Workspaces.Common(#1817)Microsoft.CodeAnalysis.*reference instead of being forced to a fixed version (PR)Roslynator.Testing.Common,Roslynator.Testing.CSharp,Roslynator.Testing.CSharp.XunitandRoslynator.Testing.CSharp.MSTestnow depend onMicrosoft.CodeAnalysis.*>= 3.8.0(previously>= 4.14.0).Roslynator.Testing.Commonno longer depends onRoslynator.Core.<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 atCSharpParseOptions.Defaultunless you set parse options /LanguageVersion(for exampleLanguageVersion.Latest).Roslynator.Coretypes via the old transitive dependency must now add an explicitRoslynator.Corepackage reference.Changed
[18.0,19.0)) (PR)dotnet.server.useOmnisharptotrue)Removed
SyntaxInverter(Roslynator.CSharp.Workspaces). UseSyntaxLogicalInverter.DiagnosticCategoriesconstants and make the typeinternal.ROS0001/ROS0002diagnostic IDs.DiagnosticTestData,CompilerDiagnosticFixTestData,RefactoringTestData).roslynator.max_line_length,roslynator.prefix_field_identifier_with_underscore, androslynator_suppress_unity_script_methods. Useroslynator_max_line_length,roslynator_prefix_field_identifier_with_underscore, androslynator_unity_code_analysis.enabled.generate-doc-root. Usegenerate-doc --root-file-pathinstead.AnalyzersOptionsPagefrom Visual Studio extension (PR)Fixed
4.16.1
Fixed
inforref structparameters (#1725) (PR)omit_when_single_lineon multi-line object/collection initializers (#1439) (PR)async voidmethods withoutAsyncsuffix (PR)whenfilter (PR)CancellationTokenin sync methods returningTask(PR)generate-docto omit internal interfaces from type declarations and the Implements section (PR)4.16.0
Added
Fixed
filemodifier (PR by @cbersch)fixcommand ignoring--include/--excludefile filter (PR by @hashiiiii)Commits viewable in compare view.
Updated Roslynator.Formatting.Analyzers from 4.15.0 to 5.0.1.
Release notes
Sourced from Roslynator.Formatting.Analyzers's releases.
5.0.1
Fixed
InstallationTargetto API version[17.14,)so Marketplace publish succeeds (VsixPub0029; API 18.0 is experimental). Installable on Visual Studio 2022 17.14+ and Visual Studio 2026 (VS 2026 extension compatibility).CS0103/CS0246) during analysis (PR)System.Compositionon the .NET 10 SDK (PR)&&/||expression is an operand of an operator with higher precedence (e.g.a && b | cis now fixed toa && (b || c)) (PR)5.0.0
Added
roslyn5.0NuGet package flavor (analyzers/dotnet/roslyn5.0/cs) (PR)Breaking
Roslynator.CommonandRoslynator.Workspaces.Common(#1817)Microsoft.CodeAnalysis.*reference instead of being forced to a fixed version (PR)Roslynator.Testing.Common,Roslynator.Testing.CSharp,Roslynator.Testing.CSharp.XunitandRoslynator.Testing.CSharp.MSTestnow depend onMicrosoft.CodeAnalysis.*>= 3.8.0(previously>= 4.14.0).Roslynator.Testing.Commonno longer depends onRoslynator.Core.<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 atCSharpParseOptions.Defaultunless you set parse options /LanguageVersion(for exampleLanguageVersion.Latest).Roslynator.Coretypes via the old transitive dependency must now add an explicitRoslynator.Corepackage reference.Changed
[18.0,19.0)) (PR)dotnet.server.useOmnisharptotrue)Removed
SyntaxInverter(Roslynator.CSharp.Workspaces). UseSyntaxLogicalInverter.DiagnosticCategoriesconstants and make the typeinternal.ROS0001/ROS0002diagnostic IDs.DiagnosticTestData,CompilerDiagnosticFixTestData,RefactoringTestData).roslynator.max_line_length,roslynator.prefix_field_identifier_with_underscore, androslynator_suppress_unity_script_methods. Useroslynator_max_line_length,roslynator_prefix_field_identifier_with_underscore, androslynator_unity_code_analysis.enabled.generate-doc-root. Usegenerate-doc --root-file-pathinstead.AnalyzersOptionsPagefrom Visual Studio extension (PR)Fixed
4.16.1
Fixed
inforref structparameters (#1725) (PR)omit_when_single_lineon multi-line object/collection initializers (#1439) (PR)async voidmethods withoutAsyncsuffix (PR)whenfilter (PR)CancellationTokenin sync methods returningTask(PR)generate-docto omit internal interfaces from type declarations and the Implements section (PR)4.16.0
Added
Fixed
filemodifier (PR by @cbersch)fixcommand ignoring--include/--excludefile filter (PR by @hashiiiii)Commits viewable in compare view.
Updated SharpSource from 1.33.3 to 1.33.4.
Release notes
Sourced from SharpSource's releases.
1.33.4
AsyncOverloadsAvailable: No longer flagsDbContext.Add,DbContext.AddRange,DbSet<T>.Add, orDbSet<T>.AddRangesince Microsoft explicitly recommends the synchronous versions for general useDisposableFieldIsNotDisposed: No longer flags fields that are disposed using the null-conditional operator (_field?.Dispose())Commits viewable in compare view.
Updated SonarAnalyzer.CSharp from 10.31.0.145097 to 10.35.0.4138.
Release notes
Sourced from SonarAnalyzer.CSharp's releases.
10.35.0.4138
Release notes - .NET Analyzers - 10.35
Feature
NET-1313 Improve S3267: Suggest other LINQ methods instead of always Where
NET-4549 Update RSPEC before 10.35 release
False Positive
NET-87 Fix S6667 FP: Add an exception when rethrowing the exception
NET-1559 Fix S6966 FP: FluentValidation ValidateAndThrow should not be proposed
NET-3964 Fix S125 FP: Do not raise on comments that resemble code but are not
NET-4294 Fix S107 FP: Should not raise on constructors of dependency-injection managed types
NET-4310 Fix S8747 FP: Do not raise when data is backfilled via UpdateData
NET-4315 Fix S3453 FP: Should not raise on classes with static members and non-static nested types
NET-4415 Fix S8969 FP: redundant null-forgiving operator raised on ref-loop variables reassigned each iteration
NET-4466 Fix S6966 FP: Do not suggest a non-awaitable overload resolved via speculative rebind
NET-4546 Fix S6669 FP: overridden "format" rule parameter is ignored
NET-4556 Fix S1128 FP: SafeVisit abort silently drops necessary usings
NET-4634 Fix S9022 FP: Generic identity pass-through wrapper not implementing IEnumerable misclassified as a reshaping boundary
NET-4639 Fix S8717 FP: EF6 and EF Core referenced in the same compilation (in-progress migration)
False Negative
NET-4256 Fix S9022 FN: Include on owned-type navigation not detected as redundant
NET-4532 Fix S9022/S9023 FN: rule stays silent when the Include is used in a comparison, cast, or other common expression
NET-4541 Fix S5542 FN: Detect weak RSA signature padding
Bug
NET-4571 Fix AD0001: NRE in DoNotOverwriteCollectionElements
NET-4587 Fix AD0001: ArgumentNullException in ReleaseCorrectReaderWriterLockBase (S7131)
NET-4588 Fix AD0001: ArgumentNullException in FirstSingleShouldBeUsedOnNonEmptyCollectionBase (S7130)
NET-4636 Fix S6966 AD0001: NullReferenceException on null-conditional calls followed by an indexer
Maintenance
NET-4370 Drop backward compatibility with S4NET below 5.2
NET-4540 Update MSTest to 4.4.0
NET-4550 Bump version to 10.35
NET-4555 Update SonarSource/sonar-scanner-engine monorepo to v13.11.0.5929
NET-4558 Create SLCORE ticket instead of SLVSCODE and SLI on release
NET-4579 ShimLayer Generator: Remove old BasicBlock and ControlFlowBranch
NET-4580 Update dependency Microsoft.NET.Test.Sdk to 18.10.0
NET-4596 Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.2
NET-4597 Update dependency Verify.MSTest to 32.0.1
NET-4622 Update SonarSource/sonar-scanner-engine monorepo to v13.13.0.6016
NET-4628 Update dependency Microsoft.NET.Test.Sdk to 18.10.1
NET-4631 Update MSTest to 4.4.1
NET-4632 Harden S1144: internal-type usage scan no longer trusts partial SafeVisit walks
NET-4637 Update protocolbuffers/protobuf monorepo to v4.36.2
NET-4663 Restore sonar-csharp-enterprise-plugin minsize to 6200000
10.34.0.3385
Release notes - .NET Analyzers - 10.34
Feature
NET-4133 Implement rule S9023: "Include" calls discarded by query reshaping should be fixed
False Positive
NET-3281 Fix S1192 FP: should not raise on DBContext model configuration
NET-4317 Fix S2325 FP: Do not raise on ConfigureServices in classes decorated with [LambdaStartup]
NET-4419 Fix S2737 FP: Do not report known temporary-context rethrow boundaries
NET-4421 Fix S6607 FP: Indexed LINQ Where after OrderBy
NET-4463 Fix S8747 FP: Do not raise when a defaultValue backfills existing NULLs before narrowing to non-nullable
NET-4506 Fix S6967 FP: Recognize manual DataAnnotations validation
NET-4507 Fix S8969 FP: Don't raise in Razor files
False Negative
NET-1883 Files added as symbolic links are not analyzed
NET-4249 Fix S9022 FN: Include before a terminal aggregate/scalar operator not detected as dead code
NET-4379 Fix S2259 FN: void compound assignment operators not flagged as dereference
NET-4383 Fix S9022 FN: Include on a navigation re-projected directly by a later Select/SelectMany is not detected as redundant
NET-4443 Fix S2068 FN: Scope the value passed to the secret-exclusion classifier to the candidate secret
NET-4496 Fix S8949 FN: self-recursion suppression also hides calls already recursive before the suggested fix
NET-4500 Fix S9022 FN: ThenInclude consumed only through a nested Select's rebound element parameter is not detected as redundant
Bug
NET-4483 Fix S3459 FP: Public writable properties in private nested types
Maintenance
NET-4472 Remove S1264 from the C# Sonar way profile
NET-4474 Remove S2692 from the C# Sonar way profile
NET-4480 Remove S3249 from the C# Sonar way profile
NET-4481 Remove S6670 from the C# Sonar way profile
NET-4482 Remove S3885 from the C# Sonar way profile
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.