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

◆ Cache

RuntimeTypeCache System.RuntimeType.Cache
getprivate

Definition at line 1492 of file RuntimeType.cs.

1493 {
1494 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1495 get
1496 {
1497 if (m_cache != IntPtr.Zero)
1498 {
1499 object obj = GCHandle.InternalGet(m_cache);
1500 if (obj != null)
1501 {
1502 return Unsafe.As<RuntimeTypeCache>(obj);
1503 }
1504 }
1505 return InitializeCache();
1506 }
1507 }
RuntimeTypeCache InitializeCache()
static unsafe object InternalGet(IntPtr handle)
Definition GCHandle.cs:40