7 references to new
Microsoft.CodeAnalysis.Workspaces (4)
Shared\TestHooks\AsynchronousOperationListener.cs (1)
18
private readonly NonReentrantLock _gate =
new
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CancellableLazy`1.cs (1)
19
_gate = new
NonReentrantLock
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (1)
67
public static readonly Func<NonReentrantLock> Factory = () => new
NonReentrantLock
(useThisInstanceForSynchronization: true);
Workspace\Workspace.cs (1)
51
private readonly NonReentrantLock _stateLock =
new
(useThisInstanceForSynchronization: true);
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\MSBuildProjectLoader.cs (1)
30
private readonly NonReentrantLock _dataGuard =
new
();
MSBuild\MSBuildWorkspace.cs (1)
30
private readonly NonReentrantLock _serializationLock =
new
();
MSBuild\ProjectFileExtensionRegistry.cs (1)
32
_dataGuard = new
NonReentrantLock
();