[CSharpBinding] Fixed bug in automatic bracket insertion.