12 references to IsTypeInterestingForDataflow
ILLink.RoslynAnalyzer (12)
DynamicallyAccessedMembersAnalyzer.cs (6)
153
if (member is IFieldSymbol field && field.GetDynamicallyAccessedMemberTypes () != DynamicallyAccessedMemberTypes.None && !field.Type.
IsTypeInterestingForDataflow
(isByRef: field.RefKind is not RefKind.None))
156
if (method.GetDynamicallyAccessedMemberTypesOnReturnType () != DynamicallyAccessedMemberTypes.None && !method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))
158
if (method.GetDynamicallyAccessedMemberTypes () != DynamicallyAccessedMemberTypes.None && !method.ContainingType.
IsTypeInterestingForDataflow
(isByRef: false))
161
if (parameter.GetDynamicallyAccessedMemberTypes () != DynamicallyAccessedMemberTypes.None && !parameter.Type.
IsTypeInterestingForDataflow
(isByRef: parameter.RefKind is not RefKind.None))
164
} else if (member is IPropertySymbol property && property.GetDynamicallyAccessedMemberTypes () != DynamicallyAccessedMemberTypes.None && !property.Type.
IsTypeInterestingForDataflow
(isByRef: property.ReturnsByRef)) {
283
|| !propertySymbol.Type.
IsTypeInterestingForDataflow
(isByRef: propertySymbol.RefKind is not RefKind.None)
TrimAnalysis\FlowAnnotations.cs (4)
112
if (!field.OriginalDefinition.Type.
IsTypeInterestingForDataflow
(isByRef: field.RefKind is not RefKind.None))
140
if (!param.Method.Method.ContainingType.
IsTypeInterestingForDataflow
(isByRef: false))
147
if (!parameter.OriginalDefinition.Type.
IsTypeInterestingForDataflow
(isByRef))
172
if (!method.OriginalDefinition.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef))
TrimAnalysis\TrimAnalysisVisitor.cs (2)
125
return method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef) ? new MethodReturnValue (method, isNewObj: false) : value;
347
if (method.ReturnType.
IsTypeInterestingForDataflow
(isByRef: method.ReturnsByRef)) {