• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

icerpc / icerpc-csharp / 25743449649

12 May 2026 03:09PM UTC coverage: 84.746% (-0.02%) from 84.763%
25743449649

push

github

web-flow
Support service classes nested more than one level deep (#4607)

* Support service classes nested more than one level deep

Walk the full chain of enclosing TypeDeclarationSyntax nodes when building the ContainerDefinition chain, and capture each enclosing type's type-parameter list and arity. Previously only one enclosing type was captured, and its name dropped any type-parameter list — so a [Service] class nested two or more levels deep, or nested in a generic type, emitted a partial declaration that did not merge with the user's declaration.

* Allow service nesting inside any TypeDeclarationSyntax

Drops the IsAllowedKind filter so a [Service] type nested inside a record struct or an interface is also handled correctly. Adds tests for both shapes.

7 of 12 new or added lines in 2 files covered. (58.33%)

12 existing lines in 4 files now uncovered.

12656 of 14934 relevant lines covered (84.75%)

2810.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.52
src/src/IceRpc.ServiceGenerator/Internal/Parser.cs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc