2 references to GetAttribute
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\GeneratedComInterfaceAttributeAnalyzer.cs (2)
40
if (
GetAttribute
(typeSymbol, TypeNames.GeneratedComInterfaceAttribute, out _)
41
&&
GetAttribute
(typeSymbol, TypeNames.InterfaceTypeAttribute, out AttributeData? comInterfaceAttribute)