How Glass reads a vararg method - DEV Community
A C# vararg method declared with __arglist stores no type information about its variadic arguments — those types live only at each call site, after a sentinel byte in the call signature. Here is how Glass.NET reads the vararg calling convention, the arglist / refanyval opcodes, and the per-call-site signature to reconstruct __arglist(...) and the ArgIterator loop that reads it.