From e31cc3ba88a4845b0a3adc80fef42c95ded6f7d5 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Wed, 8 Nov 2023 09:51:32 +1100 Subject: [PATCH] Update BuildApiTest.cs --- src/Tests/BuildApiTest.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Tests/BuildApiTest.cs b/src/Tests/BuildApiTest.cs index 43b36f85..01ba2538 100644 --- a/src/Tests/BuildApiTest.cs +++ b/src/Tests/BuildApiTest.cs @@ -25,7 +25,10 @@ public void Run() var extensions = module.GetTypes().Single(_ => _.Name == nameof(PolyfillExtensions)); using var writer = File.CreateText(md); - foreach (var type in extensions.Methods.Where(_ => !_.IsConstructor).GroupBy(_ => _.Parameters[0].ParameterType.FullName).OrderBy(_ => _.Key)) + foreach (var type in extensions.Methods + .Where(_ => !_.IsConstructor) + .GroupBy(_ => _.Parameters[0].ParameterType.FullName) + .OrderBy(_ => _.Key)) { if (!type.Any(_ => _.IsPublic)) {