diff --git a/nuprojs/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors.nuproj b/nuprojs/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors.nuproj index 4c2d4154..ebd1b0bd 100644 --- a/nuprojs/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors.nuproj +++ b/nuprojs/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors.nuproj @@ -102,12 +102,6 @@ build\netcoreapp2.0 - - build\netcoreapp2.0 - - - build\netcoreapp2.0 - build\netcoreapp2.0 diff --git a/properties/service_fabric_common.props b/properties/service_fabric_common.props index 86ef4eea..6e3d5f50 100644 --- a/properties/service_fabric_common.props +++ b/properties/service_fabric_common.props @@ -22,16 +22,16 @@ - 11.0.1004 - 8.0.1004 - 8.0.1004 - 8.0.1004 + 11.0.1928 + 8.0.1928 + 8.0.1928 + 8.0.1928 8 0 - 5 + 7 0 diff --git a/src/Microsoft.ServiceFabric.Actors/ActorId.cs b/src/Microsoft.ServiceFabric.Actors/ActorId.cs index a101f1dc..a20c5268 100644 --- a/src/Microsoft.ServiceFabric.Actors/ActorId.cs +++ b/src/Microsoft.ServiceFabric.Actors/ActorId.cs @@ -5,15 +5,12 @@ namespace Microsoft.ServiceFabric.Actors { - extern alias Microsoft_ServiceFabric_Internal; - using System; + using System.Fabric.Common; using System.Globalization; using System.Runtime.Serialization; using System.Text; using Microsoft.ServiceFabric.Services; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// The ActorId represents the identity of an actor within an actor service. This is used to identify the partition of the actor service inside which the actor will run, see diff --git a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorLockContentionCounterWriter.cs b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorLockContentionCounterWriter.cs index a6e16543..54e4bab4 100644 --- a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorLockContentionCounterWriter.cs +++ b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorLockContentionCounterWriter.cs @@ -5,10 +5,7 @@ namespace Microsoft.ServiceFabric.Actors.Diagnostics { - extern alias Microsoft_ServiceFabric_Internal; - - using FabricBaselessPerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricBaselessPerformanceCounterWriter; - using FabricPerformanceCounterSetInstance = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetInstance; + using System.Fabric.Common; // This class modifies the value of the performance counter that represents the // number of pending actor calls that are waiting for the actor lock. diff --git a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodExceptionFrequencyCounterWriter.cs b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodExceptionFrequencyCounterWriter.cs index da896054..86f64d56 100644 --- a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodExceptionFrequencyCounterWriter.cs +++ b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodExceptionFrequencyCounterWriter.cs @@ -5,10 +5,7 @@ namespace Microsoft.ServiceFabric.Actors.Diagnostics { - extern alias Microsoft_ServiceFabric_Internal; - - using FabricBaselessPerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricBaselessPerformanceCounterWriter; - using FabricPerformanceCounterSetInstance = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetInstance; + using System.Fabric.Common; // This class modifies the value of the performance counter that represents the // frequency at which a particular actor method throws exceptions. diff --git a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodExecTimeCounterWriter.cs b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodExecTimeCounterWriter.cs index fce68cf1..f43c0a2a 100644 --- a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodExecTimeCounterWriter.cs +++ b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodExecTimeCounterWriter.cs @@ -5,10 +5,7 @@ namespace Microsoft.ServiceFabric.Actors.Diagnostics { - extern alias Microsoft_ServiceFabric_Internal; - - using FabricPerformanceCounterSetInstance = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetInstance; - using FabricPerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterWriter; + using System.Fabric.Common; // This class modifies the value of the performance counter that represents the // time taken to execute a particular actor method. diff --git a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodFrequencyCounterWriter.cs b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodFrequencyCounterWriter.cs index 8d37e900..dd6fe9fd 100644 --- a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodFrequencyCounterWriter.cs +++ b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorMethodFrequencyCounterWriter.cs @@ -5,10 +5,7 @@ namespace Microsoft.ServiceFabric.Actors.Diagnostics { - extern alias Microsoft_ServiceFabric_Internal; - - using FabricBaselessPerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricBaselessPerformanceCounterWriter; - using FabricPerformanceCounterSetInstance = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetInstance; + using System.Fabric.Common; // This class modifies the value of the performance counter that represents the // frequency at which a particular actor method is invoked. diff --git a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorPerformanceCounters.cs b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorPerformanceCounters.cs index 02641f52..3f716187 100644 --- a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorPerformanceCounters.cs +++ b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorPerformanceCounters.cs @@ -5,15 +5,9 @@ namespace Microsoft.ServiceFabric.Actors.Diagnostics { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; - using FabricPerformanceCounterCategoryType = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterCategoryType; - using FabricPerformanceCounterDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterDefinition; - using FabricPerformanceCounterSetDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetDefinition; - using FabricPerformanceCounterType = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterType; - using IFabricPerformanceCountersDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.IFabricPerformanceCountersDefinition; + using System.Fabric.Common; internal class ActorPerformanceCounters : IFabricPerformanceCountersDefinition { diff --git a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorSaveStateTimeCounterWriter.cs b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorSaveStateTimeCounterWriter.cs index a56e00a3..8566661b 100644 --- a/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorSaveStateTimeCounterWriter.cs +++ b/src/Microsoft.ServiceFabric.Actors/Diagnostics/ActorSaveStateTimeCounterWriter.cs @@ -5,10 +5,7 @@ namespace Microsoft.ServiceFabric.Actors.Diagnostics { - extern alias Microsoft_ServiceFabric_Internal; - - using FabricPerformanceCounterSetInstance = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetInstance; - using FabricPerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterWriter; + using System.Fabric.Common; // This class modifies the value of the performance counter that represents the // time taken to save actor state. diff --git a/src/Microsoft.ServiceFabric.Actors/Diagnostics/PerformanceCounterProvider.cs b/src/Microsoft.ServiceFabric.Actors/Diagnostics/PerformanceCounterProvider.cs index a0efac34..bb0b2757 100644 --- a/src/Microsoft.ServiceFabric.Actors/Diagnostics/PerformanceCounterProvider.cs +++ b/src/Microsoft.ServiceFabric.Actors/Diagnostics/PerformanceCounterProvider.cs @@ -5,22 +5,15 @@ namespace Microsoft.ServiceFabric.Actors.Diagnostics { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; + using System.Fabric.Common; using System.Reflection; using System.Text; using Microsoft.ServiceFabric.Actors.Runtime; using Microsoft.ServiceFabric.Services.Remoting; using Microsoft.ServiceFabric.Services.Remoting.Description; using Microsoft.ServiceFabric.Services.Remoting.Diagnostic; - using FabricAverageCount64PerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricAverageCount64PerformanceCounterWriter; - using FabricNumberOfItems64PerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricNumberOfItems64PerformanceCounterWriter; - using FabricPerformanceCounterDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterDefinition; - using FabricPerformanceCounterSet = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSet; - using FabricPerformanceCounterSetDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetDefinition; - using FabricPerformanceCounterSetInstance = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetInstance; internal class PerformanceCounterProvider : IDisposable { diff --git a/src/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors.csproj b/src/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors.csproj index d54b5eab..0e372432 100644 --- a/src/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors.csproj +++ b/src/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors.csproj @@ -36,11 +36,4 @@ SR.Designer.cs - - - - Microsoft_ServiceFabric_Internal - - - diff --git a/src/Microsoft.ServiceFabric.Actors/Remoting/V1/FabricTransport/Runtime/FabricTransportActorServiceRemotingListener.cs b/src/Microsoft.ServiceFabric.Actors/Remoting/V1/FabricTransport/Runtime/FabricTransportActorServiceRemotingListener.cs index cfcf93a0..d9c9cdb9 100644 --- a/src/Microsoft.ServiceFabric.Actors/Remoting/V1/FabricTransport/Runtime/FabricTransportActorServiceRemotingListener.cs +++ b/src/Microsoft.ServiceFabric.Actors/Remoting/V1/FabricTransport/Runtime/FabricTransportActorServiceRemotingListener.cs @@ -5,9 +5,8 @@ namespace Microsoft.ServiceFabric.Actors.Remoting.V1.FabricTransport.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System.Fabric; + using System.Fabric.Common; using Microsoft.ServiceFabric.Actors.Generator; using Microsoft.ServiceFabric.Actors.Remoting.FabricTransport; using Microsoft.ServiceFabric.Actors.Remoting.V1.Runtime; @@ -16,7 +15,6 @@ namespace Microsoft.ServiceFabric.Actors.Remoting.V1.FabricTransport.Runtime using Microsoft.ServiceFabric.Services.Remoting.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V1.Runtime; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// An diff --git a/src/Microsoft.ServiceFabric.Actors/Remoting/V1/Runtime/ActorServiceRemotingDispatcher.cs b/src/Microsoft.ServiceFabric.Actors/Remoting/V1/Runtime/ActorServiceRemotingDispatcher.cs index a593daa8..a2f77373 100644 --- a/src/Microsoft.ServiceFabric.Actors/Remoting/V1/Runtime/ActorServiceRemotingDispatcher.cs +++ b/src/Microsoft.ServiceFabric.Actors/Remoting/V1/Runtime/ActorServiceRemotingDispatcher.cs @@ -5,10 +5,9 @@ namespace Microsoft.ServiceFabric.Actors.Remoting.V1.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Fabric; + using System.Fabric.Common; using System.Globalization; using System.Runtime.Serialization; using System.Threading; @@ -19,8 +18,6 @@ namespace Microsoft.ServiceFabric.Actors.Remoting.V1.Runtime using Microsoft.ServiceFabric.Services.Remoting.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V1; using Microsoft.ServiceFabric.Services.Remoting.V1.Runtime; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// Provides an implementation of that can dispatch diff --git a/src/Microsoft.ServiceFabric.Actors/Remoting/V2/FabricTransport/Runtime/FabricTransportActorServiceRemotingListener.cs b/src/Microsoft.ServiceFabric.Actors/Remoting/V2/FabricTransport/Runtime/FabricTransportActorServiceRemotingListener.cs index 9c4bee44..90aa5a4a 100644 --- a/src/Microsoft.ServiceFabric.Actors/Remoting/V2/FabricTransport/Runtime/FabricTransportActorServiceRemotingListener.cs +++ b/src/Microsoft.ServiceFabric.Actors/Remoting/V2/FabricTransport/Runtime/FabricTransportActorServiceRemotingListener.cs @@ -5,11 +5,10 @@ namespace Microsoft.ServiceFabric.Actors.Remoting.V2.FabricTransport.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; using System.Fabric; + using System.Fabric.Common; using Microsoft.ServiceFabric.Actors.Generator; using Microsoft.ServiceFabric.Actors.Migration; using Microsoft.ServiceFabric.Actors.Remoting.FabricTransport; @@ -20,7 +19,6 @@ namespace Microsoft.ServiceFabric.Actors.Remoting.V2.FabricTransport.Runtime using Microsoft.ServiceFabric.Services.Remoting.V2; using Microsoft.ServiceFabric.Services.Remoting.V2.FabricTransport.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V2.Runtime; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// An diff --git a/src/Microsoft.ServiceFabric.Actors/Remoting/V2/Runtime/ActorServiceRemotingDispatcher.cs b/src/Microsoft.ServiceFabric.Actors/Remoting/V2/Runtime/ActorServiceRemotingDispatcher.cs index 64db5b56..306937f0 100644 --- a/src/Microsoft.ServiceFabric.Actors/Remoting/V2/Runtime/ActorServiceRemotingDispatcher.cs +++ b/src/Microsoft.ServiceFabric.Actors/Remoting/V2/Runtime/ActorServiceRemotingDispatcher.cs @@ -5,10 +5,9 @@ namespace Microsoft.ServiceFabric.Actors.Remoting.V2.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Fabric; + using System.Fabric.Common; using System.Globalization; using System.Threading; using System.Threading.Tasks; @@ -19,7 +18,6 @@ namespace Microsoft.ServiceFabric.Actors.Remoting.V2.Runtime using Microsoft.ServiceFabric.Services.Remoting.V2; using Microsoft.ServiceFabric.Services.Remoting.V2.Builder; using Microsoft.ServiceFabric.Services.Remoting.V2.Runtime; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// Provides an implementation of that can dispatch diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/ActorReminderDataSerializer.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/ActorReminderDataSerializer.cs index 9ece3262..3320ddd3 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/ActorReminderDataSerializer.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/ActorReminderDataSerializer.cs @@ -5,11 +5,9 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - + using System.Fabric.Common; using System.IO; using System.Text; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; internal sealed class ActorReminderDataSerializer { diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/ActorRuntime.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/ActorRuntime.cs index e50d71a9..7e6a8387 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/ActorRuntime.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/ActorRuntime.cs @@ -5,17 +5,15 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Fabric; + using System.Fabric.Common; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Actors.Diagnostics; using Microsoft.ServiceFabric.Actors.Generator; using Microsoft.ServiceFabric.Services.Runtime; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// Contains methods to register actor and actor service types with Service Fabric runtime. Registering the types allows the runtime to create instances of the actor and the actor service. See https://docs.microsoft.com/azure/service-fabric/service-fabric-reliable-actors-lifecycle for more information on the lifecycle of an actor. diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/ActorStateChange.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/ActorStateChange.cs index 3360227e..891bef00 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/ActorStateChange.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/ActorStateChange.cs @@ -5,10 +5,8 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; + using System.Fabric.Common; /// /// Represents a change to an actor state with a given state name. diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/ActorStateManager.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/ActorStateManager.cs index 198809f2..299011ee 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/ActorStateManager.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/ActorStateManager.cs @@ -5,17 +5,15 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; using System.Fabric; + using System.Fabric.Common; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Data; using Microsoft.ServiceFabric.Services.Common; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; using SR = Microsoft.ServiceFabric.Actors.SR; internal sealed class ActorStateManager : IActorStateManager diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/BinaryReaderWriterExtensions.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/BinaryReaderWriterExtensions.cs index f2a19ee2..c70b483d 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/BinaryReaderWriterExtensions.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/BinaryReaderWriterExtensions.cs @@ -5,13 +5,11 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; + using System.Fabric.Common; using System.IO; using System.Runtime.InteropServices; using System.Text; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; internal static class BinaryReaderWriterExtensions { diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/KvsActorStateProviderBase.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/KvsActorStateProviderBase.cs index 2f4eec77..6be2a8e4 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/KvsActorStateProviderBase.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/KvsActorStateProviderBase.cs @@ -5,12 +5,11 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Fabric; + using System.Fabric.Common; using System.Fabric.Health; using System.Globalization; using System.IO; @@ -26,10 +25,7 @@ namespace Microsoft.ServiceFabric.Actors.Runtime using CopyCompletionCallback = System.Action; using DataLossCallback = System.Func>; - using FabricDirectory = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricDirectory; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; using ReplicationCallback = System.Action>; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; using RestoreCompletedCallback = System.Func; using SR = Microsoft.ServiceFabric.Actors.SR; diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/KvsActorStateProvider_v2.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/KvsActorStateProvider_v2.cs index fd568709..74599e00 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/KvsActorStateProvider_v2.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/KvsActorStateProvider_v2.cs @@ -5,16 +5,13 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System.Collections.Generic; using System.Fabric; + using System.Fabric.Common; using System.Threading; using System.Threading.Tasks; using CopyCompletionCallback = System.Action; using DataLossCallback = System.Func>; - using KeyValueStoreReplica_V2 = Microsoft_ServiceFabric_Internal::System.Fabric.KeyValueStoreReplica_V2; - using KeyValueStoreReplicaSettings_V2 = Microsoft_ServiceFabric_Internal::System.Fabric.KeyValueStoreReplicaSettings_V2; using ReplicationCallback = System.Action>; using RestoreCompletedCallback = System.Func; diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/LogicalTimestampSerializer.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/LogicalTimestampSerializer.cs index e4d85ad8..6e3cf9ff 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/LogicalTimestampSerializer.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/LogicalTimestampSerializer.cs @@ -5,11 +5,9 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - + using System.Fabric.Common; using System.IO; using System.Text; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; internal sealed class LogicalTimestampSerializer { diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/NullActorStateProvider.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/NullActorStateProvider.cs index 997758ad..7d568cb9 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/NullActorStateProvider.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/NullActorStateProvider.cs @@ -5,19 +5,17 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Fabric; + using System.Fabric.Common; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Actors.Query; using Microsoft.ServiceFabric.Data; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; using SR = Microsoft.ServiceFabric.Actors.SR; internal class NullActorStateProvider : IActorStateProvider, IStateProvider, IActorStateProviderInternal diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/ReliableCollectionsActorStateProvider.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/ReliableCollectionsActorStateProvider.cs index c690b37e..cb03ac65 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/ReliableCollectionsActorStateProvider.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/ReliableCollectionsActorStateProvider.cs @@ -5,12 +5,11 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Fabric; + using System.Fabric.Common; using System.Globalization; using System.Linq; using System.Text; @@ -21,8 +20,6 @@ namespace Microsoft.ServiceFabric.Actors.Runtime using Microsoft.ServiceFabric.Data; using Microsoft.ServiceFabric.Data.Collections; using Microsoft.ServiceFabric.Services; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; using SR = Microsoft.ServiceFabric.Actors.SR; /// diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/ReminderCompletedDataSerializer.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/ReminderCompletedDataSerializer.cs index d299eb33..1e7a357c 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/ReminderCompletedDataSerializer.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/ReminderCompletedDataSerializer.cs @@ -5,11 +5,9 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - + using System.Fabric.Common; using System.IO; using System.Text; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; internal sealed class ReminderCompletedDataSerializer { diff --git a/src/Microsoft.ServiceFabric.Actors/Runtime/VolatileActorStateProvider.cs b/src/Microsoft.ServiceFabric.Actors/Runtime/VolatileActorStateProvider.cs index dcbf9cab..68e1e53f 100644 --- a/src/Microsoft.ServiceFabric.Actors/Runtime/VolatileActorStateProvider.cs +++ b/src/Microsoft.ServiceFabric.Actors/Runtime/VolatileActorStateProvider.cs @@ -5,12 +5,11 @@ namespace Microsoft.ServiceFabric.Actors.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Fabric; + using System.Fabric.Common; using System.Globalization; using System.IO; using System.Linq; @@ -29,8 +28,6 @@ namespace Microsoft.ServiceFabric.Actors.Runtime VolatileActorStateProvider.ActorStateType, string, VolatileActorStateProvider.ActorStateData>; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; using SR = Microsoft.ServiceFabric.Actors.SR; /// diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/Diagnostic/ServicePerformanceCounterProvider.cs b/src/Microsoft.ServiceFabric.Services.Remoting/Diagnostic/ServicePerformanceCounterProvider.cs index 4cb654a7..9e0f723c 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/Diagnostic/ServicePerformanceCounterProvider.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/Diagnostic/ServicePerformanceCounterProvider.cs @@ -5,20 +5,13 @@ namespace Microsoft.ServiceFabric.Services.Remoting.Diagnostic { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; + using System.Fabric.Common; using System.Linq; using System.Reflection; using System.Text; using Microsoft.ServiceFabric.Services.Remoting.Description; - using FabricAverageCount64PerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricAverageCount64PerformanceCounterWriter; - using FabricNumberOfItems64PerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricNumberOfItems64PerformanceCounterWriter; - using FabricPerformanceCounterDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterDefinition; - using FabricPerformanceCounterSet = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSet; - using FabricPerformanceCounterSetDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetDefinition; - using FabricPerformanceCounterSetInstance = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetInstance; internal class ServicePerformanceCounterProvider : IDisposable { diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/Diagnostic/ServiceRemotingPerformanceCounters.cs b/src/Microsoft.ServiceFabric.Services.Remoting/Diagnostic/ServiceRemotingPerformanceCounters.cs index f6cbde03..bcf17be8 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/Diagnostic/ServiceRemotingPerformanceCounters.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/Diagnostic/ServiceRemotingPerformanceCounters.cs @@ -5,15 +5,9 @@ namespace Microsoft.ServiceFabric.Services.Remoting.Diagnostic { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; - using FabricPerformanceCounterCategoryType = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterCategoryType; - using FabricPerformanceCounterDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterDefinition; - using FabricPerformanceCounterSetDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetDefinition; - using FabricPerformanceCounterType = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterType; - using IFabricPerformanceCountersDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.IFabricPerformanceCountersDefinition; + using System.Fabric.Common; internal class ServiceRemotingPerformanceCounters : IFabricPerformanceCountersDefinition { diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/FabricTransport/FabricTransportRemotingSettings.cs b/src/Microsoft.ServiceFabric.Services.Remoting/FabricTransport/FabricTransportRemotingSettings.cs index fedbe7ea..14fb31e1 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/FabricTransport/FabricTransportRemotingSettings.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/FabricTransport/FabricTransportRemotingSettings.cs @@ -5,12 +5,10 @@ namespace Microsoft.ServiceFabric.Services.Remoting.FabricTransport { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Fabric; + using System.Fabric.Common; using Microsoft.ServiceFabric.FabricTransport; - using AppTrace = Microsoft_ServiceFabric_Internal::System.Fabric.Common.AppTrace; using Constants = Microsoft.ServiceFabric.Services.Remoting.V2.Constants; /// diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/FabricTransport/Runtime/FabricTransportRemotingListenerSettings.cs b/src/Microsoft.ServiceFabric.Services.Remoting/FabricTransport/Runtime/FabricTransportRemotingListenerSettings.cs index aedf1222..fd1b7dbf 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/FabricTransport/Runtime/FabricTransportRemotingListenerSettings.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/FabricTransport/Runtime/FabricTransportRemotingListenerSettings.cs @@ -5,14 +5,12 @@ namespace Microsoft.ServiceFabric.Services.Remoting.FabricTransport.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Fabric; + using System.Fabric.Common; using Microsoft.ServiceFabric.FabricTransport; using Microsoft.ServiceFabric.FabricTransport.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V2; - using AppTrace = Microsoft_ServiceFabric_Internal::System.Fabric.Common.AppTrace; using Constants = Microsoft.ServiceFabric.Services.Remoting.V2.Constants; /// diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/Microsoft.ServiceFabric.Services.Remoting.csproj b/src/Microsoft.ServiceFabric.Services.Remoting/Microsoft.ServiceFabric.Services.Remoting.csproj index c7a59263..946ffc2e 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/Microsoft.ServiceFabric.Services.Remoting.csproj +++ b/src/Microsoft.ServiceFabric.Services.Remoting/Microsoft.ServiceFabric.Services.Remoting.csproj @@ -29,11 +29,4 @@ SR.Designer.cs - - - - Microsoft_ServiceFabric_Internal - - - diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/V1/FabricTransport/Runtime/FabricTransportMessagingHandler.cs b/src/Microsoft.ServiceFabric.Services.Remoting/V1/FabricTransport/Runtime/FabricTransportMessagingHandler.cs index 699f5e56..d6947b6d 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/V1/FabricTransport/Runtime/FabricTransportMessagingHandler.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/V1/FabricTransport/Runtime/FabricTransportMessagingHandler.cs @@ -5,15 +5,13 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; + using System.Fabric.Common; using System.Runtime.Serialization; using System.Threading.Tasks; using Microsoft.ServiceFabric.FabricTransport; using Microsoft.ServiceFabric.FabricTransport.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V1.Runtime; - using ReleaseAssert = Microsoft_ServiceFabric_Internal::System.Fabric.Common.ReleaseAssert; internal class FabricTransportMessagingHandler : IFabricTransportMessageHandler { diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/V1/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs b/src/Microsoft.ServiceFabric.Services.Remoting/V1/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs index 1d03b3fe..4cfcc9e1 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/V1/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/V1/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs @@ -5,10 +5,9 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Fabric; + using System.Fabric.Common; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.FabricTransport.Runtime; @@ -16,7 +15,6 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime using Microsoft.ServiceFabric.Services.Remoting.FabricTransport.Runtime; using Microsoft.ServiceFabric.Services.Remoting.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V1.Runtime; - using AppTrace = Microsoft_ServiceFabric_Internal::System.Fabric.Common.AppTrace; /// /// An that uses diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/V1/RemoteExceptionInformation.cs b/src/Microsoft.ServiceFabric.Services.Remoting/V1/RemoteExceptionInformation.cs index f72f9038..010769e6 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/V1/RemoteExceptionInformation.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/V1/RemoteExceptionInformation.cs @@ -5,16 +5,14 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V1 { - extern alias Microsoft_ServiceFabric_Internal; - using System; + using System.Fabric.Common; using System.Globalization; using System.IO; using System.Runtime.Serialization; using System.Text; using Microsoft.ServiceFabric.Services.Common; using Microsoft.ServiceFabric.Services.Communication; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// Represents the fault type used by Service Remoting to transfer the exception details from the Service Replica to the client. diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/V1/Runtime/ServiceRemotingDispatcher.cs b/src/Microsoft.ServiceFabric.Services.Remoting/V1/Runtime/ServiceRemotingDispatcher.cs index bfeaaec4..15a9e440 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/V1/Runtime/ServiceRemotingDispatcher.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/V1/Runtime/ServiceRemotingDispatcher.cs @@ -5,12 +5,11 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V1.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; using System.Diagnostics; using System.Fabric; + using System.Fabric.Common; using System.Globalization; using System.Runtime.ExceptionServices; using System.Threading; @@ -19,7 +18,6 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V1.Runtime using Microsoft.ServiceFabric.Services.Remoting.Diagnostic; using Microsoft.ServiceFabric.Services.Remoting.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V1.Builder; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// Provides an implementation of that can dispatch diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/V2/Diagnostic/ServiceRemotingPerformanceCounterProvider.cs b/src/Microsoft.ServiceFabric.Services.Remoting/V2/Diagnostic/ServiceRemotingPerformanceCounterProvider.cs index 317bb80e..dbc38716 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/V2/Diagnostic/ServiceRemotingPerformanceCounterProvider.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/V2/Diagnostic/ServiceRemotingPerformanceCounterProvider.cs @@ -5,18 +5,11 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V2.Diagnostic { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; + using System.Fabric.Common; using System.Linq; using System.Text; - using FabricAverageCount64PerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricAverageCount64PerformanceCounterWriter; - using FabricNumberOfItems64PerformanceCounterWriter = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricNumberOfItems64PerformanceCounterWriter; - using FabricPerformanceCounterDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterDefinition; - using FabricPerformanceCounterSet = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSet; - using FabricPerformanceCounterSetDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetDefinition; - using FabricPerformanceCounterSetInstance = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetInstance; internal class ServiceRemotingPerformanceCounterProvider : IDisposable { diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/V2/Diagnostic/ServiceRemotingPerformanceCounters.cs b/src/Microsoft.ServiceFabric.Services.Remoting/V2/Diagnostic/ServiceRemotingPerformanceCounters.cs index d4a6cb01..e26df58b 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/V2/Diagnostic/ServiceRemotingPerformanceCounters.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/V2/Diagnostic/ServiceRemotingPerformanceCounters.cs @@ -5,15 +5,9 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V2.Diagnostic { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Generic; - using FabricPerformanceCounterCategoryType = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterCategoryType; - using FabricPerformanceCounterDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterDefinition; - using FabricPerformanceCounterSetDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterSetDefinition; - using FabricPerformanceCounterType = Microsoft_ServiceFabric_Internal::System.Fabric.Common.FabricPerformanceCounterType; - using IFabricPerformanceCountersDefinition = Microsoft_ServiceFabric_Internal::System.Fabric.Common.IFabricPerformanceCountersDefinition; + using System.Fabric.Common; internal class ServiceRemotingPerformanceCounters : IFabricPerformanceCountersDefinition { diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/V2/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs b/src/Microsoft.ServiceFabric.Services.Remoting/V2/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs index bc4df22c..f7c09a6f 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/V2/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/V2/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs @@ -5,10 +5,9 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V2.FabricTransport.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System.Collections.Generic; using System.Fabric; + using System.Fabric.Common; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.FabricTransport.V2.Runtime; @@ -16,8 +15,6 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V2.FabricTransport.Runtime using Microsoft.ServiceFabric.Services.Remoting.Runtime; using Microsoft.ServiceFabric.Services.Remoting.V2.Messaging; using Microsoft.ServiceFabric.Services.Remoting.V2.Runtime; - using AppTrace = Microsoft_ServiceFabric_Internal::System.Fabric.Common.AppTrace; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// An that uses diff --git a/src/Microsoft.ServiceFabric.Services.Remoting/V2/Messaging/BufferPoolManager.cs b/src/Microsoft.ServiceFabric.Services.Remoting/V2/Messaging/BufferPoolManager.cs index d93b6102..bb8848e2 100644 --- a/src/Microsoft.ServiceFabric.Services.Remoting/V2/Messaging/BufferPoolManager.cs +++ b/src/Microsoft.ServiceFabric.Services.Remoting/V2/Messaging/BufferPoolManager.cs @@ -5,10 +5,8 @@ namespace Microsoft.ServiceFabric.Services.Remoting.V2.Messaging { - extern alias Microsoft_ServiceFabric_Internal; - using System; - using SynchronizedPool = Microsoft_ServiceFabric_Internal::System.Fabric.Common.SynchronizedPool; + using System.Fabric.Common; /// /// You can use the BufferManager class to manage a buffer pool. @@ -23,7 +21,7 @@ public sealed class BufferPoolManager : IBufferPoolManager private const int DefaultBufferLimit = 100; // Not using SynchonizedBufferPool as it has shrink buffer logic , which we don't need yet - private readonly SynchronizedPool bufferPool; + private readonly SynchronizedPool bufferPool; private readonly Allocator allocator; @@ -37,7 +35,7 @@ public sealed class BufferPoolManager : IBufferPoolManager public BufferPoolManager(int segmentSize = DefaultSegmentSize, int bufferLimit = DefaultBufferLimit) { this.limit = bufferLimit; - this.bufferPool = new SynchronizedPool(this.limit); + this.bufferPool = new SynchronizedPool(this.limit); this.allocator = new Allocator(segmentSize); ServiceTrace.Source.WriteInfo( "BufferPoolManager", diff --git a/src/Microsoft.ServiceFabric.Services.Wcf/Communication/Wcf/Runtime/WcfCommunicationListener.cs b/src/Microsoft.ServiceFabric.Services.Wcf/Communication/Wcf/Runtime/WcfCommunicationListener.cs index 3d461e27..d95fd0c2 100644 --- a/src/Microsoft.ServiceFabric.Services.Wcf/Communication/Wcf/Runtime/WcfCommunicationListener.cs +++ b/src/Microsoft.ServiceFabric.Services.Wcf/Communication/Wcf/Runtime/WcfCommunicationListener.cs @@ -5,10 +5,9 @@ namespace Microsoft.ServiceFabric.Services.Communication.Wcf.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Fabric; + using System.Fabric.Common; using System.Globalization; using System.ServiceModel; using System.ServiceModel.Channels; @@ -17,7 +16,6 @@ namespace Microsoft.ServiceFabric.Services.Communication.Wcf.Runtime using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Services.Communication.Runtime; - using AppTrace = Microsoft_ServiceFabric_Internal::System.Fabric.Common.AppTrace; /// /// A Windows Communication Foundation based listener for Service Fabric based stateless or stateful service. diff --git a/src/Microsoft.ServiceFabric.Services.Wcf/Microsoft.ServiceFabric.Services.Wcf.csproj b/src/Microsoft.ServiceFabric.Services.Wcf/Microsoft.ServiceFabric.Services.Wcf.csproj index 27152f0c..f9c891a6 100644 --- a/src/Microsoft.ServiceFabric.Services.Wcf/Microsoft.ServiceFabric.Services.Wcf.csproj +++ b/src/Microsoft.ServiceFabric.Services.Wcf/Microsoft.ServiceFabric.Services.Wcf.csproj @@ -26,11 +26,4 @@ SR.Designer.cs - - - - Microsoft_ServiceFabric_Internal - - - diff --git a/src/Microsoft.ServiceFabric.Services/Client/ServicePartitionResolver.cs b/src/Microsoft.ServiceFabric.Services/Client/ServicePartitionResolver.cs index 21ebf0c6..5402b93c 100644 --- a/src/Microsoft.ServiceFabric.Services/Client/ServicePartitionResolver.cs +++ b/src/Microsoft.ServiceFabric.Services/Client/ServicePartitionResolver.cs @@ -5,17 +5,14 @@ namespace Microsoft.ServiceFabric.Services.Client { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Collections.Concurrent; - using System.Diagnostics; using System.Fabric; + using System.Fabric.Common; using System.Fabric.Description; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Services.Communication.Client; - using TimeoutHelper = Microsoft_ServiceFabric_Internal::System.Fabric.Common.TimeoutHelper; /// /// Represents a delegate to create a FabricClient object. diff --git a/src/Microsoft.ServiceFabric.Services/Microsoft.ServiceFabric.Services.csproj b/src/Microsoft.ServiceFabric.Services/Microsoft.ServiceFabric.Services.csproj index ca2a795f..f1fbf6a2 100644 --- a/src/Microsoft.ServiceFabric.Services/Microsoft.ServiceFabric.Services.csproj +++ b/src/Microsoft.ServiceFabric.Services/Microsoft.ServiceFabric.Services.csproj @@ -27,11 +27,4 @@ SR.Designer.cs - - - - Microsoft_ServiceFabric_Internal - - - diff --git a/src/Microsoft.ServiceFabric.Services/Runtime/ServiceRuntime.cs b/src/Microsoft.ServiceFabric.Services/Runtime/ServiceRuntime.cs index 4f946c10..b35122ae 100644 --- a/src/Microsoft.ServiceFabric.Services/Runtime/ServiceRuntime.cs +++ b/src/Microsoft.ServiceFabric.Services/Runtime/ServiceRuntime.cs @@ -5,13 +5,11 @@ namespace Microsoft.ServiceFabric.Services.Runtime { - extern alias Microsoft_ServiceFabric_Internal; - using System; using System.Fabric; + using System.Fabric.Common; using System.Threading; using System.Threading.Tasks; - using Requires = Microsoft_ServiceFabric_Internal::System.Fabric.Common.Requires; /// /// The static class that provides methods to register reliable services with Service Fabric runtime. diff --git a/src/netstandard/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors_netstandard.csproj b/src/netstandard/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors_netstandard.csproj index 55add375..c0c58db7 100644 --- a/src/netstandard/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors_netstandard.csproj +++ b/src/netstandard/Microsoft.ServiceFabric.Actors/Microsoft.ServiceFabric.Actors_netstandard.csproj @@ -51,11 +51,4 @@ - - - - Microsoft_ServiceFabric_Internal - - - \ No newline at end of file diff --git a/src/netstandard/Microsoft.ServiceFabric.Services.Remoting/Microsoft.ServiceFabric.Services.Remoting_netstandard.csproj b/src/netstandard/Microsoft.ServiceFabric.Services.Remoting/Microsoft.ServiceFabric.Services.Remoting_netstandard.csproj index 2cfbd0f9..f234014c 100644 --- a/src/netstandard/Microsoft.ServiceFabric.Services.Remoting/Microsoft.ServiceFabric.Services.Remoting_netstandard.csproj +++ b/src/netstandard/Microsoft.ServiceFabric.Services.Remoting/Microsoft.ServiceFabric.Services.Remoting_netstandard.csproj @@ -43,11 +43,4 @@ - - - - Microsoft_ServiceFabric_Internal - - - diff --git a/src/netstandard/Microsoft.ServiceFabric.Services/Microsoft.ServiceFabric.Services_netstandard.csproj b/src/netstandard/Microsoft.ServiceFabric.Services/Microsoft.ServiceFabric.Services_netstandard.csproj index 15e1e611..00d33283 100644 --- a/src/netstandard/Microsoft.ServiceFabric.Services/Microsoft.ServiceFabric.Services_netstandard.csproj +++ b/src/netstandard/Microsoft.ServiceFabric.Services/Microsoft.ServiceFabric.Services_netstandard.csproj @@ -36,11 +36,4 @@ SR.Designer.cs - - - - Microsoft_ServiceFabric_Internal - - -