133 implementations of Remove
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
531public bool Remove(string name)
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
306public bool Remove(string key) => _innerHeaders.Remove(key);
Http3\Http3ConnectionTests.cs (1)
841public bool Remove(string key) => _innerHeaders.Remove(key);
Microsoft.AspNetCore.Components (1)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
507public bool Remove(string key)
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
69bool IDictionary<object, object?>.Remove(object key)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1436public bool Remove(string key) => false;
Microsoft.AspNetCore.Http (4)
HeaderDictionary.cs (1)
301public bool Remove(string key)
Internal\ItemsDictionary.cs (1)
67bool IDictionary<object, object?>.Remove(object key)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
109public bool Remove(TKey key)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
372public bool Remove(TKey key)
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\RouteValueDictionary.cs (1)
507public bool Remove(string key)
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
123public bool Remove(object key)
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
109public bool Remove(TKey key)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
DictionaryModelBinderIntegrationTest.cs (2)
1610bool IDictionary<string, string>.Remove(string key) 1715bool IDictionary<TKey, TValue>.Remove(TKey key)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
AttributeDictionary.cs (1)
275public bool Remove(string key)
TempDataDictionary.cs (1)
225public bool Remove(string key)
ViewDataDictionary.cs (1)
538public bool Remove(string key)
Microsoft.AspNetCore.Owin (3)
DictionaryStringArrayWrapper.cs (1)
64bool IDictionary<string, string[]>.Remove(string key) => Inner.Remove(key);
DictionaryStringValuesWrapper.cs (1)
109bool IDictionary<string, StringValues>.Remove(string key) => Inner.Remove(key);
OwinEnvironment.cs (1)
167bool IDictionary<string, object>.Remove(string key)
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
109public bool Remove(TKey key)
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
236public bool Remove(string key)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
125public bool Remove(string key)
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
236public bool Remove(string key)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
125public bool Remove(string key)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpHeaders.cs (1)
253bool IDictionary<string, StringValues>.Remove(string key)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
1211public bool Remove(string key) => _innerHeaders.Remove(key);
Microsoft.AspNetCore.Shared.Tests (5)
ClosedGenericMatcherTest.cs (1)
333bool IDictionary<string, object>.Remove(string key)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
109public bool Remove(TKey key)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
372public bool Remove(TKey key)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
236public bool Remove(string key)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
125public bool Remove(string key)
Microsoft.Build (9)
Collections\ArrayDictionary.cs (1)
172public bool Remove(TKey key)
Collections\CopyOnWritePropertyDictionary.cs (1)
325public bool Remove(string name)
Collections\PropertyDictionary.cs (1)
373bool IDictionary<string, T>.Remove(string key)
Collections\ReadOnlyConvertingDictionary.cs (1)
103public bool Remove(K key)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
410public bool Remove(string item)
CopyOnWriteDictionary.cs (1)
234public bool Remove(string key)
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (1)
86public bool Remove(string key) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (1)
131public bool Remove(string key) => throw new NotSupportedException();
ReadOnlyEmptyDictionary.cs (1)
199public bool Remove(K key)
Microsoft.Build.Framework (3)
ImmutableSegmentedDictionary`2.cs (1)
360bool IDictionary<TKey, TValue>.Remove(TKey key)
ImmutableSegmentedDictionary`2+Builder.cs (1)
165public bool Remove(TKey key)
SegmentedDictionary`2.cs (1)
674public bool Remove(TKey key)
Microsoft.Build.Tasks.Core (2)
CopyOnWriteDictionary.cs (1)
234public bool Remove(string key)
ReadOnlyEmptyDictionary.cs (1)
199public bool Remove(K key)
Microsoft.Build.Utilities.Core (2)
CopyOnWriteDictionary.cs (1)
234public bool Remove(string key)
ReadOnlyEmptyDictionary.cs (1)
199public bool Remove(K key)
Microsoft.CodeAnalysis (5)
InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
50public bool Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
351bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
103public bool Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
175public bool Remove(TKey key)
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
692public bool Remove(TKey key)
Microsoft.CodeAnalysis.CodeStyle (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
50public bool Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
351bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
103public bool Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
175public bool Remove(TKey key)
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
692public bool Remove(TKey key)
Microsoft.CodeAnalysis.Collections.Package (4)
ImmutableSegmentedDictionary`2.cs (1)
351bool IDictionary<TKey, TValue>.Remove(TKey key)
ImmutableSegmentedDictionary`2+Builder.cs (1)
103public bool Remove(TKey key)
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
175public bool Remove(TKey key)
SegmentedDictionary`2.cs (1)
692public bool Remove(TKey key)
Microsoft.CodeAnalysis.Workspaces (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
50public bool Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
351bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
103public bool Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
175public bool Remove(TKey key)
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
692public bool Remove(TKey key)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
50public bool Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
351bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
103public bool Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
175public bool Remove(TKey key)
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
692public bool Remove(TKey key)
Microsoft.Extensions.AI (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.Abstractions (2)
AdditionalPropertiesDictionary{TValue}.cs (1)
140public bool Remove(string key) => _dictionary.Remove(key);
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.AzureAIInference (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.Ollama (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
329public bool Remove(string key)
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.Logging.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.Metrics.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.MetricsReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
55public bool Remove(T key) => ((IDictionary<T, U>)Map).Remove(key);
Microsoft.Maui.Controls (3)
OrderedDictionary.cs (1)
214 public bool Remove(TKey key)
ResourceDictionary.cs (1)
255 public bool Remove(string key)
Shell\ShellNavigationQueryParameters.cs (1)
86 public bool Remove(string key)
Microsoft.ML.Core (1)
Utilities\Tree.cs (1)
175public bool Remove(TKey key)
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
134public bool Remove(string key)
Parameter.cs (1)
378public bool Remove(string key)
SearchSpace.cs (1)
323public bool Remove(string key)
Microsoft.ML.TorchSharp (1)
Utils\DefaultDictionary.cs (1)
94public bool Remove(TKey key)
MSBuild (2)
CopyOnWriteDictionary.cs (1)
234public bool Remove(string key)
ReadOnlyEmptyDictionary.cs (1)
199public bool Remove(K key)
MSBuildTaskHost (3)
CopyOnWriteDictionary.cs (1)
234public bool Remove(string key)
Immutable\ImmutableDictionary.cs (1)
262bool IDictionary<K, V>.Remove(K key)
ReadOnlyEmptyDictionary.cs (1)
199public bool Remove(K key)
PresentationCore (4)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
630public bool Remove(int key)
System\Windows\Media\CharacterMetricsDictionary.cs (1)
234public bool Remove(int key)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
203public bool Remove(XmlLanguage key)
System\Windows\Media\GlyphTypeface.cs (1)
1751public bool Remove(ushort key)
PresentationFramework (2)
MS\Internal\Annotations\ObservableDictionary.cs (1)
102public bool Remove(string key)
MS\Internal\WeakDictionary.cs (1)
213public bool Remove(TKey key)
Shared (1)
EmptyCollections\EmptyReadonlyDictionary.cs (1)
59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (1)
738public bool Remove(TKey key) => Remove(key, out _);
System\Collections\Generic\SortedDictionary.cs (1)
250public bool Remove(TKey key)
System\Collections\Generic\SortedList.cs (1)
710public bool Remove(TKey key)
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1590bool IDictionary<TKey, TValue>.Remove(TKey key) => TryRemove(key, out _);
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
612bool IDictionary<TKey, TValue>.Remove(TKey key) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
576public bool Remove(TKey key)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
585bool IDictionary<TKey, TValue>.Remove(TKey key)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
451public bool Remove(TKey key)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
497bool IDictionary<TKey, TValue>.Remove(TKey key)
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
48public bool Remove(string key)
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\ActivityTagsCollection.cs (1)
222public bool Remove(string key)
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
66public bool Remove(string key) => _contents.Remove(key);
System.Linq.Expressions (1)
System\Dynamic\ExpandoObject.cs (1)
653bool IDictionary<string, object?>.Remove(string key)
System.Net.Http (1)
System\Net\Http\HttpRequestOptions.cs (1)
46bool IDictionary<string, object?>.Remove(string key) => Options.Remove(key);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
60bool IDictionary<TKey, TValue>.Remove(TKey key)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
100public bool Remove(string key)
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
219public bool Remove(CoseHeaderLabel label)
System.ServiceModel.Primitives (1)
netstandard.cs (1)
1740public bool Remove(string name) { return default; }
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
316bool System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Remove(string key) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
107public bool Remove(string propertyName)
System.Xaml (2)
System\Xaml\NameScope.cs (1)
198public bool Remove(string key)
System\Xaml\NameScopeDictionary.cs (1)
311bool IDictionary<string, object>.Remove(string key)
System.Xaml.Tests (2)
System\Xaml\XamlTypeTests.cs (2)
3188bool IDictionary<string, int>.Remove(string key) => throw new NotImplementedException(); 3192bool IDictionary<int, string>.Remove(int key) => throw new NotImplementedException();
158 references to Remove
dotnet-user-jwts (1)
Commands\RemoveCommand.cs (1)
61jwtStore.Jwts.Remove(id);
dotnet-user-secrets (1)
Internal\SecretsStore.cs (1)
65_secrets.Remove(key);
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
768deploymentParameters.EnvironmentVariables.Remove("ASPNETCORE_DETAILEDERRORS"); 792deploymentParameters.EnvironmentVariables.Remove("ASPNETCORE_DETAILEDERRORS");
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
768deploymentParameters.EnvironmentVariables.Remove("ASPNETCORE_DETAILEDERRORS"); 792deploymentParameters.EnvironmentVariables.Remove("ASPNETCORE_DETAILEDERRORS");
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
768deploymentParameters.EnvironmentVariables.Remove("ASPNETCORE_DETAILEDERRORS"); 792deploymentParameters.EnvironmentVariables.Remove("ASPNETCORE_DETAILEDERRORS");
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
768deploymentParameters.EnvironmentVariables.Remove("ASPNETCORE_DETAILEDERRORS"); 792deploymentParameters.EnvironmentVariables.Remove("ASPNETCORE_DETAILEDERRORS");
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
306public bool Remove(string key) => _innerHeaders.Remove(key);
Http3\Http3ConnectionTests.cs (1)
841public bool Remove(string key) => _innerHeaders.Remove(key);
Microsoft.Analyzers.Local (1)
ApiLifecycle\Json\JsonObject.cs (1)
77public bool Remove(string key) => _properties.Remove(key);
Microsoft.AspNetCore (3)
WebApplication.cs (1)
215newBuilder.Properties.Remove(GlobalEndpointRouteBuilderKey);
WebApplicationBuilder.cs (2)
397app.Properties.Remove(EndpointRouteBuilderKey); 473app.Properties.Remove(WebApplication.GlobalEndpointRouteBuilderKey);
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
258properties.Items.Remove(CorrelationProperty);
Microsoft.AspNetCore.Authentication.Abstractions (5)
AuthenticationProperties.cs (3)
142Items.Remove(key); 191Items.Remove(key); 223Items.Remove(key);
TokenExtensions.cs (2)
30properties.Items.Remove(TokenKeyPrefix + t.Name); 32properties.Items.Remove(TokenNamesKey);
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationSchemeProvider.cs (1)
199_schemes.Remove(name);
Microsoft.AspNetCore.Authentication.Core.Test (1)
AuthenticationPropertiesTests.cs (1)
263props.Items.Remove("foo");
Microsoft.AspNetCore.Authentication.Google (1)
GoogleHandler.cs (1)
106properties.Items.Remove(name);
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
MicrosoftAccountHandler.cs (1)
120properties.Items.Remove(name);
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
213context.Properties.Items.Remove(OAuthConstants.CodeVerifierKey);
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
1272properties.Items.Remove(OAuthConstants.CodeVerifierKey);
Microsoft.AspNetCore.BrowserTesting (1)
ContextInformation.cs (1)
48Pages.Remove(page);
Microsoft.AspNetCore.Components (1)
PersistentComponentState.cs (1)
133_existingState.Remove(key);
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
114environment.Remove(key);
Microsoft.AspNetCore.Connections.Abstractions (2)
ConnectionItems.cs (2)
71return Items.Remove(key); 118return Items.Remove(item.Key);
Microsoft.AspNetCore.HostFiltering.Tests (1)
HostFilteringMiddlewareTests.cs (1)
59ctx.Request.Headers.Remove(HeaderNames.Host);
Microsoft.AspNetCore.Http (3)
Internal\ItemsDictionary.cs (2)
68=> _items != null && _items.Remove(key); 124return _items.Remove(item.Key);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
111return WriteDictionary.Remove(key);
Microsoft.AspNetCore.Http.Abstractions (2)
Internal\ParsingHelpers.cs (2)
56headers.Remove(key); 94headers.Remove(key);
Microsoft.AspNetCore.Http.Extensions (3)
HeaderDictionaryTypeExtensions.cs (3)
57headers.Remove(name); 72headers.Remove(name); 131headers.Remove(name);
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingMiddlewareTests.cs (1)
1187httpContext.Request.Headers.Remove(HeaderNames.ContentType);
Microsoft.AspNetCore.HttpOverrides (4)
ForwardedHeadersMiddleware.cs (4)
321requestHeaders.Remove(_options.ForwardedForHeaderName); 340requestHeaders.Remove(_options.ForwardedProtoHeaderName); 358requestHeaders.Remove(_options.ForwardedHostHeaderName); 380requestHeaders.Remove(_options.ForwardedPrefixHeaderName);
Microsoft.AspNetCore.JsonPatch (1)
Internal\DictionaryAdapterOfTU.cs (1)
89if (!dictionary.Remove(convertedKey))
Microsoft.AspNetCore.JsonPatch.Tests (2)
TestObjectModels\DynamicTestObject.cs (1)
60return ((IDictionary<string, object>)_dictionary).Remove(key);
WriteOnceDynamicTestObject.cs (1)
74return ((IDictionary<string, object>)_dictionary).Remove(key);
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisBuilder.cs (1)
69Properties.Remove(NextMiddlewareName);
Microsoft.AspNetCore.Mvc.Core (5)
Filters\ResponseCacheFilterExecutor.cs (3)
72headers.Remove(HeaderNames.Vary); 73headers.Remove(HeaderNames.CacheControl); 74headers.Remove(HeaderNames.Pragma);
Routing\ActionEndpointFactory.cs (1)
316resolvedRequiredValues.Remove(parameter.Name);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
111return WriteDictionary.Remove(key);
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
DefaultHtmlGenerator.cs (2)
214htmlAttributeDictionary.Remove("checked"); 468htmlAttributeDictionary.Remove("checked");
ViewDataDictionary.cs (1)
542return _data.Remove(key);
Microsoft.AspNetCore.Owin (7)
DictionaryStringArrayWrapper.cs (1)
64bool IDictionary<string, string[]>.Remove(string key) => Inner.Remove(key);
DictionaryStringValuesWrapper.cs (2)
72Inner.Remove(HeaderNames.ContentLength); 109bool IDictionary<string, StringValues>.Remove(string key) => Inner.Remove(key);
OwinEnvironment.cs (4)
169if (_entries.Remove(key)) 173return _context.Items.Remove(key); 218_entries.Remove(key); 229_context.Items.Remove(key);
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
111return WriteDictionary.Remove(key);
Microsoft.AspNetCore.Razor.Runtime.Test (1)
Runtime\TagHelpers\TagHelperScopeManagerTest.cs (1)
115executionContext.Items.Remove("test-entry");
Microsoft.AspNetCore.RequestDecompression (1)
DefaultRequestDecompressionProvider.cs (1)
52context.Request.Headers.Remove(HeaderNames.ContentEncoding);
Microsoft.AspNetCore.Server.HttpSys (4)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
239return Store.Remove(key);
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (2)
130return PropertiesTryRemove(key) || Extra.Remove(key); 242((IDictionary<string, StringValues>)this).Remove(item.Key);
UrlPrefixCollection.cs (1)
161_prefixes.Remove(id.Value);
Microsoft.AspNetCore.Server.IIS (3)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
239return Store.Remove(key);
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (2)
130return PropertiesTryRemove(key) || Extra.Remove(key); 242((IDictionary<string, StringValues>)this).Remove(item.Key);
Microsoft.AspNetCore.Server.IntegrationTesting (1)
ProcessHelpers.cs (1)
26environment.Remove(name);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeployer.cs (1)
94IISDeploymentParameters.EnvironmentVariables.Remove(DetailedErrorsEnvironmentVariable);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
Http1\Http1ConnectionTests.cs (1)
1211public bool Remove(string key) => _innerHeaders.Remove(key);
HttpRequestHeadersTests.cs (6)
343Assert.True(headers.Remove("host")); 344Assert.False(headers.Remove("host")); 350Assert.True(headers.Remove("custom")); 351Assert.False(headers.Remove("custom")); 358Assert.True(headers.Remove("Content-Length")); 359Assert.False(headers.Remove("Content-Length"));
HttpResponseHeadersTests.cs (2)
298Assert.Throws<InvalidOperationException>(() => dictionary.Remove("my-header")); 383dictionary.Remove("Content-Length");
Microsoft.AspNetCore.Shared.Tests (4)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
111return WriteDictionary.Remove(key);
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
239return Store.Remove(key);
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (2)
130return PropertiesTryRemove(key) || Extra.Remove(key); 242((IDictionary<string, StringValues>)this).Remove(item.Key);
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
184context.Response.Headers.Remove("transfer-encoding");
Microsoft.Build (12)
BackEnd\BuildManager\LegacyThreadingData.cs (1)
113_legacyThreadingEventsById.Remove(submissionId);
BackEnd\Components\Caching\ConfigCache.cs (2)
97_configurations.Remove(configId); 98_configurationIdsByMetadata.Remove(new ConfigurationMetadata(config));
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (2)
521_nodeIdToPacketFactory.Remove((int)hostContext); 522_nodeIdToPacketHandler.Remove((int)hostContext);
BackEnd\Components\Logging\LoggingService.cs (3)
1690_warningsAsErrorsByProject?.Remove(key); 1691_warningsNotAsErrorsByProject?.Remove(key); 1692_warningsAsMessagesByProject?.Remove(key);
Collections\PropertyDictionary.cs (2)
440return ((IDictionary<string, T>)this).Remove(item.Key); 467bool result = _properties.Remove(name);
Instance\ProjectItemInstance.cs (1)
1384_directMetadata?.Remove(metadataName);
ReadOnlyEmptyDictionary.cs (1)
299((IDictionary<K, V>)this).Remove((K)key);
Microsoft.Build.Tasks.Core (4)
AssemblyDependency\GenerateBindingRedirects.cs (1)
313redirects.Remove(entry.Key);
ReadOnlyEmptyDictionary.cs (1)
299((IDictionary<K, V>)this).Remove((K)key);
ResGenDependencies.cs (2)
138resXFiles.Remove(resxFile); 167portableLibraries.Remove(libraryPath);
Microsoft.Build.Utilities.Core (1)
ReadOnlyEmptyDictionary.cs (1)
299((IDictionary<K, V>)this).Remove((K)key);
Microsoft.Build.Utilities.UnitTests (1)
ToolTask_Tests.cs (1)
716task.DoProcessStartInfoMutation = (p) => p.Environment.Remove("a");
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
188builder.Remove(name);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (3)
153dictionary.Remove(key); 191dictionary.Remove(key); 219dictionary.Remove(key);
Microsoft.CodeAnalysis.CSharp (1)
Compilation\SyntaxAndDeclarationManager.cs (1)
463declMap.Remove(tree);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\EditorTestWorkspace.cs (1)
411markupSpans.Remove(spanName);
Microsoft.CodeAnalysis.LanguageServer (3)
DotnetCliHelper.cs (3)
92startInfo.Environment.Remove(DotnetRootEnvVar); 103startInfo.Environment.Remove("MSBUILD_EXE_PATH"); 104startInfo.Environment.Remove("MSBuildExtensionsPath");
Microsoft.CodeAnalysis.UnitTests (3)
Collections\ImmutableDictionaryBuilderTestBase.cs (1)
101builder.Remove("five");
Collections\ImmutableDictionaryTestBase.cs (1)
158Assert.Throws<NotSupportedException>(() => dictionary.Remove("a"));
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (1)
50Assert.Throws<NotSupportedException>(() => map.Remove(5));
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
188builder.Remove(name);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (3)
153dictionary.Remove(key); 191dictionary.Remove(key); 219dictionary.Remove(key);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
258processStartInfo.Environment.Remove("MSBUILD_EXE_PATH");
Microsoft.DotNet.RemoteExecutor (4)
RemoteExecutor.cs (4)
450psi.Environment.Remove("Cor_Profiler"); 451psi.Environment.Remove("Cor_Enable_Profiling"); 452psi.Environment.Remove("CoreClr_Profiler"); 453psi.Environment.Remove("CoreClr_Enable_Profiling");
Microsoft.Extensions.Http.Polly (1)
PolicyHttpMessageHandler.cs (1)
166request.Properties.Remove(PriorResponseKey);
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
55public bool Remove(T key) => ((IDictionary<T, U>)Map).Remove(key);
Microsoft.Maui.Controls (2)
DataTemplate.cs (2)
55 Values.Remove(property ?? throw new ArgumentNullException(nameof(property))); 62 Bindings.Remove(property ?? throw new ArgumentNullException(nameof(property)));
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
136return ((IDictionary<string, OptionBase>)_options).Remove(key);
Parameter.cs (1)
381return (_value as IDictionary<string, Parameter>).Remove(key);
SearchSpace.cs (1)
325return ((IDictionary<string, OptionBase>)_options).Remove(key);
MSBuild (3)
OutOfProcTaskHostNode.cs (2)
1055updatedEnvironment.Remove(variable.Key); 1109updatedEnvironment.Remove(variable.Key);
ReadOnlyEmptyDictionary.cs (1)
299((IDictionary<K, V>)this).Remove((K)key);
MSBuildTaskHost (3)
OutOfProcTaskHostNode.cs (2)
1055updatedEnvironment.Remove(variable.Key); 1109updatedEnvironment.Remove(variable.Key);
ReadOnlyEmptyDictionary.cs (1)
299((IDictionary<K, V>)this).Remove((K)key);
PresentationCore (2)
System\Windows\Media\CultureSpecificStringDictionary.cs (2)
205return _innerDictionary.Remove(key); 291_innerDictionary.Remove(language);
PresentationFramework (4)
System\Windows\Controls\DatePicker.cs (1)
884_isHandlerSuspended?.Remove(property);
System\Windows\Documents\DocumentSequence.cs (2)
853_asyncOps.Remove(asyncRequest.UserState); 912_asyncOps.Remove(userState);
System\Windows\Documents\FixedDocument.cs (1)
1247_asyncOps.Remove(userState);
PresentationUI (1)
MS\Internal\Documents\DigitalSignatureProvider.cs (1)
459signatureDefinitionMap.Remove(xpsDigitalSignature.Id.Value);
ReachFramework (2)
MS\Internal\Printing\MostFrequentlyUsedCache.cs (1)
76this._dictionary.Remove(minUseCountKey);
Serialization\TreeWalkProgress.cs (1)
33this._cyclicBrushes.Remove(brush);
Shared.Tests (1)
EmptyCollections\EmptyReadonlyDictionaryTests.cs (1)
38Assert.False(dict.Remove(1));
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
355dictionary.Remove(name);
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
54reply.Remove(CompositionConstants.ImportSourceMetadataName);
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
50return ActualMetadata.Remove(key);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\CollectionExtensions.cs (1)
49dictionary.Remove(key);