Reporter | Lilia Shamsutdinova (Lilia.Shamsutdinova) |
---|---|
Created | Apr 11, 2018 12:10:02 PM |
Updated | Apr 11, 2018 12:14:30 PM |
Subsystem | Refactorings |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Show-stopper |
State | Submitted |
Type | Bug |
Fix version | 2018.2 |
Affected versions | 2018.2 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
JetBrains ReSharper Ultimate 182.0.20180410.111135-eap00d.
private class MetaInfo
{
public string Id { get; set; }
public string Name { get; set; }
public string Name1 { get; set; }
public string Name2 { get; set; }
public string Name3 { get; set; }
public string Name4 { get; set; }
public string Name5 { get; set; }
public string Name6 { get; set; }
public string Name7 { get; set; }
public string Name8 { get; set; }
public string Name9 { get; set; }
public string Name0 { get; set; }
public string Name10 { get; set; }
public string Name11 { get; set; }
public string Name12 { get; set; }
public string Name13 { get; set; }
public string Name14 { get; set; }
public string Name15 { get; set; }
public string Name16 { get; set; }
public string Name17 { get; set; }
public string Name18 { get; set; }
public string Name19 { get; set; }
public string Name20 { get; set; }
public MetaInfo Merge(MetaInfo other)
{
return new MetaInfo
{
Id = Id + other.Id,
Name = Name + other.Name,
Name1 = Name1 + other.Name,
Name2 = Name2 + other.Name,
Name3 = Name3 + other.Name,
Name4 = Name4 + other.Name,
Name5 = Name5 + other.Name,
Name6 = Name6 + other.Name,
Name7 = Name7 + other.Name,
Name8 = Name8 + other.Name,
Name9 = Name9 + other.Name,
Name0 = Name0 + other.Name,
Name10 = Name10 + other.Name,
Name11 = Name11 + other.Name,
Name12 = Name12 + other.Name,
Name13 = Name13 + other.Name,
Name14 = Name14 + other.Name,
Name15 = Name15 + other.Name,
Name16 = Name16 + other.Name,
Name17 = Name17 + other.Name,
Name18 = Name18 + other.Name,
Name19 = Name19 + other.Name,
Name20 = Name20 + other.Name,
};
}
}
- Invoke Make Static on
Merge
.
Actual result:
Dialog fills screen(s) by width.
Expected result:
Width of dialog is the same as for 2 parameters.