4 writes to Current
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\ServiceModelActivity.cs (4)
107
ServiceModelActivity.
Current
= activity;
239
ServiceModelActivity.
Current
= retval;
287
ServiceModelActivity.
Current
= _previousActivity;
431
ServiceModelActivity.
Current
= _previousActivity;
20 references to Current
dotnet-svcutil-lib (20)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (2)
321
if (ServiceModelActivity.
Current
== null ||
322
ServiceModelActivity.
Current
.ActivityType != ActivityType.Close)
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\ServiceModelActivity.cs (5)
54
_previousActivity = ServiceModelActivity.
Current
;
105
retval.SetPreviousServiceModelActivity(ServiceModelActivity.
Current
);
171
ServiceModelActivity activityToSuspend = ServiceModelActivity.
Current
;
280
ServiceModelActivity.
Current
!= null)
282
ServiceModelActivity.
Current
.Resume();
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceAsyncResult.cs (1)
23
this.CallbackActivity = ServiceModelActivity.
Current
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (9)
137
ServiceModelActivity activity = ServiceModelActivity.
Current
;
164
ServiceModelActivity activity = ServiceModelActivity.
Current
;
457
if (ServiceModelActivity.
Current
!= null)
459
if ((ServiceModelActivity.
Current
.Id == guid) ||
460
(ServiceModelActivity.
Current
.ActivityType == ActivityType.ProcessAction))
462
activity = ServiceModelActivity.
Current
;
465
else if (ServiceModelActivity.
Current
.PreviousActivity != null &&
466
ServiceModelActivity.
Current
.PreviousActivity.Id == guid)
468
activity = ServiceModelActivity.
Current
.PreviousActivity;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (3)
474
ServiceModelActivity.
Current
!= null &&
475
ServiceModelActivity.
Current
.ActivityType == ActivityType.ProcessAction)
477
ServiceModelActivity.
Current
.Suspend();