3 writes to s_activeScope
Microsoft.Build (3)
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (3)
48
internal static MultiThreadedStrictModeScope? ActiveScope => Volatile.Read(ref
s_activeScope
);
95
Volatile.Write(ref
s_activeScope
, scope);
148
Volatile.Write(ref
s_activeScope
, null);
5 references to s_activeScope
Microsoft.Build (5)
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (5)
54
return new(Directory.GetCurrentDirectory(),
s_activeScope
);
71
if (
s_activeScope
is not null)
137
if (!ReferenceEquals(
s_activeScope
, this))
206
if (ReferenceEquals(
s_activeScope
, this))
255
if (!ReferenceEquals(
s_activeScope
, this))