private static Func <T, T> CreateValue() { #if LESSTHAN_NET40 return(OperatorsFactory.UnaryOperator <T>(ExpressionType.Not)); #else return(OperatorsFactory.UnaryOperator <T>(ExpressionType.OnesComplement)); #endif }
private static Func <T, T> CreateValue() { #if NET40_OR_GREATER || TARGETS_NETSTANDARD || TARGETS_NETCOREAPP return(OperatorsFactory.UnaryOperator <T>(ExpressionType.OnesComplement)); #else return(OperatorsFactory.UnaryOperator <T>(ExpressionType.Not)); #endif }