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)
57
get { lock (
_sync
) { return Items.Count; } }
64
get { return
_sync
; }
71
lock (
_sync
)
78
lock (
_sync
)
93
lock (
_sync
)
102
lock (
_sync
)
110
lock (
_sync
)
118
lock (
_sync
)
126
lock (
_sync
)
134
lock (
_sync
)
142
lock (
_sync
)
170
lock (
_sync
)
185
lock (
_sync
)
234
get { return
_sync
; }
239
lock (
_sync
)
272
lock (
_sync
)