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)
327
WellKnownType.
System_ValueTuple_T2
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (28)
CodeGen\CodeGenTupleTest.cs (28)
5789
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType);
5867
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType);
5902
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType);
5934
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
);
5944
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType);
5966
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType);
6002
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType);
6101
comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(stringType, intType));
6126
comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(stringType, intType));
6150
var originalVT2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
);
6183
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
);
6266
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType);
6288
var vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType);
6600
var twoStrings = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(stringType, stringType);
11164
var tupleType = comp.Compilation.CommonGetWellKnownType(WellKnownType.
System_ValueTuple_T2
);
18870
var int_string1 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType);
18894
var int_int1 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType);
18934
var int_string2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType);
18935
var int_object2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, objectType);
19153
var int_string1 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType);
19154
var int_object = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, objectType);
19192
var int_string1 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType);
19193
var int_object = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, objectType);
23961
Assert.Equal(TypeKind.Class, compilation.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).TypeKind);
25367
var found = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
);
25372
var tuple2 = comp2.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
);
25378
var tuple3 = comp3.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
);
25384
var tuple4 = comp4.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ValueTupleTests.cs (1)
171
Assert.True(comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).IsErrorType());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MissingSpecialMember.cs (1)
654
case WellKnownType.
System_ValueTuple_T2
:
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Tuples\TupleTypeSymbol.vb (1)
58
Private 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)
6868
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType)
6890
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType)
6919
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType)
6942
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType)
6962
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType)
7002
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType)
7074
comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(stringType, intType))
7099
comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(stringType, intType))
7124
comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(stringType, intType))
7151
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, ErrorTypeSymbol.UnknownResultType)
7170
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType)
7192
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, intType)
7506
Dim twoStrings = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(stringType, stringType)
20072
Assert.Equal(TypeKind.Class, comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).TypeKind)
21681
Dim found = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
)
21686
Dim tuple2 = comp2.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
)
21692
Dim tuple3 = comp3.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (7)
Compilation\CompilationAPITests.vb (7)
1480
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType)
1496
Dim vt2 = comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).Construct(intType, stringType)
2813
Assert.True(comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).IsErrorType)
2820
Assert.True(comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).IsErrorType)
2828
Assert.True(comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).IsErrorType)
2850
Assert.Equal("libWithIsExternalInit", comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).ContainingAssembly.Name)
2856
Assert.Equal(expectedAssemblyName, comp.GetWellKnownType(WellKnownType.
System_ValueTuple_T2
).ContainingAssembly.Name)