210 instantiations of WeakReference
Aspire.Hosting.Analyzers (5)
Client.TypedClient.IntegrationTests (1)
Metrics (5)
Metrics.Legacy (5)
Microsoft.AspNetCore.App.Analyzers (5)
Microsoft.AspNetCore.Cryptography.Internal (1)
Microsoft.AspNetCore.Cryptography.Internal.Tests (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
Microsoft.AspNetCore.Http.ValidationsGenerator (5)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.Build (2)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
Microsoft.CodeAnalysis.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (9)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.DependencyInjection (1)
Microsoft.Maui (3)
Microsoft.Maui.Controls (24)
Microsoft.ML.Core (2)
Microsoft.ML.Transforms (1)
Microsoft.VisualStudio.LanguageServices (1)
PresentationCore (4)
PresentationFramework (16)
Roslyn.Diagnostics.Analyzers (5)
System.Diagnostics.TraceSource (2)
System.IO.FileSystem.Watcher (1)
System.Net.Http (3)
System.Net.Requests (1)
System.Net.WebSockets (1)
System.Private.CoreLib (4)
System.Private.DataContractSerialization (1)
System.Private.Xml (4)
System.Private.Xml.Linq (2)
System.Text.Json (1)
System.Text.RegularExpressions (1)
System.Threading.Tasks.Dataflow (2)
System.Windows.Forms (27)
System.Windows.Forms.Design (2)
System.Windows.Forms.Primitives (1)
Test.Utilities (5)
Text.Analyzers (5)
389 references to WeakReference
Aspire.Hosting.Analyzers (2)
Client.TypedClient.IntegrationTests (1)
Metrics (2)
Metrics.Legacy (2)
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.AspNetCore.Cryptography.Internal (5)
Microsoft.AspNetCore.Cryptography.Internal.Tests (4)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.Http.ValidationsGenerator (2)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Microsoft.AspNetCore.SignalR.Client.Core (2)
Microsoft.Build (9)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.CodeAnalysis (23)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
Microsoft.CodeAnalysis.CodeStyle (5)
Microsoft.CodeAnalysis.CSharp (33)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.Text (4)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces (18)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (11)
Microsoft.Extensions.Caching.Memory (4)
Microsoft.Extensions.DependencyInjection (3)
Microsoft.Maui (7)
Microsoft.Maui.Controls (33)
Microsoft.ML.Core (4)
Microsoft.ML.Transforms (2)
Microsoft.VisualStudio.LanguageServices (1)
mscorlib (1)
netstandard (1)
PresentationCore (12)
PresentationFramework (46)
Roslyn.Diagnostics.Analyzers (2)
System.Diagnostics.TraceSource (8)
System.IO.FileSystem.Watcher (1)
System.Net.Http (9)
System.Net.Requests (4)
System.Net.WebSockets (2)
System.Private.CoreLib (30)
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (12)
33private static Dictionary<long, WeakReference<AssemblyLoadContext>>? s_allContexts;
37private static Dictionary<long, WeakReference<AssemblyLoadContext>> AllContexts =>
39Interlocked.CompareExchange(ref s_allContexts, new Dictionary<long, WeakReference<AssemblyLoadContext>>(), null) ??
106Dictionary<long, WeakReference<AssemblyLoadContext>> allContexts = AllContexts;
159Dictionary<long, WeakReference<AssemblyLoadContext>> allContexts = AllContexts;
278Dictionary<long, WeakReference<AssemblyLoadContext>>? allContexts = s_allContexts;
281WeakReference<AssemblyLoadContext>[] alcSnapshot;
285alcSnapshot = new WeakReference<AssemblyLoadContext>[allContexts.Count];
287foreach (KeyValuePair<long, WeakReference<AssemblyLoadContext>> item in allContexts)
293foreach (WeakReference<AssemblyLoadContext> weakAlc in alcSnapshot)
472Dictionary<long, WeakReference<AssemblyLoadContext>>? allContexts = s_allContexts;
481foreach (KeyValuePair<long, WeakReference<AssemblyLoadContext>> alcAlive in allContexts)
System.Private.DataContractSerialization (3)
System.Private.Xml (7)
System.Private.Xml.Linq (9)
System.Runtime (1)
System.Text.Json (5)
System.Text.RegularExpressions (3)
System.Threading.Tasks.Dataflow (2)
System.Windows.Forms (33)
System.Windows.Forms.Design (2)
System.Windows.Forms.Primitives (3)
System.Windows.Forms.Tests (1)
Test.Utilities (2)
Text.Analyzers (2)