6 references to EXCLUSIVE_PROCESSING_SENTINEL
mscorlib (6)
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (6)
296
m_processingCount =
EXCLUSIVE_PROCESSING_SENTINEL
; // -1
342
else Contract.Assert(m_processingCount ==
EXCLUSIVE_PROCESSING_SENTINEL
, "The processing count must be the sentinel if it's not >= 0.");
351
Contract.Requires(m_processingCount ==
EXCLUSIVE_PROCESSING_SENTINEL
, "Processing exclusive tasks requires being in exclusive mode.");
388
Contract.Assert(m_processingCount ==
EXCLUSIVE_PROCESSING_SENTINEL
, "The processing mode should not have deviated from exclusive.");
710
get { return (m_pair.m_processingCount ==
EXCLUSIVE_PROCESSING_SENTINEL
) ? 1 : m_pair.m_processingCount; }
727
if (m_processingCount ==
EXCLUSIVE_PROCESSING_SENTINEL
) mode |= ProcessingMode.ProcessingExclusiveTask;