7 references to GetMethodReturnValueAnnotation
ILLink.RoslynAnalyzer (7)
DynamicallyAccessedMembersAnalyzer.cs (2)
196
var overrideMethodReturnAnnotation = FlowAnnotations.
GetMethodReturnValueAnnotation
(overrideMethod);
197
var baseMethodReturnAnnotation = FlowAnnotations.
GetMethodReturnValueAnnotation
(baseMethod);
TrimAnalysis\FlowAnnotations.cs (3)
27
if (
GetMethodReturnValueAnnotation
(method) != DynamicallyAccessedMemberTypes.None)
50
if (
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)
163
if (methodSymbol.IsVirtual && FlowAnnotations.
GetMethodReturnValueAnnotation
(methodSymbol) != DynamicallyAccessedMemberTypes.None)