Home Dashboard Directory Help
Search

Assert.AreNotEqual returns misleading exception by Harry-vB


Status: 

Closed
 as Duplicate Help for as Duplicate


1
0
Sign in
to vote
Type: Bug
ID: 778810
Opened: 2/8/2013 12:07:43 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

A call to Assert.AreNotEqual that compares two identical strings containing a "{" and uses a message with format arguments returns a misleading exception (System.FormatException: Input string was not in a correct format.).

See also ID777498 for a similar bug.
Details
Sign in to post a comment.
Posted by Microsoft on 4/15/2013 at 9:55 PM
Hi Harry,

Thanks for reporting this issue.

We are able to reproduce the reported problem and we will address it in one of the visual studio release.

Regards
Visual Studio Product Team
Posted by Microsoft on 4/15/2013 at 3:10 PM
Harry-vB,

Thanks for reaching out to us with this issue. This is currently under investigation - I'll keep you posted on our triage call.

Thanks,
Vinay,
Microsoft Visual Studio ALM
Posted by Microsoft on 2/10/2013 at 10:24 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/8/2013 at 12:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
MSConnect778810.zip 2/8/2013 8 KB