If I declare a enum with the [Flags] attribute like:

[Flags]
public enum XXX {a=0,b=1,c=2}

Then I use this enum in a web service, the generated wsdl code (.cs file)
shows:

[System.FlagsAttribute()]
public enum XXX {
a = 1,
b = 2,
c = 4,
}

Since the original XXX enum is in a reusable class, I can't pass the web
service enums to anything that expects/uses the original enum. WHY DOES
WSDL reorder the values!!!!

Amil