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
;
32
if (symbolAnalysisContext.Symbol is INamedTypeSymbol typeSymbol && !typeSymbol.HasAttribute (
RequiresUnreferencedCodeAttribute
)
34
&& baseType.TryGetAttribute (
RequiresUnreferencedCodeAttribute
, out var requiresUnreferencedCodeAttribute)) {
50
private protected override string RequiresAttributeName =>
RequiresUnreferencedCodeAttribute
;