public static bool TryParse(string s, CultureInfo culture, out RVUnit rvUnit) { try { rvUnit = new RVUnit(s, culture); return(true); } catch (Exception ex) { Exception ex2 = FindStoppingException(ex); if (ex2 == ex) { throw; } if (ex2 != null) { throw ex2; } rvUnit = Empty; return(false); } }
internal static bool TryParse(string s, out RVUnit rvUnit) { return(TryParse(s, null, out rvUnit)); }