Skip to content

Commit 1c5ea2b

Browse files
committed
Move private ctor to proper place
1 parent 2f67dc6 commit 1c5ea2b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Orm/Xtensive.Orm/Orm/Model/IndexInfo.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,12 +399,6 @@ private void CreateColumns()
399399

400400
// Constructors
401401

402-
private IndexInfo()
403-
{
404-
includedColumns = new ColumnInfoCollection(this, "IncludedColumns");
405-
valueColumns = new ColumnInfoCollection(this, "ValueColumns");
406-
}
407-
408402
/// <summary>
409403
/// Initializes a new instance of this class.
410404
/// </summary>
@@ -495,5 +489,11 @@ public IndexInfo(TypeInfo reflectedType, IndexAttributes indexAttributes, IEnume
495489
throw new ArgumentException(Strings.ExSequenceContainsNoElements, nameof(baseIndexes));
496490
}
497491
}
492+
493+
private IndexInfo()
494+
{
495+
includedColumns = new ColumnInfoCollection(this, "IncludedColumns");
496+
valueColumns = new ColumnInfoCollection(this, "ValueColumns");
497+
}
498498
}
499499
}

0 commit comments

Comments
 (0)