public static readonly long SymVerStatic = (long)10L; // Minimum version used by static (file-local) syms public static long ABIToVersion(obj.ABI abi) { if (abi == obj.ABI0) { return(SymVerABI0); } else if (abi == obj.ABIInternal) { return(SymVerABIInternal); } return(-1L); }
public static (obj.ABI, bool) VersionToABI(long v) { obj.ABI _p0 = default; bool _p0 = default; if (v == SymVerABI0) { return(obj.ABI0, true); } else if (v == SymVerABIInternal) { return(obj.ABIInternal, true); } return(~obj.ABI(0L), false); }