StrictEmit 2.9.0

StrictEmit

Join the chat at https://discord.gg/fDy5Vhb

StrictEmit is a small library that improves the API of the ILGenerator class, adding properly typed extensions and overloads for every CIL instruction, along with inline XML documentation for them.

This stands in contrast to the typical ILGenerator::Emit method, which allows the developer to emit invalid IL instructions by using the incorrect overload.

Furthermore, the library provides builtin instruction optimization, picking the best instruction for those calls which have optimized versions for certain conditions (Ldarg with indexes 0-3, etc).

All extension methods follow the naming pattern of Emit<InstructionEffect>.

Installing

Get it on NuGet.

Showing the top 20 packages that depend on StrictEmit.

Packages Downloads
AdvancedDLSupport
An alternative approach to your typical P/Invoke.
4
Silk.NET.Core
Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenAL, and Vulkan.
3
AdvancedDLSupport
An alternative approach to your typical P/Invoke.
3

Fix default BindingFlags on EmitGet/SetProperty.

Version Downloads Last updated
2.9.0 3 2025/6/17
2.8.0 3 2025/6/18
2.7.2 3 2025/6/18
2.7.1 3 2025/6/18
2.5.0 3 2025/6/18
2.4.2 3 2025/6/18
2.4.1 3 2025/6/18
2.4.0 3 2025/6/18
2.3.1 2 2025/8/22
2.3.0 3 2025/6/18
2.2.0 2 2025/6/18
2.1.0 3 2025/6/18
2.0.0 2 2025/8/22
1.0.0 2 2025/8/20