13 references to validate
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (13)
CodeGen\CodeGenTupleEqualityTests.cs (13)
4724validate("(new A(1), new A(2)) == (new X(1), new Y(2))",
4733validate("(new A(1), 2) != (new X(1), 2)",
4876validate("t1 == t2");
4879validate("t1 == (x: 1, y: 2)");
4880validate("t1 == (1, 2)");
4881validate("(1, 2) == t1");
4882validate("(x: 1, d) == t1");
4884validate("t2 == (x: 1, y: 2)",
4897validate("((a, b), c: 3) == ((1, x: 2), 3)",
4906validate("(a, b) == (a: 1, b: 2)");
4907validate("(a, b) == (c: 1, d)",
4913validate("(a: 1, b: 2) == (c: 1, d)",
4922validate("(null, b) == (c: null, d: 2)",