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