202 instantiations of ConditionalWeakTable
Aspire.Hosting.Dotnet (1)
Aspire.Hosting.RemoteHost (1)
GenerateDocumentationAndConfigFiles (13)
ILCompiler.ReadyToRun (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Microsoft.Build (1)
Microsoft.CodeAnalysis (6)
Microsoft.CodeAnalysis.Analyzers (13)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.CodeStyle (4)
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Microsoft.CodeAnalysis.Extensions.Package (1)
Microsoft.CodeAnalysis.Features (12)
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
Microsoft.CodeAnalysis.NetAnalyzers (3)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\LValueFlowCapturesProvider.cs (1)
23new();
Microsoft.CodeAnalysis.Razor.Compiler (4)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (39)
Microsoft.DotNet.ApiCompatibility (1)
Microsoft.DotNet.ProjectTools (1)
Microsoft.Extensions.AI.Abstractions (3)
Microsoft.Extensions.ML (1)
Microsoft.Extensions.ObjectPool (1)
Microsoft.Maui (1)
Microsoft.Maui.Controls (6)
PresentationCore (3)
PresentationFramework (8)
Roslyn.Diagnostics.Analyzers (13)
Roslyn.Diagnostics.CSharp.Analyzers (2)
Roslyn.Diagnostics.VisualBasic.Analyzers (1)
System.ComponentModel.Composition (2)
System.ComponentModel.TypeConverter (3)
System.Configuration.ConfigurationManager (2)
System.Diagnostics.StackTrace (1)
System.Linq.Expressions (1)
System.Net.Sockets (1)
System.Private.CoreLib (6)
System.Private.DataContractSerialization (2)
System.Private.Xml (2)
System.Reflection.DispatchProxy (1)
System.Runtime.InteropServices (1)
System.Text.Json (1)
System.Threading.Tasks.Dataflow (1)
System.Transactions.Local (1)
318 references to ConditionalWeakTable
Aspire.Hosting.Analyzers (1)
Aspire.Hosting.Dotnet (1)
Aspire.Hosting.Integration.Analyzers (1)
Aspire.Hosting.RemoteHost (1)
GenerateDocumentationAndConfigFiles (20)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
ILCompiler.ReadyToRun (3)
Microsoft.AspNetCore.Razor.Utilities.Shared (5)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Microsoft.Build (6)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.pooledobjects\5.0.0-1.25277.114\contentFiles\cs\netstandard2.0\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.CodeAnalysis (15)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.CodeAnalysis.Analyzers (20)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.CodeAnalysis.AnalyzerUtilities (13)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.CodeAnalysis.CodeStyle (9)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Microsoft.CodeAnalysis.Extensions.Package (6)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.CodeAnalysis.Features (16)
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionService.cs (5)
27private static readonly ConditionalWeakTable<ProjectId, TypeImportCompletionCacheEntry> s_projectItemsCache = new();
28private static readonly ConditionalWeakTable<MetadataId, TypeImportCompletionCacheEntry> s_metadataItemsCache = new();
231ConditionalWeakTable<TKey, TypeImportCompletionCacheEntry> cache,
261ConditionalWeakTable<TKey, TypeImportCompletionCacheEntry> cache, TKey key, TypeImportCompletionCacheEntry cacheEntry, ImportCompletionCommitBehavior? commitBehavior)
276private static void UpdateCache<TKey>(ConditionalWeakTable<TKey, TypeImportCompletionCacheEntry> cache, TKey key, TypeImportCompletionCacheEntry entry)
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.CodeAnalysis.Razor.Compiler (4)
Microsoft.CodeAnalysis.ResxSourceGenerator (12)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.CodeAnalysis.Workspaces (52)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Microsoft.DotNet.ApiCompatibility (1)
Microsoft.DotNet.ProjectTools (1)
Microsoft.Extensions.AI.Abstractions (5)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.ML (1)
Microsoft.Extensions.ObjectPool (1)
Microsoft.Maui (1)
Microsoft.Maui.Controls (5)
mscorlib (1)
netstandard (1)
PresentationCore (5)
PresentationFramework (9)
Roslyn.Diagnostics.Analyzers (20)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
205/// except typed such that it can be used to create a pooled <see cref="ConditionalWeakTable{TKey,
210out ConditionalWeakTable<TKey, TValue>.CreateValueCallback boundFunction) where TKey : class where TValue : class
213return GetPooledDelegate<CreateValueCallbackWithBoundArgument<TKey, TArg, TValue>, TArg, Func<TKey, TArg, TValue>, ConditionalWeakTable<TKey, TValue>.CreateValueCallback>(unboundFunction, argument, out boundFunction);
423ConditionalWeakTable<TKey, TValue>.CreateValueCallback>
427protected override ConditionalWeakTable<TKey, TValue>.CreateValueCallback Bind()
Roslyn.Diagnostics.CSharp.Analyzers (2)
System.ComponentModel.Composition (4)
System.ComponentModel.TypeConverter (5)
System.Configuration.ConfigurationManager (2)
System.Diagnostics.StackTrace (1)
System.Dynamic.Runtime (1)
System.Linq.Expressions (1)
System.Net.Sockets (1)
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (10)
207/// <returns>The value bound to <typeparamref name="TKey"/> in the current <see cref="ConditionalWeakTable{TKey, TValue}"/> instance, after the method completes.</returns>
226/// <returns>The value bound to <typeparamref name="TKey"/> in the current <see cref="ConditionalWeakTable{TKey, TValue}"/> instance, after the method completes.</returns>
258/// <returns>The value bound to <typeparamref name="TKey"/> in the current <see cref="ConditionalWeakTable{TKey, TValue}"/> instance, after the method completes.</returns>
392private ConditionalWeakTable<TKey, TValue>? _table; // parent table, set to null when disposed
397public Enumerator(ConditionalWeakTable<TKey, TValue> table)
423ConditionalWeakTable<TKey, TValue>? table = Interlocked.Exchange(ref _table, null);
444ConditionalWeakTable<TKey, TValue>? table = _table;
559private readonly ConditionalWeakTable<TKey, TValue> _parent; // the ConditionalWeakTable with which this container is associated
567internal Container(ConditionalWeakTable<TKey, TValue> parent)
587private Container(ConditionalWeakTable<TKey, TValue> parent, int[] buckets, Entry[] entries, int firstFreeEntry)
System.Private.DataContractSerialization (2)
System.Private.Xml (2)
System.Reflection.DispatchProxy (1)
System.Runtime (1)
System.Runtime.InteropServices (1)
System.Text.Json (1)
System.Threading.Tasks.Dataflow (1)
System.Transactions.Local (1)
System.Windows.Forms (4)
System.Xaml (2)