Imported Upstream version 5.12.0.220

Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-04-24 09:31:23 +00:00
parent 8bd104cef2
commit 8fc30896db
1200 changed files with 29534 additions and 26161 deletions

View File

@@ -22,7 +22,7 @@ namespace System.Collections.Specialized
/// the key or with the index.</para>
/// </devdoc>
[Serializable]
public abstract class NameObjectCollectionBase : ICollection, ISerializable, IDeserializationCallback
public abstract partial class NameObjectCollectionBase : ICollection, ISerializable, IDeserializationCallback
{
private bool _readOnly = false;
private ArrayList _entriesArray;

View File

@@ -18,7 +18,7 @@ namespace System.Collections.Specialized
/// can be accessed either with the hash code of the key or with the index.</para>
/// </devdoc>
[Serializable]
public class NameValueCollection : NameObjectCollectionBase
public partial class NameValueCollection : NameObjectCollectionBase
{
private String[] _all; // Do not rename (binary serialization)
private String[] _allKeys; // Do not rename (binary serialization)

View File

@@ -15,13 +15,18 @@ namespace System.Collections.Specialized
#if !MONO
[System.Runtime.CompilerServices.TypeForwardedFrom("System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
#endif
public class StringDictionary : IEnumerable
public partial class StringDictionary : IEnumerable
{
// For compatibility, we want the Keys property to return values in lower-case.
// That means using ToLower in each property on this type. Also for backwards
// compatibility, we will be converting strings to lower-case, which has a
// problem for some Georgian alphabets.
private readonly Hashtable contents = new Hashtable(); // Do not rename (binary serialization)
#if MONO
internal
#else
private readonly
#endif
Hashtable contents = new Hashtable(); // Do not rename (binary serialization)
/// <devdoc>