ILGenerator.EmitCall Mainly For vararg Methods

Vararg (variable arguments) methods accept argument lists of unknown length and type. CLR supports this by the IL instruction (arglist) and other BCL types, such as System.ArgIterator. C# compiler has undocumented keyword “__arglist” to support defining vararg methods, accessing variable arguments and calling them, as shown below. static void VarargMethod(string headline, __arglist) {  ArgIterator ai…