16 references to ResolveToTypeDefinition
illink (16)
Linker.Dataflow\AttributeDataFlow.cs (1)
56
TypeDefinition? referencedType = ((TypeReference) argument.Value).
ResolveToTypeDefinition
(_context);
Linker.Dataflow\DynamicallyAccessedMembersBinder.cs (2)
149
TypeDefinition? type = thisType.
ResolveToTypeDefinition
(context);
233
if (typeRef.
ResolveToTypeDefinition
(context) is not TypeDefinition type)
Linker.Dataflow\FlowAnnotations.cs (3)
175
TypeDefinition? type = typeReference.
ResolveToTypeDefinition
(_context);
768
} else if (genericArgument.
ResolveToTypeDefinition
(_context) is TypeDefinition genericArgumentType) {
777
if (underlyingType.
ResolveToTypeDefinition
(_context) is TypeDefinition underlyingTypeDefinition)
Linker.Dataflow\HandleCallAction.cs (2)
126
TypeDefinition? staticTypeDef = staticType?.
ResolveToTypeDefinition
(_context);
228
if (type.Type.
ResolveToTypeDefinition
(_context)?.BaseType is TypeReference baseTypeRef && _context.TryResolve (baseTypeRef) is TypeDefinition baseTypeDefinition) {
Linker.Dataflow\MethodBodyScanner.cs (1)
1117
public TypeDefinition? ResolveToTypeDefinition (TypeReference typeReference) => typeReference.
ResolveToTypeDefinition
(_context);
Linker.Dataflow\ReflectionMarker.cs (7)
32
if (type.
ResolveToTypeDefinition
(_context) is not TypeDefinition typeDefinition)
108
if (typeRef.
ResolveToTypeDefinition
(_context) is not TypeDefinition type)
162
if (typeRef.
ResolveToTypeDefinition
(_context) is not TypeDefinition type)
174
if (typeRef.
ResolveToTypeDefinition
(_context) is not TypeDefinition type)
186
if (typeRef.
ResolveToTypeDefinition
(_context) is not TypeDefinition type)
198
if (typeRef.
ResolveToTypeDefinition
(_context) is not TypeDefinition type)
210
if (typeRef.
ResolveToTypeDefinition
(_context) is not TypeDefinition type)