3 references to HasAttribute
ILLink.RoslynAnalyzer (3)
COMAnalyzer.cs (1)
44if (!targetMethod.HasAttribute(DllImportAttribute))
RequiresAnalyzerBase.cs (2)
59if (methodSymbol.HasAttribute(RequiresAttributeName)) 278string message = MessageFormat.FormatRequiresAttributeMismatch(member.HasAttribute(RequiresAttributeName), isInterface, RequiresAttributeName, member.GetDisplayName(), baseMember.GetDisplayName());