kjm00king / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

[assembly: JsEnum(ValuesAsNames = true)] does not effect on JsMode.Prototype #286

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
v5.00.7000

ValuesAsNames does not effect when specified in assembly with [assembly: 
JsEnum] attribute, but it work if specify in each type.

It does not work in following case:

[assembly: JsEnum(ValuesAsNames = true)]
[assembly: JsType(JsMode.Prototype, NativeError = false, NativeConstructors = 
true, NativeCasts = false, AutomaticPropertiesAsFields = false, 
NativeProperties = true, NativePropertiesEnumerable = true)]

public enum EnumTest
{
    a,
    b,
    c,
}

Original issue reported on code.google.com by DanelK...@gmail.com on 10 Mar 2013 at 7:30

GoogleCodeExporter commented 8 years ago
Would you make more priority for this issue? I really need it.
Regards

Original comment by Madnik7@gmail.com on 19 Apr 2013 at 5:55

GoogleCodeExporter commented 8 years ago

Original comment by DanelK...@gmail.com on 23 Apr 2013 at 10:05

GoogleCodeExporter commented 8 years ago

Original comment by DanelK...@gmail.com on 29 Apr 2013 at 2:49