[corlib] System.Collections from CoreFX (#7478)
[mono-project.git] / mcs / class / System / corefx / StringDictionary.cs
blob21449ce8c357d3cbd56a3225106baad577b341c7
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 using System.Runtime.InteropServices;
6 using System.Diagnostics;
7 using System;
8 using System.Collections;
9 using System.ComponentModel.Design.Serialization;
10 using System.Globalization;
11 using System.Collections.Generic;
13 namespace System.Collections.Specialized
15 partial class StringDictionary
17 internal void ReplaceHashtable (Hashtable useThisHashtableInstead)
19 contents = useThisHashtableInstead;
22 internal IDictionary<string, string> AsGenericDictionary ()
24 return new GenericAdapter(this);