bugDotGNU Portable.NET - Bugs: bug #11443, ENUM values are not treated as...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11443: ENUM values are not treated as integer constants objects

Submitter:  James Michael DuPont <mdupont>
Submitted:  Wed 29 Dec 2004 07:39:50 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sat 28 May 2005 07:09:27 AM UTC, comment #2: 

This behaviour, right or wrong, is the way things are done in the Microsoft framework as well.  Pnet works the same in this regard for interoperability.

Deryk Robosson <drobosson>
Group Member
Wed 29 Dec 2004 07:42:49 PM UTC, comment #1: 

by typecasting, the problem goes away!
long v   = (long) test.WS_a | (long)test.WS_b | 0x0443;

James Michael DuPont <mdupont>
Wed 29 Dec 2004 07:39:50 PM UTC, original submission:  

The enums needs to treat the values of them as integer constant objects.

James Michael DuPont <mdupont>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #2304:  testcase11.cs added by mdupont (160B - text/x-csharp - Test case for this issue)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-05-28 drobosson StatusNone Wont Fix
    Open/ClosedOpen Closed
2004-12-29 mdupont Attached File- Added testcase11.cs, #2005

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code