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
public static class FunctionFactory | |
{ | |
private static Delegate CreateInternal(Type[] argumentTypes, Type returnType, string expression, string[] argumentNames = null) | |
{ | |
if (argumentNames != null) | |
{ | |
if (argumentTypes.Length != argumentNames.Length) | |
throw new ArgumentException("The number of argument names does not equal the number of argument types."); | |
} |
NewerOlder