[CSharpBinding] Fixed a cast exception.
Bump nrefactory.