#pragma warning restore CS0618 // Type or member is obsolete #pragma warning disable CS0618 // Type or member is obsolete public Branch(string name, GitReference commit, BranchProtection protection, bool @protected) : this(name, commit, @protected) { Protection = protection; }
#pragma warning disable CS0618 // Type or member is obsolete public Branch(string name, GitReference commit, BranchProtection protection) : this(name, commit, protection, false) { }
#pragma warning disable CS0618 // Type or member is obsolete public Branch(string name, GitReference commit, BranchProtection protection) { Name = name; Commit = commit; Protection = protection; }
public Branch(string name, GitReference commit, BranchProtection protection) { Name = name; Commit = commit; Protection = protection; }