public RebaseCommand setUpstreamName(String upstreamName) {if (upstreamCommit == null) {throw new IllegalStateException("setUpstreamName must be called after setUpstream."); }this.upstreamCommitName = upstreamName;return this;}

public virtual NGit.Api.RebaseCommand SetUpstreamName(string upstreamName){if (upstreamCommit == null){throw new InvalidOperationException("setUpstreamName must be called after setUpstream.");}this.upstreamCommitName = upstreamName;return this;}
