Assert.Ignore (NotSupported);
}
}
-
+#if !TARGET_JVM
[Test]
public unsafe void UnsafeConstructor ()
{
SecureString ss = GetMaxLength ();
ss.AppendChar ('a');
}
-
+#endif
[Test]
[ExpectedException (typeof (ArgumentOutOfRangeException))]
public void InsertAt_Negative ()
SecureString ss = new SecureString ();
ss.RemoveAt (1);
}
-
+#if !TARGET_JVM
[Test]
[ExpectedException (typeof (ArgumentOutOfRangeException))]
public void InsertAt_BiggerThanMax ()
SecureString ss = GetMaxLength ();
ss.InsertAt (ss.Length, 'a');
}
-
+#endif
private SecureString GetReadOnly ()
{
SecureString ss = new SecureString ();