5 references to OptionsMask
mscorlib (5)
system\threading\Tasks\Task.cs (5)
631Contract.Assert((((int)creationOptions) | OptionsMask) == OptionsMask, "TaskConstructorCore: options take too many bits"); 803Contract.Assert((OptionsMask & 1) == 1, "OptionsMask needs a shift in Options.get"); 804return (TaskCreationOptions)(flags & OptionsMask); 2356&& (((TaskCreationOptions)(m_stateFlags & OptionsMask)) & TaskCreationOptions.AttachedToParent) != 0)