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)
75
get { lock (
_sync
) { return Items.Count; } }
82
get { lock (
_sync
) { return Items[index]; } }
87
lock (
_sync
)
95
lock (
_sync
)
103
lock (
_sync
)
111
lock (
_sync
)
172
get { return
_sync
; }
183
lock (
_sync
)
191
lock (
_sync
)