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