Skip to content

nuget-dressca: Bump StyleCop.Analyzers from 1.3.171-beta to 1.3.180 - #6542

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/samples/Dressca/dressca-backend/StyleCop.Analyzers-1.3.180
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/samples/Dressca/dressca-backend/StyleCop.Analyzers-1.3.180

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Updated StyleCop.Analyzers from 1.3.171-beta to 1.3.180.

Release notes

Sourced from StyleCop.Analyzers's releases.

1.3.180

This is the first stable StyleCop.Analyzers release since 1.1.118. It includes the entire 1.2 beta line and the 1.3 revival: the analyzers now understand C# 8 through the C# 15 previews, many long-standing bugs are fixed, and the project is once again actively maintained. Thank you to everyone who contributed code, reviews, translations and bug reports over the long gap.

Highlights

  • C# 8 through C# 15 language support. Rules now understand records and record structs, file-scoped namespaces, global usings, raw and interpolated strings, primary constructors, collection expressions, partial properties, events and constructors, allows ref struct, C# 14 extension blocks and the field keyword, and C# 15 preview unions with the closed and safe modifiers, instead of ignoring that syntax or crashing on it. (#​4142, #​4139, #​4137, #​4163, #​4148, #​4191, #​4193)
  • New rules. SA1143 checks that wrapped conditional (?:) expressions are laid out consistently, SA1315 requires overriding and implementing parameters to keep their inherited names, SA1317 reports identifiers that use letters outside basic Latin A–Z, SA1653 reports <summary> documentation on more than one part of a partial type, and SA1654 reports escaped generic brackets in crefs (for example List&lt;T&gt; vs List{T}). SX1412 is an opt-in alternative to SA1412 that requires UTF-8 without a BOM. All of these except SX1412 are on by default as warnings. (#​3942, #​4299, #​4318, #​4314, #​4315, #​4328)
  • Better code fixes. The member-ordering rules (SA1201, SA1202, SA1203, SA1204 and SA1214) now offer their code fix, including Fix All. Many other rules gained fixes, and existing fixes keep comments, trivia, custom indentation and the document's line endings, and use the compiler's batch Fix All. (#​4312, #​4076, #​4199, #​4108, #​4229, #​4360)
  • More configuration. Every setting can be set in .editorconfig. New settings include orderingRules.memberKindOrder, orderingRules.accessibilityOrder and layoutRules.allowBracelessIfStatements (braceless ifs are off by default; the accessibility order default is unchanged). (#​4221, #​3285, #​4324, #​4359, #​4319)
  • Fewer false positives and crash fixes. A long backlog of spacing, layout, documentation, naming and maintainability issues was cleared, including several crashes and incorrect code fixes found by fuzzing.
  • Localization and documentation. This release adds Simplified Chinese (zh-CN) resources and documentation, finishes the Czech translations, and includes more translations of code-fix documentation text (Czech, Dutch, Russian and others). Rule documentation and status are published on GitHub Pages. (#​4285, #​4286, #​3374, #​3944, #​3900, #​4220, #​4218)
  • Packaging and engineering. The package has an icon and a README, and PDBs are embedded in the DLLs (there is no separate symbols package). Packages are published from GitHub Actions using nuget.org trusted publishing. CI runs on GitHub Actions on Linux, the build uses the .NET 10 SDK, and Renovate keeps dependencies current. The analyzers still target the same Roslyn version, so they work with the same compilers and IDEs as before. (#​4320, #​4204, #​4173, #​4123, #​4105, #​4126, #​4231)

Behavior changes worth knowing about

Upgrading from 1.1.118, or from a 1.2 beta, may produce new or different diagnostics:

  • Rules now cover newer syntax. Ordering, layout, spacing and documentation rules now analyze records, primary constructors, collection expressions, extension blocks, unions and other newer constructs. They used to skip these, so expect new warnings in code that uses them.
  • New rules on by default: SA1143, SA1315, SA1317, SA1653 and SA1654 are enabled as warnings. SX1412 is off by default.
  • Extension members need documentation. SA1600 no longer treats C# 14 extension blocks as private, so their public members must be documented. SA1600 also reports undocumented record primary constructor parameters. (#​4163, #​4213)
  • Partial types and members. For partial methods, properties, indexers, constructors, events and types, documenting one part is enough (SA1600 leaves the check for partial members to SA1601). SA1653 reports a <summary> on more than one part, but ignores generated partial declarations such as WPF *.g.cs files. (#​4148, #​4149, #​4152, #​4308, #​4299, #​4393)
  • SA1500 and SA1137 now check the brackets of multi-line collection expressions. SA1137 accepts aligning a closing bracket with an inline opening bracket (one that follows other code on the same line) or with the opening line's indentation. Both rules offer an alternate, tab-aware code fix that aligns the closing bracket with the opening bracket. (#​4396, #​4400)
  • SA1642 expects "union" wording in constructor summaries of C# 15 union types, for example "Initializes a new instance of the … union.", and "interface" rather than "class" in the standard text for static constructors in interfaces. (#​4193, #​4386)
  • SA1121 reports the built-in type inside a using alias target instead of every use of the alias, and no longer reports IntPtr and UIntPtr in XML documentation crefs, or in shared source compiled for targets where nint isn't equivalent. SA1121 and SA1125 also report System types in using alias targets. (#​4287, #​4395, #​4175)
  • SA1316 always reports explicitly written tuple element names, even when includeInferredTupleElementNames is off. (#​4202)
  • SA1312 no longer reports _ for foreach variables and using declarations. (#​4203)
  • SA1205 treats the file modifier as an access modifier. (#​4198)
  • SA1304 now analyzes protected readonly fields when SA1307 is enabled. (#​4217)
  • SA1122 reports empty interpolated and raw string literals, and SA1130 reports anonymous methods whose parameter names differ from the delegate's. (#​4178, #​4179)
  • SA1407 now checks bitwise operators (&, |, ^) and >>>. SA1408 reports ?? mixed with && or || without parentheses. (#​4289, #​4323)
  • SA1200 reports and moves extern alias directives using the same placement setting as using directives. (#​4313)
  • SA1017 requires a space after a parameter's or type parameter's attribute list, for example [NotNullWhen(true)] out string? foo. (#​4321)
  • SA1633: disabling one required-header rule, for example SA1637, no longer turns off the other header checks. (#​4276)
  • SA1202 treats explicit interface events as public, like other explicit interface members. SA1137 aligns type members to their most common indentation instead of the first member. SA1649 picks the type that names the file according to the maintainabilityRules.topLevelTypes setting. (#​4281, #​4301, #​4316)
  • SA1600 respects the documentInterfaces setting. With documentInterfaces: false, public interfaces and their members are still required when documentExposedElements is on. With documentInterfaces: "exposed", members of interfaces that aren't actually exposed are not reported. (#​3140, #​4346, #​4343)
  • SA1135 no longer reports using directives that start with an extern alias. (#​4341)
  • SA1143 allows branches that continue onto more lines, and accepts an expanded conditional whose condition spans several lines when the ? and : lines line up and are indented past the condition's last line. The SA1143 code fix keeps multi-line branches intact. (#​4336, #​4374, #​4392)
  • The default rule set is complete, so rules that were missing from it are now listed with their default severity. (#​4115)
  • Packaging: the separate .symbols.nupkg is gone, because PDBs are now embedded in the DLLs. (#​4173)

All changes

Fixes

1.3.177-beta

A small follow-up to 1.3.171-beta. It accepts a common layout for collection-expression brackets and strengthens the settings default tests.

Highlights

  • Inline collection bracket alignment. SA1137 now accepts aligning a collection expression's closing bracket with an opening bracket that follows code on the same line, and both SA1137 and SA1500 offer an alternate fix that preserves that layout. (#​4400)

Behavior changes worth knowing about

  • SA1137 no longer reports when a multi-line collection expression's closing bracket is aligned with an inline opening bracket (one that follows other code on the same line). Aligning with the opening line's indentation remains accepted. Both SA1137 and SA1500 now offer an alternate code fix that aligns the closing bracket with the opening bracket, with tab-aware column checks. (#​4400, fixes #​4399)

All changes

Fixes

Infrastructure and build

Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.171-beta...1.3.177-beta

Commits viewable in compare view.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file nuget NuGetパッケージの更新 target: Dressca サンプルアプリケーションDresscaに関係がある labels Nov 11, 2026
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
  dependency-version: 1.3.180
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/samples/Dressca/dressca-backend/StyleCop.Analyzers-1.3.180 branch from ae7ee60 to 016ed0b Compare November 16, 2026 10:32
@github-actions

Copy link
Copy Markdown

Test Result 📝

Test was a success.
Completed in 5325ms with 238 passed, 0 failed and 0 skipped.

Coverage 📐

Summary
Generated on: 11/16/2026 - 10:34:17
Parser: Cobertura
Assemblies: 7
Classes: 129
Files: 125
Line coverage: 34.4% (1509 of 4378)
Covered lines: 1509
Uncovered lines: 2869
Coverable lines: 4378
Total lines: 9350
Branch coverage: 29.6% (205 of 692)
Covered branches: 205
Total branches: 692
Method coverage: Feature is only available for sponsors
Tag: 828_43849846342
Dressca.ApplicationCore - 57.1%
Name Line Branch
Dressca.ApplicationCore 57.1% 42.9%
Dressca.ApplicationCore.Accounting.Account 84.6% 62.5%
Dressca.ApplicationCore.Accounting.AccountItem 100%
Dressca.ApplicationCore.ApplicationCoreServicesExtensions 100%
Dressca.ApplicationCore.ApplicationService.AssetApplicationService 0% 0%
Dressca.ApplicationCore.ApplicationService.AssetApplicationService.AssetStr
eamInfo
0%
Dressca.ApplicationCore.ApplicationService.CatalogApplicationService 0% 0%
Dressca.ApplicationCore.ApplicationService.CatalogBrandNotExistingInReposit
oryException
0%
Dressca.ApplicationCore.ApplicationService.CatalogCategoryNotExistingInRepo
sitoryException
0%
Dressca.ApplicationCore.ApplicationService.CatalogItemNotExistingInReposito
ryException
0%
Dressca.ApplicationCore.ApplicationService.DisplayItemApplicationService 100% 50%
Dressca.ApplicationCore.ApplicationService.DisplayItemNotExistingInReposito
ryException
100%
Dressca.ApplicationCore.ApplicationService.OrderApplicationService 90% 50%
Dressca.ApplicationCore.ApplicationService.ShoppingApplicationService 81.3% 65.2%
Dressca.ApplicationCore.ApplicationService.TransactionScopeManager 100% 100%
Dressca.ApplicationCore.Assets.Asset 52.3% 50%
Dressca.ApplicationCore.Assets.AssetNotFoundException 0%
Dressca.ApplicationCore.Assets.AssetTypes 71.4% 50%
Dressca.ApplicationCore.Authorization.NotConnectedUserStore 0%
Dressca.ApplicationCore.Authorization.PermissionDeniedException 0%
Dressca.ApplicationCore.Authorization.Roles 0%
Dressca.ApplicationCore.Baskets.Basket 77.7% 66.6%
Dressca.ApplicationCore.Baskets.BasketItem 60% 25%
Dressca.ApplicationCore.Baskets.DisplayItemNotExistingInBasketException 0%
Dressca.ApplicationCore.Catalog.CatalogBrand 57.1% 50%
Dressca.ApplicationCore.Catalog.CatalogCategory 57.1% 50%
Dressca.ApplicationCore.Catalog.CatalogDomainService 0% 0%
Dressca.ApplicationCore.Catalog.CatalogItem 44.5% 38.8%
Dressca.ApplicationCore.Catalog.CatalogItemAsset 50% 25%
Dressca.ApplicationCore.DisplayItems.DisplayItem 75.8% 50%
Dressca.ApplicationCore.DisplayItems.DisplayItemAsset 83.3% 50%
Dressca.ApplicationCore.DisplayItems.DisplayItemBrand 83.3% 50%
Dressca.ApplicationCore.DisplayItems.DisplayItemCategory 83.3% 50%
Dressca.ApplicationCore.DisplayItems.DisplayItemDomainService 100% 66.6%
Dressca.ApplicationCore.Events 100%
Dressca.ApplicationCore.Ordering.Address 100% 50%
Dressca.ApplicationCore.Ordering.DisplayItemOrdered 81.8% 50%
Dressca.ApplicationCore.Ordering.EmptyBasketOnCheckoutException 0%
Dressca.ApplicationCore.Ordering.NullBasketOnCheckoutException 0%
Dressca.ApplicationCore.Ordering.Order 88.8% 60%
Dressca.ApplicationCore.Ordering.OrderFactory 100%
Dressca.ApplicationCore.Ordering.OrderItem 83.3% 0%
Dressca.ApplicationCore.Ordering.OrderItemAsset 71.4% 25%
Dressca.ApplicationCore.Ordering.OrderNotFoundException 0%
Dressca.ApplicationCore.Ordering.ShipTo 100% 50%
Dressca.EfInfrastructure - 20.1%
Name Line Branch
Dressca.EfInfrastructure 20.1% 13.5%
Dressca.EfInfrastructure.Configurations.Assets.AssetConfiguration 100%
Dressca.EfInfrastructure.Configurations.Baskets.BasketConfiguration 100%
Dressca.EfInfrastructure.Configurations.Baskets.BasketItemConfiguration 100%
Dressca.EfInfrastructure.Configurations.Catalog.CatalogBrandConfiguration 100%
Dressca.EfInfrastructure.Configurations.Catalog.CatalogCategoryConfiguratio
n
100%
Dressca.EfInfrastructure.Configurations.Catalog.CatalogItemAssetConfigurati
on
100%
Dressca.EfInfrastructure.Configurations.Catalog.CatalogItemConfiguration 100%
Dressca.EfInfrastructure.Configurations.DisplayItems.DisplayItemConfigurati
on
100%
Dressca.EfInfrastructure.Configurations.DresscaSeedIds 100%
Dressca.EfInfrastructure.Configurations.Ordering.OrderConfiguration 100% 100%
Dressca.EfInfrastructure.Configurations.Ordering.OrderItemAssetConfiguratio
n
100%
Dressca.EfInfrastructure.Configurations.Ordering.OrderItemConfiguration 100% 100%
Dressca.EfInfrastructure.DisplayItemEntity 100%
Dressca.EfInfrastructure.DresscaDbContext 78.5% 50%
Dressca.EfInfrastructure.DresscaDbContextHealthCheck 60%
Dressca.EfInfrastructure.EfAssetRepository 0% 0%
Dressca.EfInfrastructure.EfBasketRepository 69.6% 50%
Dressca.EfInfrastructure.EfCatalogBrandRepository 0% 0%
Dressca.EfInfrastructure.EfCatalogCategoryRepository 0% 0%
Dressca.EfInfrastructure.EfCatalogRepository 45.2% 50%
Dressca.EfInfrastructure.EfDisplayItemBrandRepository 100% 50%
Dressca.EfInfrastructure.EfDisplayItemCategoryRepository 100% 50%
Dressca.EfInfrastructure.EfDisplayItemRepository 100% 83.3%
Dressca.EfInfrastructure.EfInfrastructureServicesExtension 87.5% 75%
Dressca.EfInfrastructure.EfOrderRepository 100% 50%
Dressca.EfInfrastructure.Events 0%
Dressca.EfInfrastructure.HealthChecksBuilderExtensions 100% 100%
Dressca.EfInfrastructure.Migrations.DresscaDbContextModelSnapshot 0% 0%
Dressca.EfInfrastructure.Migrations.InitialCreate 0% 0%
Dressca.Store.Assets.StaticFiles - 17.2%
Name Line Branch
Dressca.Store.Assets.StaticFiles 17.2% 0%
Dressca.Store.Assets.StaticFiles.Events 0%
Dressca.Store.Assets.StaticFiles.StaticFileAssetStore 0% 0%
Dressca.Store.Assets.StaticFiles.StaticFileAssetStoreServicesExtension 100%
Dressca.SystemCommon - 61.9%
Name Line Branch
Dressca.SystemCommon 61.9% 33.3%
Dressca.SystemCommon.PagedList 100% 50%
System.ObjectExtensions 60% 50%
System.StringExtentions 0% 0%
Dressca.Web - 28.4%
Name Line Branch
Dressca.Web 28.4% 15%
__OptionValidationGeneratedAttributes 0% 0%
__OptionValidationStaticInstances 0%
Dressca.Web.Authorization.DummyAuthenticationHandler 0%
Dressca.Web.Authorization.StatusCodeMapAuthorizationMiddlewareResultHandler 0% 0%
Dressca.Web.Configuration.CookieSettingValidator 0% 0%
Dressca.Web.Configuration.CookieSetting 100%
Dressca.Web.Configuration.ValidateWebServerOptions 0% 0%
Dressca.Web.Configuration.WebServerOptions 100%
Dressca.Web.Controllers.ActionNameHelper 75% 50%
Dressca.Web.Controllers.ErrorController 8.3% 0%
Dressca.Web.Events 100%
Dressca.Web.Extensions.HttpSecurityHeadersMiddleware 100%
Dressca.Web.Extensions.HttpSecurityHeadersMiddlewareExtensions 100%
Dressca.Web.HealthChecks.HealthCheckDescriptionProvider 7.8% 25%
Dressca.Web.HealthChecks.HealthCheckDescriptionProvider.HealthCheckControll
erMetadata
0% 0%
Dressca.Web.Http.ApplicationCookieBuilder 94.4% 87.5%
Dressca.Web.Runtime.BusinessExceptionDevelopmentFilter 100% 57.1%
Dressca.Web.Runtime.BusinessExceptionFilter 0% 0%
Dressca.Web.Runtime.BusinessExceptionFilterBase 100% 83.3%
Dressca.Web.Runtime.DbUpdateConcurrencyExceptionDevelopmentFilter 0% 0%
Dressca.Web.Runtime.DbUpdateConcurrencyExceptionFilter 0% 0%
Dressca.Web.Runtime.DbUpdateConcurrencyExceptionFilterBase 0% 0%
Dressca.Web.Consumer - 67%
Name Line Branch
Dressca.Web.Consumer 67% 50.8%
Dressca.Web.Consumer.Assets.AssetExtensions 0% 0%
Dressca.Web.Consumer.Baskets.BuyerIdFilterAttribute 96.5% 58.3%
Dressca.Web.Consumer.Baskets.HttpContextExtensions 80% 60%
Dressca.Web.Consumer.Controllers.ApiModel.FindDisplayItemsQuery 100%
Dressca.Web.Consumer.Controllers.AssetsController 0% 0%
Dressca.Web.Consumer.Controllers.BasketItemsController 33.8% 30%
Dressca.Web.Consumer.Controllers.DisplayItemBrandsController 100% 50%
Dressca.Web.Consumer.Controllers.DisplayItemCategoriesController 100% 50%
Dressca.Web.Consumer.Controllers.DisplayItemsController 100% 50%
Dressca.Web.Consumer.Controllers.OrdersController 88.2% 50%
Dressca.Web.Consumer.Events 0%
Dressca.Web.Consumer.Mapper.BasketItemMapper 0% 0%
Dressca.Web.Consumer.Mapper.BasketMapper 9.5% 25%
Dressca.Web.Consumer.Mapper.DisplayItemBrandMapper 66.6% 50%
Dressca.Web.Consumer.Mapper.DisplayItemCategoryMapper 66.6% 50%
Dressca.Web.Consumer.Mapper.DisplayItemMapper 87.5% 75%
Dressca.Web.Consumer.Mapper.DisplayItemSummaryApiModelMapper 0% 0%
Dressca.Web.Consumer.Mapper.DtoMapperServicesExtension 100%
Dressca.Web.Consumer.Mapper.OrderMapper 95.1% 83.3%
Program 81.5% 85%
Dressca.Web.Consumer.Dto - 88%
Name Line Branch
Dressca.Web.Consumer.Dto 88% ****
Dressca.Web.Consumer.Dto.Baskets.GetBasketItemsResponse 0%
Dressca.Web.Consumer.Dto.Baskets.PostBasketItemsRequest 100%
Dressca.Web.Consumer.Dto.DisplayItem.DisplayItemSummaryApiModel 100%
Dressca.Web.Consumer.Dto.DisplayItem.GetDisplayItemBrandsResponse 100%
Dressca.Web.Consumer.Dto.DisplayItem.GetDisplayItemCategoriesResponse 100%
Dressca.Web.Consumer.Dto.DisplayItem.GetDisplayItemResponse 100%
Dressca.Web.Consumer.Dto.Ordering.GetOrderByIdResponse 100%
Dressca.Web.Consumer.Dto.Ordering.PostOrderRequest 100%

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file nuget NuGetパッケージの更新 target: Dressca サンプルアプリケーションDresscaに関係がある

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SA1137 reports on close bracket tokens and codefix "breaks" formatting

0 participants