454 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; } }
GenerateDocumentationAndConfigFiles (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.Build (18)
Collections\ArrayDictionary.cs (1)
90object ICollection.SyncRoot => this;
Construction\ProjectElementContainer.cs (1)
816object ICollection.SyncRoot => this;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\5057ed6cf5d6323b\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\5057ed6cf5d6323b\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\5057ed6cf5d6323b\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\5057ed6cf5d6323b\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.Build.Framework (4)
Collections\CopyOnWriteDictionary.cs (1)
159object ICollection.SyncRoot => this;
Collections\ReadOnlyCollection.cs (1)
72object ICollection.SyncRoot
Collections\ReadOnlyEmptyCollection.cs (1)
76object ICollection.SyncRoot
Collections\ReadOnlyEmptyDictionary.cs (1)
98public object SyncRoot
Microsoft.CodeAnalysis (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Analyzers (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.AnalyzerUtilities (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.CodeStyle (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Extensions.Package (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.ResxSourceGenerator (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Workspaces (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object 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.NET.Sdk.Publish.Tasks (1)
Tasks\MsDeploy\VsMsdeploy.cs (1)
420public object SyncRoot
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
621Private ReadOnly Property ICollectionSyncRoot() As Object Implements ICollection.SyncRoot
Mono.Cecil (1)
Mono.Collections.Generic\Collection.cs (1)
93 object ICollection.SyncRoot {
PresentationBuildTasks (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (1)
550public object SyncRoot
PresentationCore (54)
System\Windows\FreezableCollection.cs (1)
510object ICollection.SyncRoot
System\Windows\Generated\TextDecorationCollection.cs (1)
422object ICollection.SyncRoot
System\Windows\Input\Command\CommandBindingCollection.cs (1)
255public object SyncRoot
System\Windows\Input\Command\InputBindingCollection.cs (1)
344public object SyncRoot
System\Windows\Input\Command\InputGestureCollection.cs (1)
198public object SyncRoot
System\Windows\Input\Stylus\Common\TabletDeviceCollection.cs (1)
83public object SyncRoot
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
421object ICollection.SyncRoot
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\Media\CharacterMetricsDictionary.cs (1)
166object SC.ICollection.SyncRoot
System\Windows\Media\CultureSpecificStringDictionary.cs (2)
135object SC.ICollection.SyncRoot 455public object SyncRoot
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
424object ICollection.SyncRoot
System\Windows\Media\FamilyMapCollection.cs (1)
112object SC.ICollection.SyncRoot
System\Windows\Media\FamilyTypefaceCollection.cs (1)
99object SC.ICollection.SyncRoot
System\Windows\Media\Generated\DoubleCollection.cs (1)
396object ICollection.SyncRoot
System\Windows\Media\Generated\DrawingCollection.cs (1)
443object ICollection.SyncRoot
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media\Generated\GeometryCollection.cs (1)
443object ICollection.SyncRoot
System\Windows\Media\Generated\GradientStopCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media\Generated\Int32Collection.cs (1)
396object ICollection.SyncRoot
System\Windows\Media\Generated\PathFigureCollection.cs (1)
432object ICollection.SyncRoot
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media\Generated\PointCollection.cs (1)
396object ICollection.SyncRoot
System\Windows\Media\Generated\TextEffectCollection.cs (1)
431object ICollection.SyncRoot
System\Windows\Media\Generated\TransformCollection.cs (1)
443object ICollection.SyncRoot
System\Windows\Media\Generated\VectorCollection.cs (1)
396object ICollection.SyncRoot
System\Windows\Media\VisualCollection.cs (1)
153public object SyncRoot
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
429object ICollection.SyncRoot
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
441object ICollection.SyncRoot
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
441object ICollection.SyncRoot
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
394object ICollection.SyncRoot
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
441object ICollection.SyncRoot
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
394object ICollection.SyncRoot
System\Windows\Media3D\Visual3DCollection.cs (1)
280object ICollection.SyncRoot
PresentationFramework (22)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
339object ICollection.SyncRoot
MS\Internal\Data\LiveShapingList.cs (1)
630public object SyncRoot
MS\Internal\Documents\ContentElementCollection.cs (1)
573public object SyncRoot
System\Windows\Controls\ColumnDefinition.cs (1)
410public object SyncRoot // object ICollection.SyncRoot {get;};
System\Windows\Controls\CustomDictionarySources.cs (1)
289object ICollection.SyncRoot
System\Windows\Controls\ItemCollection.cs (1)
742object ICollection.SyncRoot
System\Windows\Controls\MultipleCopiesCollection.cs (1)
313public object SyncRoot
System\Windows\Controls\RowDefinition.cs (1)
405public object SyncRoot // object ICollection.SyncRoot {get;};
System\Windows\Controls\UIElementCollection.cs (1)
66public virtual object SyncRoot
System\Windows\Data\CompositeCollection.cs (1)
339object ICollection.SyncRoot
System\Windows\Documents\TableCellCollection.cs (1)
386public object SyncRoot
System\Windows\Documents\TableColumnCollection.cs (1)
394public object SyncRoot
System\Windows\Documents\TableRowCollection.cs (1)
386public object SyncRoot
System\Windows\Documents\TableRowGroupCollection.cs (1)
385public object SyncRoot
System\Windows\Documents\TextElementCollection.cs (1)
640object ICollection.SyncRoot
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
369object ICollection.SyncRoot
System\Windows\Markup\XmlnsDictionary.cs (1)
550public object SyncRoot
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
233public object SyncRoot
System\Windows\ResourceDictionary.cs (2)
921object ICollection.SyncRoot 2284object ICollection.SyncRoot
System\Windows\TriggerActionCollection.cs (1)
240object ICollection.SyncRoot
System\Windows\WindowCollection.cs (1)
129public Object SyncRoot
Roslyn.Diagnostics.Analyzers (16)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
System.CodeDom (2)
src\runtime\src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
108object ICollection.SyncRoot => null;
System\CodeDom\CodeNamespaceImportCollection.cs (1)
80object ICollection.SyncRoot => null;
System.Collections (13)
System\Collections\Generic\LinkedList.cs (1)
445object ICollection.SyncRoot => this;
System\Collections\Generic\OrderedDictionary.cs (3)
282object ICollection.SyncRoot => this; 1492object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1687object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
System\Collections\Generic\PriorityQueue.cs (1)
946object ICollection.SyncRoot => this;
System\Collections\Generic\SortedDictionary.cs (3)
397object ICollection.SyncRoot 622object ICollection.SyncRoot 783object 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 (3)
System\Collections\Concurrent\BlockingCollection.cs (1)
129object ICollection.SyncRoot
System\Collections\Concurrent\ConcurrentBag.cs (1)
589object ICollection.SyncRoot
System\Collections\Concurrent\ConcurrentStack.cs (1)
180object ICollection.SyncRoot
System.Collections.Immutable (13)
System\Collections\Frozen\FrozenDictionary.cs (1)
473object 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)
250object ICollection.SyncRoot =>
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
777object ICollection.SyncRoot
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
131object ICollection.SyncRoot
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
1158object ICollection.SyncRoot =>
System\Collections\Immutable\ImmutableList_1.cs (1)
152object ICollection.SyncRoot => this;
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
261object ICollection.SyncRoot =>
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
667object ICollection.SyncRoot
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
504object ICollection.SyncRoot =>
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
837object 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)
31object 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)
327object 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\runtime\src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
108object ICollection.SyncRoot => null;
System\Configuration\ConfigurationElementCollection.cs (1)
123public 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)
236object 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 (2)
DbConnectionStringCommon.cs (1)
52object System.Collections.ICollection.SyncRoot
OleDbErrorCollection.cs (1)
37object System.Collections.ICollection.SyncRoot
System.Diagnostics.EventLog (1)
System\Diagnostics\EventLogEntryCollection.cs (1)
56object ICollection.SyncRoot
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
46public object SyncRoot => ((IDictionary)_contents).SyncRoot;
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceListeners.cs (1)
297object ICollection.SyncRoot
System.DirectoryServices (4)
System\DirectoryServices\PropertyCollection.cs (2)
150object ICollection.SyncRoot => this; 269public object SyncRoot => ((ICollection)props).SyncRoot;
System\DirectoryServices\SchemaNameCollection.cs (1)
190object ICollection.SyncRoot => this;
System\DirectoryServices\SearchResultCollection.cs (1)
210object ICollection.SyncRoot => this;
System.DirectoryServices.AccountManagement (3)
System\DirectoryServices\AccountManagement\PrincipalCollection.cs (1)
110object ICollection.SyncRoot
System\DirectoryServices\AccountManagement\TrackedCollection.cs (1)
58object ICollection.SyncRoot
System\DirectoryServices\AccountManagement\ValueCollection.cs (1)
124object ICollection.SyncRoot
System.Drawing.Common (4)
System\Drawing\Printing\PrinterSettings.PaperSizeCollection.cs (1)
39object ICollection.SyncRoot => this;
System\Drawing\Printing\PrinterSettings.PaperSourceCollection.cs (1)
39object ICollection.SyncRoot => this;
System\Drawing\Printing\PrinterSettings.PrinterResolutionCollection.cs (1)
36object ICollection.SyncRoot => this;
System\Drawing\Printing\PrinterSettings.StringCollection.cs (1)
36object ICollection.SyncRoot => this;
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
363object ICollection.SyncRoot => this;
System.Management (4)
System\Management\ManagementObjectCollection.cs (1)
180public object SyncRoot
System\Management\MethodSet.cs (1)
136public object SyncRoot
System\Management\PropertySet.cs (1)
116public object SyncRoot
System\Management\QualifierSet.cs (1)
165public object SyncRoot
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 (25)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
1020public object SyncRoot => this;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (4)
115public virtual object SyncRoot => this; 1511public object SyncRoot => _root; 1610public object SyncRoot => _list.SyncRoot; 1869public object SyncRoot => _list.SyncRoot;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (1)
996public object SyncRoot => this;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1928object ICollection.SyncRoot => throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1742object ICollection.SyncRoot => this; 2117object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 2311object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
140object ICollection.SyncRoot => this;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
65object ICollection.SyncRoot => this;
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (2)
93public object SyncRoot => this; 323object ICollection.SyncRoot => list.SyncRoot;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
168object ICollection.SyncRoot => items is ICollection coll ? coll.SyncRoot : this;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
99object ICollection.SyncRoot => list is ICollection coll ? coll.SyncRoot : this;
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
78object ICollection.SyncRoot => _set is ICollection c ? c.SyncRoot : this;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
20public virtual 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)
System\Security\AccessControl\ACL.cs (1)
132public virtual object SyncRoot
System\Security\Policy\Evidence.cs (1)
20public object SyncRoot { get { return false; } }
System.Security.Cryptography (5)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (1)
115public 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\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (1)
115public object SyncRoot
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
120public object SyncRoot
System\Security\Cryptography\Pkcs\RecipientInfoCollection.cs (1)
91public object SyncRoot
System\Security\Cryptography\Pkcs\SignerInfoCollection.cs (1)
77public 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)
124public 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 (2)
System\ServiceModel\SynchronizedCollection.cs (1)
232object ICollection.SyncRoot
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
170object ICollection.SyncRoot
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
131public object SyncRoot => _group;
System\Text\RegularExpressions\GroupCollection.cs (1)
185public object SyncRoot => _match;
System\Text\RegularExpressions\MatchCollection.cs (1)
239public 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\Components\ImageList\ImageList.ImageCollection.cs (1)
110object ICollection.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\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)
213object 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)
192object ICollection.SyncRoot => ((ICollection)_items).SyncRoot;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2140object ICollection.SyncRoot => this;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
120object ICollection.SyncRoot => ((ICollection)_list).SyncRoot;
UIAutomationClient (1)
System\Windows\Automation\AutomationElementCollection.cs (1)
97public virtual Object SyncRoot
186 references to SyncRoot
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (2)
203return ((ICollection)_entries).SyncRoot; 258return ((ICollection)_entries).SyncRoot;
GenerateDocumentationAndConfigFiles (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.Build (6)
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Analyzers (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.CodeStyle (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Extensions.Package (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Workspaces (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object 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\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\MimeTypeMapper.cs (1)
34lock (((ICollection)_fileExtensionToMimeType).SyncRoot)
System\Windows\Input\Command\InputGestureCollection.cs (1)
202return _innerGestureList != null ? ((IList)_innerGestureList).SyncRoot : this;
System\Windows\Input\Stylus\Common\TabletDeviceCollection.cs (1)
81/// <seealso cref="System.Collections.ICollection.SyncRoot"/>
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (2)
231/// See <see cref="System.Collections.ICollection.SyncRoot">ICollection.SyncRoot</see>. 239return ((ICollection)_keyFrames).SyncRoot;
PresentationFramework (21)
MS\Internal\Documents\ContentElementCollection.cs (1)
571/// <see cref="ICollection.SyncRoot"/>
System\Windows\Controls\ColumnDefinition.cs (1)
408/// <see cref="ICollection.SyncRoot"/>
System\Windows\Controls\CustomDictionarySources.cs (1)
293return ((ICollection)_uriList).SyncRoot;
System\Windows\Controls\RowDefinition.cs (1)
403/// <see cref="ICollection.SyncRoot"/>
System\Windows\Documents\TableCellCollection.cs (2)
384/// <see cref="ICollection.SyncRoot"/> 390return ((IList)_cellCollectionInternal).SyncRoot;
System\Windows\Documents\TableColumnCollection.cs (1)
392/// <see cref="ICollection.SyncRoot"/>
System\Windows\Documents\TableRowCollection.cs (2)
384/// <see cref="ICollection.SyncRoot"/> 390return ((IList)_rowCollectionInternal).SyncRoot;
System\Windows\Documents\TableRowGroupCollection.cs (1)
383/// <see cref="ICollection.SyncRoot"/>
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
371get => ((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)
74lock(((ICollection)this).SyncRoot) 401lock(((ICollection)this).SyncRoot) 485lock(((ICollection)this).SyncRoot) 614lock(((ICollection)this).SyncRoot) 675lock(((ICollection)this).SyncRoot) 863lock(((ICollection)this).SyncRoot)
System\Windows\SystemResources.cs (2)
1857lock (((ICollection)Application.Current.Resources).SyncRoot) 1866lock (((ICollection)Application.Current.Resources).SyncRoot)
Roslyn.Diagnostics.Analyzers (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
System.Collections (7)
System\Collections\Generic\OrderedDictionary.cs (2)
1492object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1687object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
System\Collections\Generic\SortedDictionary.cs (3)
399get { return ((ICollection)_set).SyncRoot; } 624get { return ((ICollection)_dictionary).SyncRoot; } 785get { 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)
238get { return Collection.SyncRoot; }
System.Data.Odbc (1)
System\Data\Odbc\OdbcParameterCollectionHelper.cs (1)
66return ((System.Collections.ICollection)InnerList).SyncRoot;
System.Data.OleDb (1)
OleDbParameterCollectionHelper.cs (1)
67return ((System.Collections.ICollection)InnerList).SyncRoot;
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
46public object SyncRoot => ((IDictionary)_contents).SyncRoot;
System.DirectoryServices (1)
System\DirectoryServices\PropertyCollection.cs (1)
269public object SyncRoot => ((ICollection)props).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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (4)
745public override object SyncRoot => _list.SyncRoot; 1478_root = list.SyncRoot; 1610public object SyncRoot => _list.SyncRoot; 1869public object SyncRoot => _list.SyncRoot;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (2)
2117object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 2311object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
168object ICollection.SyncRoot => items is ICollection coll ? coll.SyncRoot : this;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
99object ICollection.SyncRoot => list is ICollection coll ? coll.SyncRoot : this;
src\runtime\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\runtime\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)
192object ICollection.SyncRoot => ((ICollection)_items).SyncRoot;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
120object ICollection.SyncRoot => ((ICollection)_list).SyncRoot;