1 write to _annotations
ILLink.RoslynAnalyzer (1)
TrimAnalysis\HandleCallAction.cs (1)
41
_annotations
= FlowAnnotations.Instance;
30 references to _annotations
ILLink.RoslynAnalyzer (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);
605
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, GetDynamicallyAccessedMemberTypesFromBindingFlagsForMethods(bindingFlags));
693
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, GetDynamicallyAccessedMemberTypesFromBindingFlagsForNestedTypes(bindingFlags));
720
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
738
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.All));
740
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
776
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), requiredMemberTypes);
839
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)0), DynamicallyAccessedMemberTypes.PublicParameterlessConstructor);
885
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), DynamicallyAccessedMemberTypes.None).GetDiagnosticArgumentsForAnnotationMismatch().ToArray());
909
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), memberTypes);
955
var targetValue =
_annotations
.GetMethodParameterValue(
1081
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes));
1253
AddReturnValue(
_annotations
.GetMethodReturnValue(calledMethod, _isNewObj, propagatedMemberTypes));
1330
var targetValue =
_annotations
.GetMethodThisParameterValue(calledMethod, requiredMemberTypes);
1454
var targetValue =
_annotations
.GetMethodParameterValue(new(calledMethod, (ParameterIndex)0), requiredMemberTypes);
1532
_requireDynamicallyAccessedMembersAction.Invoke(instanceValue,
_annotations
.GetMethodThisParameterValue(calledMethod));
1535
_requireDynamicallyAccessedMembersAction.Invoke(argumentValues[parameter.MetadataIndex],
_annotations
.GetMethodParameterValue(parameter));
1622
var targetValue =
_annotations
.GetGenericParameterValue(genericParameters[i].GenericParameter, GetGenericParameterEffectiveMemberTypes(genericParameters[i]));
1669
builder.Add(
_annotations
.GetGenericParameterValue(genericParameter));