Ported 'UseAsAndNullCheckAction'.