Move ctor initializers to their own line.

This commit is contained in:
Paul Chote
2019-06-08 12:59:02 +01:00
committed by reaperrr
parent 979ed1b140
commit 674155a8dd
33 changed files with 90 additions and 44 deletions

View File

@@ -84,7 +84,9 @@ namespace OpenRA.Primitives
{
readonly BitSetIndex bits;
public BitSet(params string[] values) : this(BitSetAllocator<T>.GetBits(values)) { }
public BitSet(params string[] values)
: this(BitSetAllocator<T>.GetBits(values)) { }
BitSet(BitSetIndex bits) { this.bits = bits; }
public static BitSet<T> FromStringsNoAlloc(string[] values)

View File

@@ -29,7 +29,8 @@ namespace OpenRA.Primitives
public event Action<IObservableCollection> OnRefresh = x => { };
public ObservableCollection() { }
public ObservableCollection(IList<T> list) : base(list) { }
public ObservableCollection(IList<T> list)
: base(list) { }
protected override void SetItem(int index, T item)
{

View File

@@ -28,9 +28,8 @@ namespace OpenRA.Primitives
readonly IComparer<T> comparer;
int level, index;
public PriorityQueue() : this(Comparer<T>.Default)
{
}
public PriorityQueue()
: this(Comparer<T>.Default) { }
public PriorityQueue(IComparer<T> comparer)
{