Merge "Revert "Add missing null check to String::ToCharArray""
am: 6aa0735c7b

* commit '6aa0735c7b84061901a844270d22249cbb01004e':
  Revert "Add missing null check to String::ToCharArray"