470 implementations of Remove
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
175public bool Remove(T item) => throw new NotImplementedException();
Aspire.Hosting (2)
ApplicationModel\ResourceCollection.cs (1)
25public bool Remove(IResource item) => _resources.Remove(item);
src\Shared\CircularBuffer.cs (1)
175public bool Remove(T item) => throw new NotImplementedException();
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
833bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> pair)
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (1)
486public bool Remove(IChannel channel)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
168public bool Remove(T item)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
152bool ICollection<T>.Remove(T value)
Shared\Options\ListValue.cs (1)
166public bool Remove(TValue value)
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
307public bool Remove(KeyValuePair<string, StringValues> item) => _innerHeaders.Remove(item);
Http3\Http3ConnectionTests.cs (1)
842public bool Remove(KeyValuePair<string, StringValues> item) => _innerHeaders.Remove(item);
Microsoft.AspNetCore.Components (1)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
482bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> item)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
2425public bool Remove(T item) => _inner.Remove(item);
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
114bool ICollection<KeyValuePair<object, object?>>.Remove(KeyValuePair<object, object?> item)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1434public bool Remove(KeyValuePair<string, StringValues> item) => false;
Microsoft.AspNetCore.Http (4)
HeaderDictionary.cs (1)
281public bool Remove(KeyValuePair<string, StringValues> item)
Internal\ItemsDictionary.cs (1)
115bool ICollection<KeyValuePair<object, object?>>.Remove(KeyValuePair<object, object?> item)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
139public bool Remove(KeyValuePair<TKey, TValue> item)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
346bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
Microsoft.AspNetCore.Http.Abstractions (11)
EndpointFilterInvocationContextOfT.Generated.cs (10)
118public bool Remove(object? item) 247public bool Remove(object? item) 383public bool Remove(object? item) 526public bool Remove(object? item) 676public bool Remove(object? item) 833public bool Remove(object? item) 997public bool Remove(object? item) 1168public bool Remove(object? item) 1346public bool Remove(object? item) 1531public bool Remove(object? item)
Routing\RouteValueDictionary.cs (1)
482bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> item)
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
117public bool Remove(KeyValuePair<object, ValidationStateEntry> item)
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
814public bool Remove(string item)
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\CopyOnWriteList.cs (1)
104public bool Remove(T item)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
139public bool Remove(KeyValuePair<TKey, TValue> item)
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
ActionParametersIntegrationTest.cs (1)
1044public bool Remove(T item)
CollectionModelBinderIntegrationTest.cs (4)
1282bool ICollection<string>.Remove(string item) 1361bool ICollection<string>.Remove(string item) 1422bool ICollection<T>.Remove(T item) 1501bool ICollection<T>.Remove(T item)
DictionaryModelBinderIntegrationTest.cs (2)
1605bool ICollection<KeyValuePair<string, string>>.Remove(KeyValuePair<string, string> item) 1710bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
TryUpdateModelIntegrationTest.cs (1)
1335public bool Remove(T item)
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
AttributeDictionary.cs (3)
247public bool Remove(KeyValuePair<string, string?> item) 424public bool Remove(string item) 529public bool Remove(string? item)
TempDataDictionary.cs (1)
261bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> keyValuePair)
ViewDataDictionary.cs (1)
580public bool Remove(KeyValuePair<string, object?> item)
Microsoft.AspNetCore.Owin (3)
DictionaryStringArrayWrapper.cs (1)
62bool ICollection<KeyValuePair<string, string[]>>.Remove(KeyValuePair<string, string[]> item) => Inner.Remove(Convert(item));
DictionaryStringValuesWrapper.cs (1)
107bool ICollection<KeyValuePair<string, StringValues>>.Remove(KeyValuePair<string, StringValues> item) => Inner.Remove(Convert(item));
OwinEnvironment.cs (1)
281bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> item)
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
155public bool Remove(TagHelperAttribute attribute)
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
139public bool Remove(KeyValuePair<TKey, TValue> item)
Microsoft.AspNetCore.Server.HttpSys (3)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
230public bool Remove(KeyValuePair<string, StringValues> item)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
239bool ICollection<KeyValuePair<string, StringValues>>.Remove(KeyValuePair<string, StringValues> item)
UrlPrefixCollection.cs (1)
146public bool Remove(UrlPrefix item)
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
230public bool Remove(KeyValuePair<string, StringValues> item)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
239bool ICollection<KeyValuePair<string, StringValues>>.Remove(KeyValuePair<string, StringValues> item)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.cs (1)
245bool ICollection<KeyValuePair<string, StringValues>>.Remove(KeyValuePair<string, StringValues> item)
Internal\ServerAddressesCollection.cs (2)
54public bool Remove(string item) 126public bool Remove(string item)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
1212public bool Remove(KeyValuePair<string, StringValues> item) => _innerHeaders.Remove(item);
Microsoft.AspNetCore.Shared.Tests (5)
ClosedGenericMatcherTest.cs (1)
328bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> item)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
139public bool Remove(KeyValuePair<TKey, TValue> item)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
346bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
230public bool Remove(KeyValuePair<string, StringValues> item)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
239bool ICollection<KeyValuePair<string, StringValues>>.Remove(KeyValuePair<string, StringValues> item)
Microsoft.Build (20)
Collections\ArrayDictionary.cs (1)
177public bool Remove(KeyValuePair<TKey, TValue> item)
Collections\CopyOnWritePropertyDictionary.cs (1)
301bool ICollection<KeyValuePair<string, T>>.Remove(KeyValuePair<string, T> item)
Collections\PropertyDictionary.cs (1)
435bool ICollection<KeyValuePair<string, T>>.Remove(KeyValuePair<string, T> item)
Collections\ReadOnlyConvertingDictionary.cs (1)
169public bool Remove(KeyValuePair<K, N> item)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
394public bool Remove(T item) 399bool ICollection<KeyValuePair<string, T>>.Remove(KeyValuePair<string, T> entry)
Construction\ProjectElementContainer.cs (1)
855public bool Remove(T item)
CopyOnWriteDictionary.cs (1)
288public bool Remove(KeyValuePair<string, V> item)
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (3)
84public bool Remove(T item) => throw new NotSupportedException(); 88public bool Remove(KeyValuePair<string, T> item) => throw new NotSupportedException(); 196public bool Remove(T item) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (3)
129public bool Remove(ProjectPropertyInstance item) => throw new NotSupportedException(); 133public bool Remove(KeyValuePair<string, ProjectPropertyInstance> item) => throw new NotSupportedException(); 179public bool Remove(ProjectPropertyInstance item) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
79public bool Remove(T item) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
200public bool Remove(T item) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableStringValuedListConverter.cs (1)
39public bool Remove(string item) => throw new NotSupportedException();
ReadOnlyCollection.cs (1)
153public bool Remove(T item)
ReadOnlyEmptyCollection.cs (1)
116public bool Remove(T item)
ReadOnlyEmptyDictionary.cs (1)
248public bool Remove(KeyValuePair<K, V> item)
Microsoft.Build.Framework (14)
ImmutableSegmentedDictionary`2.cs (1)
369bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
ImmutableSegmentedDictionary`2+Builder.cs (1)
173public bool Remove(KeyValuePair<TKey, TValue> item)
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
49public bool Remove(TKey item)
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
49bool ICollection<TValue>.Remove(TValue item)
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
54bool ICollection<TKey>.Remove(TKey item)
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
54bool ICollection<TValue>.Remove(TValue item)
ImmutableSegmentedList`1.cs (1)
655bool ICollection<T>.Remove(T item)
ImmutableSegmentedList`1+Builder.cs (1)
182public bool Remove(T item)
ImmutableSegmentedList`1+ValueBuilder.cs (1)
254public bool Remove(T item)
SegmentedArray`1.cs (1)
285bool ICollection<T>.Remove(T value)
SegmentedDictionary`2.cs (3)
219bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 1314bool ICollection<TKey>.Remove(TKey item) 1508bool ICollection<TValue>.Remove(TValue item)
SegmentedList`1.cs (1)
910public bool Remove(T item)
Microsoft.Build.Tasks.Core (4)
CopyOnWriteDictionary.cs (1)
288public bool Remove(KeyValuePair<string, V> item)
ReadOnlyCollection.cs (1)
153public bool Remove(T item)
ReadOnlyEmptyCollection.cs (1)
116public bool Remove(T item)
ReadOnlyEmptyDictionary.cs (1)
248public bool Remove(KeyValuePair<K, V> item)
Microsoft.Build.Utilities.Core (3)
CopyOnWriteDictionary.cs (1)
288public bool Remove(KeyValuePair<string, V> item)
ReadOnlyEmptyCollection.cs (1)
116public bool Remove(T item)
ReadOnlyEmptyDictionary.cs (1)
248public bool Remove(KeyValuePair<K, V> item)
Microsoft.CodeAnalysis (26)
Collections\IdentifierCollection.Collection.cs (1)
89public bool Remove(string item)
Collections\UnionCollection.cs (1)
127public bool Remove(T item)
InternalUtilities\ConcurrentSet.cs (1)
103public bool Remove(T value)
InternalUtilities\SpecializedCollections.Empty.Collection.cs (1)
45public bool Remove(T item)
InternalUtilities\SpecializedCollections.ReadOnly.Collection.cs (1)
52public bool Remove(T item)
InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
48public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
360bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
106public bool Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
49public bool Remove(TKey item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
49bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
54bool ICollection<TKey>.Remove(TKey item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
183public bool Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
54bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
389bool ICollection<T>.Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
92public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
194public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
655bool ICollection<T>.Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
182public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
254public bool Remove(T item)
src\Dependencies\Collections\SegmentedArray`1.cs (1)
282bool ICollection<T>.Remove(T value)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
282bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 1350bool ICollection<TKey>.Remove(TKey item) 1552bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
289public bool Remove(T item)
src\Dependencies\Collections\SegmentedList`1.cs (1)
1062public bool Remove(T item)
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
252public bool Remove(T element)
Microsoft.CodeAnalysis.CodeStyle (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
103public bool Remove(T value)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Collection.cs (1)
45public bool Remove(T item)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Collection.cs (1)
52public bool Remove(T item)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
48public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
360bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
106public bool Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
49public bool Remove(TKey item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
49bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
54bool ICollection<TKey>.Remove(TKey item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
183public bool Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
54bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
389bool ICollection<T>.Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
92public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
194public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
655bool ICollection<T>.Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
182public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
254public bool Remove(T item)
src\Dependencies\Collections\SegmentedArray`1.cs (1)
282bool ICollection<T>.Remove(T value)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
282bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 1350bool ICollection<TKey>.Remove(TKey item) 1552bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
289public bool Remove(T item)
src\Dependencies\Collections\SegmentedList`1.cs (1)
1062public bool Remove(T item)
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
252public bool Remove(T element)
Microsoft.CodeAnalysis.Collections.Package (19)
ImmutableSegmentedDictionary`2.cs (1)
360bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
ImmutableSegmentedDictionary`2+Builder.cs (1)
106public bool Remove(KeyValuePair<TKey, TValue> item)
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
49public bool Remove(TKey item)
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
49bool ICollection<TValue>.Remove(TValue item)
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
54bool ICollection<TKey>.Remove(TKey item)
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
183public bool Remove(KeyValuePair<TKey, TValue> item)
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
54bool ICollection<TValue>.Remove(TValue item)
ImmutableSegmentedHashSet`1.cs (1)
389bool ICollection<T>.Remove(T item)
ImmutableSegmentedHashSet`1+Builder.cs (1)
92public bool Remove(T item)
ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
194public bool Remove(T item)
ImmutableSegmentedList`1.cs (1)
655bool ICollection<T>.Remove(T item)
ImmutableSegmentedList`1+Builder.cs (1)
182public bool Remove(T item)
ImmutableSegmentedList`1+ValueBuilder.cs (1)
254public bool Remove(T item)
SegmentedArray`1.cs (1)
282bool ICollection<T>.Remove(T value)
SegmentedDictionary`2.cs (3)
282bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 1350bool ICollection<TKey>.Remove(TKey item) 1552bool ICollection<TValue>.Remove(TValue item)
SegmentedHashSet`1.cs (1)
289public bool Remove(T item)
SegmentedList`1.cs (1)
1062public bool Remove(T item)
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
252public bool Remove(T element)
Microsoft.CodeAnalysis.PooledObjects.Package (1)
ArrayBuilder.cs (1)
252public bool Remove(T element)
Microsoft.CodeAnalysis.Scripting (1)
Hosting\SynchronizedList.cs (1)
108public bool Remove(T item)
Microsoft.CodeAnalysis.UnitTests (1)
Collections\List\SegmentedList.Generic.Tests.AddRange.cs (1)
164public bool Remove(T item) => throw new NotImplementedException();
Microsoft.CodeAnalysis.Workspaces (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
103public bool Remove(T value)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Collection.cs (1)
45public bool Remove(T item)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Collection.cs (1)
52public bool Remove(T item)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
48public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
360bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
106public bool Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
49public bool Remove(TKey item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
49bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
54bool ICollection<TKey>.Remove(TKey item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
183public bool Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
54bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
389bool ICollection<T>.Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
92public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
194public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
655bool ICollection<T>.Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
182public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
254public bool Remove(T item)
src\Dependencies\Collections\SegmentedArray`1.cs (1)
282bool ICollection<T>.Remove(T value)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
282bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 1350bool ICollection<TKey>.Remove(TKey item) 1552bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
289public bool Remove(T item)
src\Dependencies\Collections\SegmentedList`1.cs (1)
1062public bool Remove(T item)
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
252public bool Remove(T element)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
103public bool Remove(T value)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Collection.cs (1)
45public bool Remove(T item)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Collection.cs (1)
52public bool Remove(T item)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
48public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
360bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
106public bool Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
49public bool Remove(TKey item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
49bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
54bool ICollection<TKey>.Remove(TKey item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
183public bool Remove(KeyValuePair<TKey, TValue> item)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
54bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
389bool ICollection<T>.Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
92public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
194public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
655bool ICollection<T>.Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
182public bool Remove(T item)
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
254public bool Remove(T item)
src\Dependencies\Collections\SegmentedArray`1.cs (1)
282bool ICollection<T>.Remove(T value)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
282bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 1350bool ICollection<TKey>.Remove(TKey item) 1552bool ICollection<TValue>.Remove(TValue item)
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
289public bool Remove(T item)
src\Dependencies\Collections\SegmentedList`1.cs (1)
1062public bool Remove(T item)
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
252public bool Remove(T element)
Microsoft.Extensions.AI (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Extensions.AI.Abstractions (4)
AdditionalPropertiesDictionary{TValue}.cs (1)
143bool ICollection<KeyValuePair<string, TValue>>.Remove(KeyValuePair<string, TValue> item) => ((ICollection<KeyValuePair<string, TValue>>)_dictionary).Remove(item);
Embeddings\GeneratedEmbeddings.cs (1)
90public bool Remove(TEmbedding item) => _embeddings.Remove(item);
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Extensions.AI.AzureAIInference (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Extensions.AI.Ollama (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Extensions.AI.OpenAI (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Extensions.Configuration (2)
ConfigurationManager.cs (2)
245public bool Remove(IConfigurationSource source) 336public bool Remove(KeyValuePair<string, object> item)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceCollection.cs (1)
61public bool Remove(ServiceDescriptor item)
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
72public bool Remove(ServiceDescriptor item) => _services.Remove(item);
Microsoft.Extensions.Http.Diagnostics (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
392bool ICollection<string?>.Remove(string? item) => throw new NotSupportedException();
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Gen.ContextualOptions.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Gen.Logging.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Gen.Metrics.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Gen.MetricsReports.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
56public bool Remove(KeyValuePair<T, U> item) => ((ICollection<KeyValuePair<T, U>>)Map).Remove(item);
Microsoft.Maui (3)
Hosting\Internal\FontCollection.cs (1)
34 public bool Remove(FontDescriptor item) => _descriptors.Remove(item);
Hosting\Internal\MauiServiceCollection.cs (1)
48 public bool Remove(ServiceDescriptor item)
Primitives\LockableObservableListWrapper.cs (1)
114 public bool Remove(string item)
Microsoft.Maui.Controls (26)
DefinitionCollection.cs (1)
52 public bool Remove(T item)
Element\Element.cs (1)
1106 bool ICollection<Element>.Remove(Element item) => throw new NotSupportedException();
Interactivity\TriggerBase.cs (1)
184 public bool Remove(T item)
Items\SelectionList.cs (1)
86 public bool Remove(object item)
Layout\Layout.cs (2)
243 public bool RemoveRemove(IView child)
LegacyLayouts\LayoutOfT.cs (1)
25 bool ICollection<IView>.Remove(IView child)
Menu\MenuBar.cs (1)
94 public bool Remove(IMenuBarItem item)
Menu\MenuBarItem.cs (1)
100 public bool Remove(IMenuElement item)
Menu\MenuFlyout.cs (1)
82 public bool Remove(IMenuElement item)
Menu\MenuFlyoutSubItem.cs (1)
70 public bool Remove(IMenuElement item)
NavigationStepRequest.cs (1)
99 bool ICollection<NavigationStepRequest>.Remove(NavigationStepRequest item)
ObservableWrapper.cs (1)
88 public bool Remove(TRestrict item)
OrderedDictionary.cs (2)
153 bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) 414 public bool Remove(TValue item)
ReadOnlyCastingList.cs (1)
115 public bool Remove(T item) =>
ResourceDictionary.cs (1)
188 bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> item)
Shell\MenuItemCollection.cs (1)
54 public bool Remove(MenuItem item) => _inner.Remove(item);
Shell\ShellElementCollection.cs (2)
137 public abstract bool Remove(BaseShellItem item); 319 public virtual bool Remove(TBaseShellItem item) => Inner.Remove(item);
Shell\ShellNavigationQueryParameters.cs (1)
92 public bool Remove(KeyValuePair<string, object> item)
SwipeView\SwipeItems.cs (1)
118 public bool Remove(ISwipeItem item)
SynchronizedList.cs (1)
54 public bool Remove(T item)
TableView\TableSection.cs (1)
75 public bool Remove(T item)
VisualStateManager.cs (2)
278 public bool Remove(VisualStateGroup item) 767 public bool Remove(T item)
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
119 public bool Remove(Location item)
HandlerImpl\Polyline.Impl.cs (1)
118 public bool Remove(Location item)
Microsoft.ML.Core (1)
Utilities\Tree.cs (1)
184public bool Remove(KeyValuePair<TKey, Tree<TKey, TValue>> item)
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
140public bool Remove(KeyValuePair<string, OptionBase> item)
Parameter.cs (1)
338public bool Remove(KeyValuePair<string, Parameter> item)
SearchSpace.cs (1)
359public bool Remove(KeyValuePair<string, OptionBase> item)
Microsoft.ML.TorchSharp (1)
Utils\DefaultDictionary.cs (1)
75public bool Remove(KeyValuePair<TKey, TValue> item)
MSBuild (3)
CopyOnWriteDictionary.cs (1)
288public bool Remove(KeyValuePair<string, V> item)
ReadOnlyEmptyCollection.cs (1)
116public bool Remove(T item)
ReadOnlyEmptyDictionary.cs (1)
248public bool Remove(KeyValuePair<K, V> item)
MSBuildTaskHost (4)
CopyOnWriteDictionary.cs (1)
288public bool Remove(KeyValuePair<string, V> item)
Immutable\ImmutableDictionary.cs (1)
277bool ICollection<KeyValuePair<K, V>>.Remove(KeyValuePair<K, V> item)
ReadOnlyEmptyCollection.cs (1)
116public bool Remove(T item)
ReadOnlyEmptyDictionary.cs (1)
248public bool Remove(KeyValuePair<K, V> item)
PresentationCore (41)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
745public bool Remove(KeyValuePair<int, ushort> item)
MS\Internal\FontFace\TypefaceCollection.cs (1)
102public bool Remove(Typeface item)
MS\Internal\PartialArray.cs (1)
60public bool Remove(T item)
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
230public bool Remove(double item)
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
174public bool Remove(Point item)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
130public bool Remove(char item)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
135public bool Remove(T item)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (1)
65public bool Remove(ushort item)
System\Windows\FreezableCollection.cs (1)
214public bool Remove(T value)
System\Windows\Generated\TextDecorationCollection.cs (1)
137public bool Remove(TextDecoration value)
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
133public bool Remove(Timeline value)
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
81public bool Remove(Clock item)
System\Windows\Media\CharacterMetricsDictionary.cs (1)
157public bool Remove(KeyValuePair<int, CharacterMetrics> item)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
126public bool Remove(KeyValuePair<XmlLanguage, string> item)
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
136public bool Remove(BitmapEffect value)
System\Windows\Media\FamilyMapCollection.cs (1)
121public bool Remove(FontFamilyMap item)
System\Windows\Media\FamilyTypefaceCollection.cs (1)
108public bool Remove(FamilyTypeface item)
System\Windows\Media\Fonts.cs (1)
352public bool Remove(Typeface item)
System\Windows\Media\Generated\DoubleCollection.cs (1)
125public bool Remove(double value)
System\Windows\Media\Generated\DrawingCollection.cs (1)
147public bool Remove(Drawing value)
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
134public bool Remove(GeneralTransform value)
System\Windows\Media\Generated\GeometryCollection.cs (1)
147public bool Remove(Geometry value)
System\Windows\Media\Generated\GradientStopCollection.cs (1)
135public bool Remove(GradientStop value)
System\Windows\Media\Generated\Int32Collection.cs (1)
124public bool Remove(int value)
System\Windows\Media\Generated\PathFigureCollection.cs (1)
140public bool Remove(PathFigure value)
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
134public bool Remove(PathSegment value)
System\Windows\Media\Generated\PointCollection.cs (1)
124public bool Remove(Point value)
System\Windows\Media\Generated\TextEffectCollection.cs (1)
134public bool Remove(TextEffect value)
System\Windows\Media\Generated\TransformCollection.cs (1)
147public bool Remove(Transform value)
System\Windows\Media\Generated\VectorCollection.cs (1)
124public bool Remove(Vector value)
System\Windows\Media\GlyphRun.cs (2)
2153public bool Remove(bool item) 2255public bool Remove(ushort item)
System\Windows\Media\GlyphTypeface.cs (2)
1838public bool Remove(KeyValuePair<ushort, double> item) 1923public bool Remove(double item)
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
134public bool Remove(GeneralTransform3D value)
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
147public bool Remove(Material value)
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
147public bool Remove(Model3D value)
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
125public bool Remove(Point3D value)
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
147public bool Remove(Transform3D value)
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
125public bool Remove(Vector3D value)
System\Windows\Media3D\Visual3DCollection.cs (1)
76public bool Remove(Visual3D value)
PresentationFramework (19)
MS\Internal\Annotations\ObservableDictionary.cs (1)
174bool ICollection<KeyValuePair<string, string>>.Remove(KeyValuePair<string, string> pair)
MS\Internal\Data\RBTree.cs (1)
592public bool Remove(T item)
MS\Internal\Documents\ContentElementCollection.cs (1)
236abstract public bool Remove(TItem item);
MS\Internal\ListOfObject.cs (1)
85bool ICollection<object>.Remove(object item)
MS\Internal\WeakDictionary.cs (3)
66public bool Remove(KeyType item) 153public bool Remove(ValueType item) 320public bool Remove(KeyValuePair<TKey, TValue> item)
MS\Internal\WeakHashSet.cs (1)
70public bool Remove(T item)
System\Windows\Controls\ColumnDefinition.cs (1)
268public bool Remove(ColumnDefinition value) // bool ICollection<T>.Remove(T item)
System\Windows\Controls\CustomDictionarySources.cs (1)
185bool ICollection<Uri>.Remove(Uri item)
System\Windows\Controls\RowDefinition.cs (1)
263public bool Remove(RowDefinition value) // bool ICollection<T>.Remove(T item)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
340public bool Remove(DataGridCellInfo cell)
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
153public bool Remove(XmlNamespaceMapping mapping)
System\Windows\Documents\TableCellCollection.cs (1)
199public bool Remove(TableCell item)
System\Windows\Documents\TableColumnCollection.cs (1)
199public bool Remove(TableColumn item)
System\Windows\Documents\TableRowCollection.cs (1)
199public bool Remove(TableRow item)
System\Windows\Documents\TableRowGroupCollection.cs (1)
199public bool Remove(TableRowGroup item)
System\Windows\Documents\TextElementCollection.cs (1)
197public bool Remove(TextElementType item)
System\Windows\TriggerActionCollection.cs (1)
148public bool Remove(TriggerAction value)
Shared (2)
EmptyCollections\EmptyReadonlyDictionary.cs (1)
62bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => false;
EmptyCollections\EmptyReadOnlyList.cs (1)
35bool ICollection<T>.Remove(T item) => false;
Shared.Tests (1)
EmptyCollections\EmptyCollectionExtensionsTests.cs (1)
109public bool Remove(T item) => false;
System.Collections (11)
System\Collections\Generic\LinkedList.cs (1)
295public bool Remove(T value)
System\Collections\Generic\OrderedDictionary.cs (3)
1218bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => 1607bool ICollection<TKey>.Remove(TKey item) => throw new NotSupportedException(); 1768bool ICollection<TValue>.Remove(TValue item) => throw new NotSupportedException();
System\Collections\Generic\SortedDictionary.cs (3)
82bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 614bool ICollection<TKey>.Remove(TKey item) 775bool ICollection<TValue>.Remove(TValue item)
System\Collections\Generic\SortedList.cs (3)
204bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 1101public bool Remove(TKey key) 1210public bool Remove(TValue value)
System\Collections\Generic\SortedSet.cs (1)
379public bool Remove(T item) => DoRemove(item); // Hack so the implementation can be made virtual
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1662bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) =>
System.Collections.Immutable (15)
System\Collections\Frozen\FrozenDictionary.cs (1)
615bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
System\Collections\Frozen\FrozenSet.cs (1)
422bool ICollection<T>.Remove(T item) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
498public bool Remove(T element)
System\Collections\Immutable\ImmutableArray_1.cs (1)
1063bool ICollection<T>.Remove(T item)
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
661public bool Remove(KeyValuePair<TKey, TValue> item)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
604bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
242public bool Remove(T item)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
523bool ICollection<T>.Remove(T item)
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
205public bool Remove(T item)
System\Collections\Immutable\ImmutableList_1.cs (1)
976bool ICollection<T>.Remove(T item) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
516public bool Remove(KeyValuePair<TKey, TValue> item)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
516bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
378public bool Remove(T item)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
740bool ICollection<T>.Remove(T item)
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (1)
105public bool Remove(T item)
System.ComponentModel.Composition (3)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (2)
76public bool Remove(object item) 131public bool Remove(object item)
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (1)
171public bool Remove(ComposablePartCatalog item)
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
105public bool Remove(KeyValuePair<string, object> item)
System.Data.Common (1)
System\Data\Common\DbBatchCommandCollection.cs (1)
23public abstract bool Remove(DbBatchCommand item);
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\ActivityTagsCollection.cs (1)
244public bool Remove(KeyValuePair<string, object?> item) => _list.Remove(item);
System\Diagnostics\Metrics\TagList.netcore.cs (1)
241public bool Remove(KeyValuePair<string, object?> item)
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
69public bool Remove(KeyValuePair<string, string?> item)
System.DirectoryServices.AccountManagement (2)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (2)
251public bool Remove(System.DirectoryServices.AccountManagement.Principal principal) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } 375public bool Remove(T value) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
768public bool Remove(string item)
System.Linq (6)
System\Linq\Grouping.cs (1)
412bool ICollection<TElement>.Remove(TElement item) => ThrowHelper.ThrowNotSupportedException_Boolean();
System\Linq\Lookup.cs (2)
297bool ICollection<IGrouping<TKey, TElement>>.Remove(IGrouping<TKey, TElement> item) => throw new NotSupportedException(); 324public bool Remove(IGrouping<TKey, TElement> item) => throw new NotSupportedException();
System\Linq\Range.SpeedOpt.cs (1)
110bool ICollection<int>.Remove(int item) => ThrowHelper.ThrowNotSupportedException_Boolean();
System\Linq\Repeat.SpeedOpt.cs (1)
114bool ICollection<TResult>.Remove(TResult item) => ThrowHelper.ThrowNotSupportedException_Boolean();
System\Linq\SkipTake.SpeedOpt.cs (1)
194bool ICollection<TSource>.Remove(TSource item) => ThrowHelper.ThrowNotSupportedException_Boolean();
System.Linq.AsyncEnumerable (1)
System\Linq\GroupBy.cs (1)
426bool ICollection<TElement>.Remove(TElement item) => throw new NotSupportedException();
System.Linq.Expressions (6)
System\Dynamic\ExpandoObject.cs (3)
426public bool Remove(string item) 576public bool Remove(object? item) 728bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> item)
System\Dynamic\Utils\ListArgumentProvider.cs (1)
116public bool Remove(T item)
System\Linq\Expressions\BlockExpression.cs (1)
795public bool Remove(Expression item)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
237public bool Remove(T item)
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
141bool ICollection<T>.Remove(T item)
System.Net.Http (3)
System\Net\Http\Headers\HttpHeaderValueCollection.cs (1)
127public bool Remove(T item)
System\Net\Http\Headers\ObjectCollection.cs (1)
116public bool Remove(T item)
System\Net\Http\HttpRequestOptions.cs (1)
47bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Remove(item);
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
87public bool Remove(string uriPrefix) => _httpListener.RemovePrefix(uriPrefix);
System.Net.NetworkInformation (4)
System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
76public virtual bool Remove(GatewayIPAddressInformation address)
System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
70public virtual bool Remove(IPAddressInformation address)
System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
70public virtual bool Remove(MulticastIPAddressInformation address)
System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
71public virtual bool Remove(UnicastIPAddressInformation address)
System.Net.Primitives (2)
System\Net\CookieCollection.cs (1)
102public bool Remove(Cookie cookie)
System\Net\NetworkInformation\IPAddressCollection.cs (1)
63public virtual bool Remove(IPAddress address)
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
250bool ICollection<T>.Remove(T item)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
268bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) 1939bool ICollection<TKey>.Remove(TKey item) 2128bool ICollection<TValue>.Remove(TValue item)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
292public bool Remove(T item)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
940public bool Remove(T item)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
111public bool Remove(T item)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
81bool ICollection<T>.Remove(T value)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (3)
95bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) 282bool ICollection<TKey>.Remove(TKey item) 335bool ICollection<TValue>.Remove(TValue item)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
102bool ICollection<T>.Remove(T item) => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
105public bool Remove(KeyValuePair<string, object?> entry)
System.Private.Xml (4)
System\Xml\Xsl\ListBase.cs (1)
78public virtual bool Remove(T value)
System\Xml\Xsl\QIL\QilNode.cs (1)
183public virtual bool Remove(QilNode node)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
215bool ICollection<T>.Remove(T value) 711bool ICollection<XPathItem>.Remove(XPathItem value)
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
231public bool Remove(KeyValuePair<CoseHeaderLabel, CoseHeaderValue> item)
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
54public bool Remove(System.Security.Principal.IdentityReference identity) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
System.ServiceModel.Primitives (2)
netstandard.cs (2)
31public bool Remove(T item) { return default; } 1744bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Object>>.Remove(System.Collections.Generic.KeyValuePair<string, object> pair) { return default; }
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
314bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Speech.Recognition.SemanticValue>>.Remove(System.Collections.Generic.KeyValuePair<string, System.Speech.Recognition.SemanticValue> key) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.IList.cs (1)
92public bool Remove(JsonNode? item)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
170bool ICollection<KeyValuePair<string, JsonNode?>>.Remove(KeyValuePair<string, JsonNode?> item) => Remove(item.Key);
System\Text\Json\Serialization\ConfigurationList.cs (1)
104public bool Remove(TItem item)
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
148bool ICollection<Capture>.Remove(Capture item) =>
System\Text\RegularExpressions\GroupCollection.cs (1)
162bool ICollection<Group>.Remove(Group item) =>
System\Text\RegularExpressions\MatchCollection.cs (1)
161bool ICollection<Match>.Remove(Match item) =>
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\NumericUpDownAccelerationCollection.cs (1)
86public bool Remove(NumericUpDownAcceleration acceleration)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListAdapter.cs (1)
39bool ICollection<T>.Remove(T item)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
58public bool Remove(T item) => _list.Remove(item);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
595public bool Remove(int item) => throw new NotImplementedException();
System.Xaml (3)
System\Xaml\NameScope.cs (1)
127public bool Remove(KeyValuePair<string, object> item)
System\Xaml\NameScopeDictionary.cs (1)
271bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> item)
System\Xaml\XamlSchemaContext.cs (1)
1465bool ICollection<T>.Remove(T item)
System.Xaml.Tests (6)
System\Xaml\XamlTypeTests.cs (6)
1838public bool Remove(int item) => throw new NotImplementedException(); 1839public bool Remove(object item) => throw new NotImplementedException(); 3131bool ICollection<object>.Remove(object item) => throw new NotImplementedException(); 3133bool ICollection<int>.Remove(int item) => throw new NotImplementedException(); 3190bool ICollection<KeyValuePair<string, int>>.Remove(KeyValuePair<string, int> item) => throw new NotImplementedException(); 3194bool ICollection<KeyValuePair<int, string>>.Remove(KeyValuePair<int, string> item) => throw new NotImplementedException();
239 references to Remove
Aspire.Dashboard.Tests (1)
Integration\IntegrationTestHelpers.cs (1)
94sources.Remove(item);
Aspire.Hosting.Azure.Functions (1)
AzureFunctionsProjectResourceExtensions.cs (1)
86data.Model.Resources.Remove(storage);
Aspire.Hosting.Azure.Sql (1)
AzureSqlExtensions.cs (1)
186appBuilder.Resources.Remove(azureResource);
Aspire.Hosting.Azure.Storage (1)
AzureStorageExtensions.cs (1)
231context.Args.Remove(SkipApiVersionCheckArgument);
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
411applicationBuilder.Services.Remove(hostDescriptor);
Aspire.Microsoft.EntityFrameworkCore.Cosmos (1)
src\Components\Common\EntityFrameworkUtils.cs (1)
64builder.Services.Remove(oldDbContextOptionsDescriptor);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Components\Common\EntityFrameworkUtils.cs (1)
64builder.Services.Remove(oldDbContextOptionsDescriptor);
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (1)
src\Components\Common\EntityFrameworkUtils.cs (1)
64builder.Services.Remove(oldDbContextOptionsDescriptor);
Aspire.Oracle.EntityFrameworkCore (1)
src\Components\Common\EntityFrameworkUtils.cs (1)
64builder.Services.Remove(oldDbContextOptionsDescriptor);
Aspire.Pomelo.EntityFrameworkCore.MySql (1)
src\Components\Common\EntityFrameworkUtils.cs (1)
64builder.Services.Remove(oldDbContextOptionsDescriptor);
dotnet-svcutil-lib (16)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementImporter.cs (1)
67unrecognized.BindingAsserions.Remove(httpUseCookieAssertion);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
535httpAuthAssertions.ForEach(delegate (XmlElement element) { bindingAssertions.Remove(element); }); 563bindingAssertions.Remove(assertion);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (2)
224assertions.Remove(encodingAssertion); 232assertions.Remove(encodingAssertion);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (2)
1375InstanceContext.OutgoingChannels.Remove((IChannel)_proxy); 1468_instanceContext.OutgoingChannels.Remove((IChannel)_proxy);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (2)
109operationAssertions.Remove(oleTxTransactionsAssertion); 111operationAssertions.Remove(wsatTransactionsAssertion);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
215bindingAssertions.Remove(retransmitAssertion);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (2)
1715DataContractImporter.Options.ReferencedTypes.Remove(failedReferenceType); 1724DataContractImporter.Options.ReferencedTypes.Remove(failedReferenceType);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyConversionContext.cs (1)
51assertions.Remove(result);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (3)
152assertions.Remove(e); 171assertions.Remove(e); 231assertions.Remove(e);
Identity.DefaultUI.WebSite (3)
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (3)
68user.Claims.Remove(entity); 182user.Logins.Remove(loginEntity); 378user.Tokens.Remove(tokenEntity);
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
307public bool Remove(KeyValuePair<string, StringValues> item) => _innerHeaders.Remove(item);
Http3\Http3ConnectionTests.cs (1)
842public bool Remove(KeyValuePair<string, StringValues> item) => _innerHeaders.Remove(item);
Microsoft.AspNetCore.Authentication.OAuth (1)
ClaimActionCollection.cs (1)
28itemsToRemove.ForEach(map => Actions.Remove(map));
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
RazorComponentEndpointFactoryTest.cs (1)
149builder => builder.Metadata.Remove(builder.Metadata.OfType<AuthorizeAttribute>().Single())
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\Metrics\MetricsExtensions.cs (1)
54tags.Remove(tag);
Microsoft.AspNetCore.Hosting (1)
src\Shared\Metrics\MetricsExtensions.cs (1)
54tags.Remove(tag);
Microsoft.AspNetCore.Http (3)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
141return WriteDictionary.Remove(item);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
158return ((ICollection<KeyValuePair<TKey, TValue>>)WriteDictionary).Remove(item);
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
368return ((ICollection<KeyValuePair<TKey, TValue>>)_dictionaryStorage!).Remove(item);
Microsoft.AspNetCore.Http.Abstractions.Tests (4)
RouteValueDictionaryTests.cs (4)
1329var result = ((ICollection<KeyValuePair<string, object?>>)dict).Remove(input); 1349var result = ((ICollection<KeyValuePair<string, object?>>)dict).Remove(input); 1369var result = ((ICollection<KeyValuePair<string, object?>>)dict).Remove(input); 1390var result = ((ICollection<KeyValuePair<string, object?>>)dict).Remove(input);
Microsoft.AspNetCore.HttpLogging.Tests (1)
FileLoggerProcessorTests.cs (1)
519options.AdditionalRequestHeaders.Remove("one");
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\ServerFactory.cs (1)
135manager.ApplicationParts.Remove(part);
Microsoft.AspNetCore.Identity.InMemory.Test (5)
InMemoryStore.cs (2)
35user.Roles.Remove(roleEntity); 145role.Claims.Remove(entity);
InMemoryUserStore.cs (3)
68user.Claims.Remove(entity); 182user.Logins.Remove(loginEntity); 378user.Tokens.Remove(tokenEntity);
Microsoft.AspNetCore.Identity.UI (1)
IdentityBuilderUIExtensions.cs (1)
152feature.ViewDescriptors.Remove(descriptorToRemove);
Microsoft.AspNetCore.JsonPatch.Tests (2)
TestObjectModels\DynamicTestObject.cs (1)
65return ((IDictionary<string, object>)_dictionary).Remove(item);
WriteOnceDynamicTestObject.cs (1)
79return ((IDictionary<string, object>)_dictionary).Remove(item);
Microsoft.AspNetCore.Mvc.Core (2)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
141return WriteDictionary.Remove(item);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
158return ((ICollection<KeyValuePair<TKey, TValue>>)WriteDictionary).Remove(item);
Microsoft.AspNetCore.Mvc.Core.Test (4)
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (4)
458controller.Application.Controllers.Remove(controller); 474action.Controller.Actions.Remove(action); 483property.Controller.ControllerProperties.Remove(property); 491parameter.Action.Parameters.Remove(parameter);
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsModelValidatorProvider.cs (1)
81context.Results.Remove(validatorItem);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (3)
DependencyInjection\NewtonsoftJsonMvcCoreBuilderExtensions.cs (3)
70services.Remove(jsonResultExecutor); 82services.Remove(tempDataSerializer); 94services.Remove(jsonHelper);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
DependencyInjection\RazorRuntimeCompilationMvcCoreBuilderExtensions.cs (2)
68services.Remove(compilerProvider); 82services.Remove(actionDescriptorProvider);
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Infrastructure\CompiledPageActionDescriptorFactoryTest.cs (3)
148m.Page.HandlerMethods.Remove(m); 245model.Handler.Parameters.Remove(model); 342model.Page.HandlerProperties.Remove(model);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
TempDataDictionary.cs (1)
265return ((ICollection<KeyValuePair<string, object?>>)_data).Remove(keyValuePair);
ViewDataDictionary.cs (1)
582return _data.Remove(item);
Microsoft.AspNetCore.OpenApi (1)
Extensions\OpenApiEndpointConventionBuilderExtensions.cs (1)
75endpointBuilder.Metadata.Remove(existingOperation);
Microsoft.AspNetCore.Owin (2)
DictionaryStringArrayWrapper.cs (1)
62bool ICollection<KeyValuePair<string, string[]>>.Remove(KeyValuePair<string, string[]> item) => Inner.Remove(Convert(item));
DictionaryStringValuesWrapper.cs (1)
107bool ICollection<KeyValuePair<string, StringValues>>.Remove(KeyValuePair<string, StringValues> item) => Inner.Remove(Convert(item));
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
159return Items.Remove(attribute);
Microsoft.AspNetCore.Razor.Runtime (2)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
141return WriteDictionary.Remove(item);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
158return ((ICollection<KeyValuePair<TKey, TValue>>)WriteDictionary).Remove(item);
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
233return Store.Remove(item);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
233return Store.Remove(item);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\Metrics\MetricsExtensions.cs (1)
54tags.Remove(tag);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
1212public bool Remove(KeyValuePair<string, StringValues> item) => _innerHeaders.Remove(item);
Microsoft.AspNetCore.Shared.Tests (8)
AdaptiveCapacityDictionaryTests.cs (4)
679var result = ((ICollection<KeyValuePair<string, object?>>)dict).Remove(input); 699var result = ((ICollection<KeyValuePair<string, object?>>)dict).Remove(input); 719var result = ((ICollection<KeyValuePair<string, object?>>)dict).Remove(input); 740var result = ((ICollection<KeyValuePair<string, object?>>)dict).Remove(input);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
141return WriteDictionary.Remove(item);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
158return ((ICollection<KeyValuePair<TKey, TValue>>)WriteDictionary).Remove(item);
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
368return ((ICollection<KeyValuePair<TKey, TValue>>)_dictionaryStorage!).Remove(item);
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
233return Store.Remove(item);
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubGroupList.cs (1)
40((ICollection<KeyValuePair<string, GroupConnectionList>>)(_groups)).Remove(groupToRemove);
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
1821Assert.Throws<InvalidOperationException>(() => builder.Services.Remove(ServiceDescriptor.Singleton(new Service())));
Microsoft.CodeAnalysis (2)
InternalUtilities\ISetExtensions.cs (2)
39result |= set.Remove(v); 50result |= set.Remove(v);
Microsoft.CodeAnalysis.CodeStyle (4)
src\Compilers\Core\Portable\InternalUtilities\ISetExtensions.cs (2)
39result |= set.Remove(v); 50result |= set.Remove(v);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICollectionExtensions.cs (1)
38collection.Remove(item);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
149collection.Remove(value);
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
148_textViews.Remove(view);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Extensions\Converters\VSExtensionConverter.cs (1)
54options.Converters.Remove(this);
Microsoft.CodeAnalysis.UnitTests (25)
Collections\HashSet\ISet_Generic_Tests`1.cs (1)
648set.Remove(value);
Collections\IdentifierCollectionTests.cs (1)
82Assert.Throws<NotSupportedException>(() => collection.Remove("x"));
Collections\ImmutableDictionaryBuilderTestBase.cs (2)
90Assert.True(builder.Remove(new KeyValuePair<string, int>("five", 5))); 91Assert.False(builder.Remove(new KeyValuePair<string, int>("foo", 1)));
Collections\ImmutableDictionaryTestBase.cs (1)
132Assert.Throws<NotSupportedException>(() => dictionary.Remove(new KeyValuePair<string, int>()));
Collections\ImmutableSegmentedListTest.cs (1)
764Assert.Throws<NotSupportedException>(() => list.Remove(1));
Collections\ImmutableSetTest.cs (1)
185Assert.Throws<NotSupportedException>(() => set.Remove(1));
Collections\List\ICollection.Generic.Tests.cs (16)
100casted.Remove(casted.ElementAt(0)); 250collection.Remove(toAdd); 271collection.Remove(collection.ElementAt(0)); 301collection.Remove(toAdd); 376Assert.True(collection.Remove(value)); 560Assert.Throws<NotSupportedException>(() => collection.Remove(CreateT(34543))); 575collection.Remove(value); 578Assert.False(collection.Remove(value)); 594Assert.False(collection.Remove(value)); 613Assert.True(collection.Remove(value)); 632Assert.True(collection.Remove(value)); 649Assert.True(collection.Remove(value)); 664Assert.True(collection.Remove(value)); 677Assert.Throws<ArgumentException>(() => collection.Remove(value)); 690Assert.Throws<ArgumentNullException>(() => collection.Remove(default(T)!)); 692Assert.False(collection.Remove(default(T)!));
Collections\List\IList.Generic.Tests.cs (1)
295list.Remove(value);
Collections\SegmentedArrayTests.cs (1)
82Assert.Throws<NotSupportedException>(() => ((ICollection<IntPtr>)data).Remove(IntPtr.Zero));
Microsoft.CodeAnalysis.Workspaces (4)
src\Compilers\Core\Portable\InternalUtilities\ISetExtensions.cs (2)
39result |= set.Remove(v); 50result |= set.Remove(v);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICollectionExtensions.cs (1)
38collection.Remove(item);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
149collection.Remove(value);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\InternalUtilities\ISetExtensions.cs (2)
39result |= set.Remove(v); 50result |= set.Remove(v);
Microsoft.DotNet.Build.Tasks.Packaging (1)
HarvestPackage.cs (1)
565pathsNotIncluded.Remove(probePath);
Microsoft.Extensions.AI (1)
ChatCompletion\ChatClientStructuredOutputExtensions.cs (1)
194_ = chatMessages.Remove(promptAugmentation);
Microsoft.Extensions.AI.Abstractions (2)
AdditionalPropertiesDictionary{TValue}.cs (1)
143bool ICollection<KeyValuePair<string, TValue>>.Remove(KeyValuePair<string, TValue> item) => ((ICollection<KeyValuePair<string, TValue>>)_dictionary).Remove(item);
ChatCompletion\StreamingChatCompletionUpdateExtensions.cs (1)
190_ = entry.Value.Contents.Remove(c);
Microsoft.Extensions.Caching.Memory (2)
MemoryCache.cs (2)
727if (StringEntriesCollection.Remove(new KeyValuePair<string, CacheEntry>(s, entry))) 736else if (NonStringEntriesCollection.Remove(new KeyValuePair<object, CacheEntry>(entry.Key, entry)))
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
338var wasRemoved = ((IDictionary<string, object>)_properties).Remove(item);
Microsoft.Extensions.Http (3)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
72public bool Remove(ServiceDescriptor item) => _services.Remove(item);
DependencyInjection\HttpClientKeyedLifetime.cs (2)
56services.Remove(Client); 57services.Remove(Handler);
Microsoft.Gen.Logging (1)
Parsing\Parser.LogProperties.cs (1)
281_ = typesChain.Remove(namedType);
Microsoft.Gen.MetadataExtractor (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
888_ = typesChain.Remove(namedTypeSymbol);
Microsoft.Gen.Metrics (1)
Parser.cs (1)
888_ = typesChain.Remove(namedTypeSymbol);
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
888_ = typesChain.Remove(namedTypeSymbol);
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
56public bool Remove(KeyValuePair<T, U> item) => ((ICollection<KeyValuePair<T, U>>)Map).Remove(item);
Microsoft.Maui (1)
Extensions\ListExtensions.cs (1)
18 list.Remove(item);
Microsoft.Maui.Controls (21)
BindableLayout\BindableLayout.cs (1)
179 _ = mauiLayout.Remove(view);
Element\Element.cs (1)
275 LogicalChildrenInternalBackingStore.Remove(element);
Handlers\Items\iOS\SelectableItemsViewController.cs (1)
90 ItemsView.SelectedItems.Remove(GetItemAtIndex(indexPath));
Handlers\Items2\iOS\SelectableItemsViewController2.cs (1)
90 ItemsView.SelectedItems.Remove(GetItemAtIndex(indexPath));
Interactivity\TriggerBase.cs (1)
188 return _actual.Remove(item);
Items\SelectionList.cs (2)
89 var removed = _internal.Remove(item); 95 _shadow.Remove(item);
Label\Label.cs (1)
310 GestureController.CompositeGestureRecognizers.Remove(spanRecognizer);
ObservableList.cs (1)
88 Items.Remove(item);
OrderedDictionary.cs (1)
155 return _kvpCollection.Remove(item) && _keyOrder.Remove(item.Key);
PlatformConfiguration\iOSSpecific\VisualElement.cs (1)
88 visualElement.Effects.Remove(effect);
PointerGestureRecognizer.cs (1)
277 ((IGestureController)element).CompositeGestureRecognizers.Remove(recognizer);
RadioButton\RadioButton.cs (1)
340 GestureRecognizers.Remove(_tapGestureRecognizer);
ReadOnlyCastingList.cs (1)
116 _list.Remove(item as TFrom);
ResourceDictionary.cs (2)
144 _collectionTrack.Remove(rd); 190 return ((ICollection<KeyValuePair<string, object>>)_innerDictionary).Remove(item);
Shell\ShellElementCollection.cs (1)
319 public virtual bool Remove(TBaseShellItem item) => Inner.Remove(item);
Shell\ShellNavigationQueryParameters.cs (1)
95 return (_internal as ICollection<KeyValuePair<string, object>>).Remove(item);
View\View.cs (2)
117 GestureController.CompositeGestureRecognizers.Remove(item as IGestureRecognizer); 159 GestureController.CompositeGestureRecognizers.Remove(gestureRecognizer);
VisualStateManager.cs (1)
286 return _internalList.Remove(item);
Microsoft.Maui.Controls.Compatibility (1)
iOS\CollectionView\SelectableItemsViewController.cs (1)
85 ItemsView.SelectedItems.Remove(GetItemAtIndex(indexPath));
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
122 var result = Geopath.Remove(item);
HandlerImpl\Polyline.Impl.cs (1)
121 var result = Geopath.Remove(item);
Microsoft.ML.AutoML.Tests (30)
AutoFitTests.cs (30)
54settings.Trainers.Remove(BinaryClassificationTrainer.LightGbm); 55settings.Trainers.Remove(BinaryClassificationTrainer.SdcaLogisticRegression); 56settings.Trainers.Remove(BinaryClassificationTrainer.LbfgsLogisticRegression); 81settings.Trainers.Remove(BinaryClassificationTrainer.LightGbm); 82settings.Trainers.Remove(BinaryClassificationTrainer.SdcaLogisticRegression); 83settings.Trainers.Remove(BinaryClassificationTrainer.LbfgsLogisticRegression); 108settings.Trainers.Remove(BinaryClassificationTrainer.LightGbm); 109settings.Trainers.Remove(BinaryClassificationTrainer.SdcaLogisticRegression); 110settings.Trainers.Remove(BinaryClassificationTrainer.LbfgsLogisticRegression); 134settings.Trainers.Remove(BinaryClassificationTrainer.LightGbm); 135settings.Trainers.Remove(BinaryClassificationTrainer.SdcaLogisticRegression); 136settings.Trainers.Remove(BinaryClassificationTrainer.LbfgsLogisticRegression); 167settings.Trainers.Remove(RegressionTrainer.LightGbm); 168settings.Trainers.Remove(RegressionTrainer.StochasticDualCoordinateAscent); 169settings.Trainers.Remove(RegressionTrainer.LbfgsPoissonRegression); 197settings.Trainers.Remove(RegressionTrainer.LightGbm); 198settings.Trainers.Remove(RegressionTrainer.StochasticDualCoordinateAscent); 199settings.Trainers.Remove(RegressionTrainer.LbfgsPoissonRegression); 227settings.Trainers.Remove(RegressionTrainer.LightGbm); 228settings.Trainers.Remove(RegressionTrainer.StochasticDualCoordinateAscent); 229settings.Trainers.Remove(RegressionTrainer.LbfgsPoissonRegression); 280settings.Trainers.Remove(MulticlassClassificationTrainer.LightGbm); 281settings.Trainers.Remove(MulticlassClassificationTrainer.SdcaMaximumEntropy); 282settings.Trainers.Remove(MulticlassClassificationTrainer.LbfgsMaximumEntropy); 283settings.Trainers.Remove(MulticlassClassificationTrainer.LbfgsLogisticRegressionOva); 312settings.Trainers.Remove(MulticlassClassificationTrainer.LightGbm); 313settings.Trainers.Remove(MulticlassClassificationTrainer.SdcaMaximumEntropy); 314settings.Trainers.Remove(MulticlassClassificationTrainer.LbfgsMaximumEntropy); 315settings.Trainers.Remove(MulticlassClassificationTrainer.LbfgsLogisticRegressionOva); 598settings.Trainers.Remove(BinaryClassificationTrainer.FastForest);
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
142return ((ICollection<KeyValuePair<string, OptionBase>>)_options).Remove(item);
Parameter.cs (1)
341return (_value as IDictionary<string, Parameter>).Remove(item);
SearchSpace.cs (1)
361return ((ICollection<KeyValuePair<string, OptionBase>>)_options).Remove(item);
Microsoft.Net.Http.Headers (3)
HeaderUtilities.cs (1)
51parameters.Remove(qualityParameter);
MediaTypeHeaderValue.cs (2)
89Parameters.Remove(charsetParameter); 163Parameters.Remove(boundaryParameter);
Microsoft.Net.Http.Headers.Tests (15)
ContentDispositionHeaderValueTest.cs (12)
103contentDisposition.Parameters.Remove(name); 123contentDisposition.Parameters.Remove(fileName); 138contentDisposition.Parameters.Remove(contentDisposition.Parameters.First()); 153contentDisposition.Parameters.Remove(contentDisposition.Parameters.First()); 175contentDisposition.Parameters.Remove(fileName); 197contentDisposition.Parameters.Remove(fileNameStar); 212contentDisposition.Parameters.Remove(contentDisposition.Parameters.First()); 259contentDisposition.Parameters.Remove(contentDisposition.Parameters.First()); 281contentDisposition.Parameters.Remove(fileNameStar); 324contentDisposition.Parameters.Remove(dateParameter); 365contentDisposition.Parameters.Remove(sizeParameter); 387contentDisposition.Parameters.Remove(sizeParameter);
MediaTypeHeaderValueTest.cs (3)
185Assert.Throws<NotSupportedException>(() => mediaType1.Parameters.Remove(new NameValueHeaderValue("name"))); 261mediaType.Parameters.Remove(charset); 297mediaType.Parameters.Remove(quality);
Mvc.RoutingWebSite (2)
RemoveControllerActionDescriptorProvider.cs (1)
35context.Results.Remove(item);
StartupForRouteGroupsWithMetadata.cs (1)
23builder.PartManager.FeatureProviders.Remove(old);
PresentationCore (1)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
128return _innerDictionary.Remove(item);
PresentationFramework (5)
MS\Internal\Annotations\ObservableDictionary.cs (1)
176return ((ICollection<KeyValuePair<string, string>>)_nameValues).Remove(pair);
System\Windows\Annotations\AnnotationService.cs (1)
975attachedAnnotations.Remove(match);
System\Windows\Controls\CustomDictionarySources.cs (1)
248((IList<Uri>)this).Remove((Uri)value);
System\Windows\Documents\DocumentSequence.cs (1)
876_pendingPages.Remove(completedRequest.Page);
System\Windows\Documents\FixedDocument.cs (1)
1210_pendingPages.Remove(pc);
PresentationUI (2)
MS\Internal\Documents\DigitalSignatureProvider.cs (2)
230DigitalSignatureList.Remove(signature); 274DigitalSignatureList.Remove(signature);
Shared.Tests (2)
EmptyCollections\EmptyReadonlyDictionaryTests.cs (1)
61Assert.False(coll.Remove(new KeyValuePair<int, string>(1, "One")));
EmptyCollections\EmptyReadOnlyListTests.cs (1)
58Assert.False(coll.Remove(1));
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1367((ICollection<KeyValuePair<TKey, TValue>>)this).Remove(pair);
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
107return ActualMetadata.Remove(item);
System.Net.Http (2)
System\Net\Http\HttpRequestOptions.cs (1)
47bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Remove(item);
System\Net\Http\SocketsHttpHandler\FailedProxyCache.cs (1)
128((ICollection<KeyValuePair<Uri, long>>)_failedProxies).Remove(kvp);
System.Net.NameResolution (2)
System\Net\Dns.cs (2)
713((ICollection<KeyValuePair<object, Task>>)s_tasks).Remove(new KeyValuePair<object, Task>(key!, task!)); 726((ICollection<KeyValuePair<object, Task>>)s_tasks).Remove(new KeyValuePair<object, Task>(key!, task));
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\CertificatePolicy.cs (1)
285return declaredPolicies.Remove(Oids.AnyCertPolicy);
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
234return HeaderParametersAsCollection.Remove(item);