Skip to content

Commit

Permalink
fix: Refactor code formatting for better readability (#1564)
Browse files Browse the repository at this point in the history
Reformatted the code to improve its readability by adjusting the indentation of the LINQ query, making it more consistent with coding standards.
  • Loading branch information
msadeqsirjani authored Oct 1, 2023
1 parent b59977f commit e726d19
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ public void GenerateInterfaceStubs<TContext>(

// The interface has no refit methods, but its base interfaces might
var hasDerivedRefit = ifaceSymbol.AllInterfaces
.SelectMany(i => i.GetMembers().OfType<IMethodSymbol>())
.Where(m => IsRefitMethod(m, httpMethodBaseAttributeSymbol))
.Any();
.SelectMany(i => i.GetMembers().OfType<IMethodSymbol>())
.Any(m => IsRefitMethod(m, httpMethodBaseAttributeSymbol));

if (hasDerivedRefit)
{
Expand Down

0 comments on commit e726d19

Please sign in to comment.