11 references to GetMethodParameterAnnotation
ILLink.RoslynAnalyzer (11)
DynamicallyAccessedMembersAnalyzer.cs (4)
221var baseParameterAnnotation = FlowAnnotations.GetMethodParameterAnnotation(baseParam); 222var overrideParameterAnnotation = FlowAnnotations.GetMethodParameterAnnotation(overrideParam); 273var overrideMethodThisAnnotation = FlowAnnotations.GetMethodParameterAnnotation(new ParameterProxy(new(overrideMethod), (ParameterIndex)0)); 274var 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)
171if (FlowAnnotations.GetMethodParameterAnnotation(parameter) != DynamicallyAccessedMemberTypes.None)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
152return new MethodParameterValue(method, (ParameterIndex)0, FlowAnnotations.GetMethodParameterAnnotation(new ParameterProxy(new(method), (ParameterIndex)0)));