18 references to GenerationServices
System.ComponentModel.Composition (18)
Microsoft\Internal\GenerationServices.cs (18)
97
if (valueType ==
GenerationServices
.s_stringType)
102
else if (
GenerationServices
.s_typeType.IsAssignableFrom(valueType))
106
else if (
GenerationServices
.s_iEnumerableType.IsAssignableFrom(valueType))
112
(valueType ==
GenerationServices
.s_charType) ||
113
(valueType ==
GenerationServices
.s_booleanType) ||
114
(valueType ==
GenerationServices
.s_byteType) ||
115
(valueType ==
GenerationServices
.s_sByteType) ||
116
(valueType ==
GenerationServices
.s_int16Type) ||
117
(valueType ==
GenerationServices
.s_uInt16Type) ||
118
(valueType ==
GenerationServices
.s_int32Type)
127
else if (valueType ==
GenerationServices
.s_uInt32Type)
134
else if (valueType ==
GenerationServices
.s_int64Type)
138
else if (valueType ==
GenerationServices
.s_uInt64Type)
145
else if (valueType ==
GenerationServices
.s_singleType)
149
else if (valueType ==
GenerationServices
.s_doubleType)
222
if (ReflectionServices.TryGetGenericInterfaceType(enumerable.GetType(),
GenerationServices
.s_iEnumerableTypeofT, out Type? closedType))
250
if (
GenerationServices
.IsBoxingRequiredForValue(value) && !elementType.IsValueType)
326
ilGenerator.EmitCall(OpCodes.Call,
GenerationServices
.s_typeGetTypeFromHandleMethod, null);