make check-csharp-version fix for MS compiler