internal void Detach(bool keepProperties) { try { if (keepProperties) { GC.KeepAlive(Uri); GC.KeepAlive(RepositoryRoot); } } finally { _version = null; _pool = null; } }
internal SvnConflictSource(svn_wc_conflict_version_t version, AprPool pool) { if (version == null) { throw new ArgumentNullException(nameof(version)); } if (pool == null) { throw new ArgumentNullException(nameof(pool)); } _version = version; _pool = pool; Revision = version.peg_rev; NodeKind = (SvnNodeKind)version.node_kind; }