// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
-// Copyright (C) 2004 Novell Inc. (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
+#if SECURITY_DEP
-using System;
using System.Collections;
namespace System.Security.Cryptography.Pkcs {
}
public bool IsSynchronized {
- get { return _list.IsSynchronized; }
+ get { return false; } // as documented
}
public SignerInfo this [int index] {
public void CopyTo (Array array, int index)
{
+ if (array == null)
+ throw new ArgumentNullException ("array");
+ if ((index < 0) || (index >= array.Length))
+ throw new ArgumentOutOfRangeException ("index");
+
_list.CopyTo (array, index);
}
- [MonoTODO]
public void CopyTo (SignerInfo[] array, int index)
{
+ if (array == null)
+ throw new ArgumentNullException ("array");
+ if ((index < 0) || (index >= array.Length))
+ throw new ArgumentOutOfRangeException ("index");
+
+ _list.CopyTo (array, index);
}
public SignerInfoEnumerator GetEnumerator ()