22 references to GetTupleElementNames
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (22)
CodeGen\CodeGenTuples.vb (22)
6895Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault)
6948Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault)
6968Assert.Equal(New String() {"Alice", "Bob"}, GetTupleElementNames(tupleWithoutNames))
6989Assert.Equal(New String() {Nothing, "Item2", "Charlie"}, GetTupleElementNames(tupleWithSomeNames))
7007Assert.Equal(New String() {"Item2", "Item1"}, GetTupleElementNames(tupleWithoutNames))
7031Assert.True(GetTupleElementNames(tuple8WithoutNames).IsDefault)
7056Assert.Equal(New String() {"Alice1", "Alice2", "Alice3", "Alice4", "Alice5", "Alice6", "Alice7", "Alice8"}, GetTupleElementNames(tuple8WithNames))
7081Assert.True(GetTupleElementNames(tuple9WithoutNames).IsDefault)
7106Assert.Equal(New String() {"Alice1", "Alice2", "Alice3", "Alice4", "Alice5", "Alice6", "Alice7", "Alice8", "Alice9"}, GetTupleElementNames(tuple9WithNames))
7131Assert.Equal(New String() {"Item1", "Item2", "Item3", "Item4", "Item5", "Item6", "Item7", "Item8", "Item9"}, GetTupleElementNames(tuple9WithNames))
7174Assert.Equal({"123", " ", Nothing}, GetTupleElementNames(tuple2))
7178Assert.Equal({"return", "class"}, GetTupleElementNames(tuple3))
7251Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault)
7298Assert.True(GetTupleElementNames(tupleWithoutNames).IsDefault)
7316Assert.Equal(New String() {"Alice", "Bob"}, GetTupleElementNames(tupleWithoutNames))
7332Assert.Equal(New String() {"Item2", "Item1"}, GetTupleElementNames(tupleWithoutNames))
7352Assert.True(GetTupleElementNames(tuple8WithoutNames).IsDefault)
7373Assert.Equal(New String() {"Alice1", "Alice2", "Alice3", "Alice4", "Alice5", "Alice6", "Alice7", "Alice8"}, GetTupleElementNames(tuple8WithNames))
7394Assert.True(GetTupleElementNames(tuple9WithoutNames).IsDefault)
7415Assert.Equal(New String() {"Alice1", "Alice2", "Alice3", "Alice4", "Alice5", "Alice6", "Alice7", "Alice8", "Alice9"}, GetTupleElementNames(tuple9WithNames))
7453Assert.Equal({"123", " "}, GetTupleElementNames(tuple2))
7457Assert.Equal({"return", "class"}, GetTupleElementNames(tuple3))