12 references to DynamicallyAccessedMembersAttribute
ILLink.RoslynAnalyzer (12)
DynamicallyAccessedMembersAnalyzer.cs (8)
22
internal const string DynamicallyAccessedMembersAttribute = nameof (
DynamicallyAccessedMembersAttribute
);
24
public const string FullyQualifiedDynamicallyAccessedMembersAttribute = "System.Diagnostics.CodeAnalysis." +
DynamicallyAccessedMembersAttribute
;
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 _))
ISymbolExtensions.cs (2)
58
if (!TryGetAttribute (symbol, DynamicallyAccessedMembersAnalyzer.
DynamicallyAccessedMembersAttribute
, out var dynamicallyAccessedMembers))
69
attrClass.HasName (DynamicallyAccessedMembersAnalyzer.
DynamicallyAccessedMembersAttribute
)) {
TrimAnalysis\DiagnosticContext.cs (2)
68
&& symbol.TryGetAttribute (DynamicallyAccessedMembersAnalyzer.
DynamicallyAccessedMembersAttribute
, out var _))
71
&& method.TryGetReturnAttribute (DynamicallyAccessedMembersAnalyzer.
DynamicallyAccessedMembersAttribute
, out var _))) {