@internal Gets the encompassing internal object (System.Threding.InternalThreead) of the current thread.
()
| 12325 | } |
| 12326 | /** @internal Gets the encompassing internal object (System.Threding.InternalThreead) of the current thread. */ |
| 12327 | get internal() { |
| 12328 | const internalThread = this.object.tryField("internal_thread")?.value; |
| 12329 | return internalThread ? internalThread : this.object; |
| 12330 | } |
| 12331 | /** Determines whether the current thread is the garbage collector finalizer one. */ |
| 12332 | get isFinalizer() { |
| 12333 | return !Il2Cpp.Api._threadIsVm(this); |