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

32 lines
667 B
Plaintext
Raw Normal View History

2008-03-05 09:52:00 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
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;
}
}