26 references to GetTupleElementNames
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (26)
CodeGen\CodeGenTupleTest.cs (26)
5822Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault); 5860Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault); 5880Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault); 5957Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault); 5976Assert.Equal(new[] { "Alice", "Bob" }, GetTupleElementNames(tupleWithNames)); 5995Assert.Equal(new[] { null, "Item2", "Charlie" }, GetTupleElementNames(tupleWithSomeNames)); 6013Assert.Equal(new[] { "Item2", "Item1" }, GetTupleElementNames(tupleWithNames)); 6037Assert.True(GetTupleElementNames(tuple8WithoutNames).IsDefault); 6063Assert.True(GetTupleElementNames(tuple8WithoutNames).IsDefault); 6089Assert.Equal(new[] { "Alice1", "Alice2", "Alice3", "Alice4", "Alice5", "Alice6", "Alice7", "Alice8" }, GetTupleElementNames(tuple8WithNames)); 6114Assert.True(GetTupleElementNames(tuple9WithoutNames).IsDefault); 6139Assert.Equal(new[] { "Alice1", "Alice2", "Alice3", "Alice4", "Alice5", "Alice6", "Alice7", "Alice8", "Alice9" }, GetTupleElementNames(tuple9WithNames)); 6171Assert.Equal(new[] { "Item1", "Item2", "Item3", "Item4", "Item5", "Item6", "Item7", "Item8", "Item9" }, GetTupleElementNames(tuple9WithNames)); 6276Assert.Equal(new[] { "123", " ", null }, GetTupleElementNames(tuple2)); 6280Assert.Equal(new[] { "return", "class" }, GetTupleElementNames(tuple3)); 6371Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault); 6396Assert.True(GetTupleElementNames(tuple).IsDefault); 6419Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault); 6435Assert.Equal(new[] { "Alice", "Bob" }, GetTupleElementNames(tupleWithNames)); 6450Assert.Equal(new[] { "Item2", "Item1" }, GetTupleElementNames(tupleWithNames)); 6469Assert.True(GetTupleElementNames(tuple8WithoutNames).IsDefault); 6489Assert.Equal(new[] { "Alice1", "Alice2", "Alice3", "Alice4", "Alice5", "Alice6", "Alice7", "Alice8" }, GetTupleElementNames(tuple8WithNames)); 6510Assert.True(GetTupleElementNames(tuple9WithoutNames).IsDefault); 6531Assert.Equal(new[] { "Alice1", "Alice2", "Alice3", "Alice4", "Alice5", "Alice6", "Alice7", "Alice8", "Alice9" }, GetTupleElementNames(tuple9WithNames)); 6564Assert.Equal(new[] { "123", " " }, GetTupleElementNames(tuple2)); 6568Assert.Equal(new[] { "return", "class" }, GetTupleElementNames(tuple3));