564 implementations of Clear
aspire (1)
src\Shared\CircularBuffer.cs (1)
230public void Clear()
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
230public void Clear()
Aspire.Dashboard.Tests (1)
Model\ResourceStateViewModelTests.cs (1)
232public void Clear() => throw new NotSupportedException();
Aspire.Hosting (3)
ApplicationModel\ResourceAnnotationCollection.cs (1)
96public void Clear()
ApplicationModel\ResourceCollection.cs (1)
65public void Clear()
src\Shared\CircularBuffer.cs (1)
230public void Clear()
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
309public void Clear()
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (1)
456public void Clear()
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
102public void Clear()
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
147void ICollection<T>.Clear()
Shared\Options\ListValue.cs (1)
123public void Clear()
GenerateDocumentationAndConfigFiles (25)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
ILAssembler (1)
NamedElementList.cs (1)
47public void Clear()
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
388public void Clear()
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\TempData.cs (1)
109public void Clear()
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
89void ICollection<KeyValuePair<object, object?>>.Clear()
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.AspNetCore.Http (4)
HeaderDictionary.cs (1)
221public void Clear()
Internal\ItemsDictionary.cs (1)
95void ICollection<KeyValuePair<object, object?>>.Clear() => _items?.Clear();
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
124public void Clear()
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
247public void Clear()
Microsoft.AspNetCore.Http.Abstractions (11)
EndpointFilterInvocationContextOfT.Generated.cs (10)
57public void Clear() 185public void Clear() 320public void Clear() 462public void Clear() 611public void Clear() 767public void Clear() 930public void Clear() 1100public void Clear() 1277public void Clear() 1461public void Clear()
Routing\RouteValueDictionary.cs (1)
388public void Clear()
Microsoft.AspNetCore.HttpOverrides (2)
DualIPNetworkList.cs (2)
76void ICollection<IPNetwork>.Clear() => Clear(); 77void ICollection<AspNetIPNetwork>.Clear() => Clear();
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
87public void Clear()
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\CopyOnWriteList.cs (1)
52public void Clear()
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
124public void Clear()
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
AttributeDictionary.cs (3)
152public void Clear() 384public void Clear() 491public void Clear()
TempDataDictionary.cs (1)
195public void Clear()
ViewDataDictionary.cs (1)
560public void Clear()
Microsoft.AspNetCore.Owin (3)
DictionaryStringArrayWrapper.cs (1)
44void ICollection<KeyValuePair<string, string[]>>.Clear() => Inner.Clear();
DictionaryStringValuesWrapper.cs (1)
89void ICollection<KeyValuePair<string, StringValues>>.Clear() => Inner.Clear();
OwinEnvironment.cs (1)
166void ICollection<KeyValuePair<string, object>>.Clear()
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
198public void Clear()
Microsoft.AspNetCore.Razor.Runtime (1)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
124public void Clear()
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
Microsoft.AspNetCore.Server.HttpSys (3)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
194public void Clear()
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
150void ICollection<KeyValuePair<string, StringValues>>.Clear()
UrlPrefixCollection.cs (1)
109public void Clear()
Microsoft.AspNetCore.Server.IIS (2)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
194public void Clear()
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
150void ICollection<KeyValuePair<string, StringValues>>.Clear()
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.cs (1)
206void ICollection<KeyValuePair<string, StringValues>>.Clear()
Internal\ServerAddressesCollection.cs (2)
62public void Clear() 135public void Clear()
Microsoft.Build (41)
Collections\ArrayDictionary.cs (1)
113public void Clear()
Collections\CopyOnWritePropertyDictionary.cs (1)
130public void Clear()
Collections\ItemDictionary.cs (1)
140public void Clear()
Collections\PropertyDictionary.cs (2)
227public void Clear() 420void ICollection<KeyValuePair<string, T>>.Clear()
Collections\ReadOnlyConvertingDictionary.cs (1)
131public void Clear()
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
254public void ClearClear()
Construction\ProjectElementContainer.cs (1)
841public void Clear() => ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection");
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (3)
53public void ClearClear() => throw new NotSupportedException(); 127public void Clear() => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (3)
72public void ClearClear() => throw new NotSupportedException(); 179public void Clear() => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
72public void Clear() => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
161public void Clear() => throw new NotSupportedException();
Instance\ImmutableProjectCollections\LazyStringValuedList.cs (1)
43public void Clear() => throw new NotSupportedException();
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\5057ed6cf5d6323b\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\8b3a4ac2431f87ea\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\8b3a4ac2431f87ea\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\8b3a4ac2431f87ea\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\msbuild\artifacts\.packages\microsoft.codeanalysis.pooledobjects\5.0.0-1.25277.114\contentFiles\cs\netstandard2.0\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.Build.Framework (4)
Collections\CopyOnWriteDictionary.cs (1)
264public void Clear()
Collections\ReadOnlyCollection.cs (1)
106public void Clear()
Collections\ReadOnlyEmptyCollection.cs (1)
92public void Clear()
Collections\ReadOnlyEmptyDictionary.cs (1)
213public void Clear()
Microsoft.CodeAnalysis (26)
Collections\IdentifierCollection.Collection.cs (1)
84public void Clear()
Collections\UnionCollection.cs (1)
77public void Clear()
InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
Microsoft.CodeAnalysis.Analyzers (25)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.AnalyzerUtilities (26)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
97public void Clear()
Microsoft.CodeAnalysis.CodeStyle (24)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
Microsoft.CodeAnalysis.Extensions.Package (23)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
Microsoft.CodeAnalysis.NetAnalyzers (2)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
93public void Clear() => _dictionary.Clear();
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
96public void Clear()
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\Intermediate\IntermediateNodeCollection.cs (1)
109public void Clear()
Language\Syntax\SpecializedCollections.cs (1)
109public void Clear()
Language\TagHelperCollection.Builder.cs (1)
104public void Clear()
Microsoft.CodeAnalysis.ResxSourceGenerator (25)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.Scripting (1)
Hosting\SynchronizedList.cs (1)
57public void Clear()
Microsoft.CodeAnalysis.Workspaces (24)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
Microsoft.Extensions.AI (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Extensions.AI.Abstractions (5)
AdditionalPropertiesDictionary{TValue}.cs (1)
111public void Clear() => _dictionary.Clear();
Embeddings\GeneratedEmbeddings.cs (1)
69public void Clear() => _embeddings.Clear();
Functions\AIFunctionArguments.cs (1)
130public void Clear() => _arguments.Clear();
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Extensions.Configuration (2)
ConfigurationManager.cs (2)
216public void Clear() 303public void Clear()
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceCollection.cs (1)
42public void Clear()
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
66public void Clear() => _services.Clear();
Microsoft.Extensions.Http.Diagnostics (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
393void ICollection<string?>.Clear() => throw new NotSupportedException();
Microsoft.Gen.BuildMetadata.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.ContextualOptions.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.Logging.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.Metrics.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.MetricsReports.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
61public void Clear() => ((ICollection<KeyValuePair<T, U>>)Map).Clear();
Microsoft.Maui (3)
Hosting\Internal\FontCollection.cs (1)
26 public void Clear() => _descriptors.Clear();
Hosting\Internal\MauiServiceCollection.cs (1)
33 public void Clear()
Primitives\LockableObservableListWrapper.cs (1)
72 public void Clear()
Microsoft.Maui.Controls (25)
DefinitionCollection.cs (1)
24 public void Clear()
Element\Element.cs (1)
1092 void ICollection<Element>.Clear() => throw new NotSupportedException();
Interactivity\TriggerBase.cs (1)
149 public void Clear()
Items\SelectionList.cs (1)
46 public void Clear()
Layout\Layout.cs (2)
172 public void ClearClear()
LegacyLayouts\LayoutOfT.cs (1)
54 void ICollection<IView>.Clear()
Menu\MenuBar.cs (1)
62 public void Clear()
Menu\MenuBarItem.cs (1)
68 public void Clear()
Menu\MenuFlyout.cs (1)
50 public void Clear()
Menu\MenuFlyoutSubItem.cs (1)
37 public void Clear()
NavigationStepRequest.cs (1)
56 public void Clear()
ObservableWrapper.cs (1)
38 public void Clear()
OrderedDictionary.cs (2)
113 public void Clear() 381 public void Clear()
ReadOnlyCastingList.cs (1)
93 public void Clear() => _list.Clear();
ResourceDictionary.cs (1)
161 public void Clear()
Shell\MenuItemCollection.cs (1)
36 public void Clear() => _inner.Clear();
Shell\ShellElementCollection.cs (1)
108 public void Clear()
Shell\ShellNavigationQueryParameters.cs (1)
71 public void Clear()
SwipeView\SwipeItems.cs (1)
77 public void Clear()
SynchronizedList.cs (1)
23 public void Clear()
TableView\TableSection.cs (1)
42 public void Clear()
VisualStateManager.cs (2)
255 public void Clear() 752 public void Clear()
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
56 public void Clear()
HandlerImpl\Polyline.Impl.cs (1)
54 public void Clear()
Microsoft.ML.Core (1)
Utilities\Tree.cs (1)
194public void Clear()
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
104public void Clear()
Parameter.cs (1)
303public void Clear()
SearchSpace.cs (1)
341public void Clear()
Microsoft.ML.TorchSharp (1)
Utils\DefaultDictionary.cs (1)
60public void Clear()
Microsoft.TemplateEngine.Core (1)
VariableCollection.cs (1)
134public void Clear()
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Utility\Collection.cs (1)
122public virtual void Clear()
Mono.Cecil (1)
Mono.Collections.Generic\Collection.cs (1)
183 public void Clear ()
PresentationCore (41)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
704public void Clear()
MS\Internal\FontFace\TypefaceCollection.cs (1)
40public void Clear()
MS\Internal\PartialArray.cs (1)
69public void Clear()
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
138public void Clear()
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
96public void Clear()
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
100public void Clear()
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
90public void Clear()
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (1)
24public void Clear()
System\Windows\FreezableCollection.cs (1)
145public void Clear()
System\Windows\Generated\TextDecorationCollection.cs (1)
75public void Clear()
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
74public void Clear()
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
60public void Clear()
System\Windows\Media\CharacterMetricsDictionary.cs (1)
95public void Clear()
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
88public void Clear()
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
77public void Clear()
System\Windows\Media\FamilyMapCollection.cs (1)
56public void Clear()
System\Windows\Media\FamilyTypefaceCollection.cs (1)
68public void Clear()
System\Windows\Media\Fonts.cs (1)
294public void Clear()
System\Windows\Media\Generated\DoubleCollection.cs (1)
85public void Clear()
System\Windows\Media\Generated\DrawingCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\GeometryCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\GradientStopCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\Int32Collection.cs (1)
85public void Clear()
System\Windows\Media\Generated\PathFigureCollection.cs (1)
85public void Clear()
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\PointCollection.cs (1)
85public void Clear()
System\Windows\Media\Generated\TextEffectCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\TransformCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\VectorCollection.cs (1)
85public void Clear()
System\Windows\Media\GlyphRun.cs (2)
2127public void Clear() 2229public void Clear()
System\Windows\Media\GlyphTypeface.cs (2)
1797public void Clear() 1877public void Clear()
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
82public void Clear()
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
82public void Clear()
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
82public void Clear()
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
83public void Clear()
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
82public void Clear()
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
83public void Clear()
System\Windows\Media3D\Visual3DCollection.cs (1)
105public void Clear()
PresentationFramework (19)
MS\Internal\Annotations\ObservableDictionary.cs (1)
73public void Clear()
MS\Internal\Data\RBTree.cs (1)
553public void Clear()
MS\Internal\Documents\ContentElementCollection.cs (1)
157public abstract void Clear();
MS\Internal\ListOfObject.cs (1)
59void ICollection<object>.Clear()
MS\Internal\WeakDictionary.cs (3)
40public void Clear() 127public void Clear() 270public void Clear()
MS\Internal\WeakHashSet.cs (1)
27public void Clear()
System\Windows\Controls\ColumnDefinition.cs (1)
146public void Clear() // void ICollection<T>.Clear();
System\Windows\Controls\CustomDictionarySources.cs (1)
152void ICollection<Uri>.Clear()
System\Windows\Controls\RowDefinition.cs (1)
141public void Clear() // void ICollection<T>.Clear();
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
98public void Clear()
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
102public void Clear()
System\Windows\Documents\TableCellCollection.cs (1)
127public void Clear()
System\Windows\Documents\TableColumnCollection.cs (1)
127public void Clear()
System\Windows\Documents\TableRowCollection.cs (1)
127public void Clear()
System\Windows\Documents\TableRowGroupCollection.cs (1)
127public void Clear()
System\Windows\Documents\TextElementCollection.cs (1)
95public void Clear()
System\Windows\TriggerActionCollection.cs (1)
70public void Clear()
Roslyn.Diagnostics.Analyzers (25)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\roslyn\src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
194public void Clear()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Shared (2)
EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Shared.Tests (1)
EmptyCollections\EmptyCollectionExtensionsTests.cs (1)
97public void Clear()
System.Collections (11)
System\Collections\Generic\LinkedList.cs (1)
174public void Clear()
System\Collections\Generic\OrderedDictionary.cs (3)
528public void Clear() 1605void ICollection<TKey>.Clear() => throw new NotSupportedException(); 1766void ICollection<TValue>.Clear() => throw new NotSupportedException();
System\Collections\Generic\SortedDictionary.cs (3)
196public void Clear() 602void ICollection<TKey>.Clear() 763void ICollection<TValue>.Clear()
System\Collections\Generic\SortedList.cs (3)
389public void Clear() 1036public void Clear() 1150public void Clear()
System\Collections\Generic\SortedSet.cs (1)
500public virtual void Clear()
System.Collections.Immutable (15)
System\Collections\Frozen\FrozenDictionary.cs (1)
667void ICollection<KeyValuePair<TKey, TValue>>.Clear() => throw new NotSupportedException();
System\Collections\Frozen\FrozenSet.cs (1)
419void ICollection<T>.Clear() => throw new NotSupportedException();
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
243public void Clear()
System\Collections\Immutable\ImmutableArray_1.cs (1)
1058void ICollection<T>.Clear()
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
604public void Clear()
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
606void ICollection<KeyValuePair<TKey, TValue>>.Clear()
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
265public void Clear()
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
515void ICollection<T>.Clear()
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
185public void Clear()
System\Collections\Immutable\ImmutableList_1.cs (1)
961void ICollection<T>.Clear() => throw new NotSupportedException();
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
477public void Clear()
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
511void ICollection<KeyValuePair<TKey, TValue>>.Clear()
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
346public void Clear()
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
764void ICollection<T>.Clear()
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (1)
77public void Clear()
System.CommandLine (2)
AliasSet.cs (1)
35public void Clear() => _aliases.Clear();
ChildSymbolList{T}.cs (1)
43public void Clear() => _children.Clear();
System.ComponentModel.Composition (3)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (2)
51public void Clear() 106public void Clear()
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (1)
85public void Clear()
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
80public void Clear()
System.Data.Common (1)
System\Data\Common\DbBatchCommandCollection.cs (1)
17public abstract void Clear();
System.Data.OleDb (1)
DbConnectionStringCommon.cs (1)
67void ICollection<T>.Clear()
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\ActivityTagsCollection.cs (1)
175public void Clear() => _list.Clear();
System\Diagnostics\Metrics\TagList.netcore.cs (1)
229public void Clear() =>
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
54public void Clear() => _contents.Clear();
System.DirectoryServices.AccountManagement (3)
System\DirectoryServices\AccountManagement\PrincipalCollection.cs (1)
314public void Clear()
System\DirectoryServices\AccountManagement\TrackedCollection.cs (1)
129public void Clear()
System\DirectoryServices\AccountManagement\ValueCollection.cs (1)
184public void Clear()
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
739public void Clear() => Items = Array.Empty<string>();
System.Linq (6)
System\Linq\Grouping.cs (1)
405void ICollection<TElement>.Clear() => ThrowHelper.ThrowNotSupportedException();
System\Linq\Lookup.cs (2)
314void ICollection<IGrouping<TKey, TElement>>.Clear() => throw new NotSupportedException(); 341public void Clear() => throw new NotSupportedException();
System\Linq\Range.SpeedOpt.cs (1)
105void ICollection<T>.Clear() => ThrowHelper.ThrowNotSupportedException();
System\Linq\Repeat.SpeedOpt.cs (1)
112void ICollection<TResult>.Clear() => ThrowHelper.ThrowNotSupportedException();
System\Linq\SkipTake.SpeedOpt.cs (1)
211void ICollection<TSource>.Clear() => ThrowHelper.ThrowNotSupportedException();
System.Linq.AsyncEnumerable (2)
System\Linq\GroupBy.cs (1)
443void ICollection<TElement>.Clear() => throw new NotSupportedException();
System\Linq\ToLookupAsync.cs (1)
251public void Clear() => throw new NotSupportedException();
System.Linq.Expressions (6)
System\Dynamic\ExpandoObject.cs (3)
383public void Clear() 522public void Clear() 678void ICollection<KeyValuePair<string, object?>>.Clear()
System\Dynamic\Utils\ListArgumentProvider.cs (1)
81public void Clear()
System\Linq\Expressions\BlockExpression.cs (1)
751public void Clear()
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
203public void Clear()
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
116void ICollection<T>.Clear()
System.Net.Http (3)
System\Net\Http\Headers\HttpHeaderValueCollection.cs (1)
70public void Clear()
System\Net\Http\Headers\ObjectCollection.cs (1)
84public void Clear()
System\Net\Http\HttpRequestOptions.cs (1)
39void ICollection<KeyValuePair<string, object?>>.Clear() => Options.Clear();
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
89public void Clear() => _httpListener.RemoveAll(true);
System.Net.NetworkInformation (4)
System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
81public virtual void Clear()
System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
75public virtual void Clear()
System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
75public virtual void Clear()
System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
76public virtual void Clear()
System.Net.Primitives (2)
System\Net\CookieCollection.cs (1)
92public void Clear()
System\Net\NetworkInformation\IPAddressCollection.cs (1)
68public virtual void Clear()
System.Private.CoreLib (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
236void ICollection<T>.Clear() => ThrowHelper.ThrowNotSupportedException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
711public void Clear()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
280public void Clear() 2042void ICollection<TKey>.Clear() => 2243void ICollection<TValue>.Clear() =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
197public void Clear()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
320public void Clear()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
66public void Clear()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
71void ICollection<T>.Clear()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (3)
90void ICollection<KeyValuePair<TKey, TValue>>.Clear() 263void ICollection<TKey>.Clear() 319void ICollection<TValue>.Clear()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
99void ICollection<T>.Clear() => throw new NotSupportedException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
59public void Clear()
System\Array.NativeAot.cs (1)
558public void Clear()
System.Private.Xml (4)
System\Xml\Xsl\ListBase.cs (1)
94public virtual void Clear()
System\Xml\Xsl\QIL\QilNode.cs (1)
166public virtual void Clear()
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
190void ICollection<T>.Clear() 686void ICollection<XPathItem>.Clear()
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
191public void Clear()
System.Security.Principal.Windows (1)
System\Security\Principal\IRCollection.cs (1)
88public void Clear()
System.ServiceModel.Primitives (4)
System\ServiceModel\Channels\MessageProperties.cs (1)
362public void Clear()
System\ServiceModel\ServiceChannelManager.cs (1)
376public void Clear()
System\ServiceModel\SynchronizedCollection.cs (1)
100public void Clear()
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
144void ICollection<T>.Clear()
System.Speech (1)
Result\SemanticValue.cs (1)
122void ICollection<KeyValuePair<string, SemanticValue>>.Clear()
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.IList.cs (1)
32public void Clear()
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
91public void Clear()
System\Text\Json\Serialization\ConfigurationList.cs (1)
58public void Clear()
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
230void ICollection<Capture>.Clear() =>
System\Text\RegularExpressions\GroupCollection.cs (1)
286void ICollection<Group>.Clear() =>
System\Text\RegularExpressions\MatchCollection.cs (1)
310void ICollection<Match>.Clear() =>
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\NumericUpDownAccelerationCollection.cs (1)
45public void Clear()
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListAdapter.cs (1)
31void ICollection<T>.Clear() => _list.Clear();
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
42public void Clear() => _list.Clear();
System.Xaml (2)
System\Xaml\NameScope.cs (1)
110public void Clear() => _nameMap = null;
System\Xaml\NameScopeDictionary.cs (1)
260void ICollection<KeyValuePair<string, object>>.Clear()
140 references to Clear
aspire (1)
Processes\ProcessEnvironment.cs (1)
35startInfo.Environment.Clear();
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
274options.KnownNetworks.Clear(); 275options.KnownProxies.Clear();
Aspire.Dashboard.Tests (1)
Integration\IntegrationTestHelpers.cs (1)
86o.Rules.Clear();
Aspire.Hosting (5)
ApplicationModel\ResourceAnnotationCollection.cs (1)
55Items.Clear();
Dcp\Process\ProcessUtil.cs (1)
67process.StartInfo.Environment.Clear();
ExecutableResourceBuilderExtensions.cs (2)
138existingBuilder.WithArgs(c => c.Args.Clear()); 161cb.WithArgs(c => c.Args.Clear());
ProjectResourceBuilderExtensions.cs (1)
1003cb.WithArgs(c => c.Args.Clear());
Aspire.Hosting.Azure (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
67process.StartInfo.Environment.Clear();
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppExtensions.cs (1)
731clone.InfrastructureResolvers.Clear();
Aspire.Hosting.Azure.Kubernetes (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
67process.StartInfo.Environment.Clear();
Aspire.Hosting.Docker (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
67process.StartInfo.Environment.Clear();
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
519configuration.ProtocolVersions.Clear();
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
1070builder.WithArgs(static context => context.Args.Clear());
Aspire.Hosting.Rust.Tests (1)
AddRustAppPublishTests.cs (1)
461.WithCargoArgs(context => context.Args.Clear()),
Aspire.Hosting.Testing.Tests (1)
TestingBuilderTests.cs (1)
538redis1.WithArgs(a => { a.Args.Clear(); a.Args.AddRange(["-f", "/dev/null"]); });
Aspire.Hosting.Tests (14)
Dashboard\DashboardResourceTests.cs (13)
97builder.Configuration.Sources.Clear(); 191builder.Configuration.Sources.Clear(); 226builder.Configuration.Sources.Clear(); 262builder.Configuration.Sources.Clear(); 298builder.Configuration.Sources.Clear(); 362builder.Configuration.Sources.Clear(); 404builder.Configuration.Sources.Clear(); 440builder.Configuration.Sources.Clear(); 477builder.Configuration.Sources.Clear(); 525builder.Configuration.Sources.Clear(); 572builder.Configuration.Sources.Clear(); 606builder.Configuration.Sources.Clear(); 800builder.Configuration.Sources.Clear();
ExecutableResourceBuilderExtensionTests.cs (1)
275ctx.Args.Clear();
dotnet-razorpagegenerator (1)
Program.cs (1)
64@class.Modifiers.Clear();
dotnet-user-jwts (1)
Commands\ClearCommand.cs (1)
79jwtStore.Jwts.Clear();
dotnet-user-secrets (1)
Internal\SecretsStore.cs (1)
58public void Clear() => _secrets.Clear();
illink (1)
Microsoft.Analyzers.Local (1)
JsonObject.cs (1)
85_properties.Clear();
Microsoft.AspNetCore (3)
ForwardedHeadersOptionsSetup.cs (2)
30options.KnownIPNetworks.Clear(); 31options.KnownProxies.Clear();
WebApplication.cs (1)
249addresses.Clear();
Microsoft.AspNetCore.Authentication.OAuth (1)
ClaimActionCollection.cs (1)
19public void Clear() => Actions.Clear();
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectConfigureOptions.cs (1)
115listOption.Clear();
OpenIdConnectHandler.cs (1)
608authorizeRequest.Parameters.Clear();
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Http\Routing\src\Tree\TreeRouteBuilder.cs (1)
307InboundEntries.Clear();
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ComponentServiceCollectionExtensions.cs (1)
64options.SupportedProtocols.Clear();
Microsoft.AspNetCore.Components.Web (1)
WebRenderer.cs (1)
129newJsonOptions.TypeInfoResolverChain.Clear();
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
91Items.Clear();
Microsoft.AspNetCore.Cors (3)
Infrastructure\CorsPolicyBuilder.cs (3)
162_policy.Origins.Clear(); 173_policy.Methods.Clear(); 184_policy.Headers.Clear();
Microsoft.AspNetCore.Html.Abstractions (2)
HtmlContentBuilder.cs (2)
96Entries.Clear(); 153Entries.Clear();
Microsoft.AspNetCore.Http (2)
Internal\ItemsDictionary.cs (1)
95void ICollection<KeyValuePair<object, object?>>.Clear() => _items?.Clear();
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
126WriteDictionary.Clear();
Microsoft.AspNetCore.Http.Extensions (1)
ResponseExtensions.cs (1)
28response.Headers.Clear();
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
EndpointMetadataApiDescriptionProvider.cs (2)
411defaultApiResponseType.ApiResponseFormats.Clear(); 428supportedResponseTypes.Clear();
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Binders\CollectionModelBinder.cs (1)
476targetCollection.Clear();
ModelBinding\ModelBindingHelper.cs (1)
568collection.Clear();
ModelBinding\PropertyValueSetter.cs (1)
63targetCollection.Clear();
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
126WriteDictionary.Clear();
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
233saf.Addresses.Clear();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewDataDictionary.cs (1)
562_data.Clear();
Microsoft.AspNetCore.Owin (3)
DictionaryStringArrayWrapper.cs (1)
44void ICollection<KeyValuePair<string, string[]>>.Clear() => Inner.Clear();
DictionaryStringValuesWrapper.cs (1)
89void ICollection<KeyValuePair<string, StringValues>>.Clear() => Inner.Clear();
OwinEnvironment.cs (1)
169_context.Items.Clear();
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
200Items.Clear();
Microsoft.AspNetCore.Razor.Runtime (1)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
126WriteDictionary.Clear();
Microsoft.AspNetCore.Routing (2)
Tree\TreeRouteBuilder.cs (2)
307InboundEntries.Clear(); 309OutboundEntries.Clear();
Microsoft.AspNetCore.Server.HttpSys (5)
MessagePump.cs (2)
77_serverAddresses.Addresses.Clear(); 96_serverAddresses.Addresses.Clear();
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
197Store.Clear();
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
156Extra.Clear();
UrlPrefixCollection.cs (1)
117_prefixes.Clear();
Microsoft.AspNetCore.Server.IIS (2)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
197Store.Clear();
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
156Extra.Clear();
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\AddressBinder.cs (1)
30context.Addresses.Clear();
Internal\Http\HttpProtocol.cs (1)
411RequestTrailers.Clear();
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (1)
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Microsoft.Build (4)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (2)
140_uniqueTargetInputs.Clear(); 141_uniqueTargetOutputs.Clear();
Collections\PropertyDictionary.cs (1)
231((ICollection<T>)_properties).Clear();
Definition\Project.cs (1)
4169_globalPropertiesToTreatAsLocal?.Clear();
Microsoft.Build.Tasks.Core (1)
ResGenDependencies.cs (1)
70resXFiles.Clear();
Microsoft.CodeAnalysis (1)
Binding\BindingDiagnosticBag.cs (1)
104DependenciesBag?.Clear();
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
2823bindingDiagnostics.DependenciesBag.Clear();
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionService.cs (1)
355builder.Clear();
Microsoft.Extensions.AI.Abstractions.Tests (1)
Functions\AIFunctionArgumentsTests.cs (1)
155args.Clear();
Microsoft.Extensions.AI.OpenAI (1)
OpenAIAssistantsChatClient.cs (1)
133runOptions.AdditionalMessages.Clear();
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
2947context.Options!.Tools!.Clear();
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
66public void Clear() => _services.Clear();
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
61public void Clear() => ((ICollection<KeyValuePair<T, U>>)Map).Clear();
Microsoft.Maui.Controls (10)
BindableLayout\BindableLayout.cs (1)
204 mauiLayout.Clear();
Interactivity\TriggerBase.cs (1)
153 _actual.Clear();
Internals\NotifyCollectionChangedEventArgsExtensions.cs (1)
18 to.Clear();
Items\SelectableItemsView.cs (1)
92 SelectedItems.Clear();
Items\SelectionList.cs (2)
49 _internal.Clear(); 53 _shadow.Clear();
Layout\AndExpandLayoutManager.cs (1)
22 _gridLayout?.Clear();
ReadOnlyCastingList.cs (1)
93 public void Clear() => _list.Clear();
ResourceDictionary.cs (1)
121 _collectionTrack.Clear();
VisualStateManager.cs (1)
262 _internalList.Clear();
Microsoft.ML.SearchSpace (2)
Option\NestOption.cs (1)
106((ICollection<KeyValuePair<string, OptionBase>>)_options).Clear();
SearchSpace.cs (1)
343((ICollection<KeyValuePair<string, OptionBase>>)_options).Clear();
Microsoft.TemplateEngine.Core (1)
VariableCollection.cs (1)
138_values.Clear();
Microsoft.TestPlatform.CrossPlatEngine (2)
Discovery\DiscoveryManager.cs (1)
78_requestData.MetricsCollection?.Metrics?.Clear();
Execution\ExecutionManager.cs (1)
69_requestData.MetricsCollection?.Metrics?.Clear();
Mono.Cecil (1)
Mono.Cecil\DefaultAssemblyResolver.cs (1)
56 cache.Clear ();
MSBuild (1)
XMake.cs (1)
3261warningSwitches.Clear();
NuGet.Commands (11)
CommandRunners\PackCommandRunner.cs (3)
589symbolsBuilder.PackageTypes.Clear(); 759symbolsBuilder.PackageTypes.Clear(); 763symbolsBuilder.PackageAssemblyReferences.Clear();
MSBuildProjectFactory.cs (2)
80Files.Clear(); 81builder.Files.Clear();
RestoreCommand\Utility\LockFileUtils.cs (5)
468lockFileLib.CompileTimeAssemblies.Clear(); 991group.Clear(); 1175lockFileLib.FrameworkAssemblies.Clear(); 1176lockFileLib.ResourceAssemblies.Clear(); 1199lockFileLib.ContentFiles.Clear();
TrustedSignersCommand\TrustedSignerActionsProvider.cs (1)
58existingRepository.Certificates.Clear();
NuGet.Configuration (3)
Settings\Items\RepositoryItem.cs (1)
200Owners.Clear();
Settings\VirtualSettingSection.cs (2)
39Children.Clear(); 48Children.Clear();
PresentationCore (1)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
90_innerDictionary.Clear();
PresentationFramework (4)
MS\Internal\Annotations\AnnotationResourceCollection.cs (1)
74Items.Clear(); // directly clear Collection<T> inner Items collection
MS\Internal\Data\DifferencingCollection.cs (1)
231Items.Clear();
MS\Internal\Data\XmlDataCollection.cs (1)
88Items.Clear();
System\Windows\Controls\CustomDictionarySources.cs (1)
211((IList<Uri>)this).Clear();
PresentationUI (2)
MS\Internal\Documents\DocumentSignatureManager.cs (1)
523_digSigSigResources.Clear();
MS\Internal\Documents\RightsManagementManager.cs (1)
648_userMap.Clear();
ReachFramework (1)
Serialization\XpsFontSubsetter.cs (1)
239_fontEmbeddingManagerCache.Clear();
Shared.Tests (2)
EmptyCollections\EmptyReadonlyDictionaryTests.cs (1)
51dict.Clear();
EmptyCollections\EmptyReadOnlyListTests.cs (1)
63coll.Clear();
System.ComponentModel.Composition (2)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (1)
108_collectionOfT.Clear();
System\ComponentModel\Composition\ReflectionModel\ImportingMember.cs (1)
220collection.Clear();
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
82ActualMetadata.Clear();
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
141items.Clear();