10 references to GetTypeAnnotation
ILCompiler.Compiler (10)
Compiler\Dataflow\HandleCallAction.cs (1)
480
var annotation = _reflectionMarker.Annotations.
GetTypeAnnotation
(staticType);
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (3)
144
DynamicallyAccessedMemberTypes annotation = flowAnnotations.
GetTypeAnnotation
(type);
173
var baseAnnotation = flowAnnotations.
GetTypeAnnotation
(type.BaseType);
189
if (flowAnnotations.
GetTypeAnnotation
(iface).HasFlag(annotationToApplyToInterfaces))
Compiler\DependencyAnalysis\ObjectGetTypeFlowDependenciesNode.cs (2)
47
if (baseType != null && flowAnnotations.
GetTypeAnnotation
(baseType) != default)
54
if (flowAnnotations.
GetTypeAnnotation
(interfaceType) != default)
Compiler\UsageBasedMetadataManager.cs (4)
411
if (type.IsDefType && !type.IsInterface && FlowAnnotations.
GetTypeAnnotation
(type) != default)
425
bool allocatedWithFlowAnnotations = allocated && type.IsDefType && FlowAnnotations.
GetTypeAnnotation
(type) != default;
447
if (baseType != null && FlowAnnotations.
GetTypeAnnotation
(baseType) != default)
462
if (FlowAnnotations.
GetTypeAnnotation
(interfaceType) != default)