Skip to content

Commit

Permalink
Update src/Kiota.Builder/CodeDOM/CodeFile.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Biret <[email protected]>
  • Loading branch information
rkodev and baywet authored Sep 20, 2023
1 parent eb3062d commit b480e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/CodeDOM/CodeFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Kiota.Builder.CodeDOM;

public class CodeFile : CodeBlock<CodeFileDeclaration, CodeFileBlockEnd>
{
public IEnumerable<CodeInterface> Interfaces => InnerChildElements.Values.OfType<CodeInterface>().OrderBy(static x => x.Name);
public IEnumerable<CodeInterface> Interfaces => InnerChildElements.Values.OfType<CodeInterface>().OrderBy(static x => x.Name, StringComparer.Ordinal);

public IEnumerable<T> AddElements<T>(params T[] elements) where T : CodeElement
{
Expand Down

0 comments on commit b480e36

Please sign in to comment.