8 writes to _enableOffering
System.Threading.Tasks.Dataflow (8)
Internal\SourceCore.cs (8)
199
_enableOffering
= true; // reenable offering if it was disabled
236
_enableOffering
= false;
265
_enableOffering
= true;
300
_enableOffering
= true;
353
_enableOffering
= true;
559
if (!Volatile.Read(ref
_enableOffering
))
608
_enableOffering
= false;
634
_enableOffering
= true;
3 references to _enableOffering
System.Threading.Tasks.Dataflow (3)
Internal\SourceCore.cs (3)
264
Debug.Assert(!
_enableOffering
, "Offering should have been disabled if there was a valid reservation");
728
if (_taskForOutputProcessing == null &&
_enableOffering
&& !_messages.IsEmpty)
741
Debug.Assert(_taskForOutputProcessing == null &&
_enableOffering
&& !_messages.IsEmpty,