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 CS1005

Illegal indirection to managed type

It is not possible to use unsafe references (pointer syntax) on an object or string.

The following sample generates CS1005:

namespace x {
   public class C {
      public object* po;   // CS1005
      // try the following line instead
      // public object po;
   }
   public class a {
      public static int Main() {
         return 1;
      }
   }
}