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);
84
bool requiresDataFlowAnalysis =
_annotations
.MethodRequiresDataFlowAnalysis (calledMethod);
85
var annotatedMethodReturnValue =
_annotations
.GetMethodReturnValue (calledMethod, _isNewObj);
128
=> new NullableValueWithDynamicallyAccessedMembers (nullableDamType.NullableType,
_annotations
.GetGenericParameterValue (underlyingGenericParameter.GenericParameter)),
135
=>
_annotations
.GetGenericParameterValue (genericParam.GenericParameter),
223
var targetValue =
_annotations
.GetMethodThisParameterValue (calledMethod, DynamicallyAccessedMemberTypes.Interfaces);
246
AddReturnValue (
_annotations
.GetMethodReturnValue (calledMethod, _isNewObj, returnMemberTypes));
262
var targetValue =
_annotations
.GetMethodThisParameterValue (calledMethod, DynamicallyAccessedMemberTypes.Interfaces);
277
AddReturnValue (new ArrayOfAnnotatedSystemTypeValue(
_annotations
.GetMethodReturnValue (calledMethod, isNewObj: false, returnMemberTypes)));
382
var targetValue =
_annotations
.GetMethodThisParameterValue (calledMethod, memberTypes);
422
var targetValue =
_annotations
.GetMethodThisParameterValue (calledMethod, memberTypes);
486
var targetValue =
_annotations
.GetMethodThisParameterValue (calledMethod, requiredMemberTypes);
524
var targetValue =
_annotations
.GetMethodThisParameterValue (calledMethod, GetDynamicallyAccessedMemberTypesFromBindingFlagsForMethods (bindingFlags));
579
var targetValue =
_annotations
.GetMethodThisParameterValue (calledMethod, GetDynamicallyAccessedMemberTypesFromBindingFlagsForNestedTypes (bindingFlags));
597
AddReturnValue (
_annotations
.GetMethodReturnValue (calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
611
AddReturnValue (
_annotations
.GetMethodReturnValue (calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.All));
613
AddReturnValue (
_annotations
.GetMethodReturnValue (calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
646
var targetValue =
_annotations
.GetMethodParameterValue (new (calledMethod, (ParameterIndex) 1), requiredMemberTypes);
695
var targetValue =
_annotations
.GetMethodParameterValue (new (calledMethod, (ParameterIndex) 0), DynamicallyAccessedMemberTypes.PublicParameterlessConstructor);
731
_annotations
.GetMethodParameterValue (new (calledMethod, (ParameterIndex) 1), DynamicallyAccessedMemberTypes.None).GetDiagnosticArgumentsForAnnotationMismatch ().ToArray ());
753
var targetValue =
_annotations
.GetMethodParameterValue (new (calledMethod, (ParameterIndex) 1), memberTypes);
785
var targetValue =
_annotations
.GetMethodParameterValue (
885
AddReturnValue (
_annotations
.GetMethodReturnValue (calledMethod, _isNewObj, valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes));
1033
AddReturnValue (
_annotations
.GetMethodReturnValue (calledMethod, _isNewObj, propagatedMemberTypes));
1094
var targetValue =
_annotations
.GetMethodThisParameterValue (calledMethod, requiredMemberTypes);
1194
var targetValue =
_annotations
.GetMethodParameterValue (new (calledMethod, (ParameterIndex) 0), requiredMemberTypes);
1269
_requireDynamicallyAccessedMembersAction.Invoke (instanceValue,
_annotations
.GetMethodThisParameterValue (calledMethod));
1272
_requireDynamicallyAccessedMembersAction.Invoke (argumentValues[parameter.MetadataIndex],
_annotations
.GetMethodParameterValue (parameter));
1348
var targetValue =
_annotations
.GetGenericParameterValue (genericParameters[i].GenericParameter, GetGenericParameterEffectiveMemberTypes (genericParameters[i]));
1392
builder.Add (
_annotations
.GetGenericParameterValue (genericParameter));