6 references to CustomMarshallerAttribute
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (1)
621if (context.Compilation.GetBestTypeByMetadataName(TypeNames.CustomMarshallerAttribute) is { } customMarshallerAttribute)
Analyzers\ShapeBreakingDiagnosticSuppressor.cs (1)
61attr => attr.AttributeClass?.ToDisplayString() == TypeNames.CustomMarshallerAttribute
Microsoft.Interop.SourceGeneration (4)
ManualTypeMarshallingHelper.cs (3)
118return entryPointType.GetAttributes().Any(attr => attr.AttributeClass.ToDisplayString() == TypeNames.CustomMarshallerAttribute); 139if (attr.AttributeClass?.ToDisplayString() != TypeNames.CustomMarshallerAttribute 219var attrs = entryPointType.GetAttributes().Where(attr => attr.AttributeClass.ToDisplayString() == TypeNames.CustomMarshallerAttribute).ToArray();
TypeNames.cs (1)
21public const string CustomMarshallerAttributeGenericPlaceholder = CustomMarshallerAttribute + ".GenericPlaceholder";