138 implementations of Remove
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
531public bool Remove(string name)
GenerateDocumentationAndConfigFiles (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public bool Remove(TKey key)
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
507public bool Remove(string key)
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\TempData.cs (1)
80public 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.Http (4)
HeaderDictionary.cs (1)
301public bool Remove(string key)
Internal\ItemsDictionary.cs (1)
67bool IDictionary<object, object?>.Remove(object key)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
109public bool Remove(TKey key)
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
371public 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\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
109public bool 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)
66bool IDictionary<string, string[]>.Remove(string key) => Inner.Remove(key);
DictionaryStringValuesWrapper.cs (1)
111bool IDictionary<string, StringValues>.Remove(string key) => Inner.Remove(key);
OwinEnvironment.cs (1)
90bool IDictionary<string, object>.Remove(string key)
Microsoft.AspNetCore.Razor.Runtime (1)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
109public bool Remove(TKey key)
Microsoft.AspNetCore.Server.HttpSys (2)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
236public bool Remove(string key)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
125public bool Remove(string key)
Microsoft.AspNetCore.Server.IIS (2)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
236public bool Remove(string key)
src\aspnetcore\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.Build (12)
Collections\ArrayDictionary.cs (1)
172public bool Remove(TKey key)
Collections\CopyOnWritePropertyDictionary.cs (1)
329public bool Remove(string name)
Collections\PropertyDictionary.cs (1)
390bool IDictionary<string, T>.Remove(string key)
Collections\ReadOnlyConvertingDictionary.cs (1)
95public bool Remove(K key)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
407public bool Remove(string item)
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (1)
86public bool Remove(string key) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (1)
129public bool Remove(string key) => throw new NotSupportedException();
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\8b3a4ac2431f87ea\SpecializedCollections.Empty.Dictionary.cs (1)
52public bool Remove(TKey key)
Microsoft.Build.Framework (2)
Collections\CopyOnWriteDictionary.cs (1)
234public bool Remove(string key)
Collections\ReadOnlyEmptyDictionary.cs (1)
188public bool Remove(K key)
Microsoft.CodeAnalysis (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public bool Remove(TKey key)
Microsoft.CodeAnalysis.Analyzers (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public bool Remove(TKey key)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public bool Remove(TKey key)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
127public bool Remove(TKey key)
Microsoft.CodeAnalysis.CodeStyle (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public bool Remove(TKey key)
Microsoft.CodeAnalysis.Extensions.Package (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public bool Remove(TKey key)
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
126public bool Remove(TKey key)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public bool Remove(TKey key)
Microsoft.CodeAnalysis.Workspaces (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public 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 (3)
AdditionalPropertiesDictionary{TValue}.cs (1)
137public bool Remove(string key) => _dictionary.Remove(key);
Functions\AIFunctionArguments.cs (1)
147public bool Remove(string key) => _arguments.Remove(key);
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.BuildMetadata.Unit.Tests (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)
Microsoft.TemplateEngine.Core (1)
VariableCollection.cs (1)
170public bool Remove(string key)
PresentationCore (4)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
629public bool Remove(int key)
System\Windows\Media\CharacterMetricsDictionary.cs (1)
233public bool Remove(int key)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
202public bool Remove(XmlLanguage key)
System\Windows\Media\GlyphTypeface.cs (1)
1750public bool Remove(ushort key)
PresentationFramework (2)
MS\Internal\Annotations\ObservableDictionary.cs (1)
101public bool Remove(string key)
MS\Internal\WeakDictionary.cs (1)
212public bool Remove(TKey key)
Roslyn.Diagnostics.Analyzers (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
105public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
177public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
694public bool Remove(TKey key)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
52public 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)
734public 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.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
658bool IDictionary<TKey, TValue>.Remove(TKey key) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
562public bool Remove(TKey key)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
592bool IDictionary<TKey, TValue>.Remove(TKey key)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
437public 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)
213public 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 (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1565bool IDictionary<TKey, TValue>.Remove(TKey key) => TryRemove(key, out _);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
1292public bool Remove(TKey key)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
60bool IDictionary<TKey, TValue>.Remove(TKey key)
src\runtime\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)
System\ServiceModel\Channels\MessageProperties.cs (1)
607public bool Remove(string name)
System.Speech (1)
Result\SemanticValue.cs (1)
132bool IDictionary<string, SemanticValue>.Remove(string key)
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
141public bool Remove(string propertyName)
System.Xaml (2)
System\Xaml\NameScope.cs (1)
197public bool Remove(string key)
System\Xaml\NameScopeDictionary.cs (1)
310bool IDictionary<string, object>.Remove(string key)
148 references to Remove
Aspire.Hosting (1)
Ats\CollectionExports.cs (1)
55=> dict.Remove(key);
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
866envVars.Remove(key);
dotnet-user-jwts (1)
Commands\RemoveCommand.cs (1)
66jwtStore.Jwts.Remove(id);
dotnet-user-secrets (1)
Internal\SecretsStore.cs (1)
66_secrets.Remove(key);
GenerateDocumentationAndConfigFiles (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
189builder.Remove(name);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (3)
153dictionary.Remove(key); 191dictionary.Remove(key); 219dictionary.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)
422app.Properties.Remove(EndpointRouteBuilderKey); 556app.Properties.Remove(WebApplication.GlobalEndpointRouteBuilderKey);
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
259properties.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.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)
1279properties.Items.Remove(OAuthConstants.CodeVerifierKey);
Microsoft.AspNetCore.Components (1)
PersistentComponentState.cs (1)
234_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.Diagnostics (1)
StatusCodePage\StatusCodePagesMiddleware.cs (1)
57context.Items.Remove(nameof(StatusCodePagesOptions));
Microsoft.AspNetCore.Hosting (4)
GenericHost\GenericWebHostBuilder.cs (4)
181_builder.Properties.Remove(_startupConfigName); 209_builder.Properties.Remove(_startupConfigName); 330_builder.Properties.Remove(_startupConfigName); 355_builder.Properties.Remove(_startupConfigName);
Microsoft.AspNetCore.Http (3)
Internal\ItemsDictionary.cs (2)
68=> _items != null && _items.Remove(key); 124return _items.Remove(item.Key);
src\aspnetcore\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.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.SystemTextJson (1)
Internal\DictionaryAdapterOfTU.cs (1)
82if (!dictionary.Remove(convertedKey))
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\aspnetcore\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.OpenApi (1)
Services\Schemas\OpenApiSchemaService.cs (1)
303schema.Metadata.Remove(OpenApiConstants.RefDefaultAnnotation);
Microsoft.AspNetCore.Owin (7)
DictionaryStringArrayWrapper.cs (1)
66bool IDictionary<string, string[]>.Remove(string key) => Inner.Remove(key);
DictionaryStringValuesWrapper.cs (2)
72Inner.Remove(HeaderNames.ContentLength); 111bool IDictionary<string, StringValues>.Remove(string key) => Inner.Remove(key);
OwinEnvironment.cs (4)
96return _context.Items.Remove(key); 151_context.Items.Remove(key); 553return _contextEntries.Remove(key); 623_contextEntries.Remove(key);
Microsoft.AspNetCore.Razor.Runtime (1)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
111return WriteDictionary.Remove(key);
Microsoft.AspNetCore.RequestDecompression (1)
DefaultRequestDecompressionProvider.cs (1)
52context.Request.Headers.Remove(HeaderNames.ContentEncoding);
Microsoft.AspNetCore.Server.HttpSys (4)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
239return Store.Remove(key);
src\aspnetcore\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\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
239return Store.Remove(key);
src\aspnetcore\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.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
184context.Response.Headers.Remove("transfer-encoding");
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
src\sdk\src\Dotnet.Watch\Web.Middleware\ResponseStreamWrapper.cs (1)
136response.Headers.Remove(HeaderNames.ContentEncoding);
Microsoft.Build (6)
BackEnd\BuildManager\LegacyThreadingData.cs (1)
113_legacyThreadingEventsById.Remove(submissionId);
BackEnd\Components\Logging\LoggingService.cs (3)
1792_warningsAsErrorsByProject?.Remove(key); 1793_warningsNotAsErrorsByProject?.Remove(key); 1794_warningsAsMessagesByProject?.Remove(key);
Collections\PropertyDictionary.cs (2)
455return ((IDictionary<string, T>)this).Remove(item.Key); 511bool result = _properties.Remove(name);
Microsoft.Build.Framework (2)
Collections\ReadOnlyEmptyDictionary.cs (1)
286((IDictionary<K, V>)this).Remove((K)key);
DotnetHostEnvironmentHelper.cs (1)
128environment.Remove(kvp.Key);
Microsoft.Build.Tasks.Core (3)
AssemblyDependency\GenerateBindingRedirects.cs (1)
318redirects.Remove(entry.Key);
ResGenDependencies.cs (2)
138resXFiles.Remove(resxFile); 167portableLibraries.Remove(libraryPath);
Microsoft.CodeAnalysis.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
189builder.Remove(name);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (3)
153dictionary.Remove(key); 191dictionary.Remove(key); 219dictionary.Remove(key);
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
189builder.Remove(name);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (3)
153dictionary.Remove(key); 191dictionary.Remove(key); 219dictionary.Remove(key);
Microsoft.CodeAnalysis.CodeStyle (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
189builder.Remove(name);
src\roslyn\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.ResxSourceGenerator (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
189builder.Remove(name);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (3)
153dictionary.Remove(key); 191dictionary.Remove(key); 219dictionary.Remove(key);
Microsoft.CodeAnalysis.Workspaces (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
189builder.Remove(name);
src\roslyn\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)
334processStartInfo.Environment.Remove("MSBUILD_EXE_PATH");
Microsoft.DotNet.Build.Manifest (3)
BuildIdentity.cs (2)
119Attributes.Remove(nameof(AzureDevOpsBuildDefinitionId)); 148Attributes.Remove(nameof(AzureDevOpsBuildId));
PackageArtifactModel.cs (1)
49Attributes.Remove(nameof(CouldBeStable));
Microsoft.Extensions.AI.Abstractions.Tests (1)
Functions\AIFunctionArgumentsTests.cs (1)
148args.Remove("key1");
Microsoft.Extensions.Features (1)
FeatureCollection.cs (1)
78if (_features != null && _features.Remove(key))
Microsoft.Extensions.Http.Polly (1)
PolicyHttpMessageHandler.cs (1)
164request.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);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
ApplyCompressionNegotiation.cs (1)
126endpointsByAsset.Remove(endpoint.AssetFile);
Microsoft.TemplateEngine.Core (2)
Operations\BalancedNesting.cs (1)
87processor.Config.Flags.Remove(_resetFlag!);
VariableCollection.cs (1)
172if (_values.Remove(key))
Microsoft.TemplateEngine.Edge (3)
Installers\NuGet\NuGetManagedTemplatePackage.cs (1)
184dict.Remove(key);
Template\ParameterSetBuilder.cs (2)
257disabledParameters.ForEach(p => variableCollection.Remove(p.ParameterDefinition.Name)); 277variableCollection.Remove(parameter.ParameterDefinition.Name);
Microsoft.TestPlatform.CrossPlatEngine (1)
DataCollection\InProcDataCollectionSink.cs (1)
49_testCaseDataCollectionDataMap.Remove(testCaseId);
MSBuild (2)
OutOfProcTaskHostNode.cs (2)
1695updatedEnvironment.Remove(variable.Key); 1749updatedEnvironment.Remove(variable.Key);
PresentationCore (2)
System\Windows\Media\CultureSpecificStringDictionary.cs (2)
204return _innerDictionary.Remove(key); 290_innerDictionary.Remove(language);
PresentationFramework (4)
System\Windows\Controls\DatePicker.cs (1)
883_isHandlerSuspended?.Remove(property);
System\Windows\Documents\DocumentSequence.cs (2)
852_asyncOps.Remove(asyncRequest.UserState); 911_asyncOps.Remove(userState);
System\Windows\Documents\FixedDocument.cs (1)
1247_asyncOps.Remove(userState);
PresentationUI (1)
MS\Internal\Documents\DigitalSignatureProvider.cs (1)
458signatureDefinitionMap.Remove(xpsDigitalSignature.Id.Value);
ReachFramework (2)
MS\Internal\Printing\MostFrequentlyUsedCache.cs (1)
75this._dictionary.Remove(minUseCountKey);
Serialization\TreeWalkProgress.cs (1)
32this._cyclicBrushes.Remove(brush);
Roslyn.Diagnostics.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
189builder.Remove(name);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (3)
153dictionary.Remove(key); 191dictionary.Remove(key); 219dictionary.Remove(key);
sdk-tasks (1)
DotNetTool.cs (1)
25psi.Environment.Remove(environmentVariableName);
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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\CollectionExtensions.cs (1)
49dictionary.Remove(key);