public static IEnumerable <object[]> GetBinaryOperatorPairsData() { var untestedKinds = new[] { SyntaxKind.TypeCastExpression, SyntaxKind.FloorDivideExpression, }; return(from leftKind in SyntaxFacts.GetBinaryExpressionKinds() .Except(untestedKinds) from rightKind in SyntaxFacts.GetBinaryExpressionKinds() .Except(untestedKinds) select new object[] { leftKind, rightKind }); }