7 references to new
Microsoft.CodeAnalysis.Workspaces (4)
Shared\TestHooks\AsynchronousOperationListener.cs (1)
18private 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)
67public static readonly Func<NonReentrantLock> Factory = () => new NonReentrantLock(useThisInstanceForSynchronization: true);
Workspace\Workspace.cs (1)
51private readonly NonReentrantLock _stateLock = new(useThisInstanceForSynchronization: true);
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\MSBuildProjectLoader.cs (1)
30private readonly NonReentrantLock _dataGuard = new();
MSBuild\MSBuildWorkspace.cs (1)
30private readonly NonReentrantLock _serializationLock = new();
MSBuild\ProjectFileExtensionRegistry.cs (1)
32_dataGuard = new NonReentrantLock();