MCPcopy Create free account
hub / github.com/4ch12dy/il2cpp / ClassInit

Method ClassInit

unity_2019_x/libil2cpp/vm/Runtime.cpp:799–863  ·  view source on GitHub ↗

We currently call Runtime::ClassInit in 4 places: 1. Just after we allocate storage for a new object (Object::NewAllocSpecific) 2. Just before reading any static field 3. Just before calling any static method 4. Just before calling class instance constructor from a derived class instance constructor

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

CompareExchangeFunction · 0.70
CompareExchangePointerFunction · 0.70
ExchangePointerFunction · 0.70
ExchangeFunction · 0.70
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected