430 implementations of SyncRoot
dotnet-svcutil-lib (9)
FrameworkFork\Microsoft.CodeDom\Compiler\TempFiles.cs (1)
169object ICollection.SyncRoot
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
177object ICollection.SyncRoot
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttributeCollection.cs (1)
276object ICollection.SyncRoot
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (1)
308object ICollection.SyncRoot
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (2)
199public Object SyncRoot 254public Object SyncRoot
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
229object ICollection.SyncRoot
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
173object ICollection.SyncRoot
Shared\Options\ListValue.cs (1)
77object ICollection.SyncRoot { get { return this.SyncRoot; } }
Microsoft.Build (6)
Collections\ArrayDictionary.cs (1)
90object ICollection.SyncRoot => this;
Construction\ProjectElementContainer.cs (1)
807object ICollection.SyncRoot => this;
CopyOnWriteDictionary.cs (1)
164object ICollection.SyncRoot => this;
ReadOnlyCollection.cs (1)
73object ICollection.SyncRoot
ReadOnlyEmptyCollection.cs (1)
77object ICollection.SyncRoot
ReadOnlyEmptyDictionary.cs (1)
109public object SyncRoot
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
110public object SyncRoot => throw new NotSupportedException();
Microsoft.Build.Framework (14)
ImmutableSegmentedDictionary`2.cs (1)
114object ICollection.SyncRoot => _dictionary;
ImmutableSegmentedDictionary`2+Builder.cs (1)
80object ICollection.SyncRoot => this;
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedList`1.cs (1)
96object ICollection.SyncRoot => _list;
ImmutableSegmentedList`1+Builder.cs (1)
34object ICollection.SyncRoot => this;
ImmutableSegmentedList`1+ValueBuilder.cs (1)
45object ICollection.SyncRoot => throw new NotSupportedException();
SegmentedArray`1.cs (1)
114public object SyncRoot => _items;
SegmentedDictionary`2.cs (3)
1007object ICollection.SyncRoot => this; 1384object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1584object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
SegmentedList`1.cs (1)
165object ICollection.SyncRoot => this;
Microsoft.Build.Tasks.Core (4)
CopyOnWriteDictionary.cs (1)
164object ICollection.SyncRoot => this;
ReadOnlyCollection.cs (1)
73object ICollection.SyncRoot
ReadOnlyEmptyCollection.cs (1)
77object ICollection.SyncRoot
ReadOnlyEmptyDictionary.cs (1)
109public object SyncRoot
Microsoft.Build.Utilities.Core (3)
CopyOnWriteDictionary.cs (1)
164object ICollection.SyncRoot => this;
ReadOnlyEmptyCollection.cs (1)
77object ICollection.SyncRoot
ReadOnlyEmptyDictionary.cs (1)
109public object SyncRoot
Microsoft.CodeAnalysis (16)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
114object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
57object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
91object ICollection.SyncRoot => _set;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
96object ICollection.SyncRoot => _list;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
34object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedArray`1.cs (1)
111public object SyncRoot => _items;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1041object ICollection.SyncRoot => this; 1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedList`1.cs (1)
192object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.CodeStyle (16)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
114object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
57object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
91object ICollection.SyncRoot => _set;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
96object ICollection.SyncRoot => _list;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
34object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedArray`1.cs (1)
111public object SyncRoot => _items;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1041object ICollection.SyncRoot => this; 1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedList`1.cs (1)
192object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Collections.Package (16)
ImmutableSegmentedDictionary`2.cs (1)
114object ICollection.SyncRoot => _dictionary;
ImmutableSegmentedDictionary`2+Builder.cs (1)
57object ICollection.SyncRoot => this;
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
78readonly object ICollection.SyncRoot => throw new NotSupportedException();
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedHashSet`1.cs (1)
91object ICollection.SyncRoot => _set;
ImmutableSegmentedList`1.cs (1)
96object ICollection.SyncRoot => _list;
ImmutableSegmentedList`1+Builder.cs (1)
34object ICollection.SyncRoot => this;
ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
SegmentedArray`1.cs (1)
111public object SyncRoot => _items;
SegmentedDictionary`2.cs (3)
1041object ICollection.SyncRoot => this; 1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
SegmentedList`1.cs (1)
192object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.InteractiveHost (16)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
114object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
57object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
91object ICollection.SyncRoot => _set;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
96object ICollection.SyncRoot => _list;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
34object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedArray`1.cs (1)
111public object SyncRoot => _items;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1041object ICollection.SyncRoot => this; 1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedList`1.cs (1)
192object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
434public object SyncRoot
Microsoft.CodeAnalysis.Threading.Package (16)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
114object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
57object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
91object ICollection.SyncRoot => _set;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
96object ICollection.SyncRoot => _list;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
34object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedArray`1.cs (1)
111public object SyncRoot => _items;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1041object ICollection.SyncRoot => this; 1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedList`1.cs (1)
192object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Workspaces (16)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
114object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
57object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
91object ICollection.SyncRoot => _set;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
96object ICollection.SyncRoot => _list;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
34object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedArray`1.cs (1)
111public object SyncRoot => _items;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1041object ICollection.SyncRoot => this; 1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedList`1.cs (1)
192object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (16)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
114object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
57object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
91object ICollection.SyncRoot => _set;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
96object ICollection.SyncRoot => _list;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
34object ICollection.SyncRoot => this;
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedArray`1.cs (1)
111public object SyncRoot => _items;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1041object ICollection.SyncRoot => this; 1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedList`1.cs (1)
192object ICollection.SyncRoot => this;
Microsoft.Maui.Controls (4)
ListProxy.cs (1)
433 object ICollection.SyncRoot
ObservableWrapper.cs (1)
308 public object SyncRoot => ((IList)_list).SyncRoot;
ReadOnlyListAdapter.cs (1)
41 public object SyncRoot
TemplatedItemsList.cs (1)
231 object ICollection.SyncRoot
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
621Private ReadOnly Property ICollectionSyncRoot() As Object Implements ICollection.SyncRoot
MSBuild (3)
CopyOnWriteDictionary.cs (1)
164object ICollection.SyncRoot => this;
ReadOnlyEmptyCollection.cs (1)
77object ICollection.SyncRoot
ReadOnlyEmptyDictionary.cs (1)
109public object SyncRoot
MSBuildTaskHost (4)
CopyOnWriteDictionary.cs (1)
164object ICollection.SyncRoot => this;
Immutable\ImmutableDictionary.cs (1)
55public object SyncRoot => this;
ReadOnlyEmptyCollection.cs (1)
77object ICollection.SyncRoot
ReadOnlyEmptyDictionary.cs (1)
109public object SyncRoot
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (1)
551public object SyncRoot
PresentationCore (54)
System\Windows\FreezableCollection.cs (1)
511object ICollection.SyncRoot
System\Windows\Generated\TextDecorationCollection.cs (1)
419object ICollection.SyncRoot
System\Windows\Input\Command\CommandBindingCollection.cs (1)
259public object SyncRoot
System\Windows\Input\Command\InputBindingCollection.cs (1)
345public object SyncRoot
System\Windows\Input\Command\InputGestureCollection.cs (1)
203public object SyncRoot
System\Windows\Input\Stylus\Common\TabletDeviceCollection.cs (1)
84public object SyncRoot
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
418object ICollection.SyncRoot
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
234public object SyncRoot
System\Windows\Media\CharacterMetricsDictionary.cs (1)
167object SC.ICollection.SyncRoot
System\Windows\Media\CultureSpecificStringDictionary.cs (2)
136object SC.ICollection.SyncRoot 456public object SyncRoot
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
418object ICollection.SyncRoot
System\Windows\Media\FamilyMapCollection.cs (1)
113object SC.ICollection.SyncRoot
System\Windows\Media\FamilyTypefaceCollection.cs (1)
100object SC.ICollection.SyncRoot
System\Windows\Media\Generated\DoubleCollection.cs (1)
386object ICollection.SyncRoot
System\Windows\Media\Generated\DrawingCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
416object ICollection.SyncRoot
System\Windows\Media\Generated\GeometryCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media\Generated\GradientStopCollection.cs (1)
417object ICollection.SyncRoot
System\Windows\Media\Generated\Int32Collection.cs (1)
385object ICollection.SyncRoot
System\Windows\Media\Generated\PathFigureCollection.cs (1)
422object ICollection.SyncRoot
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
416object ICollection.SyncRoot
System\Windows\Media\Generated\PointCollection.cs (1)
385object ICollection.SyncRoot
System\Windows\Media\Generated\TextEffectCollection.cs (1)
416object ICollection.SyncRoot
System\Windows\Media\Generated\TransformCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media\Generated\VectorCollection.cs (1)
385object ICollection.SyncRoot
System\Windows\Media\VisualCollection.cs (1)
154public object SyncRoot
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
416object ICollection.SyncRoot
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
386object ICollection.SyncRoot
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
386object ICollection.SyncRoot
System\Windows\Media3D\Visual3DCollection.cs (1)
281object ICollection.SyncRoot
PresentationFramework (22)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
340object ICollection.SyncRoot
MS\Internal\Data\LiveShapingList.cs (1)
632public object SyncRoot
MS\Internal\Documents\ContentElementCollection.cs (1)
574public object SyncRoot
System\Windows\Controls\ColumnDefinition.cs (1)
413public object SyncRoot // object ICollection.SyncRoot {get;};
System\Windows\Controls\CustomDictionarySources.cs (1)
290object ICollection.SyncRoot
System\Windows\Controls\ItemCollection.cs (1)
744object ICollection.SyncRoot
System\Windows\Controls\MultipleCopiesCollection.cs (1)
314public object SyncRoot
System\Windows\Controls\RowDefinition.cs (1)
408public object SyncRoot // object ICollection.SyncRoot {get;};
System\Windows\Controls\UIElementCollection.cs (1)
67public virtual object SyncRoot
System\Windows\Data\CompositeCollection.cs (1)
340object ICollection.SyncRoot
System\Windows\Documents\TableCellCollection.cs (1)
387public object SyncRoot
System\Windows\Documents\TableColumnCollection.cs (1)
395public object SyncRoot
System\Windows\Documents\TableRowCollection.cs (1)
387public object SyncRoot
System\Windows\Documents\TableRowGroupCollection.cs (1)
386public object SyncRoot
System\Windows\Documents\TextElementCollection.cs (1)
641object ICollection.SyncRoot
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
370object ICollection.SyncRoot
System\Windows\Markup\XmlnsDictionary.cs (1)
551public object SyncRoot
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\ResourceDictionary.cs (2)
861object ICollection.SyncRoot 2255object ICollection.SyncRoot
System\Windows\TriggerActionCollection.cs (1)
241object ICollection.SyncRoot
System\Windows\WindowCollection.cs (1)
130public Object SyncRoot
System.CodeDom (2)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
108object ICollection.SyncRoot => null;
System\CodeDom\CodeNamespaceImportCollection.cs (1)
83object ICollection.SyncRoot => null;
System.Collections (14)
System\Collections\BitArray.cs (1)
1035public object SyncRoot => this;
System\Collections\Generic\LinkedList.cs (1)
445object ICollection.SyncRoot => this;
System\Collections\Generic\OrderedDictionary.cs (3)
288object ICollection.SyncRoot => this; 1488object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1683object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
System\Collections\Generic\PriorityQueue.cs (1)
951object ICollection.SyncRoot => this;
System\Collections\Generic\SortedDictionary.cs (3)
397object ICollection.SyncRoot 624object ICollection.SyncRoot 785object ICollection.SyncRoot
System\Collections\Generic\SortedList.cs (3)
386object ICollection.SyncRoot => this; 1026object ICollection.SyncRoot 1140object ICollection.SyncRoot
System\Collections\Generic\SortedSet.cs (1)
281object ICollection.SyncRoot => this;
System\Collections\Generic\Stack.cs (1)
68object ICollection.SyncRoot => this;
System.Collections.Concurrent (4)
System\Collections\Concurrent\BlockingCollection.cs (1)
129object ICollection.SyncRoot
System\Collections\Concurrent\ConcurrentBag.cs (1)
595object ICollection.SyncRoot
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1953object ICollection.SyncRoot => throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported);
System\Collections\Concurrent\ConcurrentStack.cs (1)
180object ICollection.SyncRoot
System.Collections.Immutable (13)
System\Collections\Frozen\FrozenDictionary.cs (1)
427object ICollection.SyncRoot => this;
System\Collections\Frozen\FrozenSet.cs (1)
302object ICollection.SyncRoot => this;
System\Collections\Immutable\ImmutableArray_1.cs (1)
1320object ICollection.SyncRoot
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
254object ICollection.SyncRoot
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
770object ICollection.SyncRoot
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
131object ICollection.SyncRoot
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
1162object ICollection.SyncRoot
System\Collections\Immutable\ImmutableList_1.cs (1)
152object ICollection.SyncRoot => this;
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
265object ICollection.SyncRoot
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
667object ICollection.SyncRoot
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
508object ICollection.SyncRoot
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
805object ICollection.SyncRoot
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (1)
158object ICollection.SyncRoot
System.Collections.NonGeneric (8)
System\Collections\CollectionBase.cs (1)
105object ICollection.SyncRoot
System\Collections\DictionaryBase.cs (1)
54object ICollection.SyncRoot
System\Collections\Queue.cs (1)
102public virtual object SyncRoot => this;
System\Collections\ReadOnlyCollectionBase.cs (1)
33object ICollection.SyncRoot
System\Collections\SortedList.cs (3)
279public virtual object SyncRoot => this; 917public object SyncRoot 1021public object SyncRoot
System\Collections\Stack.cs (1)
75public virtual object SyncRoot => this;
System.Collections.Specialized (8)
System\Collections\Specialized\HybridDictionary.cs (1)
203public object SyncRoot
System\Collections\Specialized\ListDictionary.cs (2)
141public object SyncRoot => this; 396object ICollection.SyncRoot
System\Collections\Specialized\NameObjectCollectionBase.cs (2)
391object ICollection.SyncRoot => this; 615object ICollection.SyncRoot
System\Collections\Specialized\OrderedDictionary.cs (2)
146object ICollection.SyncRoot => this; 573object ICollection.SyncRoot => _objects.SyncRoot;
System\Collections\Specialized\StringCollection.cs (1)
178public object SyncRoot
System.ComponentModel.TypeConverter (7)
System\ComponentModel\AttributeCollection.cs (1)
333object ICollection.SyncRoot => this;
System\ComponentModel\Design\DesignerCollection.cs (1)
61object ICollection.SyncRoot => null!;
System\ComponentModel\Design\DesignerOptionService.cs (1)
332object ICollection.SyncRoot => this;
System\ComponentModel\EventDescriptorCollection.cs (1)
370object ICollection.SyncRoot => null!;
System\ComponentModel\ListSortDescriptionCollection.cs (1)
66object ICollection.SyncRoot => this;
System\ComponentModel\PropertyDescriptorCollection.cs (1)
404object ICollection.SyncRoot => null!;
System\ComponentModel\TypeConverter.cs (1)
502object ICollection.SyncRoot => null!;
System.Configuration.ConfigurationManager (7)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
108object ICollection.SyncRoot => null;
System\Configuration\ConfigurationElementCollection.cs (1)
126public object SyncRoot => null;
System\Configuration\ConfigurationLockCollection.cs (1)
108public object SyncRoot => this;
System\Configuration\ConfigurationPropertyCollection.cs (1)
32public object SyncRoot => _items;
System\Configuration\Provider\ProviderCollection.cs (1)
29public object SyncRoot => this;
System\Configuration\SettingsPropertyCollection.cs (1)
111public object SyncRoot { get { return this; } }
System\Configuration\SettingsPropertyValueCollection.cs (1)
113public object SyncRoot { get { return this; } }
System.Data.Common (8)
System\Data\BaseCollection.cs (1)
55public object SyncRoot => this;
System\Data\Common\DataColumnMappingCollection.cs (1)
25object ICollection.SyncRoot
System\Data\Common\DataTableMappingCollection.cs (1)
23object ICollection.SyncRoot => this;
System\Data\Common\DbConnectionStringBuilder.cs (1)
233object ICollection.SyncRoot
System\Data\Common\DbParameterCollection.cs (1)
36public abstract object SyncRoot { get; }
System\Data\DataView.cs (1)
462object ICollection.SyncRoot => this;
System\Data\DataViewManager.cs (1)
150object ICollection.SyncRoot => this;
System\Data\DataViewSettingCollection.cs (1)
152public object SyncRoot => this;
System.Data.Odbc (1)
System\Data\Odbc\OdbcErrorCollection.cs (1)
18object System.Collections.ICollection.SyncRoot
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
252object System.Collections.ICollection.SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } }
System.Diagnostics.EventLog (1)
artifacts\obj\System.Diagnostics.EventLog\Debug\net10.0\System.Diagnostics.EventLog.notsupported.cs (1)
129object System.Collections.ICollection.SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } }
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
40public object SyncRoot => ((IDictionary)_contents).SyncRoot;
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceListeners.cs (1)
297object ICollection.SyncRoot
System.DirectoryServices (3)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (3)
372object System.Collections.ICollection.SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); } } 443object System.Collections.ICollection.SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); } } 480object System.Collections.ICollection.SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); } }
System.DirectoryServices.AccountManagement (2)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (2)
235object System.Collections.ICollection.SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } } 364object System.Collections.ICollection.SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } }
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
363object ICollection.SyncRoot => this;
System.Management (4)
artifacts\obj\System.Management\Debug\net10.0\System.Management.notsupported.cs (4)
337public object SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 561public object SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 630public object SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 681public object SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } }
System.Net.Primitives (1)
System\Net\CookieCollection.cs (1)
137public object SyncRoot
System.ObjectModel (2)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (2)
300public object SyncRoot => _list.SyncRoot; 345public object SyncRoot => this;
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
628public object SyncRoot => this;
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (4)
115public virtual object SyncRoot => this; 1512public object SyncRoot => _root; 1611public object SyncRoot => _list.SyncRoot; 1870public object SyncRoot => _list.SyncRoot;
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
167object ICollection.SyncRoot { get { ThrowHelper.ThrowNotSupportedException(ExceptionResource.ConcurrentCollection_SyncRoot_NotSupported); return default; } }
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1633object ICollection.SyncRoot => this; 2008object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 2202object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
140object ICollection.SyncRoot => this;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
65object ICollection.SyncRoot => this;
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (3)
1008public virtual object SyncRoot => this; 1208public object SyncRoot => _hashtable.SyncRoot; 1243public object SyncRoot => _hashtable.SyncRoot;
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (2)
93public object SyncRoot => this; 334object ICollection.SyncRoot => list.SyncRoot;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
168object ICollection.SyncRoot => items is ICollection coll ? coll.SyncRoot : this;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
99object ICollection.SyncRoot => list is ICollection coll ? coll.SyncRoot : this;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (3)
212object ICollection.SyncRoot => (m_dictionary is ICollection coll) ? coll.SyncRoot : this; 298object ICollection.SyncRoot => (_collection is ICollection coll) ? coll.SyncRoot : this; 350object ICollection.SyncRoot => (_collection is ICollection coll) ? coll.SyncRoot : this;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
78object ICollection.SyncRoot => _set is ICollection c ? c.SyncRoot : this;
src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
20public virtual object SyncRoot => this;
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
53public object SyncRoot => this;
System.Private.Xml (6)
System\Xml\Dom\XmlAttributeCollection.cs (1)
282object ICollection.SyncRoot
System\Xml\Schema\XmlSchemaCollection.cs (1)
260object ICollection.SyncRoot
System\Xml\Schema\XmlSchemaObjectTable.cs (2)
173public object SyncRoot 226public object SyncRoot
System\Xml\Xsl\ListBase.cs (1)
120object System.Collections.ICollection.SyncRoot
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
150object System.Collections.ICollection.SyncRoot
System.Security.AccessControl (2)
artifacts\obj\System.Security.AccessControl\Debug\net10.0\System.Security.AccessControl.notsupported.cs (2)
290public virtual object SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } 550public object SyncRoot { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } }
System.Security.Cryptography (5)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (1)
124public object SyncRoot
System\Security\Cryptography\AsnEncodedDataCollection.cs (1)
105public object SyncRoot
System\Security\Cryptography\OidCollection.cs (1)
104public object SyncRoot => this;
System\Security\Cryptography\X509Certificates\X509ChainElementCollection.cs (1)
35public object SyncRoot
System\Security\Cryptography\X509Certificates\X509ExtensionCollection.cs (1)
32public object SyncRoot
System.Security.Cryptography.Pkcs (4)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (1)
124public object SyncRoot
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
132public object SyncRoot
System\Security\Cryptography\Pkcs\RecipientInfoCollection.cs (1)
97public object SyncRoot
System\Security\Cryptography\Pkcs\SignerInfoCollection.cs (1)
79public object SyncRoot => this;
System.Security.Cryptography.Xml (4)
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (1)
99public object SyncRoot
System\Security\Cryptography\Xml\EncryptionPropertyCollection.cs (1)
158public object SyncRoot
System\Security\Cryptography\Xml\ReferenceList.cs (1)
130public object SyncRoot
System\Security\Cryptography\Xml\SignedInfo.cs (1)
59public object SyncRoot
System.Security.Permissions (2)
System\Security\Permissions\KeyContainerPermissionAccessEntryCollection.cs (1)
24public object SyncRoot { get; }
System\Security\Policy\ApplicationTrustCollection.cs (1)
15public object SyncRoot { get { return null; } }
System.ServiceModel.Primitives (1)
netstandard.cs (1)
40object ICollection.SyncRoot { get { return default; } }
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
78public object SyncRoot => _group;
System\Text\RegularExpressions\GroupCollection.cs (1)
92public object SyncRoot => _match;
System\Text\RegularExpressions\MatchCollection.cs (1)
117public object SyncRoot => this;
System.Windows.Forms (42)
System\Windows\Forms\AutoCompleteStringCollection.cs (1)
179public object SyncRoot => ((IList)_data).SyncRoot;
System\Windows\Forms\BaseCollection.cs (1)
38public object SyncRoot => this;
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
63object ICollection.SyncRoot
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (1)
50object ICollection.SyncRoot => ((ICollection)_items).SyncRoot;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
57object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (1)
39object ICollection.SyncRoot => ((ICollection)InnerArray).SyncRoot;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
74object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (1)
63object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (1)
59object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (1)
48object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
110object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (1)
91object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (1)
31object ICollection.SyncRoot
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (1)
64object ICollection.SyncRoot
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (1)
34object ICollection.SyncRoot
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (1)
68object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (1)
32object ICollection.SyncRoot
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (1)
73object ICollection.SyncRoot
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (1)
111object ICollection.SyncRoot
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (1)
127object ICollection.SyncRoot
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (1)
77object ICollection.SyncRoot
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (1)
47object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (1)
136object ICollection.SyncRoot
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (1)
214object ICollection.SyncRoot
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (1)
26object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (1)
32object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\PropertyGrid\GridItemCollection.cs (1)
27object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyTabCollection.cs (1)
37object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.MultiMergeCollection.cs (1)
31object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (1)
73object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
116object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\Unsupported\ContextMenu\Menu.MenuItemCollection.cs (1)
40object ICollection.SyncRoot => throw null;
System\Windows\Forms\Controls\Unsupported\DataGrid\GridColumnStylesCollection.cs (1)
58object ICollection.SyncRoot => throw null;
System\Windows\Forms\Controls\Unsupported\DataGrid\GridTableStylesCollection.cs (1)
56object ICollection.SyncRoot => throw null;
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBar.StatusBarPanelCollection.cs (1)
46object ICollection.SyncRoot => throw null;
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.ToolBarButtonCollection.cs (1)
44object ICollection.SyncRoot => throw null;
System\Windows\Forms\Controls\WebBrowser\HtmlElementCollection.cs (1)
158object ICollection.SyncRoot => this;
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (1)
95object ICollection.SyncRoot => this;
System\Windows\Forms\DataBinding\BindingContext.cs (1)
71object ICollection.SyncRoot => this;
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1457public virtual object SyncRoot => List.SyncRoot;
System\Windows\Forms\Layout\ArrangedElementCollection.cs (1)
146object ICollection.SyncRoot => ((ICollection)InnerList).SyncRoot;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
135object ICollection.SyncRoot => ((ICollection)_innerList).SyncRoot;
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignSurfaceCollection.cs (1)
54object ICollection.SyncRoot => null!;
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
24object ICollection.SyncRoot => this;
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
194object ICollection.SyncRoot => ((ICollection)_items).SyncRoot;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2155object ICollection.SyncRoot => this;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
120object ICollection.SyncRoot => ((ICollection)_list).SyncRoot;
System.Windows.Forms.Tests (1)
System\Windows\Forms\BindingSourceTests.cs (1)
738public object SyncRoot => ((IList)_innerList).SyncRoot;
System.Xaml.Tests (2)
System\Xaml\XamlTypeTests.cs (2)
3205public object SyncRoot => throw new NotImplementedException(); 3267public object SyncRoot => throw new NotImplementedException();
UIAutomationClient (1)
System\Windows\Automation\AutomationElementCollection.cs (1)
98public virtual Object SyncRoot
226 references to SyncRoot
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (2)
203return ((ICollection)_entries).SyncRoot; 258return ((ICollection)_entries).SyncRoot;
Microsoft.Build.Framework (6)
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
SegmentedDictionary`2.cs (2)
1384object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1584object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis (6)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.CodeStyle (6)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Collections.Package (6)
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
SegmentedDictionary`2.cs (2)
1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.InteractiveHost (6)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Threading.Package (6)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.UnitTests (21)
Collections\ImmutableDictionaryBuilderTestBase.cs (3)
256Assert.NotNull(collection.SyncRoot); 257Assert.Same(collection.SyncRoot, collection.SyncRoot);
Collections\ImmutableDictionaryTestBase.cs (3)
144Assert.NotNull(dictionary.SyncRoot); 145Assert.Same(dictionary.SyncRoot, dictionary.SyncRoot);
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (3)
294Assert.NotNull(nonGeneric.SyncRoot); 295Assert.Same(nonGeneric.SyncRoot, nonGeneric.SyncRoot);
Collections\ImmutableListTestBase.cs (3)
513Assert.NotNull(collection.SyncRoot); 514Assert.Same(collection.SyncRoot, collection.SyncRoot);
Collections\ImmutableSetTest.cs (3)
203Assert.NotNull(builder.SyncRoot); 204Assert.Same(builder.SyncRoot, builder.SyncRoot);
Collections\List\ICollection.NonGeneric.Tests.cs (6)
149Assert.Equal(ICollection_NonGeneric_HasNullSyncRoot, collection.SyncRoot == null); 150Assert.Same(collection.SyncRoot, collection.SyncRoot); 154Assert.Throws<NotSupportedException>(() => collection.SyncRoot); 168Assert.NotSame(collection1.SyncRoot, collection2.SyncRoot);
Microsoft.CodeAnalysis.Workspaces (6)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
32object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
28object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
1426object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1634object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.Maui.Controls (1)
ObservableWrapper.cs (1)
308 public object SyncRoot => ((IList)_list).SyncRoot;
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
621Private ReadOnly Property ICollectionSyncRoot() As Object Implements ICollection.SyncRoot
PresentationCore (45)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\MimeTypeMapper.cs (1)
35lock (((ICollection)_fileExtensionToMimeType).SyncRoot)
System\Windows\Input\Command\InputGestureCollection.cs (1)
207return _innerGestureList != null ? ((IList)_innerGestureList).SyncRoot : this;
System\Windows\Input\Stylus\Common\TabletDeviceCollection.cs (1)
82/// <seealso cref="System.Collections.ICollection.SyncRoot"/>
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (2)
232/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 240return ((ICollection)_keyFrames).SyncRoot;
PresentationFramework (21)
MS\Internal\Documents\ContentElementCollection.cs (1)
572/// <see cref="ICollection.SyncRoot"/>
System\Windows\Controls\ColumnDefinition.cs (1)
411/// <see cref="ICollection.SyncRoot"/>
System\Windows\Controls\CustomDictionarySources.cs (1)
294return ((ICollection)_uriList).SyncRoot;
System\Windows\Controls\RowDefinition.cs (1)
406/// <see cref="ICollection.SyncRoot"/>
System\Windows\Documents\TableCellCollection.cs (2)
385/// <see cref="ICollection.SyncRoot"/> 391return ((IList)_cellCollectionInternal).SyncRoot;
System\Windows\Documents\TableColumnCollection.cs (1)
393/// <see cref="ICollection.SyncRoot"/>
System\Windows\Documents\TableRowCollection.cs (2)
385/// <see cref="ICollection.SyncRoot"/> 391return ((IList)_rowCollectionInternal).SyncRoot;
System\Windows\Documents\TableRowGroupCollection.cs (1)
384/// <see cref="ICollection.SyncRoot"/>
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
372get => ((IDictionary)_dictionary).SyncRoot;
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\ResourceDictionary.cs (6)
75lock(((ICollection)this).SyncRoot) 398lock(((ICollection)this).SyncRoot) 482lock(((ICollection)this).SyncRoot) 611lock(((ICollection)this).SyncRoot) 672lock(((ICollection)this).SyncRoot) 803lock(((ICollection)this).SyncRoot)
System\Windows\SystemResources.cs (2)
1882lock (((ICollection)Application.Current.Resources).SyncRoot) 1891lock (((ICollection)Application.Current.Resources).SyncRoot)
System.Collections (7)
System\Collections\Generic\OrderedDictionary.cs (2)
1488object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1683object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
System\Collections\Generic\SortedDictionary.cs (3)
399get { return ((ICollection)_set).SyncRoot; } 626get { return ((ICollection)_dictionary).SyncRoot; } 787get { return ((ICollection)_dictionary).SyncRoot; }
System\Collections\Generic\SortedList.cs (2)
1028get { return ((ICollection)_dict).SyncRoot; } 1142get { return ((ICollection)_dict).SyncRoot; }
System.Collections.Specialized (1)
System\Collections\Specialized\NameObjectCollectionBase.cs (1)
617get { return ((ICollection)_coll).SyncRoot; }
System.Data.Common (1)
System\Data\Common\DbConnectionStringBuilder.cs (1)
235get { return Collection.SyncRoot; }
System.Data.Odbc (1)
System\Data\Odbc\OdbcParameterCollectionHelper.cs (1)
66return ((System.Collections.ICollection)InnerList).SyncRoot;
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
40public object SyncRoot => ((IDictionary)_contents).SyncRoot;
System.Net.HttpListener (20)
System\Net\Managed\HttpEndPointManager.cs (5)
51lock ((s_ipEndPoints as ICollection).SyncRoot) 72lock ((s_ipEndPoints as ICollection).SyncRoot) 171lock ((s_ipEndPoints as ICollection).SyncRoot) 186lock ((s_ipEndPoints as ICollection).SyncRoot) 197lock ((s_ipEndPoints as ICollection).SyncRoot)
System\Net\Managed\HttpListener.Managed.cs (15)
160lock ((_listenerContexts as ICollection).SyncRoot) 164lock ((_contextQueue as ICollection).SyncRoot) 174lock ((_connections as ICollection).SyncRoot) 182lock ((_connections as ICollection).SyncRoot) 190lock ((_listenerContexts as ICollection).SyncRoot) 196lock ((_asyncWaitQueue as ICollection).SyncRoot) 200lock ((_contextQueue as ICollection).SyncRoot) 215lock ((_listenerContexts as ICollection).SyncRoot) 228lock ((_connections as ICollection).SyncRoot) 237lock ((_contextQueue as ICollection).SyncRoot) 245lock ((_asyncWaitQueue as ICollection).SyncRoot) 259lock ((_contextQueue as ICollection).SyncRoot) 284lock ((_asyncWaitQueue as ICollection).SyncRoot) 286lock ((_contextQueue as ICollection).SyncRoot) 322lock ((_asyncWaitQueue as ICollection).SyncRoot)
System.ObjectModel (1)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (1)
300public object SyncRoot => _list.SyncRoot;
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (4)
745public override object SyncRoot => _list.SyncRoot; 1479_root = list.SyncRoot; 1611public object SyncRoot => _list.SyncRoot; 1870public object SyncRoot => _list.SyncRoot;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (2)
2008object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 2202object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
168object ICollection.SyncRoot => items is ICollection coll ? coll.SyncRoot : this;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
99object ICollection.SyncRoot => list is ICollection coll ? coll.SyncRoot : this;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (3)
212object ICollection.SyncRoot => (m_dictionary is ICollection coll) ? coll.SyncRoot : this; 298object ICollection.SyncRoot => (_collection is ICollection coll) ? coll.SyncRoot : this; 350object ICollection.SyncRoot => (_collection is ICollection coll) ? coll.SyncRoot : this;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
78object ICollection.SyncRoot => _set is ICollection c ? c.SyncRoot : this;
System.Private.Xml (2)
System\Xml\Schema\XmlSchemaObjectTable.cs (2)
177return ((ICollection)_entries).SyncRoot; 230return ((ICollection)_entries).SyncRoot;
System.Windows.Forms (6)
System\Windows\Forms\AutoCompleteStringCollection.cs (1)
179public object SyncRoot => ((IList)_data).SyncRoot;
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (1)
50object ICollection.SyncRoot => ((ICollection)_items).SyncRoot;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (1)
39object ICollection.SyncRoot => ((ICollection)InnerArray).SyncRoot;
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1457public virtual object SyncRoot => List.SyncRoot;
System\Windows\Forms\Layout\ArrangedElementCollection.cs (1)
146object ICollection.SyncRoot => ((ICollection)InnerList).SyncRoot;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
135object ICollection.SyncRoot => ((ICollection)_innerList).SyncRoot;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
194object ICollection.SyncRoot => ((ICollection)_items).SyncRoot;
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (1)
38((ICollection)_collection).SyncRoot.Should().Be(_collection);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
120object ICollection.SyncRoot => ((ICollection)_list).SyncRoot;
System.Windows.Forms.Tests (32)
System\Windows\Forms\BindingContextTests.cs (1)
27Assert.Same(context, context.SyncRoot);
System\Windows\Forms\BindingSourceTests.cs (8)
55Assert.Same(source.List.SyncRoot, source.SyncRoot); 114Assert.Same(source.List.SyncRoot, source.SyncRoot); 178Assert.Same(source.List.SyncRoot, source.SyncRoot); 264Assert.Same(source.List.SyncRoot, source.SyncRoot); 336Assert.Same(source.List.SyncRoot, source.SyncRoot); 389.Setup(p => p.SyncRoot) 518Assert.Same(source.List.SyncRoot, source.SyncRoot); 738public object SyncRoot => ((IList)_innerList).SyncRoot;
System\Windows\Forms\CheckedListBox.CheckedIndexCollectionTests.cs (1)
36((ICollection)_collection).SyncRoot.Should().BeSameAs(_collection);
System\Windows\Forms\CheckedListBox.CheckedItemCollectionTests.cs (1)
30((ICollection)_collection).SyncRoot.Should().BeSameAs(_collection);
System\Windows\Forms\ColumnHeaderCollectionTests.cs (1)
34Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (2)
190Assert.Same(collection, iList.SyncRoot); 212Assert.Same(collection, iList.SyncRoot);
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (2)
210Assert.Same(collection, iList.SyncRoot); 236Assert.Same(collection, iList.SyncRoot);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (2)
185Assert.Same(collection, iList.SyncRoot); 206Assert.Same(collection, iList.SyncRoot);
System\Windows\Forms\GridItemCollectionTests.cs (1)
26Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (1)
1625Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (2)
32Assert.Same(collection, collection.SyncRoot); 44Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (2)
89Assert.Same(collection, collection.SyncRoot); 101Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (2)
33Assert.Same(collection, collection.SyncRoot); 45Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (2)
33Assert.Same(collection, collection.SyncRoot); 45Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
19Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (1)
35Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (1)
1175Assert.Same(collection, iList.SyncRoot);
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (1)
20Assert.NotNull(collection.SyncRoot);