bugDotGNU Portable.NET - Bugs: bug #11431, Conversion of a string into a...

 
 

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

bug #11431: Conversion of a string into a bool, checking if null

Submitter:  James Michael DuPont <mdupont>
Submitted:  Wed 29 Dec 2004 11:13:17 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 21 Feb 2005 08:34:24 AM UTC, comment #2: 

closed as requested 02/21/2005

Klaus Treichel <ktreichel>
Group administrator
Wed 29 Dec 2004 11:24:10 AM UTC, comment #1: 

this was my fault!!!
not a bug!
class f0oooo{void foo (){string fooStr; if (fooStr != null ){}}}

Sorry. please close

James Michael DuPont <mdupont>
Wed 29 Dec 2004 11:13:17 AM UTC, original submission:  

This produces an error in pnet :
../../testcase7.cs:1: invalid operands to binary `!='
../../testcase7.cs:1: no conversion from `int' to `bool'

class f0oooo{
    void foo (){
        string fooo;
        if (foo != null ){}
    }
}


James Michael DuPont <mdupont>

 

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

No files currently attached

 

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 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-21 ktreichel StatusNone Invalid
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code