NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error CS0190

The __arglist construct is valid only within a variable argument method

__arglist holds the handle to the argument iterator which can be used to obtain the individual arguments using class library methods.

The following sample generates CS0190:

using System;
public class MyClass {
   public static void Test (int a) {
       object o = __arglist;   // CS0190
   }
   public static void Main() {
      Test(1);
   }
}