summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Collections/DictionaryEntry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Collections/DictionaryEntry.cs')
-rw-r--r--src/mscorlib/src/System/Collections/DictionaryEntry.cs62
1 files changed, 0 insertions, 62 deletions
diff --git a/src/mscorlib/src/System/Collections/DictionaryEntry.cs b/src/mscorlib/src/System/Collections/DictionaryEntry.cs
deleted file mode 100644
index 0c5d8b2387..0000000000
--- a/src/mscorlib/src/System/Collections/DictionaryEntry.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-/*============================================================
-**
-** Interface: DictionaryEntry
-**
-**
-**
-**
-** Purpose: Return Value for IDictionaryEnumerator::GetEntry
-**
-**
-===========================================================*/
-namespace System.Collections {
-
- using System;
- using System.ComponentModel;
- // A DictionaryEntry holds a key and a value from a dictionary.
- // It is returned by IDictionaryEnumerator::GetEntry().
- [Serializable]
- public struct DictionaryEntry
- {
- private Object _key;
- private Object _value;
-
- // Constructs a new DictionaryEnumerator by setting the Key
- // and Value fields appropriately.
- public DictionaryEntry(Object key, Object value) {
- _key = key;
- _value = value;
- }
-
- public Object Key {
- get {
- return _key;
- }
-
- set {
- _key = value;
- }
- }
-
- public Object Value {
- get {
- return _value;
- }
-
- set {
- _value = value;
- }
- }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- public void Deconstruct(out object key, out object value)
- {
- key = Key;
- value = Value;
- }
- }
-}