public static void RepeatedCtorDispose() { string str = CreateString(4000); for (int i = 0; i < 1000; i++) { CreateSecureString(str).Dispose(); } }