59 references to System_ValueTuple_T2
Microsoft.CodeAnalysis (3)
WellKnownMembers.cs (3)
2614(byte)WellKnownType.System_ValueTuple_T2, // DeclaringTypeId 2620(byte)WellKnownType.System_ValueTuple_T2, // DeclaringTypeId 2832(byte)WellKnownType.System_ValueTuple_T2, // DeclaringTypeId
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Tuples\TupleTypeSymbol.cs (1)
327WellKnownType.System_ValueTuple_T2,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (28)
CodeGen\CodeGenTupleTest.cs (28)
5789var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType); 5867var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 5902var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 5934var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2); 5944var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 5966var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 6002var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType); 6101comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, intType)); 6126comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, intType)); 6150var originalVT2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2); 6183var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2); 6266var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType); 6288var vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType); 6600var twoStrings = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, stringType); 11164var tupleType = comp.Compilation.CommonGetWellKnownType(WellKnownType.System_ValueTuple_T2); 18870var int_string1 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 18894var int_int1 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType); 18934var int_string2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 18935var int_object2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, objectType); 19153var int_string1 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 19154var int_object = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, objectType); 19192var int_string1 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 19193var int_object = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, objectType); 23961Assert.Equal(TypeKind.Class, compilation.GetWellKnownType(WellKnownType.System_ValueTuple_T2).TypeKind); 25367var found = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2); 25372var tuple2 = comp2.GetWellKnownType(WellKnownType.System_ValueTuple_T2); 25378var tuple3 = comp3.GetWellKnownType(WellKnownType.System_ValueTuple_T2); 25384var tuple4 = comp4.GetWellKnownType(WellKnownType.System_ValueTuple_T2);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ValueTupleTests.cs (1)
171Assert.True(comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).IsErrorType());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MissingSpecialMember.cs (1)
654case WellKnownType.System_ValueTuple_T2:
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Tuples\TupleTypeSymbol.vb (1)
58Private Shared ReadOnly tupleTypes As WellKnownType() = New WellKnownType() {WellKnownType.System_ValueTuple_T1, WellKnownType.System_ValueTuple_T2, WellKnownType.System_ValueTuple_T3, WellKnownType.System_ValueTuple_T4, WellKnownType.System_ValueTuple_T5, WellKnownType.System_ValueTuple_T6, WellKnownType.System_ValueTuple_T7, WellKnownType.System_ValueTuple_TRest}
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (17)
CodeGen\CodeGenTuples.vb (17)
6868Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType) 6890Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType) 6919Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType) 6942Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType) 6962Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType) 7002Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType) 7074comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, intType)) 7099comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, intType)) 7124comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, intType)) 7151Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, ErrorTypeSymbol.UnknownResultType) 7170Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType) 7192Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType) 7506Dim twoStrings = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, stringType) 20072Assert.Equal(TypeKind.Class, comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).TypeKind) 21681Dim found = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2) 21686Dim tuple2 = comp2.GetWellKnownType(WellKnownType.System_ValueTuple_T2) 21692Dim tuple3 = comp3.GetWellKnownType(WellKnownType.System_ValueTuple_T2)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (7)
Compilation\CompilationAPITests.vb (7)
1480Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType) 1496Dim vt2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType) 2813Assert.True(comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).IsErrorType) 2820Assert.True(comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).IsErrorType) 2828Assert.True(comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).IsErrorType) 2850Assert.Equal("libWithIsExternalInit", comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).ContainingAssembly.Name) 2856Assert.Equal(expectedAssemblyName, comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).ContainingAssembly.Name)