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

Method ClassInit

unity_2020_x/libil2cpp/vm/Runtime.cpp:812–876  ·  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.50
CompareExchangePointerFunction · 0.50
ExchangePointerFunction · 0.50
ExchangeFunction · 0.50
AcquireMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected