alef-backend-csharp
C# (P/Invoke) backend for alef
Generates C# source code using P/Invoke to call the C FFI layer produced by alef-backend-ffi. Produces a NativeMethods class with extern declarations, C# record types for data structures, enum definitions, typed exception classes, and a public wrapper class with idiomatic C# method signatures and namespace organization. Generates NuGet package scaffolding and targets .NET 8+ with nullable reference types enabled.
Part of the alef polyglot binding generator.
License
MIT