1 write to Annotations
ILCompiler.Compiler (1)
Compiler\Dataflow\ReflectionMarker.cs (1)
46Annotations = annotations;
14 references to Annotations
ILCompiler.Compiler (14)
Compiler\Dataflow\GenericArgumentDataFlow.cs (3)
98if (reflectionMarker.Annotations.GetGenericParameterAnnotation(genericParameter) != default) 100var genericParameterValue = reflectionMarker.Annotations.GetGenericParameterValue(genericParameter); 102MultiValue genericArgumentValue = reflectionMarker.Annotations.GetTypeValueFromGenericArgument(genericArgument);
Compiler\Dataflow\HandleCallAction.cs (5)
438AddReturnValue(_reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, _isNewObj, annotation)); 443AddReturnValue(_reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, _isNewObj)); 465AddReturnValue(_reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.PublicFields)); 473var annotation = _reflectionMarker.Annotations.GetTypeAnnotation(staticType); 483AddReturnValue(_reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, _isNewObj, annotation));
Compiler\Dataflow\ReflectionMarker.cs (2)
317bool isReflectionAccessCoveredByDAM = Annotations.ShouldWarnWhenAccessedForReflection(entity); 385bool isReflectionAccessCoveredByDAM = Annotations.ShouldWarnWhenAccessedForReflection(entity);
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (3)
344var annotatedMethodReturnValue = reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, isNewObj); 346RequiresReflectionMethodBodyScannerForCallSite(reflectionMarker.Annotations, calledMethod) || 349var handleCallAction = new HandleCallAction(reflectionMarker.Annotations, operation, reflectionMarker, diagnosticContext, callingMethodDefinition, calledMethod);
Compiler\Dataflow\RequireDynamicallyAccessedMembersAction.cs (1)
32if (GenericArgumentDataFlow.RequiresGenericArgumentDataFlow(_reflectionMarker.Annotations, foundType))