From cdb77f2d6bcb9fcba46586acd4e080934a67eb8b Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Wed, 26 Sep 2018 10:57:18 -0700 Subject: [PATCH] Remove duplicated test Commit migrated from https://github.com/dotnet/coreclr/commit/ae752f0e0a31784b30c7283c959c83c59ed2a154 --- .../Regressions/coreclr/GitHub_7829/test7829.cs | 44 ---------------------- .../coreclr/GitHub_7829/test7829.csproj | 42 --------------------- 2 files changed, 86 deletions(-) delete mode 100644 src/coreclr/tests/src/Regressions/coreclr/GitHub_7829/test7829.cs delete mode 100644 src/coreclr/tests/src/Regressions/coreclr/GitHub_7829/test7829.csproj diff --git a/src/coreclr/tests/src/Regressions/coreclr/GitHub_7829/test7829.cs b/src/coreclr/tests/src/Regressions/coreclr/GitHub_7829/test7829.cs deleted file mode 100644 index 12a68a2..0000000 --- a/src/coreclr/tests/src/Regressions/coreclr/GitHub_7829/test7829.cs +++ /dev/null @@ -1,44 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using System.Runtime.InteropServices; - -// Repro case for CoreCLR 7829 - -class X -{ - private class Buffer : SafeBuffer - { - public Buffer() - : base (false) - { - - } - - protected override bool ReleaseHandle() - { - return true; - } - } - - public static int Main() - { - var buffer = new Buffer(); - - try - { - buffer.Initialize(uint.MaxValue - 1, uint.MaxValue - 1); - } - catch (ArgumentOutOfRangeException) - { - return 100; - } - catch (Exception e) - { - Console.WriteLine(e.Message); - } - return 101; - } -} diff --git a/src/coreclr/tests/src/Regressions/coreclr/GitHub_7829/test7829.csproj b/src/coreclr/tests/src/Regressions/coreclr/GitHub_7829/test7829.csproj deleted file mode 100644 index a5eaa49..0000000 --- a/src/coreclr/tests/src/Regressions/coreclr/GitHub_7829/test7829.csproj +++ /dev/null @@ -1,42 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {E55A6F8B-B9E3-45CE-88F4-22AE70F606CB} - Exe - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - ..\..\ - true - BuildAndRun - true - - - - - - - - - False - - - - - True - - - - - - - - - - - - - - -- 2.7.4