13 references to IsTypeInterestingForDataflow
ILLink.RoslynAnalyzer (13)
DynamicallyAccessedMembersAnalyzer.cs (6)
179
if (member is IFieldSymbol field && field.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !field.Type.
IsTypeInterestingForDataflow
(isByRef: field.RefKind is not RefKind.None))
183
if (method.GetDynamicallyAccessedMemberTypesOnReturnType() != DynamicallyAccessedMemberTypes.None && !method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))
185
if (method.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !method.ContainingType.
IsTypeInterestingForDataflow
(isByRef: false))
189
if (parameter.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !parameter.Type.
IsTypeInterestingForDataflow
(isByRef: parameter.RefKind is not RefKind.None))
193
else if (member is IPropertySymbol property && property.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !property.Type.
IsTypeInterestingForDataflow
(isByRef: property.ReturnsByRef))
323
|| !propertySymbol.Type.
IsTypeInterestingForDataflow
(isByRef: propertySymbol.RefKind is not RefKind.None)
TrimAnalysis\FlowAnnotations.cs (5)
117
if (!field.OriginalDefinition.Type.
IsTypeInterestingForDataflow
(isByRef: field.RefKind is not RefKind.None))
132
if (!property.OriginalDefinition.Type.
IsTypeInterestingForDataflow
(isByRef: false))
163
if (!param.Method.Method.ContainingType.
IsTypeInterestingForDataflow
(isByRef: false))
170
if (!parameter.OriginalDefinition.Type.
IsTypeInterestingForDataflow
(isByRef))
197
if (!method.OriginalDefinition.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))
TrimAnalysis\TrimAnalysisVisitor.cs (2)
132
return method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef) ? new MethodReturnValue(method, isNewObj: false) : value;
401
if (method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))