1 write to _annotations
illink (1)
Linker.Dataflow\HandleCallAction.cs (1)
43
_annotations
= context.Annotations.FlowAnnotations;
30 references to _annotations
illink (30)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (30)
41
var annotatedMethodReturnValue =
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj);
93
bool requiresDataFlowAnalysis =
_annotations
.MethodRequiresDataFlowAnalysis(calledMethod);
94
var annotatedMethodReturnValue =
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj);
141
=> new NullableValueWithDynamicallyAccessedMembers(nullableDamType.NullableType,
_annotations
.GetGenericParameterValue(underlyingGenericParameter.GenericParameter)),
148
=>
_annotations
.GetGenericParameterValue(genericParam.GenericParameter),
247
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, DynamicallyAccessedMemberTypes.Interfaces);
277
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, returnMemberTypes));
295
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, DynamicallyAccessedMemberTypes.Interfaces);
311
AddReturnValue(new ArrayOfAnnotatedSystemTypeValue(
_annotations
.GetMethodReturnValue(calledMethod, isNewObj: false, returnMemberTypes)));
439
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, memberTypes);
482
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, memberTypes);
564
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, requiredMemberTypes);
606
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, GetDynamicallyAccessedMemberTypesFromBindingFlagsForMethods(bindingFlags));
694
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, GetDynamicallyAccessedMemberTypesFromBindingFlagsForNestedTypes(bindingFlags));
721
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
739
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.All));
741
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
777
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), requiredMemberTypes);
840
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)0), DynamicallyAccessedMemberTypes.PublicParameterlessConstructor);
886
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), DynamicallyAccessedMemberTypes.None).GetDiagnosticArgumentsForAnnotationMismatch().ToArray());
910
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), memberTypes);
956
var targetValue =
_annotations
.GetMethodParameterValue(
1082
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes));
1254
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, propagatedMemberTypes));
1331
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, requiredMemberTypes);
1455
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)0), requiredMemberTypes);
1533
_requireDynamicallyAccessedMembersAction.Invoke(instanceValue,
_annotations
.GetMethodThisParameterValue(calledMethod));
1536
_requireDynamicallyAccessedMembersAction.Invoke(argumentValues[parameter.MetadataIndex],
_annotations
.GetMethodParameterValue(parameter));
1623
var targetValue =
_annotations
.GetGenericParameterValue(genericParameters[i].GenericParameter, GetGenericParameterEffectiveMemberTypes(genericParameters[i]));
1670
builder.Add(
_annotations
.GetGenericParameterValue(genericParameter));