13 references to IsTypeInterestingForDataflow
ILLink.RoslynAnalyzer (13)
DynamicallyAccessedMembersAnalyzer.cs (6)
165
if (member is IFieldSymbol field && field.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !field.Type.
IsTypeInterestingForDataflow
(isByRef: field.RefKind is not RefKind.None))
169
if (method.GetDynamicallyAccessedMemberTypesOnReturnType() != DynamicallyAccessedMemberTypes.None && !method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))
171
if (method.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !method.ContainingType.
IsTypeInterestingForDataflow
(isByRef: false))
175
if (parameter.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !parameter.Type.
IsTypeInterestingForDataflow
(isByRef: parameter.RefKind is not RefKind.None))
179
else if (member is IPropertySymbol property && property.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !property.Type.
IsTypeInterestingForDataflow
(isByRef: property.ReturnsByRef))
309
|| !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)
127
return method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef) ? new MethodReturnValue(method, isNewObj: false) : value;
391
if (method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))