1 write to Annotations
ILCompiler.Compiler (1)
Compiler\Dataflow\ReflectionMarker.cs (1)
65
Annotations
= annotations;
14 references to Annotations
ILCompiler.Compiler (14)
Compiler\Dataflow\GenericArgumentDataFlow.cs (3)
132
if (reflectionMarker.
Annotations
.GetGenericParameterAnnotation(genericParameter) != default)
134
var genericParameterValue = reflectionMarker.
Annotations
.GetGenericParameterValue(genericParameter);
136
MultiValue genericArgumentValue = reflectionMarker.
Annotations
.GetTypeValueFromGenericArgument(genericArgument);
Compiler\Dataflow\HandleCallAction.cs (5)
445
AddReturnValue(_reflectionMarker.
Annotations
.GetMethodReturnValue(calledMethod, _isNewObj, annotation));
450
AddReturnValue(_reflectionMarker.
Annotations
.GetMethodReturnValue(calledMethod, _isNewObj));
472
AddReturnValue(_reflectionMarker.
Annotations
.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.PublicFields));
480
var annotation = _reflectionMarker.
Annotations
.GetTypeAnnotation(staticType);
490
AddReturnValue(_reflectionMarker.
Annotations
.GetMethodReturnValue(calledMethod, _isNewObj, annotation));
Compiler\Dataflow\ReflectionMarker.cs (2)
350
bool isReflectionAccessCoveredByDAM =
Annotations
.ShouldWarnWhenAccessedForReflection(entity);
418
bool isReflectionAccessCoveredByDAM =
Annotations
.ShouldWarnWhenAccessedForReflection(entity);
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (3)
344
var annotatedMethodReturnValue = reflectionMarker.
Annotations
.GetMethodReturnValue(calledMethod, isNewObj);
346
RequiresReflectionMethodBodyScannerForCallSite(reflectionMarker.
Annotations
, calledMethod) ||
349
var handleCallAction = new HandleCallAction(reflectionMarker.
Annotations
, operation, reflectionMarker, diagnosticContext, callingMethodDefinition, calledMethod);
Compiler\Dataflow\RequireDynamicallyAccessedMembersAction.cs (1)
32
if (GenericArgumentDataFlow.RequiresGenericArgumentDataFlow(_reflectionMarker.
Annotations
, foundType))