17 references to ResolveToTypeDefinition
illink (17)
Linker.Dataflow\AttributeDataFlow.cs (1)
59
TypeDefinition? referencedType = ((TypeReference)argument.Value).
ResolveToTypeDefinition
(_context);
Linker.Dataflow\DynamicallyAccessedMembersBinder.cs (2)
167
TypeDefinition? type = thisType.
ResolveToTypeDefinition
(context);
255
if (typeRef.
ResolveToTypeDefinition
(context) is not TypeDefinition type)
Linker.Dataflow\FlowAnnotations.cs (4)
47
if (type.
ResolveToTypeDefinition
(_context) is not TypeDefinition typeDefinition)
193
TypeDefinition? type = typeReference.
ResolveToTypeDefinition
(_context);
889
else if (genericArgument.
ResolveToTypeDefinition
(_context) is TypeDefinition genericArgumentType)
901
if (underlyingType.
ResolveToTypeDefinition
(_context) is TypeDefinition underlyingTypeDefinition)
Linker.Dataflow\HandleCallAction.cs (2)
134
TypeDefinition? staticTypeDef = staticType?.
ResolveToTypeDefinition
(_context);
271
if (type.Type.
ResolveToTypeDefinition
(_context)?.BaseType is TypeReference baseTypeRef && _context.TryResolve(baseTypeRef) is TypeDefinition baseTypeDefinition)
Linker.Dataflow\MethodBodyScanner.cs (1)
1225
public TypeDefinition? ResolveToTypeDefinition(TypeReference typeReference) => typeReference.
ResolveToTypeDefinition
(_context);
Linker.Dataflow\ReflectionMarker.cs (7)
32
if (type.
ResolveToTypeDefinition
(Context) is not TypeDefinition typeDefinition)
114
if (typeRef.
ResolveToTypeDefinition
(Context) is not TypeDefinition type)
168
if (typeRef.
ResolveToTypeDefinition
(Context) is not TypeDefinition type)
180
if (typeRef.
ResolveToTypeDefinition
(Context) is not TypeDefinition type)
192
if (typeRef.
ResolveToTypeDefinition
(Context) is not TypeDefinition type)
204
if (typeRef.
ResolveToTypeDefinition
(Context) is not TypeDefinition type)
216
if (typeRef.
ResolveToTypeDefinition
(Context) is not TypeDefinition type)