Move ctor initializers to their own line.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user