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 CS0610

Fields cannot be of type refany

The System.TypedReference type can only be applied to method parameters and the declaration of method parameters.

The following sample generates CS0610:

public class MainClass {
// System.TypedReference i;   // CS0610
   public static void Main () {
   }

   public static void Test(System.TypedReference i) {   // OK
   }
}