Skip to content

Add AggregateBy examples #2802

Add AggregateBy examples

Add AggregateBy examples #2802

Re-run triggered April 9, 2026 19:49
Status Failure
Total duration 3m 42s
Artifacts

snippets5000.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
snippets-build
Process completed with exit code 1.
snippets-build: snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs#L3265
D:\a\dotnet-api-docs\dotnet-api-docs\snippets\csharp\System.Linq\Enumerable\AggregateTSource\enumerable.cs(3265,31): error CS1061: 'Program.AggregateBy.Employee[]' does not contain a definition for 'AggregateBy' and no accessible extension method 'AggregateBy' accepting a first argument of type 'Program.AggregateBy.Employee[]' could be found (are you missing a using directive or an assembly reference?) [D:\a\dotnet-api-docs\dotnet-api-docs\snippets\csharp\System.Linq\Enumerable\AggregateTSource\Enumerable.csproj]
snippets-build: snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs#L3231
D:\a\dotnet-api-docs\dotnet-api-docs\snippets\csharp\System.Linq\Enumerable\AggregateTSource\enumerable.cs(3231,31): error CS1061: 'Program.AggregateBy.Employee[]' does not contain a definition for 'AggregateBy' and no accessible extension method 'AggregateBy' accepting a first argument of type 'Program.AggregateBy.Employee[]' could be found (are you missing a using directive or an assembly reference?) [D:\a\dotnet-api-docs\dotnet-api-docs\snippets\csharp\System.Linq\Enumerable\AggregateTSource\Enumerable.csproj]
snippets-build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b, actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/