10 references to GetTypeAnnotation
ILCompiler.Compiler (10)
Compiler\Dataflow\HandleCallAction.cs (1)
473var annotation = _reflectionMarker.Annotations.GetTypeAnnotation(staticType);
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (3)
143DynamicallyAccessedMemberTypes annotation = flowAnnotations.GetTypeAnnotation(type); 172var baseAnnotation = flowAnnotations.GetTypeAnnotation(type.BaseType); 188if (flowAnnotations.GetTypeAnnotation(iface).HasFlag(annotationToApplyToInterfaces))
Compiler\DependencyAnalysis\ObjectGetTypeFlowDependenciesNode.cs (2)
47if (baseType != null && flowAnnotations.GetTypeAnnotation(baseType) != default) 54if (flowAnnotations.GetTypeAnnotation(interfaceType) != default)
Compiler\UsageBasedMetadataManager.cs (4)
415if (type.IsDefType && !type.IsInterface && FlowAnnotations.GetTypeAnnotation(type) != default) 429bool allocatedWithFlowAnnotations = allocated && type.IsDefType && FlowAnnotations.GetTypeAnnotation(type) != default; 452if (baseType != null && FlowAnnotations.GetTypeAnnotation(baseType) != default) 468if (FlowAnnotations.GetTypeAnnotation(interfaceType) != default)