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 CS0579

Duplicate 'attribute' attribute

It is not possible to specify the same attribute more than once.

public class MyAttribute : System.Attribute {    
}

public class z {
   [MyAttribute(), MyAttribute()]   // CS0579
   // try the following line instead
   // [MyAttribute()]
   public void zz() {
   }

   public static void Main() {
   }
}