220 instantiations of WeakReference
Aspire.Hosting.Analyzers (5)
Aspire.Hosting.Integration.Analyzers (5)
Client.TypedClient.IntegrationTests (1)
GenerateDocumentationAndConfigFiles (7)
Microsoft.AspNetCore.App.Analyzers (5)
Microsoft.AspNetCore.Cryptography.Internal (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.Build (2)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.Analyzers (8)
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
Microsoft.CodeAnalysis.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (8)
Microsoft.CodeAnalysis.Workspaces (11)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.DependencyInjection (1)
Microsoft.Extensions.Validation.ValidationsGenerator (5)
Microsoft.Maui (3)
Microsoft.Maui.Controls (24)
Microsoft.ML.Core (2)
Microsoft.ML.Transforms (1)
PresentationCore (4)
PresentationFramework (16)
Roslyn.Diagnostics.Analyzers (8)
System.Diagnostics.TraceSource (2)
System.Drawing.Common (1)
System.IO.FileSystem.Watcher (1)
System.Net.Http (3)
System.Net.Http.WinHttpHandler (1)
System.Net.Requests (1)
System.Net.WebSockets (1)
System.Private.CoreLib (8)
System.Private.DataContractSerialization (1)
System.Private.Xml (4)
System.Private.Xml.Linq (2)
System.Runtime.InteropServices.JavaScript (1)
System.Text.Json (1)
System.Text.RegularExpressions (1)
System.Threading.Tasks.Dataflow (2)
System.Windows.Forms (32)
System.Windows.Forms.Design (2)
System.Windows.Forms.Primitives (3)
System.Xaml (1)
408 references to WeakReference
Aspire.Hosting.Analyzers (2)
Aspire.Hosting.Integration.Analyzers (2)
Client.TypedClient.IntegrationTests (1)
GenerateDocumentationAndConfigFiles (7)
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.AspNetCore.Cryptography.Internal (5)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.Razor.Utilities.Shared (4)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Microsoft.AspNetCore.SignalR.Client.Core (2)
Microsoft.Build (9)
Microsoft.CodeAnalysis (23)
Microsoft.CodeAnalysis.Analyzers (9)
Microsoft.CodeAnalysis.AnalyzerUtilities (9)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.CSharp (30)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (9)
Microsoft.CodeAnalysis.Workspaces (22)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.DependencyInjection (3)
Microsoft.Extensions.Validation.ValidationsGenerator (2)
Microsoft.Maui (7)
Microsoft.Maui.Controls (33)
Microsoft.ML.Core (4)
Microsoft.ML.Transforms (2)
mscorlib (1)
netstandard (1)
PresentationCore (12)
PresentationFramework (46)
Roslyn.Diagnostics.Analyzers (9)
System.Diagnostics.TraceSource (8)
System.Drawing.Common (3)
System.IO.FileSystem.Watcher (1)
System.Net.Http (9)
System.Net.Http.WinHttpHandler (2)
System.Net.Requests (4)
System.Net.WebSockets (2)
System.Private.CoreLib (33)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (12)
34private static Dictionary<long, WeakReference<AssemblyLoadContext>>? s_allContexts;
38private static Dictionary<long, WeakReference<AssemblyLoadContext>> AllContexts =>
40Interlocked.CompareExchange(ref s_allContexts, new Dictionary<long, WeakReference<AssemblyLoadContext>>(), null) ??
107Dictionary<long, WeakReference<AssemblyLoadContext>> allContexts = AllContexts;
160Dictionary<long, WeakReference<AssemblyLoadContext>> allContexts = AllContexts;
279Dictionary<long, WeakReference<AssemblyLoadContext>>? allContexts = s_allContexts;
282WeakReference<AssemblyLoadContext>[] alcSnapshot;
286alcSnapshot = new WeakReference<AssemblyLoadContext>[allContexts.Count];
288foreach (KeyValuePair<long, WeakReference<AssemblyLoadContext>> item in allContexts)
294foreach (WeakReference<AssemblyLoadContext> weakAlc in alcSnapshot)
512Dictionary<long, WeakReference<AssemblyLoadContext>>? allContexts = s_allContexts;
521foreach (KeyValuePair<long, WeakReference<AssemblyLoadContext>> alcAlive in allContexts)
System.Private.DataContractSerialization (3)
System.Private.Xml (7)
System.Private.Xml.Linq (9)
System.Runtime (1)
System.Runtime.InteropServices.JavaScript (4)
System.Text.Json (5)
System.Text.RegularExpressions (2)
System.Threading.Tasks.Dataflow (2)
System.Windows.Forms (34)
System.Windows.Forms.Design (2)
System.Windows.Forms.Primitives (3)
System.Xaml (1)