Implemented interface members:
method
Clear
System.Collections.Generic.ICollection<T>.Clear()
method
Clear
System.Collections.IDictionary.Clear()
135 references to Clear
Aspire.Dashboard (3)
Components\Pages\ConsoleLogs.razor.cs (1)
508_consoleLogsSubscriptions.Clear();
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();
GenerateDocumentationAndConfigFiles (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Metrics (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Metrics.Legacy (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Microsoft.AspNetCore.App.Analyzers (1)
RouteHandlers\RouteHandlerAnalyzer.cs (1)
63mapOperations.Clear();
Microsoft.AspNetCore.Components (14)
BindConverter.cs (2)
1675HotReloadManager.Default.OnDeltaApplied += _cache.Clear; 1872HotReloadManager.Default.OnDeltaApplied += _cache.Clear;
ChangeDetection.cs (1)
17HotReloadManager.Default.OnDeltaApplied += _immutableObjectTypesCache.Clear;
ComponentFactory.cs (1)
39public static void ClearCache() => _cachedComponentTypeInfo.Clear();
DefaultComponentActivator.cs (1)
23public static void ClearCache() => _cachedComponentTypeInfo.Clear();
PersistentState\PersistentServicesRegistry.cs (1)
32HotReloadManager.Default.OnDeltaApplied += _cachedAccessorsByType.Clear;
PersistentState\PersistentStateValueProviderKeyResolver.cs (1)
29_keyCache.Clear();
PersistentState\PersistentValueProviderComponentSubscription.cs (2)
32_propertyGetterCache.Clear(); 33_serializerCache.Clear();
Reflection\ComponentProperties.cs (1)
31public static void ClearCache() => _cachedWritersByType.Clear();
RenderTree\EventArgsTypeCache.cs (1)
18HotReloadManager.Default.OnDeltaApplied += Cache.Clear;
RouteView.cs (1)
27HotReloadManager.Default.OnDeltaApplied += _layoutAttributeCache.Clear;
Routing\RouteTable.cs (1)
21HotReloadManager.Default.OnDeltaApplied += _routeEntryCache.Clear;
Routing\RouteTableFactory.cs (1)
47public void ClearCaches() => _cache.Clear();
Microsoft.AspNetCore.Components.Authorization (1)
AttributeAuthorizeDataCache.cs (1)
22private static void ClearCache() => _cache.Clear();
Microsoft.AspNetCore.Components.Endpoints (5)
Builder\RazorComponentsEndpointHttpContextExtensions.cs (1)
47=> AcceptsInteractiveRoutingCache.Clear();
Rendering\EndpointComponentState.cs (2)
24HotReloadManager.Default.OnDeltaApplied += _streamRenderingAttributeByComponentType.Clear; 69public static void UpdateApplication(Type[]? _) => _streamRenderingAttributeByComponentType.Clear();
src\Shared\PropertyHelper\PropertyHelper.cs (2)
564PropertiesCache.Clear(); 565VisiblePropertiesCache.Clear();
Microsoft.AspNetCore.Components.Forms (4)
EditContextDataAnnotationsExtensions.cs (1)
255_propertyInfoCache.Clear();
FieldIdentifier.cs (1)
220_fieldAccessors.Clear();
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (2)
32s_capturedValueFormatterCache.Clear(); 33s_methodInfoDataCache.Clear();
Microsoft.AspNetCore.Components.Web (3)
JSComponents\JSComponentInterop.cs (1)
32HotReloadManager.Default.OnDeltaApplied += ParameterTypeCaches.Clear;
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (2)
32s_capturedValueFormatterCache.Clear(); 33s_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.CodeAnalysis (1)
InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
Microsoft.CodeAnalysis.Analyzers (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Microsoft.CodeAnalysis.BannedApiAnalyzers (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.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)
64_analyzedProjectToDiagnostics.Clear();
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
308_generatedFilenameToInformation.Clear();
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
408_fileToDocumentInfoMap.Clear();
Microsoft.CodeAnalysis.LanguageServer (1)
Logging\LspLogMessageLoggerProvider.cs (1)
22_loggers.Clear();
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\SolutionAssetCache.cs (1)
222=> cache._assets.Clear();
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.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 (2)
WeakStringCache.cs (2)
116_stringsByHashCode.Clear(); 117_weakHandlesByHashCode.Clear();
Roslyn.Diagnostics.Analyzers (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
System.ComponentModel.TypeConverter (3)
System\ComponentModel\TypeDescriptor.cs (3)
268s_providerTypeTable.Clear(); 297s_providerTypeTable.Clear(); 1874s_providerTypeTable.Clear();
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\DefaultCaching.cs (1)
44_cache.Clear();
System.ServiceModel.Primitives (1)
Internals\System\Runtime\InternalBufferManager.cs (1)
105_buffersPooled.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 (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();
Text.Analyzers (4)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
113_dictionary.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
46this.Clear();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
94public void Clear() => _dictionary.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
315map.Clear();