19 references to GetWellKnownType
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
CodeGen\CodeGenTupleTest.cs (12)
6600var twoStrings = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, stringType); 6602var tuple2Underlying = comp.GetWellKnownType(WellKnownType.System_ValueTuple_TRest).Construct(intType, intType, intType, intType, intType, intType, intType, twoStringsWithNames); 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); 19155var int_object_object = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T3).Construct(intType, objectType, 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); 19194var int_object_object = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T3).Construct(intType, objectType, objectType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\GetSemanticInfoBrokenCodeTests.cs (1)
248Assert.Equal(comp.GetWellKnownType(WellKnownType.System_Type), info.Type);
Compilation\GetSemanticInfoTests.cs (5)
5523var otherFuncType = comp.GetWellKnownType(WellKnownType.System_Func_T).Construct(comp.GetSpecialType(SpecialType.System_Int32)); 5537var otherFuncType = comp.GetWellKnownType(WellKnownType.System_Func_T).Construct(comp.GetSpecialType(SpecialType.System_Int32)); 5623var typeFuncB = comp.GetWellKnownType(WellKnownType.System_Func_T).Construct(typeB); 5670var typeFuncC = comp.GetWellKnownType(WellKnownType.System_Func_T).Construct(typeC); 5728var typeFunc = comp.GetWellKnownType(WellKnownType.System_Func_T2);
Compilation\SemanticModelAPITests.cs (1)
3746var actionType = comp.GetWellKnownType(WellKnownType.System_Action_T).Construct(stringType);