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