Fredrik Høisæther Rasch
Fredrik Høisæther Rasch
CC#
Created by Fredrik Høisæther Rasch on 5/3/2024 in #help
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