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
;
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);