Ok, I was just following examples from https://github.com/D-Programming-Language/druntime/blob/master/src/gc/gc.d#L1635 and https://github.com/D-Programming-Language/druntime/blob/master/src/gc/gc.d#L2298
I'll add the assert.