11 references to Instance
System.Web (11)
AspNetEventSource.cs (4)
62
if (ActivityIdHelper.
Instance
== null || _writeEventWithRelatedActivityIdCoreDel == null || iisActivityId == Guid.Empty) {
72
Guid originalThreadActivityId = ActivityIdHelper.
Instance
.CurrentThreadActivityId;
77
ActivityIdHelper.
Instance
.SetCurrentThreadActivityId(iisActivityId, out originalThreadActivityId);
86
ActivityIdHelper.
Instance
.SetCurrentThreadActivityId(originalThreadActivityId, out unused);
RootedObjects.cs (7)
48
_activityIdTracingIsEnabled = ActivityIdHelper.
Instance
!= null && AspNetEventSource.Instance.IsEnabled();
231
Debug.Assert(ActivityIdHelper.
Instance
!= null);
232
ActivityIdHelper.
Instance
.SetCurrentThreadActivityId(rootedObjects._requestActivityId, out _originalActivityId);
253
Debug.Assert(ActivityIdHelper.
Instance
!= null);
254
Debug.Assert(ActivityIdHelper.
Instance
.CurrentThreadActivityId == _rootedObjects._requestActivityId, "Unexpected activity ID on current thread.");
265
ActivityIdHelper.
Instance
.SetCurrentThreadActivityId(_originalActivityId);
270
ActivityIdHelper.
Instance
.SetCurrentThreadActivityId(_originalActivityId, out unused);