public static IEnumerable <object[]> GetUnaryOperatorsPairsData() { foreach (var unary in SyntaxRules.GetUnaryOperatorKinds()) { foreach (var binary in SyntaxRules.GetBinaryOperatorKinds()) { yield return(new object[] { unary, binary }); } } }
public static IEnumerable <object[]> GetBinaryOperatorsPairsData() { foreach (var op1 in SyntaxRules.GetBinaryOperatorKinds()) { foreach (var op2 in SyntaxRules.GetBinaryOperatorKinds()) { yield return(new object[] { op1, op2 }); } } }