3 writes to s_activeScope
Microsoft.Build (3)
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (3)
46
internal static MultiThreadedStrictModeScope? ActiveScope => Volatile.Read(ref
s_activeScope
);
93
Volatile.Write(ref
s_activeScope
, scope);
146
Volatile.Write(ref
s_activeScope
, null);
5 references to s_activeScope
Microsoft.Build (5)
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (5)
52
return new(Directory.GetCurrentDirectory(),
s_activeScope
);
69
if (
s_activeScope
is not null)
135
if (!ReferenceEquals(
s_activeScope
, this))
204
if (ReferenceEquals(
s_activeScope
, this))
253
if (!ReferenceEquals(
s_activeScope
, this))