* Type.cs: Make cor-compare happy.
2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
* Evidence.cs: Add some v4 bits.
svn path=/trunk/mcs/; revision=152609
+2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * Evidence.cs: Add some v4 bits.
+
2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
* Evidence_2_1.cs: New.
Merge (evidence);
}
+#if NET_4_0
+ [Obsolete]
+#endif
public Evidence (object[] hostEvidence, object[] assemblyEvidence)
{
if (null != hostEvidence)
// Public Properties
//
+#if NET_4_0
+ [Obsolete]
+#endif
public int Count {
get {
int count = 0;
// Public Methods
//
+#if NET_4_0
+ [Obsolete]
+#endif
public void AddAssembly (object id)
{
AssemblyEvidenceList.Add (id);
_hashCode = 0;
}
+#if NET_4_0
+ [Obsolete]
+#endif
public void AddHost (object id)
{
if (_locked && SecurityManager.SecurityEnabled) {
_hashCode = 0;
}
+#if NET_4_0
+ [Obsolete]
+#endif
public void CopyTo (Array array, int index)
{
int hc = 0;
return true;
}
+#if NET_4_0
+ [Obsolete]
+#endif
public IEnumerator GetEnumerator ()
{
IEnumerator he = null;
+2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * Type.cs: Make cor-compare happy.
+
2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
* Lazy.cs: Implement all lazy modes.
return result;
}
+ NotImplementedException CreateNIE () {
+ return new NotImplementedException ();
+ }
+
public virtual Array GetEnumValues () {
if (!IsEnum)
throw new ArgumentException ("Type is not an enumeration", "enumType");
- throw new NotImplementedException ();
+ throw CreateNIE ();
}
bool IsValidEnumType (Type type) {