public static unsafe void Ctor_CharInt_Invalid()
{
Assert.Throws<ArgumentNullException>("value", () => new SecureString(null, 0));
Assert.Throws<ArgumentOutOfRangeException>("length", () => { fixed (char* chars = "test") new SecureString(chars, -1); });
Assert.Throws<ArgumentOutOfRangeException>("length", () => CreateSecureString(CreateString(ushort.MaxValue + 2 /*65537: Max allowed length is 65536*/)));
}