13 references to validate
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (13)
CodeGen\CodeGenTupleEqualityTests.cs (13)
4745validate("(new A(1), new A(2)) == (new X(1), new Y(2))",
4754validate("(new A(1), 2) != (new X(1), 2)",
4897validate("t1 == t2");
4900validate("t1 == (x: 1, y: 2)");
4901validate("t1 == (1, 2)");
4902validate("(1, 2) == t1");
4903validate("(x: 1, d) == t1");
4905validate("t2 == (x: 1, y: 2)",
4918validate("((a, b), c: 3) == ((1, x: 2), 3)",
4927validate("(a, b) == (a: 1, b: 2)");
4928validate("(a, b) == (c: 1, d)",
4934validate("(a: 1, b: 2) == (c: 1, d)",
4943validate("(null, b) == (c: null, d: 2)",