3 overrides of RequiresAttributeName
ILLink.RoslynAnalyzer (3)
RequiresAssemblyFilesAnalyzer.cs (1)
39 private protected override string RequiresAttributeName => RequiresAssemblyFilesAttribute;
RequiresDynamicCodeAnalyzer.cs (1)
30 private protected override string RequiresAttributeName => RequiresDynamicCodeAttribute;
RequiresUnreferencedCodeAnalyzer.cs (1)
51 private protected override string RequiresAttributeName => RequiresUnreferencedCodeAttribute;
11 references to RequiresAttributeName
ILLink.RoslynAnalyzer (11)
RequiresAnalyzerBase.cs (11)
56 if (methodSymbol.HasAttribute (RequiresAttributeName)) { 74 if (syntaxNodeAnalysisContext.ContainingSymbol is not ISymbol containingSymbol || containingSymbol.IsInRequiresScope (RequiresAttributeName, out _)) 106 if (instanceCtor.DoesMemberRequire (RequiresAttributeName, out var requiresAttribute) && 165 if (containingSymbol.IsInRequiresScope (RequiresAttributeName, out _)) 175 if (!member.DoesMemberRequire (RequiresAttributeName, out var requiresAttribute)) 260 string message = MessageFormat.FormatRequiresAttributeMismatch (member.HasAttribute (RequiresAttributeName), isInterface, RequiresAttributeName, member.GetDisplayName (), baseMember.GetDisplayName ()); 269 bool member1CreatesRequirement = member1.DoesMemberRequire (RequiresAttributeName, out _); 270 bool member2CreatesRequirement = member2.DoesMemberRequire (RequiresAttributeName, out _); 271 bool member1FulfillsRequirement = member1.IsInRequiresScope (RequiresAttributeName); 272 bool member2FulfillsRequirement = member2.IsInRequiresScope (RequiresAttributeName);