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