Fixed 'Bug 13297 - Code completion not working with partial classes type parameters'.
[CSharpBinding] Fixed possible null reference exception.