5 writes to sync
System.ServiceModel (5)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (5)
20
this.
sync
= new Object();
29
this.
sync
= syncRoot;
40
this.
sync
= syncRoot;
54
this.
sync
= syncRoot;
69
this.
sync
= syncRoot;
9 references to sync
System.ServiceModel (9)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (9)
74
get { lock (this.
sync
) { return this.items.Count; } }
87
get { lock (this.
sync
) { return this.items[index]; } }
92
lock (this.
sync
)
100
lock (this.
sync
)
108
lock (this.
sync
)
116
lock (this.
sync
)
177
get { return this.
sync
; }
186
lock (this.
sync
)
194
lock (this.
sync
)