4 references to SyncObject
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (4)
140
Contract.ThrowIfTrue(Monitor.IsEntered(
SyncObject
), "Attempt to take the lock while already holding it!");
143
Monitor.Enter(
SyncObject
);
153
Contract.ThrowIfFalse(Monitor.IsEntered(asyncLazy.
SyncObject
));
154
Monitor.Exit(asyncLazy.
SyncObject
);