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

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Wed 29 Dec 2004 11:13:17 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 21 Feb 2005 08:34:24 AM UTCktreichelStatusNone=>Invalid
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1