static StreamUtils() { if (SystemUtils.CurrentSystem == SystemType.Mono3Lower) { funcByPlatform = GetCharposMono3; } else { funcByPlatform = GetCharposWindowsMono4; } }
static StreamUtils() { if (SystemUtils.CurrentSystem == SystemType.Mono3Lower) { funcByPlatform = GetCharposMono3; } else if (SystemUtils.CurrentSystem == SystemType.Mono6Upper) { funcByPlatform = GetCharposMono6; } else { funcByPlatform = GetCharposWindowsMono4; } }