11 references to GetMethodReturnValue
ILLink.RoslynAnalyzer (11)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (7)
299AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, returnMemberTypes)); 333AddReturnValue(new ArrayOfAnnotatedSystemTypeValue(_annotations.GetMethodReturnValue(calledMethod, isNewObj: false, returnMemberTypes))); 743AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel)); 761AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.All)); 763AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel)); 1105AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes)); 1277AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, propagatedMemberTypes));
TrimAnalysis\FlowAnnotations.cs (1)
249=> GetMethodReturnValue(method, isNewObj, GetMethodReturnValueAnnotation(method.Method));
TrimAnalysis\HandleCallAction.cs (3)
158AddReturnValue(FlowAnnotations.Instance.GetMethodReturnValue(calledMethod, _isNewObj, annotation)); 187AddReturnValue(FlowAnnotations.Instance.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.PublicFields)); 192AddReturnValue(FlowAnnotations.Instance.GetMethodReturnValue(calledMethod, _isNewObj, annotation));