615 implementations of SyncRoot
Analyzer.Utilities.UnitTests (1)
Extensions\IEnumerableExensionsTests.cs (1)
82public object SyncRoot => throw new NotImplementedException();
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; } }
Metrics (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Metrics.Legacy (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.Build (22)
Collections\ArrayDictionary.cs (1)
90object ICollection.SyncRoot => this;
Construction\ProjectElementContainer.cs (1)
816object ICollection.SyncRoot => this;
CopyOnWriteDictionary.cs (1)
166object ICollection.SyncRoot => this;
ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
ReadOnlyCollection.cs (1)
73object ICollection.SyncRoot
ReadOnlyEmptyCollection.cs (1)
77object ICollection.SyncRoot
ReadOnlyEmptyDictionary.cs (1)
109public object SyncRoot
SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
110public object SyncRoot => throw new NotSupportedException();
Microsoft.Build.Tasks.Core (4)
CopyOnWriteDictionary.cs (1)
166object 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)
166object ICollection.SyncRoot => this;
ReadOnlyEmptyCollection.cs (1)
77object ICollection.SyncRoot
ReadOnlyEmptyDictionary.cs (1)
109public object SyncRoot
Microsoft.CodeAnalysis (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Analyzers (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.AnalyzerUtilities (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.BannedApiAnalyzers (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.CodeStyle (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Collections.Package (16)
Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
Segmented\SegmentedDictionary`2.cs (3)
1043object ICollection.SyncRoot => this; 1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Extensions.Package (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.InteractiveHost (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.PublicApiAnalyzers (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.ResxSourceGenerator (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
434public object SyncRoot
Microsoft.CodeAnalysis.Threading.Package (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Workspaces (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\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)
419public object SyncRoot
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
621Private ReadOnly Property ICollectionSyncRoot() As Object Implements ICollection.SyncRoot
MSBuild (3)
CopyOnWriteDictionary.cs (1)
166object ICollection.SyncRoot => this;
ReadOnlyEmptyCollection.cs (1)
77object ICollection.SyncRoot
ReadOnlyEmptyDictionary.cs (1)
109public object SyncRoot
MSBuildTaskHost (4)
CopyOnWriteDictionary.cs (1)
166object 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)
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)
917object ICollection.SyncRoot 2280object ICollection.SyncRoot
System\Windows\TriggerActionCollection.cs (1)
240object ICollection.SyncRoot
System\Windows\WindowCollection.cs (1)
129public Object SyncRoot
Roslyn.Diagnostics.Analyzers (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
System.CodeDom (2)
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; 1491object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1686object 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)
472object 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)
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)
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\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 (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
276object 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.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)
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 (26)
src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
1015public 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\BitArray.cs (1)
887public object SyncRoot => this;
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1928object ICollection.SyncRoot => throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported);
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)
1634object ICollection.SyncRoot => this; 2009object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 2203object 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)
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\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)
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)
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)
2152object 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)
774public 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();
Text.Analyzers (16)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
116object ICollection.SyncRoot => _dictionary;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
59object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
80readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
93object ICollection.SyncRoot => _set;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
98object ICollection.SyncRoot => _list;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
36object ICollection.SyncRoot => this;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
47readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
113public object SyncRoot => _items;
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\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
194object ICollection.SyncRoot => this;
UIAutomationClient (1)
System\Windows\Automation\AutomationElementCollection.cs (1)
97public virtual Object SyncRoot
295 references to SyncRoot
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (2)
203return ((ICollection)_entries).SyncRoot; 258return ((ICollection)_entries).SyncRoot;
Metrics (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Metrics.Legacy (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.Build (6)
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Collections.Package (6)
Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Extensions.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.InteractiveHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Threading.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object 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\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
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\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) 397lock(((ICollection)this).SyncRoot) 481lock(((ICollection)this).SyncRoot) 610lock(((ICollection)this).SyncRoot) 671lock(((ICollection)this).SyncRoot) 859lock(((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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
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)
1491object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1686object 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.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)
2009object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 2203object 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)
192object ICollection.SyncRoot => ((ICollection)_items).SyncRoot;
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (1)
36((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 (35)
System\Windows\Forms\BindingContextTests.cs (1)
29Assert.Same(context, context.SyncRoot);
System\Windows\Forms\BindingSourceTests.cs (8)
57Assert.Same(source.List.SyncRoot, source.SyncRoot); 116Assert.Same(source.List.SyncRoot, source.SyncRoot); 180Assert.Same(source.List.SyncRoot, source.SyncRoot); 266Assert.Same(source.List.SyncRoot, source.SyncRoot); 338Assert.Same(source.List.SyncRoot, source.SyncRoot); 391.Setup(p => p.SyncRoot) 520Assert.Same(source.List.SyncRoot, source.SyncRoot); 774public object SyncRoot => ((IList)_innerList).SyncRoot;
System\Windows\Forms\CheckedListBox.CheckedIndexCollectionTests.cs (1)
38((ICollection)_collection).SyncRoot.Should().BeSameAs(_collection);
System\Windows\Forms\CheckedListBox.CheckedItemCollectionTests.cs (1)
32((ICollection)_collection).SyncRoot.Should().BeSameAs(_collection);
System\Windows\Forms\ColumnHeaderCollectionTests.cs (1)
36Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (2)
192Assert.Same(collection, iList.SyncRoot); 214Assert.Same(collection, iList.SyncRoot);
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (2)
212Assert.Same(collection, iList.SyncRoot); 238Assert.Same(collection, iList.SyncRoot);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (2)
187Assert.Same(collection, iList.SyncRoot); 208Assert.Same(collection, iList.SyncRoot);
System\Windows\Forms\GridItemCollectionTests.cs (1)
28Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (1)
1627Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (2)
34Assert.Same(collection, collection.SyncRoot); 46Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (2)
91Assert.Same(collection, collection.SyncRoot); 103Assert.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)
34Assert.Same(_collection, ((ICollection)_collection).SyncRoot); 43Assert.Same(_collection, ((IList)_collection).SyncRoot);
System\Windows\Forms\ListView.CheckedIndexCollectionTests.cs (1)
200ListView.CheckedIndexCollection syncRoot = (ListView.CheckedIndexCollection)((ICollection)_collection).SyncRoot;
System\Windows\Forms\ListView.CheckedListViewItemCollectionTests.cs (1)
140ListView.CheckedListViewItemCollection syncRoot = (ListView.CheckedListViewItemCollection)((ICollection)_collection).SyncRoot;
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
21Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (1)
37Assert.Same(collection, collection.SyncRoot);
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (1)
146object syncRoot = ((ICollection)_propertyTabCollection).SyncRoot;
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (1)
1177Assert.Same(collection, iList.SyncRoot);
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (1)
22Assert.NotNull(collection.SyncRoot);
Text.Analyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
34object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
30object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
1428object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot; 1636object ICollection.SyncRoot => ((ICollection)_dictionary).SyncRoot;