21 references to GetDynamicallyAccessedMemberTypes
ILLink.RoslynAnalyzer (21)
DynamicallyAccessedMembersAnalyzer.cs (8)
153
if (member is IFieldSymbol field && field.
GetDynamicallyAccessedMemberTypes
() != DynamicallyAccessedMemberTypes.None && !field.Type.IsTypeInterestingForDataflow (isByRef: field.RefKind is not RefKind.None))
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)) {
225
var methodTypeParameterAnnotation = overrideMethod.TypeParameters[i].
GetDynamicallyAccessedMemberTypes
();
226
var overriddenMethodTypeParameterAnnotation = baseMethod.TypeParameters[i].
GetDynamicallyAccessedMemberTypes
();
284
|| propertySymbol.
GetDynamicallyAccessedMemberTypes
() == DynamicallyAccessedMemberTypes.None)
292
&& methodSymbol.Parameters[methodSymbol.Parameters.Length - 1].
GetDynamicallyAccessedMemberTypes
() != DynamicallyAccessedMemberTypes.None) {
ISymbolExtensions.cs (1)
104
methodSymbol.AssociatedSymbol is ISymbol associatedSymbol ?
GetDynamicallyAccessedMemberTypes
(associatedSymbol) : DynamicallyAccessedMemberTypes.None;
TrimAnalysis\FlowAnnotations.cs (11)
115
return field.
GetDynamicallyAccessedMemberTypes
();
120
DynamicallyAccessedMemberTypes typeAnnotation = type.
GetDynamicallyAccessedMemberTypes
();
125
typeAnnotation |= baseType.
GetDynamicallyAccessedMemberTypes
();
131
typeAnnotation |= interfaceType.
GetDynamicallyAccessedMemberTypes
();
142
return param.Method.Method.
GetDynamicallyAccessedMemberTypes
();
150
var damt = parameter.
GetDynamicallyAccessedMemberTypes
();
164
damt = property!.
GetDynamicallyAccessedMemberTypes
();
183
returnDamt = property!.
GetDynamicallyAccessedMemberTypes
();
191
var typeAnnotation = type.
GetDynamicallyAccessedMemberTypes
();
195
typeAnnotation |= baseType.
GetDynamicallyAccessedMemberTypes
();
200
typeAnnotation |= interfaceType.
GetDynamicallyAccessedMemberTypes
();
TrimAnalysis\GenericParameterValue.cs (1)
25
: this (typeParameterSymbol, typeParameterSymbol.
GetDynamicallyAccessedMemberTypes
())