Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@ -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)
{
}