Created
September 18, 2020 13:51
-
-
Save kekyo/e1c5d0d226131407cf16a0bfd6909185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace UnificationPolarity | |
{ | |
public static class Class1 | |
{ | |
public static IConvertible foo(IConvertible arg) => | |
arg; | |
public static Func<IConvertible, IConvertible> bar(Func<IConvertible, IConvertible> arg) => | |
arg; | |
public static Func<Func<IConvertible, IConvertible>, Func<IConvertible, IConvertible>> baz(Func<Func<IConvertible, IConvertible>, Func<IConvertible, IConvertible>> arg) => | |
arg; | |
public static void test() | |
{ | |
Func<string, object> aaa = foo; | |
Func<Func<object, string>, Func<string, object>> bbb = bar; | |
Func<Func<Func<string, object>, Func<object, string>>, Func<Func<object, string>, Func<string, object>>> ccc = baz; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment