14 references to DynamicallyAccessedMembersAnalyzer
ILLink.CodeFixProvider (1)
DynamicallyAccessedMembersCodeFixProvider.cs (1)
68
private static string FullyQualifiedAttributeName =>
DynamicallyAccessedMembersAnalyzer
.FullyQualifiedDynamicallyAccessedMembersAttribute;
ILLink.RoslynAnalyzer (13)
DynamicallyAccessedMembersAnalyzer.cs (7)
190
|| (overrideMethod.TryGetReturnAttribute (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var _)
191
&& baseMethod.TryGetReturnAttribute (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var _))
212
|| (overrideParam.ParameterSymbol!.TryGetAttribute (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var _)
213
&& baseParam.ParameterSymbol!.TryGetAttribute (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var _))
236
|| (overrideMethod.TypeParameters[i].TryGetAttribute (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var _)
237
&& baseMethod.TypeParameters[i].TryGetAttribute (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var _))
321
DAMArgument.Add (
DynamicallyAccessedMembersAnalyzer
.attributeArgument, mismatchedArgument.ToString ());
ISymbolExtensions.cs (3)
58
if (!TryGetAttribute (symbol,
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var dynamicallyAccessedMembers))
69
attrClass.HasName (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute)) {
83
foreach (var featureGuardAttribute in propertySymbol.GetAttributes (
DynamicallyAccessedMembersAnalyzer
.FullyQualifiedFeatureGuardAttribute)) {
TrimAnalysis\DiagnosticContext.cs (2)
68
&& symbol.TryGetAttribute (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var _))
71
&& method.TryGetReturnAttribute (
DynamicallyAccessedMembersAnalyzer
.DynamicallyAccessedMembersAttribute, out var _))) {
TrimAnalysis\ReflectionAccessAnalyzer.cs (1)
133
location =
DynamicallyAccessedMembersAnalyzer
.GetPrimaryLocation (member.Locations);