From 6a891e5524848a74216973b038c19b60e8ed8a1e Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Mon, 16 Jul 2018 10:00:02 +0200 Subject: Removes System.Diagnostics.Private --- src/System.Private.CoreLib/shared/System/IO/Win32Marshal.cs | 3 --- .../shared/System/Threading/DeferredDisposableLifetime.cs | 3 --- .../src/System/Collections/Generic/ArraySortHelper.cs | 3 --- .../src/System/Runtime/CompilerServices/TaskAwaiter.cs | 1 - src/System.Private.CoreLib/src/System/String.cs | 2 +- .../src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs | 1 - src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs | 1 - src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs | 2 +- .../src/System/Threading/Tasks/ProducerConsumerQueues.cs | 1 - src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs | 1 - .../src/System/Threading/Tasks/TaskContinuation.cs | 2 +- .../src/System/Threading/Tasks/TaskExceptionHolder.cs | 1 - src/System.Private.CoreLib/src/System/Threading/Tasks/TaskFactory.cs | 2 +- src/System.Private.CoreLib/src/System/Threading/Tasks/TaskScheduler.cs | 1 - .../System/Threading/Win32ThreadPoolNativeOverlapped.OverlappedData.cs | 3 --- .../src/System/Threading/Win32ThreadPoolNativeOverlapped.cs | 3 --- 16 files changed, 4 insertions(+), 26 deletions(-) diff --git a/src/System.Private.CoreLib/shared/System/IO/Win32Marshal.cs b/src/System.Private.CoreLib/shared/System/IO/Win32Marshal.cs index f6dd5f3cd..b8b305776 100644 --- a/src/System.Private.CoreLib/shared/System/IO/Win32Marshal.cs +++ b/src/System.Private.CoreLib/shared/System/IO/Win32Marshal.cs @@ -4,9 +4,6 @@ using System; using System.Diagnostics; -#if MONO -using System.Diagnostics.Private; -#endif using System.Runtime.InteropServices; namespace System.IO diff --git a/src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs b/src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs index 828df23b8..43b8392bf 100644 --- a/src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs +++ b/src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs @@ -3,9 +3,6 @@ // See the LICENSE file in the project root for more information. using System.Diagnostics; -#if MONO -using System.Diagnostics.Private; -#endif namespace System.Threading { diff --git a/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.cs b/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.cs index ec4bcd6b9..dcb7d01ac 100644 --- a/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.cs +++ b/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.cs @@ -3,9 +3,6 @@ // See the LICENSE file in the project root for more information. using System.Diagnostics; -#if MONO -using System.Diagnostics.Private; -#endif namespace System.Collections.Generic { diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs index 12bd0de71..33b5b0b26 100644 --- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs +++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs @@ -39,7 +39,6 @@ // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- using System.Diagnostics; -using System.Diagnostics.Private; using System.Threading; using System.Threading.Tasks; diff --git a/src/System.Private.CoreLib/src/System/String.cs b/src/System.Private.CoreLib/src/System/String.cs index bb238f940..501069b30 100644 --- a/src/System.Private.CoreLib/src/System/String.cs +++ b/src/System.Private.CoreLib/src/System/String.cs @@ -12,7 +12,7 @@ using System.Buffers; using System.Collections; using System.Collections.Generic; -using System.Diagnostics.Private; +using System.Diagnostics; using System.Globalization; using System.Runtime; using System.Runtime.CompilerServices; diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs index 7c155523e..b30ff63db 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs @@ -17,7 +17,6 @@ using System.Collections.Generic; using System.Diagnostics; -using System.Diagnostics.Private; using System.Diagnostics.CodeAnalysis; namespace System.Threading.Tasks diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs index 249214c4c..ed2c06d74 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs @@ -13,7 +13,6 @@ using System.Runtime.CompilerServices; using System.Diagnostics; -using System.Diagnostics.Private; // Disable the "reference to volatile field not treated as volatile" error. diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs index a536d51d1..b27b1858f 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs @@ -11,7 +11,7 @@ // // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -using System.Diagnostics.Private; +using System.Diagnostics; using AsyncStatus = Internal.Runtime.Augments.AsyncStatus; using CausalityRelation = Internal.Runtime.Augments.CausalityRelation; diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/ProducerConsumerQueues.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/ProducerConsumerQueues.cs index 33bad7e92..915f7c41f 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/ProducerConsumerQueues.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/ProducerConsumerQueues.cs @@ -26,7 +26,6 @@ using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; -using System.Diagnostics.Private; using System.Runtime.InteropServices; namespace System.Threading.Tasks diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs index 48443f126..185449d18 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs @@ -14,7 +14,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; -using System.Diagnostics.Private; using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs index 063fcda86..2ec382ad1 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs @@ -11,7 +11,7 @@ // // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -using System.Diagnostics.Private; +using System.Diagnostics; using System.Runtime.CompilerServices; using Internal.Runtime.Augments; diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskExceptionHolder.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskExceptionHolder.cs index e915f3595..f06b0750c 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskExceptionHolder.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskExceptionHolder.cs @@ -18,7 +18,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; -using System.Diagnostics.Private; using System.Runtime.ExceptionServices; namespace System.Threading.Tasks diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskFactory.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskFactory.cs index c80953c82..627a760c7 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskFactory.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskFactory.cs @@ -14,7 +14,7 @@ // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- using System.Collections.Generic; -using System.Diagnostics.Private; +using System.Diagnostics; using AsyncStatus = Internal.Runtime.Augments.AsyncStatus; using CausalityRelation = Internal.Runtime.Augments.CausalityRelation; diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskScheduler.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskScheduler.cs index 245ba6116..653345cef 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskScheduler.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskScheduler.cs @@ -12,7 +12,6 @@ using System.Collections.Generic; using System.Diagnostics; -using System.Diagnostics.Private; using System.Runtime.CompilerServices; namespace System.Threading.Tasks diff --git a/src/System.Private.CoreLib/src/System/Threading/Win32ThreadPoolNativeOverlapped.OverlappedData.cs b/src/System.Private.CoreLib/src/System/Threading/Win32ThreadPoolNativeOverlapped.OverlappedData.cs index 5e2cdbc66..e378c6ba5 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Win32ThreadPoolNativeOverlapped.OverlappedData.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Win32ThreadPoolNativeOverlapped.OverlappedData.cs @@ -3,9 +3,6 @@ // See the LICENSE file in the project root for more information. using System.Diagnostics; -#if MONO -using System.Diagnostics.Private; -#endif using System.Runtime.InteropServices; namespace System.Threading diff --git a/src/System.Private.CoreLib/src/System/Threading/Win32ThreadPoolNativeOverlapped.cs b/src/System.Private.CoreLib/src/System/Threading/Win32ThreadPoolNativeOverlapped.cs index 67476ce02..3249e5037 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Win32ThreadPoolNativeOverlapped.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Win32ThreadPoolNativeOverlapped.cs @@ -4,9 +4,6 @@ using System.Collections.Generic; using System.Diagnostics; -#if MONO -using System.Diagnostics.Private; -#endif using System.Runtime.InteropServices; namespace System.Threading -- cgit v1.2.3