796 implementations of Clear
Analyzer.Utilities.UnitTests (1)
Extensions\IEnumerableExensionsTests.cs (1)
138public void Clear() => throw new NotImplementedException();
aspire (1)
src\Shared\CircularBuffer.cs (1)
216public void Clear()
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
216public void Clear()
Aspire.Hosting (2)
ApplicationModel\ResourceCollection.cs (1)
23public void Clear() => _resources.Clear();
src\Shared\CircularBuffer.cs (1)
216public 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\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
301public void Clear() => _innerHeaders.Clear();
Http3\Http3ConnectionTests.cs (1)
865public void Clear() => _innerHeaders.Clear();
Metrics (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Metrics.Legacy (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.AspNetCore.Components (1)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
388public void Clear()
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
2423public void Clear() => _inner.Clear();
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
89void ICollection<KeyValuePair<object, object?>>.Clear()
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1420public void Clear() { }
Microsoft.AspNetCore.Http (4)
HeaderDictionary.cs (1)
221public void Clear()
Internal\ItemsDictionary.cs (1)
95void ICollection<KeyValuePair<object, object?>>.Clear() => _items?.Clear();
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
124public void Clear()
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
248public 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.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
87public void Clear()
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
794public void Clear()
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\CopyOnWriteList.cs (1)
52public void Clear()
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
124public void Clear()
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
ActionParametersIntegrationTest.cs (1)
1029public void Clear()
CollectionModelBinderIntegrationTest.cs (4)
1257void ICollection<string>.Clear() 1326void ICollection<string>.Clear() 1397void ICollection<T>.Clear() 1466void ICollection<T>.Clear()
DictionaryModelBinderIntegrationTest.cs (2)
1575void ICollection<KeyValuePair<string, string>>.Clear() 1680void ICollection<KeyValuePair<TKey, TValue>>.Clear()
TryUpdateModelIntegrationTest.cs (1)
1320public 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\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
124public void Clear()
Microsoft.AspNetCore.Server.HttpSys (3)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
194public void Clear()
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\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
194public void Clear()
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.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
1206public void Clear() => _innerHeaders.Clear();
Microsoft.AspNetCore.Shared.Tests (5)
ClosedGenericMatcherTest.cs (1)
298void ICollection<KeyValuePair<string, object>>.Clear()
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
124public void Clear()
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
248public void Clear()
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
194public void Clear()
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
150void ICollection<KeyValuePair<string, StringValues>>.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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.Analyzers (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.AnalyzerUtilities (26)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
97public void Clear()
Microsoft.CodeAnalysis.BannedApiAnalyzers (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.CodeStyle (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.Collections.Package (23)
Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
Segmented\SegmentedList`1.cs (1)
386public void Clear()
Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.Debugging.Package (1)
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.Extensions.Package (23)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.InteractiveHost (23)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.PooledObjects.Package (1)
ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.PublicApiAnalyzers (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.ResxSourceGenerator (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
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.Threading.Package (23)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.UnitTests (1)
Collections\List\SegmentedList.Generic.Tests.AddRange.cs (1)
160public void Clear() => throw new NotImplementedException();
Microsoft.CodeAnalysis.Workspaces (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
Microsoft.Extensions.AI (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Extensions.AI.Abstractions (5)
AdditionalPropertiesDictionary{TValue}.cs (1)
114public void Clear() => _dictionary.Clear();
Embeddings\GeneratedEmbeddings.cs (1)
69public void Clear() => _embeddings.Clear();
Functions\AIFunctionArguments.cs (1)
136public void Clear() => _arguments.Clear();
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Extensions.AI.AzureAIInference (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Extensions.AI.Ollama (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Extensions.AI.OpenAI (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
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)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
396void ICollection<string?>.Clear() => throw new NotSupportedException();
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.ContextualOptions.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.Logging.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.Metrics.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
37void ICollection<T>.Clear()
Microsoft.Gen.MetricsReports.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
48void ICollection<KeyValuePair<TKey, TValue>>.Clear()
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()
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\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
100public void Clear()
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
90public void Clear()
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\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
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)
533public void Clear() 1609void ICollection<TKey>.Clear() => throw new NotSupportedException(); 1770void 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.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
711public void Clear()
System.Collections.Immutable (15)
System\Collections\Frozen\FrozenDictionary.cs (1)
666void 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)
618public 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)
189public void Clear()
System\Collections\Immutable\ImmutableList_1.cs (1)
961void ICollection<T>.Clear() => throw new NotSupportedException();
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
491public void Clear()
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
511void ICollection<KeyValuePair<TKey, TValue>>.Clear()
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
350public void Clear()
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
732void ICollection<T>.Clear()
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (1)
77public void 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.Diagnostics.DiagnosticSource (2)
System\Diagnostics\ActivityTagsCollection.cs (1)
175public void Clear() => _list.Clear();
System\Diagnostics\Metrics\TagList.netcore.cs (1)
225public void Clear() =>
System.DirectoryServices.AccountManagement (2)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (2)
241public void Clear() { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } 369public void Clear() { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
734public 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)
296void ICollection<IGrouping<TKey, TElement>>.Clear() => throw new NotSupportedException(); 323public 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)
207void 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 (2)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (2)
318void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object?>>.Clear() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 667public void Clear() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
89public void Clear() => _httpListener.RemoveAll(true);
System.Net.NetworkInformation (4)
artifacts\obj\System.Net.NetworkInformation\Debug\net10.0\System.Net.NetworkInformation.notsupported.cs (4)
29public virtual void Clear() { throw new System.PlatformNotSupportedException(System.SR.SystemNetNetworkInformation_PlatformNotSupported); } 150public virtual void Clear() { throw new System.PlatformNotSupportedException(System.SR.SystemNetNetworkInformation_PlatformNotSupported); } 375public virtual void Clear() { throw new System.PlatformNotSupportedException(System.SR.SystemNetNetworkInformation_PlatformNotSupported); } 614public virtual void Clear() { throw new System.PlatformNotSupportedException(System.SR.SystemNetNetworkInformation_PlatformNotSupported); }
System.Net.Primitives (2)
artifacts\obj\System.Net.Primitives\Debug\net10.0\System.Net.Primitives.notsupported.cs (2)
60public void Clear() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetPrimitives); } 413public virtual void Clear() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetPrimitives); }
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
236void ICollection<T>.Clear() => ThrowHelper.ThrowNotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
280public void Clear() 1933void ICollection<TKey>.Clear() => 2134void ICollection<TValue>.Clear() =>
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
197public void Clear()
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
320public void Clear()
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
66public void Clear()
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
71void ICollection<T>.Clear()
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\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
99void ICollection<T>.Clear() => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
59public 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)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
50public void Clear() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
System.ServiceModel.Primitives (2)
netstandard.cs (2)
25public void Clear() { } 1736public void Clear() { }
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
312void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Speech.Recognition.SemanticValue>>.Clear() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
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)
142void ICollection<Capture>.Clear() =>
System\Text\RegularExpressions\GroupCollection.cs (1)
156void ICollection<Group>.Clear() =>
System\Text\RegularExpressions\MatchCollection.cs (1)
152void 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.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
585public void Clear() => throw new NotImplementedException();
System.Xaml (2)
System\Xaml\NameScope.cs (1)
110public void Clear() => _nameMap = null;
System\Xaml\NameScopeDictionary.cs (1)
260void ICollection<KeyValuePair<string, object>>.Clear()
System.Xaml.Tests (6)
System\Xaml\XamlTypeTests.cs (6)
1827public void ClearClear() => throw new NotImplementedException(); 3113void ICollection<object>.Clear() => throw new NotImplementedException(); 3115void ICollection<int>.Clear() => throw new NotImplementedException(); 3166void ICollection<KeyValuePair<string, int>>.Clear() => throw new NotImplementedException(); 3168void ICollection<KeyValuePair<int, string>>.Clear() => throw new NotImplementedException();
Test.Utilities (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Text.Analyzers (25)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
111public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
359void ICollection<KeyValuePair<TKey, TValue>>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
84public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
39public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
53void ICollection<TKey>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
130public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
53void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
388void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
43public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
86public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
654void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
211void ICollection<T>.Clear()
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
296public void Clear() 1346void ICollection<TKey>.Clear() 1560void ICollection<TValue>.Clear()
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
199public void Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
29public void Clear()
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
31public void Clear()
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
189public void Clear()
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
236 references to Clear
ApiExplorerWebSite (1)
ApiExplorerRouteChangeConvention.cs (1)
22action.Selectors.Clear();
Aspire.Dashboard.Tests (1)
Integration\IntegrationTestHelpers.cs (1)
84o.Rules.Clear();
Aspire.Hosting (3)
Dcp\Process\ProcessUtil.cs (1)
39process.StartInfo.Environment.Clear();
ExecutableResourceBuilderExtensions.cs (1)
140cb.WithArgs(c => c.Args.Clear());
ProjectResourceBuilderExtensions.cs (1)
699cb.WithArgs(c => c.Args.Clear());
Aspire.Hosting.Azure (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
39process.StartInfo.Environment.Clear();
Aspire.Hosting.Testing.Tests (1)
TestingBuilderTests.cs (1)
523redis1.WithArgs(a => { a.Args.Clear(); a.Args.AddRange(["-f", "/dev/null"]); });
Aspire.Hosting.Tests (6)
Dashboard\DashboardResourceTests.cs (6)
89builder.Configuration.Sources.Clear(); 199builder.Configuration.Sources.Clear(); 238builder.Configuration.Sources.Clear(); 272builder.Configuration.Sources.Clear(); 307builder.Configuration.Sources.Clear(); 351builder.Configuration.Sources.Clear();
BasicWebSite (1)
Controllers\AsyncActionsController.cs (1)
214_continuations.Clear();
ControllersFromServicesWebSite (1)
Startup.cs (1)
18.ConfigureApplicationPartManager(manager => manager.ApplicationParts.Clear())
dotnet-razorpagegenerator (1)
Program.cs (1)
64@class.Modifiers.Clear();
dotnet-user-jwts (1)
Commands\ClearCommand.cs (1)
74jwtStore.Jwts.Clear();
dotnet-user-secrets (1)
Internal\SecretsStore.cs (1)
57public void Clear() => _secrets.Clear();
illink (1)
InMemory.FunctionalTests (3)
Http2\Http2ConnectionTests.cs (1)
301public void Clear() => _innerHeaders.Clear();
Http3\Http3ConnectionTests.cs (1)
865public void Clear() => _innerHeaders.Clear();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Logging.W3C.Sample (1)
Startup.cs (1)
18logging.AdditionalRequestHeaders.Clear();
Microsoft.Analyzers.Local (1)
ApiLifecycle\Json\JsonObject.cs (1)
85_properties.Clear();
Microsoft.AspNetCore (3)
ForwardedHeadersOptionsSetup.cs (2)
30options.KnownNetworks.Clear(); 31options.KnownProxies.Clear();
WebApplication.cs (1)
249addresses.Clear();
Microsoft.AspNetCore.Authentication.Core.Test (5)
AuthenticationPropertiesTests.cs (5)
175props.Items.Clear(); 189props.Items.Clear(); 203props.Items.Clear(); 217props.Items.Clear(); 235props.Items.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)
599authorizeRequest.Parameters.Clear();
Microsoft.AspNetCore.Authentication.Test (36)
FacebookTests.cs (3)
133o.Scope.Clear(); 163o.Scope.Clear(); 195o.Scope.Clear();
JwtBearerTests.cs (12)
194o.SecurityTokenValidators.Clear(); 284options.SecurityTokenValidators.Clear(); 311options.SecurityTokenValidators.Clear(); 335options.SecurityTokenValidators.Clear(); 355options.SecurityTokenValidators.Clear(); 374options.SecurityTokenValidators.Clear(); 509options.SecurityTokenValidators.Clear(); 535options.SecurityTokenValidators.Clear(); 644options.SecurityTokenValidators.Clear(); 679options.SecurityTokenValidators.Clear(); 716options.SecurityTokenValidators.Clear(); 751options.SecurityTokenValidators.Clear();
JwtBearerTests_Handler.cs (12)
183o.TokenHandlers.Clear(); 269options.TokenHandlers.Clear(); 293options.TokenHandlers.Clear(); 314options.TokenHandlers.Clear(); 331options.TokenHandlers.Clear(); 347options.TokenHandlers.Clear(); 477options.TokenHandlers.Clear(); 500options.TokenHandlers.Clear(); 604options.TokenHandlers.Clear(); 636options.TokenHandlers.Clear(); 670options.TokenHandlers.Clear(); 702options.TokenHandlers.Clear();
MicrosoftAccountTests.cs (3)
145o.Scope.Clear(); 163o.Scope.Clear(); 181o.Scope.Clear();
OAuthTests.cs (3)
185opt.Scope.Clear(); 238opt.Scope.Clear(); 267opt.Scope.Clear();
OpenIdConnect\OpenIdConnectChallengeTests.cs (2)
590opt.Scope.Clear(); 614opt.Scope.Clear();
WsFederation\WsFederationTest_Handler.cs (1)
293options.TokenHandlers.Clear();
Microsoft.AspNetCore.Components (1)
src\Http\Routing\src\Tree\TreeRouteBuilder.cs (1)
307InboundEntries.Clear();
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
HotReloadServiceTests.cs (2)
91endpointDataSource.Options.ConfiguredRenderModes.Clear(); 141endpointDataSource.Options.ConfiguredRenderModes.Clear();
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ComponentServiceCollectionExtensions.cs (1)
56options.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.Hosting.Tests (2)
GenericWebHostBuilderTests.cs (2)
58configBuilder.Sources.Clear(); 82configBuilder.Sources.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\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
126WriteDictionary.Clear();
Microsoft.AspNetCore.Http.Extensions (1)
ResponseExtensions.cs (1)
28response.Headers.Clear();
Microsoft.AspNetCore.HttpLogging.Tests (3)
HttpLoggingMiddlewareTests.cs (2)
271options.CurrentValue.RequestHeaders.Clear(); 1002options.CurrentValue.ResponseHeaders.Clear();
HttpLoggingOptionsTests.cs (1)
58options.RequestHeaders.Clear();
Microsoft.AspNetCore.HttpOverrides.Tests (8)
ForwardedHeadersMiddlewareTest.cs (8)
122options.KnownProxies.Clear(); 123options.KnownNetworks.Clear(); 864options.KnownNetworks.Clear(); 865options.KnownProxies.Clear(); 1136options.KnownProxies.Clear(); 1137options.KnownNetworks.Clear(); 1178options.KnownProxies.Clear(); 1179options.KnownNetworks.Clear();
Microsoft.AspNetCore.HttpsPolicy.Tests (2)
HstsMiddlewareTests.cs (1)
240options.ExcludedHosts.Clear();
HttpsPolicyTests.cs (1)
45options.ExcludedHosts.Clear(); // allowing localhost for testing
Microsoft.AspNetCore.Identity.Specification.Tests (13)
IdentitySpecificationTestBase.cs (3)
167manager.RoleValidators.Clear(); 183manager.RoleValidators.Clear(); 204manager.RoleValidators.Clear();
UserManagerSpecificationTests.cs (10)
180manager.PasswordValidators.Clear(); 358manager.UserValidators.Clear(); 374manager.UserValidators.Clear(); 388manager.UserValidators.Clear(); 438manager.PasswordValidators.Clear(); 453manager.PasswordValidators.Clear(); 473manager.PasswordValidators.Clear(); 487manager.PasswordValidators.Clear(); 526manager.PasswordValidators.Clear(); 542manager.PasswordValidators.Clear();
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
1317manager.PasswordValidators.Clear(); 1327manager.PasswordValidators.Clear();
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (2)
TestObjectModels\DynamicTestObject.cs (1)
35((IDictionary<string, object>)_dictionary).Clear();
WriteOnceDynamicTestObject.cs (1)
49((IDictionary<string, object>)_dictionary).Clear();
Microsoft.AspNetCore.JsonPatch.Tests (2)
TestObjectModels\DynamicTestObject.cs (1)
35((IDictionary<string, object>)_dictionary).Clear();
WriteOnceDynamicTestObject.cs (1)
49((IDictionary<string, object>)_dictionary).Clear();
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
394defaultApiResponseType.ApiResponseFormats.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\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
126WriteDictionary.Clear();
Microsoft.AspNetCore.Mvc.Core.Test (2)
Filters\FilterFactoryTest.cs (1)
32context => context.Results.Clear(),
Formatters\TextOutputFormatterTests.cs (1)
185formatter.SupportedEncodings.Clear();
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
AntiforgeryMiddlewareTest.cs (1)
274partManager.ApplicationParts.Clear();
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
DictionaryModelBinderIntegrationTest.cs (2)
1577_data.Clear(); 1682_data.Clear();
Microsoft.AspNetCore.Mvc.Razor.Test (5)
RazorViewEngineOptionsTest.cs (2)
26options.AreaViewLocationFormats.Clear(); 56options.ViewLocationFormats.Clear();
RazorViewEngineTest.cs (3)
2083options.ViewLocationFormats.Clear(); 2093options.AreaViewLocationFormats.Clear(); 2103options.PageViewLocationFormats.Clear();
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
226apm.FeatureProviders.Clear(); 243feature.ViewDescriptors.Clear();
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
222saf.Addresses.Clear();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewDataDictionary.cs (1)
562_data.Clear();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
299apm.FeatureProviders.Clear(); 316feature.Controllers.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.Owin.Tests (1)
OwinEnvironmentTests.cs (1)
202owinEnvironment1.Clear();
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
200Items.Clear();
Microsoft.AspNetCore.Razor.Runtime (1)
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)
71_serverAddresses.Addresses.Clear(); 90_serverAddresses.Addresses.Clear();
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
197Store.Clear();
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
156Extra.Clear();
UrlPrefixCollection.cs (1)
117_prefixes.Clear();
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
197Store.Clear();
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)
393RequestTrailers.Clear();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
Http1\Http1ConnectionTests.cs (1)
1206public void Clear() => _innerHeaders.Clear();
HttpRequestHeadersTests.cs (1)
321headers.Clear();
HttpResponseHeadersTests.cs (4)
252((IHeaderDictionary)responseHeaders).Clear(); 256((IHeaderDictionary)responseHeaders).Clear(); 309Assert.Throws<InvalidOperationException>(() => dictionary.Clear()); 395dictionary.Clear();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Servers\Kestrel\shared\TransportConnection.cs (1)
59_items?.Clear();
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
126WriteDictionary.Clear();
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
197Store.Clear();
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
156Extra.Clear();
Microsoft.AspNetCore.SignalR.Tests (1)
AddSignalRTests.cs (1)
81options.SupportedProtocols.Clear();
Microsoft.AspNetCore.Tests (3)
WebApplicationTests.cs (3)
1191config.Sources.Clear(); 1226config.Sources.Clear(); 2282((IConfigurationBuilder)builder.Configuration).Sources.Clear();
Microsoft.AspNetCore.WebSockets.Tests (1)
KestrelWebSocketHelpers.cs (1)
42ct.Response.Headers.Clear();
Microsoft.Cci.Extensions (1)
Experimental\TypeReferenceSearcher.cs (1)
69_dependencies.Clear();
Microsoft.CodeAnalysis (1)
Binding\BindingDiagnosticBag.cs (1)
104DependenciesBag?.Clear();
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
2744bindingDiagnostics.DependenciesBag.Clear();
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
112_readOnlyRegions.Clear();
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpPresenterSession.cs (1)
200signatures.Clear();
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionService.cs (1)
362builder.Clear();
Microsoft.CodeAnalysis.InteractiveHost (4)
Interactive\Core\InteractiveHost.Service.cs (4)
272referencePaths.Clear(); 276sourcePaths.Clear(); 579globals.ReferencePaths.Clear(); 582globals.SourcePaths.Clear();
Microsoft.CodeAnalysis.UnitTests (18)
Collections\IdentifierCollectionTests.cs (1)
83Assert.Throws<NotSupportedException>(() => collection.Clear());
Collections\ImmutableDictionaryTestBase.cs (1)
133Assert.Throws<NotSupportedException>(() => dictionary.Clear());
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (1)
291Assert.Throws<NotSupportedException>(() => collection.Clear());
Collections\ImmutableSegmentedListTest.cs (1)
762Assert.Throws<NotSupportedException>(() => list.Clear());
Collections\ImmutableSetTest.cs (1)
184Assert.Throws<NotSupportedException>(() => set.Clear());
Collections\List\ICollection.Generic.Tests.cs (11)
113casted.Clear(); 231collection.Clear(); 317Assert.Throws<NotSupportedException>(() => collection.Clear()); 322collection.Clear(); 334Assert.Throws<NotSupportedException>(() => collection.Clear()); 335Assert.Throws<NotSupportedException>(() => collection.Clear()); 336Assert.Throws<NotSupportedException>(() => collection.Clear()); 341collection.Clear(); 342collection.Clear(); 343collection.Clear(); 380collection.Clear();
Collections\SegmentedArrayTests.cs (1)
78Assert.Throws<NotSupportedException>(() => ((ICollection<IntPtr>)data).Clear());
InternalUtilities\SpecializedCollectionsTests.cs (1)
42Assert.Throws<NotSupportedException>(() => emptySet.Clear());
Microsoft.DotNet.SignCheckLibrary (1)
Verification\Jar\JarSignatureFile.cs (1)
239Timestamps.Clear();
Microsoft.Extensions.AI.Abstractions.Tests (1)
Functions\AIFunctionArgumentsTests.cs (1)
155args.Clear();
Microsoft.Extensions.AI.OpenAI (1)
OpenAIAssistantChatClient.cs (1)
137runOptions.AdditionalMessages.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.Net.Http.Headers.Tests (1)
MediaTypeHeaderValueTest.cs (1)
186Assert.Throws<NotSupportedException>(() => mediaType1.Parameters.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\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
141items.Clear();
xunit.console (1)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextJsonReader.cs (1)
35_stringPool.Clear();