67 references to AddReturnValue
ILCompiler.Compiler (67)
Compiler\Dataflow\HandleCallAction.cs (8)
222AddReturnValue(argumentValues[0]); 228AddReturnValue(ArrayValue.Create(0, calledMethod.Method.Instantiation[0])); 396AddReturnValue(MultiValueLattice.Top); 438AddReturnValue(_reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, _isNewObj, annotation)); 443AddReturnValue(_reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, _isNewObj)); 461AddReturnValue(new SystemTypeValue(staticType)); 465AddReturnValue(_reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.PublicFields)); 483AddReturnValue(_reflectionMarker.Annotations.GetMethodReturnValue(calledMethod, _isNewObj, annotation));
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (59)
134AddReturnValue(value switch 166AddReturnValue(value switch 183AddReturnValue(MultiValueLattice.Top); 200AddReturnValue(new AssemblyValue(assemblyName)); 204AddReturnValue(annotatedMethodReturnValue); 223AddReturnValue(new SystemReflectionMethodBaseValue(methodHandle.RepresentedMethod)); 225AddReturnValue(annotatedMethodReturnValue); 241AddReturnValue(new RuntimeMethodHandleValue(methodBaseValue.RepresentedMethod)); 243AddReturnValue(annotatedMethodReturnValue); 277AddReturnValue(MultiValueLattice.Top); 281AddReturnValue(NullValue.Instance); 299AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, returnMemberTypes)); 333AddReturnValue(new ArrayOfAnnotatedSystemTypeValue(_annotations.GetMethodReturnValue(calledMethod, isNewObj: false, returnMemberTypes))); 358AddReturnValue(valueWithDynamicallyAccessedMembers); 363AddReturnValue(MultiValueLattice.Top); 367AddReturnValue(UnknownValue.Instance); 637AddReturnValue(MultiValueLattice.Top); ; // Initialize return value (so that it's not autofilled if there are no matching methods) 639AddReturnValue(methodValue); 644AddReturnValue(MultiValueLattice.Top); 650AddReturnValue(annotatedMethodReturnValue); 657AddReturnValue(MultiValueLattice.Top); 668AddReturnValue(MultiValueLattice.Top); 674AddReturnValue(annotatedMethodReturnValue); 682AddReturnValue(annotatedMethodReturnValue); 725AddReturnValue(MultiValueLattice.Top); 729AddReturnValue(nestedTypeValue); 734AddReturnValue(MultiValueLattice.Top); 743AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel)); 750AddReturnValue(MultiValueLattice.Top); 761AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.All)); 763AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel)); 818AddReturnValue(MultiValueLattice.Top); // Initialize return value (so that it's not autofilled if there are no matching methods) 820AddReturnValue(methodValue); 832AddReturnValue(MultiValueLattice.Top); 837AddReturnValue(annotatedMethodReturnValue); 844AddReturnValue(MultiValueLattice.Top); 849AddReturnValue(annotatedMethodReturnValue); 1038AddReturnValue(singlevalue switch 1089AddReturnValue(MultiValueLattice.Top); 1093AddReturnValue(new SystemTypeValue(foundType)); 1099AddReturnValue(MultiValueLattice.Top); 1105AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes)); 1110AddReturnValue(MultiValueLattice.Top); 1155AddReturnValue(MultiValueLattice.Top); 1158AddReturnValue(new NullableSystemTypeValue(typeValue.RepresentedType, new SystemTypeValue(systemTypeValue.RepresentedType))); 1162AddReturnValue(new NullableValueWithDynamicallyAccessedMembers(typeValue.RepresentedType, damValue)); 1168AddReturnValue(value); 1177AddReturnValue(value); 1196AddReturnValue(MultiValueLattice.Top); 1207AddReturnValue(value); 1277AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, propagatedMemberTypes)); 1282AddReturnValue(new SystemTypeValue(baseType.Value)); 1284AddReturnValue(annotatedMethodReturnValue); 1289AddReturnValue(MultiValueLattice.Top); 1295AddReturnValue(annotatedMethodReturnValue); 1393AddReturnValue(instanceValue); 1581AddReturnValue(MultiValueLattice.Top); 1585AddReturnValue(new SystemTypeValue(foundType)); 1591AddReturnValue(MultiValueLattice.Top);