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 CS0628

'member' : new protected member declared in sealed class

A sealed class cannot introduce a protected member because no class will be able to inherit from the sealed class and use the protected member.

The following sample generates CS0628:

sealed class C {
   protected int i;   // CS0628
}

class MyClass {
   public static void Main() {
   }
}