Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ InitiateUnload()

void System.Runtime.Loader.AssemblyLoadContext.InitiateUnload ( )
inlineprivateinherited

Definition at line 390 of file AssemblyLoadContext.cs.

391 {
394 {
395 GCHandle value = GCHandle.Alloc(this, GCHandleType.Normal);
398 _state = InternalState.Unloading;
399 }
402 {
404 }
405 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
static Dictionary< long, WeakReference< AssemblyLoadContext > > AllContexts
static void PrepareForAssemblyLoadContextRelease(IntPtr ptrNativeAssemblyLoadContext, IntPtr ptrAssemblyLoadContextStrong)
static IntPtr ToIntPtr(GCHandle value)
Definition GCHandle.cs:138
static GCHandle Alloc(object? value)
Definition GCHandle.cs:81

References System.Runtime.Loader.AssemblyLoadContext._id, System.Runtime.Loader.AssemblyLoadContext._nativeAssemblyLoadContext, System.Runtime.Loader.AssemblyLoadContext._state, System.Runtime.Loader.AssemblyLoadContext._unloadLock, System.Runtime.Loader.AssemblyLoadContext.AllContexts, System.Runtime.InteropServices.GCHandle.Alloc(), System.Runtime.Loader.AssemblyLoadContext.PrepareForAssemblyLoadContextRelease(), System.Runtime.Loader.AssemblyLoadContext.RaiseUnloadEvent(), System.Collections.Generic.Dictionary< TKey, TValue >.Remove(), System.Runtime.InteropServices.GCHandle.ToIntPtr(), and System.value.

Referenced by System.Runtime.Loader.AssemblyLoadContext.~AssemblyLoadContext(), and System.Runtime.Loader.AssemblyLoadContext.Unload().