19 references to GetWellKnownType
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
CodeGen\CodeGenTupleTest.cs (12)
6605var twoStrings = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(stringType, stringType); 6607var tuple2Underlying = comp.GetWellKnownType(WellKnownType.System_ValueTuple_TRest).Construct(intType, intType, intType, intType, intType, intType, intType, twoStringsWithNames); 18864var int_string1 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 18888var int_int1 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, intType); 18928var int_string2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 18929var int_object2 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, objectType); 19147var int_string1 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 19148var int_object = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, objectType); 19149var int_object_object = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T3).Construct(intType, objectType, objectType); 19186var int_string1 = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, stringType); 19187var int_object = comp.GetWellKnownType(WellKnownType.System_ValueTuple_T2).Construct(intType, objectType); 19188var 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)
3777var actionType = comp.GetWellKnownType(WellKnownType.System_Action_T).Construct(stringType);