The following code reproduces this issue: ``` C# var o = NetJSON.NetJSON.Serialize(System.IO.FileShare.Read | System.IO.FileShare.Delete); // o == 0 ``` `System.IO.FileShare` has a `FlagsAttribute` and we shall use do something special.
The following code reproduces this issue:
System.IO.FileSharehas aFlagsAttributeand we shall use do something special.