Implemented interface members:
method
Clear
System.Collections.Generic.ICollection<T>.Clear()
method
Clear
System.Collections.IDictionary.Clear()
118 references to Clear
Aspire.Dashboard (2)
Otlp\Model\ColorGenerator.cs (1)
88_colorIndexByKey.Clear();
ShortcutManager.cs (1)
38_keydownListenerComponents.Clear();
Aspire.Hosting.Analyzers (1)
AppHostAnalyzer.cs (1)
50modelNameOperations.Clear();
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InternalBufferManager.cs (1)
107_buffersPooled.Clear();
Metrics (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Metrics.Legacy (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.AspNetCore.App.Analyzers (1)
RouteHandlers\RouteHandlerAnalyzer.cs (1)
63mapOperations.Clear();
Microsoft.AspNetCore.Components (6)
ChangeDetection.cs (1)
17HotReloadManager.Default.OnDeltaApplied += _immutableObjectTypesCache.Clear;
ComponentFactory.cs (1)
30public static void ClearCache() => _cachedComponentTypeInfo.Clear();
DefaultComponentActivator.cs (1)
14public static void ClearCache() => _cachedComponentTypeInfo.Clear();
Reflection\ComponentProperties.cs (1)
22public static void ClearCache() => _cachedWritersByType.Clear();
RouteView.cs (1)
27HotReloadManager.Default.OnDeltaApplied += _layoutAttributeCache.Clear;
Routing\RouteTableFactory.cs (1)
47public void ClearCaches() => _cache.Clear();
Microsoft.AspNetCore.Components.Endpoints (4)
Builder\RazorComponentsEndpointHttpContextExtensions.cs (1)
47=> AcceptsInteractiveRoutingCache.Clear();
Rendering\EndpointComponentState.cs (1)
41public static void UpdateApplication(Type[]? _) => _streamRenderingAttributeByComponentType.Clear();
src\Shared\PropertyHelper\PropertyHelper.cs (2)
564PropertiesCache.Clear(); 565VisiblePropertiesCache.Clear();
Microsoft.AspNetCore.Components.Forms (4)
EditContextDataAnnotationsExtensions.cs (1)
175_propertyInfoCache.Clear();
FieldIdentifier.cs (1)
217_fieldAccessors.Clear();
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (2)
29s_capturedValueFormatterCache.Clear(); 30s_methodInfoDataCache.Clear();
Microsoft.AspNetCore.Components.Web (2)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (2)
29s_capturedValueFormatterCache.Clear(); 30s_methodInfoDataCache.Clear();
Microsoft.AspNetCore.Http.Abstractions (3)
Routing\RouteValueDictionary.cs (1)
927_propertyCache.Clear();
src\Shared\PropertyHelper\PropertyHelper.cs (2)
564PropertiesCache.Clear(); 565VisiblePropertiesCache.Clear();
Microsoft.AspNetCore.Mvc.Core (4)
Controllers\DefaultControllerPropertyActivator.cs (1)
31public void ClearCache() => _activateActions.Clear();
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (1)
69internal void ClearCache() => _modelMetadataCache.Clear();
src\Shared\PropertyHelper\PropertyHelper.cs (2)
564PropertiesCache.Clear(); 565VisiblePropertiesCache.Clear();
Microsoft.AspNetCore.Mvc.Razor (3)
DefaultTagHelperFactory.cs (1)
45_injectActions.Clear();
RazorPageActivator.cs (1)
52_activationInfo.Clear();
TagHelpers\TagHelperComponentPropertyActivator.cs (1)
24_propertiesToActivate.Clear();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
HtmlAttributePropertyHelper.cs (1)
30ReflectionCache.Clear();
Microsoft.AspNetCore.Routing (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
564PropertiesCache.Clear(); 565VisiblePropertiesCache.Clear();
Microsoft.AspNetCore.Routing.Abstractions (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
564PropertiesCache.Clear(); 565VisiblePropertiesCache.Clear();
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\WebTransport\WebTransportSession.cs (2)
85_openStreams.Clear(); 116_openStreams.Clear();
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
564PropertiesCache.Clear(); 565VisiblePropertiesCache.Clear();
Microsoft.Build (13)
BackEnd\Components\Caching\ResultsCache.cs (2)
104_resultsByConfiguration.Clear(); 292_resultsByConfiguration.Clear();
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
110_processesToIgnore.Clear();
BackEnd\Components\FileAccesses\FileAccessManager.cs (1)
55_fileAccessCompletionWaitHandles.Clear();
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
35_cache.Clear();
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
102_responseCache.Clear();
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
107_resolverStateBySubmission.Clear();
Evaluation\SimpleProjectRootElementCache.cs (1)
114_cache.Clear();
FileMatcher.cs (2)
172s_cachedGlobExpansions.Value.Clear(); 177s_cachedGlobExpansionsLock.Value.Clear();
FileUtilities.cs (1)
1562FileExistenceCache.Clear();
Graph\GraphBuilder.cs (1)
100_platformNegotiationInstancesCache.Clear();
RegisteredTaskObjectCacheBase.cs (1)
157lifetimeObjects.Value.Clear();
Microsoft.Build.Engine.OM.UnitTests (1)
FileUtilities.cs (1)
1562FileExistenceCache.Clear();
Microsoft.Build.Engine.UnitTests (3)
ProjectCache\ProjectCacheTests.cs (3)
623BuildManager.ProjectCacheDescriptors.Clear(); 721BuildManager.ProjectCacheDescriptors.Clear(); 1507BuildManager.ProjectCacheDescriptors.Clear();
Microsoft.Build.Tasks.Core (3)
FileMatcher.cs (2)
172s_cachedGlobExpansions.Value.Clear(); 177s_cachedGlobExpansionsLock.Value.Clear();
FileUtilities.cs (1)
1562FileExistenceCache.Clear();
Microsoft.Build.Utilities.Core (3)
FileMatcher.cs (2)
172s_cachedGlobExpansions.Value.Clear(); 177s_cachedGlobExpansionsLock.Value.Clear();
FileUtilities.cs (1)
1562FileExistenceCache.Clear();
Microsoft.CodeAnalysis (1)
InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
Microsoft.CodeAnalysis.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.CodeStyle (2)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Microsoft.CodeAnalysis.Features (3)
Diagnostics\CodeAnalysisDiagnosticAnalyzerService.cs (1)
67_analyzedProjectToDiagnostics.Clear();
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
360_generatedFilenameToInformation.Clear();
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
464_fileToDocumentInfoMap.Clear();
Microsoft.CodeAnalysis.LanguageServer (1)
Logging\LspLogMessageLoggerProvider.cs (1)
21_loggers.Clear();
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\SolutionAssetCache.cs (1)
222=> cache._assets.Clear();
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Microsoft.CodeAnalysis.Workspaces (3)
Log\AbstractLogAggregator.cs (1)
39public void Clear() => _map.Clear();
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\BinderEquivalence.cs (1)
47binderEquivalenceCache.Clear();
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.TagInvalidation.cs (1)
251_tagInvalidationTimes.Clear();
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ActivatorUtilities.cs (1)
1191s_constructorInfos.Clear();
Microsoft.Extensions.Options (1)
OptionsCache.cs (1)
23public void Clear() => _cache.Clear();
Microsoft.Extensions.ServiceDiscovery (2)
Http\HttpServiceEndpointResolver.cs (1)
118_resolvers.Clear();
ServiceEndpointResolver.cs (1)
127_resolvers.Clear();
Microsoft.Extensions.Telemetry (1)
Sampling\LogSamplingRuleSelector.cs (1)
108_ruleCache.Clear();
Microsoft.JSInterop (3)
Infrastructure\DotNetDispatcher.cs (3)
517_cachedMethodsByAssembly.Clear(); 518_cachedMethodsByType.Clear(); 519_cachedConvertToTaskByType.Clear();
Microsoft.ML.Ensemble (1)
Selector\SubModelSelector\BaseDiverseSelector.cs (1)
76_predictions.Clear();
Microsoft.NET.StringTools (1)
WeakStringCache.cs (1)
140_stringsByHashCode.Clear();
MSBuild (2)
FileUtilities.cs (1)
1562FileExistenceCache.Clear();
RegisteredTaskObjectCacheBase.cs (1)
157lifetimeObjects.Value.Clear();
Roslyn.Diagnostics.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
System.ComponentModel.TypeConverter (3)
System\ComponentModel\TypeDescriptor.cs (3)
267s_providerTypeTable.Clear(); 296s_providerTypeTable.Clear(); 1873s_providerTypeTable.Clear();
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\DefaultCaching.cs (1)
44_cache.Clear();
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (1)
246_cache.Clear();
System\Text\Json\Serialization\Metadata\ReflectionEmitCachingMemberAccessor.Cache.cs (1)
61_cache.Clear();
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Regex.Cache.cs (1)
86s_cacheDictionary.Clear();
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
280s_defaultFontCache.Clear();
Test.Utilities (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
Text.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
45this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();