diff --git a/WhiteMagic/Assembly/StubAssembler.cs b/WhiteMagic/Assembly/StubAssembler.cs index 9c88494..6ccecea 100644 --- a/WhiteMagic/Assembly/StubAssembler.cs +++ b/WhiteMagic/Assembly/StubAssembler.cs @@ -30,8 +30,10 @@ public sealed class StubAssembler : IAssembler // ── Emit primitives ──────────────────────────────────────────────────── + /// Emits a single byte into the buffer. public void EmitU8(List buffer, byte value) => buffer.Add(value); + /// Emits a 32-bit little-endian integer into the buffer. public void EmitU32(List buffer, uint value) { buffer.Add((byte)value); @@ -40,6 +42,7 @@ public sealed class StubAssembler : IAssembler buffer.Add((byte)(value >> 24)); } + /// Emits a 64-bit little-endian integer into the buffer. public void EmitU64(List buffer, ulong value) { EmitU32(buffer, (uint)value); diff --git a/WhiteMagic/MarshalCache.cs b/WhiteMagic/MarshalCache.cs index fe79211..b691390 100644 --- a/WhiteMagic/MarshalCache.cs +++ b/WhiteMagic/MarshalCache.cs @@ -6,8 +6,8 @@ namespace WhiteMagic; /// /// Caches the widths marshalling decisions for type -/// once, at static-constructor time. and -/// branch on +/// once, at static-constructor time. and +/// branch on /// and pick the appropriate width from this cache. /// /// The type to cache metadata for. @@ -24,8 +24,8 @@ public static class MarshalCache public static readonly int Size; /// - /// The unmanaged (interop) width via . The marshal - /// path (/) + /// The unmanaged (interop) width via . The marshal + /// path (/) /// reads/writes this many bytes. Exceeds whenever a struct /// carries inline unmanaged data that the marshaler expands — inline /// ByValTStr/ByValArray buffers, bool fields (4 bytes per @@ -46,7 +46,7 @@ public static class MarshalCache /// /// when cannot be copied through /// the blittable path - /// and must fall back to / + /// and must fall back to / /// . This is the case when a top-level field /// carries , or when /// contains a managed reference diff --git a/WhiteMagic/MemoryBase.cs b/WhiteMagic/MemoryBase.cs index f7c864f..b02328b 100644 --- a/WhiteMagic/MemoryBase.cs +++ b/WhiteMagic/MemoryBase.cs @@ -7,7 +7,7 @@ namespace WhiteMagic; /// /// Abstract base for all memory-access readers and writers. Provides typed -/// /, array IO, string IO, and +/// /, array IO, string IO, and /// relative/absolute addressing. Subclasses implement the concrete /// and methods. /// diff --git a/WhiteMagic/WhiteMagic.csproj b/WhiteMagic/WhiteMagic.csproj index 68c0d57..292bdf0 100644 --- a/WhiteMagic/WhiteMagic.csproj +++ b/WhiteMagic/WhiteMagic.csproj @@ -7,6 +7,7 @@ true x86;x64;AnyCPU true + true diff --git a/WhiteMagic/Windows/RemoteWindow.cs b/WhiteMagic/Windows/RemoteWindow.cs index fbfead4..3a71850 100644 --- a/WhiteMagic/Windows/RemoteWindow.cs +++ b/WhiteMagic/Windows/RemoteWindow.cs @@ -113,6 +113,7 @@ public sealed class RemoteWindow return NativeMethods.FlashWindowEx(ref info); } + /// Returns a string representation of this window, including its handle, class name, and title. public override string ToString() { var sb = new StringBuilder();