singrdk/base/Kernel/SpecSharp.Contracts/System.Collections.Dictiona...

33 lines
748 B
Plaintext
Raw Permalink Normal View History

2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
2008-03-05 09:52:00 -05:00
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
2008-03-05 09:52:00 -05:00
using System;
using Microsoft.Contracts;
namespace System.Collections
{
public struct DictionaryEntry
{
public object! Key
{
[Pure] get;
set
requires value != null otherwise ArgumentNullException;
}
public object Value
{
[Pure] get;
set;
}
public DictionaryEntry (object! key, object value)
requires key != null otherwise ArgumentNullException;
}
}