13 references to IsTypeInterestingForDataflow
ILLink.RoslynAnalyzer (13)
DynamicallyAccessedMembersAnalyzer.cs (6)
167
if (member is IFieldSymbol field && field.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !field.Type.
IsTypeInterestingForDataflow
(isByRef: field.RefKind is not RefKind.None))
171
if (method.GetDynamicallyAccessedMemberTypesOnReturnType() != DynamicallyAccessedMemberTypes.None && !method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))
173
if (method.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !method.ContainingType.
IsTypeInterestingForDataflow
(isByRef: false))
177
if (parameter.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !parameter.Type.
IsTypeInterestingForDataflow
(isByRef: parameter.RefKind is not RefKind.None))
181
else if (member is IPropertySymbol property && property.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !property.Type.
IsTypeInterestingForDataflow
(isByRef: property.ReturnsByRef))
311
|| !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))
125
if (!property.OriginalDefinition.Type.
IsTypeInterestingForDataflow
(isByRef: false))
156
if (!param.Method.Method.ContainingType.
IsTypeInterestingForDataflow
(isByRef: false))
163
if (!parameter.OriginalDefinition.Type.
IsTypeInterestingForDataflow
(isByRef))
189
if (!method.OriginalDefinition.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))
TrimAnalysis\TrimAnalysisVisitor.cs (2)
130
return method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef) ? new MethodReturnValue(method, isNewObj: false) : value;
395
if (method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))