1 write to _annotations
ILLink.RoslynAnalyzer (1)
TrimAnalysis\HandleCallAction.cs (1)
45
_annotations
= FlowAnnotations.Instance;
30 references to _annotations
ILLink.RoslynAnalyzer (30)
src\runtime\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),
269
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, DynamicallyAccessedMemberTypes.Interfaces);
299
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, returnMemberTypes));
317
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, DynamicallyAccessedMemberTypes.Interfaces);
333
AddReturnValue(new ArrayOfAnnotatedSystemTypeValue(
_annotations
.GetMethodReturnValue(calledMethod, isNewObj: false, returnMemberTypes)));
461
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, memberTypes);
504
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, memberTypes);
586
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, requiredMemberTypes);
628
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, GetDynamicallyAccessedMemberTypesFromBindingFlagsForMethods(bindingFlags));
716
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, GetDynamicallyAccessedMemberTypesFromBindingFlagsForNestedTypes(bindingFlags));
743
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
761
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.All));
763
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
799
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), requiredMemberTypes);
862
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)0), DynamicallyAccessedMemberTypes.PublicParameterlessConstructor);
908
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), DynamicallyAccessedMemberTypes.None).GetDiagnosticArgumentsForAnnotationMismatch().ToArray());
932
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), memberTypes);
978
var targetValue =
_annotations
.GetMethodParameterValue(
1105
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes));
1277
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, propagatedMemberTypes));
1354
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, requiredMemberTypes);
1478
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)0), requiredMemberTypes);
1619
_requireDynamicallyAccessedMembersAction.Invoke(instanceValue,
_annotations
.GetMethodThisParameterValue(calledMethod));
1622
_requireDynamicallyAccessedMembersAction.Invoke(argumentValues[parameter.MetadataIndex],
_annotations
.GetMethodParameterValue(parameter));
1709
var targetValue =
_annotations
.GetGenericParameterValue(genericParameters[i].GenericParameter, GetGenericParameterEffectiveMemberTypes(genericParameters[i]));
1756
builder.Add(
_annotations
.GetGenericParameterValue(genericParameter));