11 references to GetMethodParameterAnnotation
ILLink.RoslynAnalyzer (11)
DynamicallyAccessedMembersAnalyzer.cs (4)
233var baseParameterAnnotation = FlowAnnotations.GetMethodParameterAnnotation(baseParam); 234var overrideParameterAnnotation = FlowAnnotations.GetMethodParameterAnnotation(overrideParam); 285var overrideMethodThisAnnotation = FlowAnnotations.GetMethodParameterAnnotation(new ParameterProxy(new(overrideMethod), (ParameterIndex)0)); 286var baseMethodThisAnnotation = FlowAnnotations.GetMethodParameterAnnotation(new ParameterProxy(new(baseMethod), (ParameterIndex)0));
TrimAnalysis\FlowAnnotations.cs (4)
32if (GetMethodParameterAnnotation(param) != DynamicallyAccessedMemberTypes.None) 103if (GetMethodParameterAnnotation(param) != DynamicallyAccessedMemberTypes.None) 258var damt = GetMethodParameterAnnotation(param); 266=> new MethodParameterValue(param, GetMethodParameterAnnotation(param));
TrimAnalysis\MethodParameterValue.cs (1)
18: this(parameter, FlowAnnotations.GetMethodParameterAnnotation(parameter)) { }
TrimAnalysis\ReflectionAccessAnalyzer.cs (1)
178if (FlowAnnotations.GetMethodParameterAnnotation(parameter) != DynamicallyAccessedMemberTypes.None)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
165return new MethodParameterValue(method, (ParameterIndex)0, FlowAnnotations.GetMethodParameterAnnotation(new ParameterProxy(new(method), (ParameterIndex)0)));