Assert.AreNotEqual returns misleading exception - by Harry-vB

Status : 

  Duplicate<br /><br />
		This item appears to be a duplicate of another existing Connect or internal item.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 778810 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/8/2013 12:07:43 AM
Access Restriction Public

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.
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)