Commit Graph
4 Commits
Author SHA1 Message Date
Gert Driesen 3ee30c68d1 * ContextStack.cs: Added argument check to Type indexer, avoiding a
NRE. Modify System.Int32 indexer to throw ArgumentOutOfRangeException
instead of ArgumentException. Reduce number of times that item count
must be obtained.
* ContextStackTest.cs: Added unit tests for indexers, and argument
(null) checks.

svn path=/trunk/mcs/; revision=135596
2009-06-06 17:07:34 +00:00
Gert Driesen c604084e4e * ContextStackTest.cs: Fix build of unit tests on 1.0 profile.
svn path=/trunk/mcs/; revision=84431
2007-08-20 08:44:09 +00:00
Ivan Zlatev 419b9c4800 Ops, forgot to remove the Test category.
svn path=/trunk/mcs/; revision=84371
2007-08-19 09:19:21 +00:00
Ivan Zlatev 917ec97a49 2007-08-19 Ivan N. Zlatev <[email protected]>
* ContextStack.cs: Update to 2.0.
        * ContextStackTest.cs: New unit tests for ContextStack.


svn path=/trunk/mcs/; revision=84369
2007-08-19 08:24:16 +00:00