5 references to RequiresUnreferencedCodeAttribute
ILLink.RoslynAnalyzer (5)
RequiresUnreferencedCodeAnalyzer.cs (5)
18
public const string RequiresUnreferencedCodeAttribute = nameof (
RequiresUnreferencedCodeAttribute
);
19
public const string FullyQualifiedRequiresUnreferencedCodeAttribute = "System.Diagnostics.CodeAnalysis." +
RequiresUnreferencedCodeAttribute
;
33
if (symbolAnalysisContext.Symbol is INamedTypeSymbol typeSymbol && !typeSymbol.HasAttribute (
RequiresUnreferencedCodeAttribute
)
35
&& baseType.TryGetAttribute (
RequiresUnreferencedCodeAttribute
, out var requiresUnreferencedCodeAttribute)) {
51
private protected override string RequiresAttributeName =>
RequiresUnreferencedCodeAttribute
;