4 writes to _sync
System.ServiceModel.Primitives (4)
System\ServiceModel\SynchronizedCollection.cs (4)
19_sync = new Object(); 25_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 36_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 52_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot)));
16 references to _sync
System.ServiceModel.Primitives (16)
System\ServiceModel\SynchronizedCollection.cs (16)
57get { lock (_sync) { return Items.Count; } } 64get { return _sync; } 71lock (_sync) 78lock (_sync) 93lock (_sync) 102lock (_sync) 110lock (_sync) 118lock (_sync) 126lock (_sync) 134lock (_sync) 142lock (_sync) 170lock (_sync) 185lock (_sync) 234get { return _sync; } 239lock (_sync) 272lock (_sync)