public static IEnumerable <object[]> GetUnaryOperatorPairsData() { foreach (var a in SyntaxFacts.GetunaryOperatorKinds()) { foreach (var b in SyntaxFacts.GetBinaryOperatorKinds()) { yield return(new object[] { a, b }); } } }