[corlib] Deconstruct api from corert