16 references to ResolveToTypeDefinition
illink (16)
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 (3)
177
TypeDefinition? type = typeReference.
ResolveToTypeDefinition
(_context);
842
else if (genericArgument.
ResolveToTypeDefinition
(_context) is TypeDefinition genericArgumentType)
854
if (underlyingType.
ResolveToTypeDefinition
(_context) is TypeDefinition underlyingTypeDefinition)
Linker.Dataflow\HandleCallAction.cs (2)
134
TypeDefinition? staticTypeDef = staticType?.
ResolveToTypeDefinition
(_context);
250
if (type.Type.
ResolveToTypeDefinition
(_context)?.BaseType is TypeReference baseTypeRef && _context.TryResolve(baseTypeRef) is TypeDefinition baseTypeDefinition)
Linker.Dataflow\MethodBodyScanner.cs (1)
1200
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)