[CSharpBinding] Use Contains instead of IndexOf