From 8956b50f832ec0a0dc4aad6986c69f50f851d37e Mon Sep 17 00:00:00 2001 From: Bart De Smet Date: Mon, 28 Sep 2020 20:35:20 -0700 Subject: [PATCH] Remove unused #defines for Ix. --- Ix.NET/Source/Directory.build.targets | 4 ++-- .../Diagnostics/StackTraceHiddenAttribute.cs | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 Ix.NET/Source/System.Linq.Async/System/Diagnostics/StackTraceHiddenAttribute.cs diff --git a/Ix.NET/Source/Directory.build.targets b/Ix.NET/Source/Directory.build.targets index 352bd7f7f4..c13d9c5a71 100644 --- a/Ix.NET/Source/Directory.build.targets +++ b/Ix.NET/Source/Directory.build.targets @@ -22,10 +22,10 @@ $(DefineConstants);NO_ARRAY_EMPTY;NO_TASK_FROMEXCEPTION - $(DefineConstants);USE_ASYNC_ITERATOR + $(DefineConstants) - $(DefineConstants);USE_ASYNC_ITERATOR;HAS_ASYNCENUMERABLE;HAS_ASYNCDISPOSABLE;BCL_HAS_CONFIGUREAWAIT;HAS_VALUETUPLE + $(DefineConstants);HAS_VALUETUPLE diff --git a/Ix.NET/Source/System.Linq.Async/System/Diagnostics/StackTraceHiddenAttribute.cs b/Ix.NET/Source/System.Linq.Async/System/Diagnostics/StackTraceHiddenAttribute.cs deleted file mode 100644 index 13d20a6177..0000000000 --- a/Ix.NET/Source/System.Linq.Async/System/Diagnostics/StackTraceHiddenAttribute.cs +++ /dev/null @@ -1,16 +0,0 @@ -#if !BCL_HAS_CONFIGUREAWAIT - -using System; -// 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. - -namespace System.Diagnostics -{ - [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Struct, Inherited = false)] - internal sealed class StackTraceHiddenAttribute : Attribute - { - public StackTraceHiddenAttribute() { } - } -} -#endif