5 references to SourceMask
System (5)
net\System\Net\_LoggingObject.cs (5)
576
SafeSources =
SourceMask
& ~(Timer | Finalization), // Methods that "unsafe" sources can call must be explicitly marked.
874
if ((kind & ThreadKinds.
SourceMask
) != ThreadKinds.Unknown || (allowedSources & ThreadKinds.
SourceMask
) != allowedSources)
880
Assert((threadKind & allowedSources) != 0, errorMsg, "Thread Contract Violation.|Expected source:({0}) Actual source:({1})", allowedSources , threadKind & ThreadKinds.
SourceMask
);
881
Assert((threadKind & kind) == kind, errorMsg, "Thread Contract Violation.|Expected kind:({0}) Actual kind:({1})", kind, threadKind & ~ThreadKinds.
SourceMask
);