5 writes to _sync
System.ServiceModel.Primitives (5)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (5)
18_sync = new Object(); 24_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 35_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 51_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 70_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot)));
9 references to _sync
System.ServiceModel.Primitives (9)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (9)
75get { lock (_sync) { return Items.Count; } } 82get { lock (_sync) { return Items[index]; } } 87lock (_sync) 95lock (_sync) 103lock (_sync) 111lock (_sync) 172get { return _sync; } 183lock (_sync) 191lock (_sync)