[Test] Avoid MethodInfoTest.GetMethodBody failure when executed on a release (IL...
[mono.git] / mcs / class / corlib / System.Security.Principal / IdentityReferenceCollection.cs
index 8d4015df84c408f256fd4c11718e3b68a3801c44..cb7402ed0a7abf6b2516d2ee6e7ed247cc73196d 100644 (file)
@@ -26,7 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 
 using System.Collections;
 using System.Collections.Generic;
@@ -88,21 +87,19 @@ namespace System.Security.Principal {
                        return false;
                }
 
-               [MonoTODO]
                public void CopyTo (IdentityReference[] array, int offset)
                {
+                       throw new NotImplementedException ();
                }
 
-               [MonoTODO]
                public IEnumerator<IdentityReference> GetEnumerator ()
                {
-                       return null;
+                       throw new NotImplementedException ();
                }
 
-               [MonoTODO]
                IEnumerator IEnumerable.GetEnumerator ()
                {
-                       return null;
+                       throw new NotImplementedException ();
                }
 
                public bool Remove (IdentityReference identity)
@@ -116,18 +113,15 @@ namespace System.Security.Principal {
                        return false;
                }
 
-               [MonoTODO]
                public IdentityReferenceCollection Translate (Type targetType)
                {
-                       return null;
+                       throw new NotImplementedException ();
                }
 
-               [MonoTODO]
                public IdentityReferenceCollection Translate (Type targetType, bool forceSuccess)
                {
-                       return null;
+                       throw new NotImplementedException ();
                }
        }
 }
 
-#endif