Skip to content

Commit

Permalink
style: fix SA1633 for Memoization.Net
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoona committed Sep 19, 2022
1 parent 3b9942f commit a584b27
Show file tree
Hide file tree
Showing 5 changed files with 728 additions and 691 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ tab_width = 2
indent_size = 4
max_line_length = 100

[**/*.tt]
indent_size = 4
end_of_line = crlf

[**/*.xaml]
indent_style = 4
max_line_length = 100
Expand Down
6 changes: 6 additions & 0 deletions Memoization.Net/Memoization.Tests/TestMemoization.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// <copyright file="TestMemoization.cs" company="Shuai Zhang">
// Copyright Shuai Zhang. All rights reserved.
// Licensed under the GPLv3 license. See LICENSE file in the project root for full license information.
// </copyright>

using System;
using Microsoft.Extensions.Caching.Memory;
using Xunit;
Expand Down Expand Up @@ -54,6 +59,7 @@ public void Test2()
internal static class YCombinator<T>
{
delegate Func<T, T> Recursive(Recursive recursive);

public static Func<Func<Func<T, T>, Func<T, T>>, Func<T, T>> Fix =
f => ((Recursive)(g =>
(f(x => g(g)(x)))))((Recursive)(g => f(x => g(g)(x))));
Expand Down
Loading

0 comments on commit a584b27

Please sign in to comment.