7 references to GetMethodReturnValueAnnotation
ILLink.RoslynAnalyzer (7)
DynamicallyAccessedMembersAnalyzer.cs (2)
196var overrideMethodReturnAnnotation = FlowAnnotations.GetMethodReturnValueAnnotation(overrideMethod); 197var baseMethodReturnAnnotation = FlowAnnotations.GetMethodReturnValueAnnotation(baseMethod);
TrimAnalysis\FlowAnnotations.cs (3)
27if (GetMethodReturnValueAnnotation(method) != DynamicallyAccessedMemberTypes.None) 50if (GetMethodReturnValueAnnotation(method) == DynamicallyAccessedMemberTypes.None) 238=> GetMethodReturnValue(method, isNewObj, GetMethodReturnValueAnnotation(method.Method));
TrimAnalysis\MethodReturnValue.cs (1)
17: this(methodSymbol, isNewObj, FlowAnnotations.GetMethodReturnValueAnnotation(methodSymbol))
TrimAnalysis\ReflectionAccessAnalyzer.cs (1)
163if (methodSymbol.IsVirtual && FlowAnnotations.GetMethodReturnValueAnnotation(methodSymbol) != DynamicallyAccessedMemberTypes.None)