2 writes to RemainingMessages
System.Threading.Tasks.Dataflow (2)
Internal\TargetRegistry.cs (2)
42
RemainingMessages
= linkOptions.MaxMessages;
170
node.
RemainingMessages
--;
5 references to RemainingMessages
System.Threading.Tasks.Dataflow (5)
Internal\TargetRegistry.cs (5)
98
if (node.
RemainingMessages
> 0) _linksWithRemainingMessages++;
152
if (!onlyIfReachedMaxMessages || node.
RemainingMessages
== 1)
158
if (node.
RemainingMessages
== 0) _linksWithRemainingMessages--;
167
else if (node.
RemainingMessages
> 0)
169
Debug.Assert(node.
RemainingMessages
> 1, "The target should have been removed, because there are no remaining messages.");