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 CS0209

The type of locals declared in a fixed statement must be a pointer type

The variable that you declare in a fixed statement must be a pointer.

The following sample generates CS0209:

public class Class {

   unsafe public static void Main() {

      fixed (int i) {   // CS0209
      // try the following line instead
      // fixed (int *i = null) {
      }
   }
}