12 references to IsTypeOf
illink (12)
Linker.Dataflow\FlowAnnotations.cs (3)
757
"EmptyTypes" when field.DeclaringType.
IsTypeOf
(WellKnownType.System_Type) => ArrayValue.Create (0, field.DeclaringType),
758
"Empty" when field.DeclaringType.
IsTypeOf
(WellKnownType.System_String) => new KnownStringValue (string.Empty),
769
if (genericArgumentType.
IsTypeOf
(WellKnownType.System_Nullable_T)) {
Linker.Dataflow\HandleCallAction.cs (2)
205
if (type.
IsTypeOf
(WellKnownType.System_Type))
249
|| foundType.
IsTypeOf
(WellKnownType.System_Array)) {
Linker.Dataflow\MethodBodyScanner.cs (1)
791
if (typeReference is IGenericInstance instance && resolvedDefinition.
IsTypeOf
(WellKnownType.System_Nullable_T)) {
Linker.Dataflow\ParameterProxy.cs (1)
56
public bool IsTypeOf (WellKnownType type) => ParameterType.
IsTypeOf
(type);
Linker.Dataflow\ReflectionMethodBodyScanner.cs (2)
215
if (parameterTypeDef.
IsTypeOf
(WellKnownType.System_Array)) {
218
} else if (parameterTypeDef.
IsTypeOf
(WellKnownType.System_String) ||
Linker.Dataflow\TypeProxy.cs (1)
42
public bool IsTypeOf (WellKnownType wellKnownType) => Type.
IsTypeOf
(wellKnownType);
Linker.Steps\LinkAttributesParser.cs (1)
295
if (!typeref.
IsTypeOf
(WellKnownType.System_Type))
Linker\TypeHierarchyCache.cs (1)
40
if (baseType.
IsTypeOf
(WellKnownType.System_Type)) {