CLSCompliant version for mono