Skip to content

Cannot Set Flags Beyond 32 bits

Annotations does not support Flag enums beyond 32 bit.

It can be reproduced by with this code:

 public enum LongEnum: long{
                Test0 = 1L << 0,
                Test1 = 1L << 50, // requires 64 bit integer
}

public LongEnum LongEnumValue{get;set;}