Project
ReSharper
Priority
Critical
Type
Bug
Fix versions
7.0
State
Fixed
Assignee
Evgeny Pasynkov
Subsystem
Psi
Affected versions
No Affected versions
Fixed in build
7.0.51.123  
  • Created by   Dmitry Shaporenkov
    5 years ago (05 Aug 2006 01:12)
  • Updated by   Andrew Serebryansky
    3 days ago (23 May 2012 02:55)
  • Jira: RSRP-4576
    (history, comments)
 
RSRP-4576 As/is priority does not follow MS C# implementation
2
Issue is visible to: All Users
  The issue is visible to the selected user group only
using System.Data;


      DataRow multiFieldsRow = null;
      DataRow [] otherFieldsRows = null;
      multiFieldsRow["ParentColumns"] = multiFieldsRow["ParentColumns"] as string
        + "," + otherFieldsRows[0]["ParentColumns"] as string;
Comments (4)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Andrey Simanovsky
  Andrey Simanovsky
07 Aug 2006 16:15
5 years ago
Re: #4576- Valid code is parsed incorrectly
Well, according to the specification, this should be: "invalid code accepted by the compiler is reported by ReSharper":)
Vladimir Reshetnikov
  Vladimir Reshetnikov
17 May 2012 02:00
9 days ago
It still repro in 7 EAP:

class Program
{
    static void Main()
    {
        object x = "";
        string y = x as string + "" + x as string;
    }
}
Olga Lobacheva
  Olga Lobacheva
21 May 2012 23:56
4 days ago
Sorry for closing beforehand. I've fixed it in separate branch - will merge it soon.
Olga Lobacheva
  Olga Lobacheva
22 May 2012 21:50
3 days ago
Fixed in build 7.0.51.7.