12 references to GeneratedComInterfaceAttribute
Microsoft.Interop.ComInterfaceGenerator (11)
Analyzers\AddGeneratedComClassAnalyzer.cs (1)
26
var generatedComInterfaceAttributeType = context.Compilation.GetBestTypeByMetadataName(TypeNames.
GeneratedComInterfaceAttribute
);
Analyzers\ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer.cs (1)
33
INamedTypeSymbol? generatedComInterfaceAttribute = context.Compilation.GetBestTypeByMetadataName(TypeNames.
GeneratedComInterfaceAttribute
);
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (1)
37
INamedTypeSymbol? generatedComInterfaceAttribute = context.Compilation.GetBestTypeByMetadataName(TypeNames.
GeneratedComInterfaceAttribute
);
Analyzers\ConvertComImportToGeneratedComInterfaceFixer.cs (1)
78
var generatedComInterfaceAttribute = gen.Attribute(gen.TypeExpression(comp.GetTypeByMetadataName(TypeNames.
GeneratedComInterfaceAttribute
)).WithAdditionalAnnotations(Simplifier.AddImportsAnnotation));
Analyzers\GeneratedComInterfaceAttributeAnalyzer.cs (1)
40
if (GetAttribute(typeSymbol, TypeNames.
GeneratedComInterfaceAttribute
, out _)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (1)
31
INamedTypeSymbol? generatedComInterfaceAttribute = context.Compilation.GetBestTypeByMetadataName(TypeNames.
GeneratedComInterfaceAttribute
);
ComClassInfo.cs (1)
45
AttributeData? generatedComInterfaceAttribute = iface.GetAttributes().FirstOrDefault(attr => attr.AttributeClass?.ToDisplayString() == TypeNames.
GeneratedComInterfaceAttribute
);
ComInterfaceGenerator.cs (1)
39
TypeNames.
GeneratedComInterfaceAttribute
,
ComInterfaceInfo.cs (1)
299
if (attr.AttributeClass?.ToDisplayString() == TypeNames.
GeneratedComInterfaceAttribute
)
GeneratedComInterfaceAttributeData.cs (2)
45
&& attr.AttributeClass?.ToDisplayString() == TypeNames.
GeneratedComInterfaceAttribute
)
62
Debug.Assert(attr.AttributeClass.ToDisplayString() == TypeNames.
GeneratedComInterfaceAttribute
);
Microsoft.Interop.SourceGeneration (1)
ComInterfaceMarshallingInfoProvider.cs (1)
24
public bool CanParseAttributeType(INamedTypeSymbol attributeType) => attributeType.ToDisplayString() == TypeNames.
GeneratedComInterfaceAttribute
;