Skip to content

Commit

Permalink
Update BuildApiTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 7, 2023
1 parent 1558e46 commit e31cc3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Tests/BuildApiTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit e31cc3b

Please sign in to comment.