kbe ccde012e45 task 2.1-2.2: implement MarshalCache<T> with tests
Add MarshalCache<T> static class that computes Size, SizeU,
TypeRequiresMarshal, IsIntPtr, TypeCode, and RealType once per type
in the static constructor. Handles bool (size=1), enums (underlying
type), and MarshalAs-attributed fields (TypeRequiresMarshal).

12 new tests covering: blittable sizes, bool size, enum size, struct
size, marshal-required flag, IsIntPtr, computed-once caching.
All passing.
2026-07-21 17:03:23 +02:00
S
Description
Wite Magic is a C# library to read, write and execute remote code into a target process for analysis, debuging and mod creation.
MIT
481 KiB
Languages
C# 100%