[TPL] Add mono internal API support

Why do we need this null check?