10 references to GetTypeAnnotation
ILCompiler.Compiler (10)
Compiler\Dataflow\HandleCallAction.cs (1)
480var annotation = _reflectionMarker.Annotations.GetTypeAnnotation(staticType);
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (3)
144DynamicallyAccessedMemberTypes annotation = flowAnnotations.GetTypeAnnotation(type); 173var baseAnnotation = flowAnnotations.GetTypeAnnotation(type.BaseType); 189if (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)
411if (type.IsDefType && !type.IsInterface && FlowAnnotations.GetTypeAnnotation(type) != default) 425bool allocatedWithFlowAnnotations = allocated && type.IsDefType && FlowAnnotations.GetTypeAnnotation(type) != default; 447if (baseType != null && FlowAnnotations.GetTypeAnnotation(baseType) != default) 462if (FlowAnnotations.GetTypeAnnotation(interfaceType) != default)