[CSharpBinding] Fixed a null reference in the unit test editor
extension.