|
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
|
using System.Data;
DataRow multiFieldsRow = null;
DataRow [] otherFieldsRows = null;
multiFieldsRow["ParentColumns"] = multiFieldsRow["ParentColumns"] as string
+ "," + otherFieldsRows[0]["ParentColumns"] as string;
Well, according to the specification, this should be: "invalid code accepted by the compiler is reported by ReSharper":)
class Program { static void Main() { object x = ""; string y = x as string + "" + x as string; } }