You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
@ -43,25 +43,25 @@ namespace System.Collections.Generic
|
||||
{
|
||||
}
|
||||
|
||||
public SynchronizedReadOnlyCollection (object sync_root)
|
||||
: this (sync_root, new List<T> ())
|
||||
public SynchronizedReadOnlyCollection (object syncRoot)
|
||||
: this (syncRoot, new List<T> ())
|
||||
{
|
||||
}
|
||||
|
||||
public SynchronizedReadOnlyCollection (object sync_root, IEnumerable<T> list)
|
||||
public SynchronizedReadOnlyCollection (object syncRoot, IEnumerable<T> list)
|
||||
{
|
||||
if (sync_root == null)
|
||||
throw new ArgumentNullException ("sync_root");
|
||||
if (syncRoot == null)
|
||||
throw new ArgumentNullException ("syncRoot");
|
||||
|
||||
if (list == null)
|
||||
throw new ArgumentNullException ("list");
|
||||
|
||||
this.sync_root = sync_root;
|
||||
this.sync_root = syncRoot;
|
||||
this.l = new List<T> (list);
|
||||
}
|
||||
|
||||
public SynchronizedReadOnlyCollection (object sync_root, params T [] list)
|
||||
: this (sync_root, (IEnumerable<T>) list)
|
||||
public SynchronizedReadOnlyCollection (object syncRoot, params T [] list)
|
||||
: this (syncRoot, (IEnumerable<T>) list)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user