Fredrik Høisæther Rasch
SourceGenerator and LibraryImport
I am considering writing my own source generator. Among other things it will also generate some PInvoke bindings. Ideally, I'd like to use LibraryImport instead of DllImport in the generated source.
But since LibraryImport in itself is a generator, can I do this?
3 replies