yijunyu/c-to-rust huggingface dataset:
// Original:
public void yypushback(int number)  {if ( number > yylength() )zzScanError(ZZ_PUSHBACK_2BIG);zzMarkedPos -= number;}

// Translation:
public void YyPushBack(int number){if (number > YyLength)ZzScanError(ZZ_PUSHBACK_2BIG);zzMarkedPos -= number;}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {return fixed(arg0, arg1, BoolEval.FALSE, srcRowIndex, srcColumnIndex);}

// Translation:
public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){return doFixed(arg0, arg1, BoolEval.FALSE, srcRowIndex, srcColumnIndex);}
// Original:
public RevisionSyntaxException(String message, String revstr) {super(message);this.revstr = revstr;}

// Translation:
public RevisionSyntaxException(string message, string revstr) : base(message){this.revstr = revstr;}
// Original:
public void reset() throws IOException {synchronized (lock) {super.reset();lineNumber = markedLineNumber;lastWasCR = markedLastWasCR;}}

// Translation:
public override void reset(){throw new System.NotImplementedException();}
// Original:
public QueryParser(CharStream stream) {token_source = new QueryParserTokenManager(stream);token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}

// Translation:
public QueryParser(ICharStream stream){TokenSource = new QueryParserTokenManager(stream);Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}
// Original:
public Float floatValue(String key) {String value = responseMap.get(key);if (null == value || 0 == value.length()) {return null;}return Float.valueOf(responseMap.get(key));}

// Translation:
public float? FloatValue(string key){if (null != DictionaryUtil.Get(ResponseDictionary, key)){return float.Parse(DictionaryUtil.Get(ResponseDictionary, key));}return null;}
// Original:
public ModifyClusterResult modifyCluster(ModifyClusterRequest request) {request = beforeClientExecution(request);return executeModifyCluster(request);}

// Translation:
public virtual ModifyClusterResponse ModifyCluster(ModifyClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterResponseUnmarshaller.Instance;return Invoke<ModifyClusterResponse>(request, options);}
// Original:
public DescribeSolutionResult describeSolution(DescribeSolutionRequest request) {request = beforeClientExecution(request);return executeDescribeSolution(request);}

// Translation:
public virtual DescribeSolutionResponse DescribeSolution(DescribeSolutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSolutionRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSolutionResponseUnmarshaller.Instance;return Invoke<DescribeSolutionResponse>(request, options);}
// Original:
public BootstrapActionConfig build() {return new BootstrapActionConfig().withName("Configure Hadoop").withScriptBootstrapAction(new ScriptBootstrapActionConfig().withPath("s3:.withArgs(args));}

// Translation:
public BootstrapActionConfig Build(){return new BootstrapActionConfig{Name = "Configure Hadoop",ScriptBootstrapAction = new ScriptBootstrapActionConfig{Path = string.Format(CultureInfo.InvariantCulture, "s3:Args = args}};}
// Original:
public void append(String name, RevCommit commit) {append(name, GITLINK, commit);}

// Translation:
public virtual void Append(string name, RevCommit commit){Append(name, FileMode.GITLINK, commit);}
// Original:
public int read() {if (ptr == data.length)return -1;return data[ptr++] & 0xff;}

// Translation:
public override int Read(){if (ptr == data.Length){return -1;}return data[ptr++] & unchecked((int)(0xff));}
// Original:
public void setOutputUnigramsIfNoShingles(boolean outputUnigramsIfNoShingles) {this.outputUnigramsIfNoShingles = outputUnigramsIfNoShingles;}

// Translation:
public void SetOutputUnigramsIfNoShingles(bool outputUnigramsIfNoShingles){this.outputUnigramsIfNoShingles = outputUnigramsIfNoShingles;}
// Original:
public RevFilter clone() {return this; }

// Translation:
public override RevFilter Clone(){return this;}
// Original:
public void updateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex) {for (int i = 0; i < records.length; i++) {CellValueRecordInterface[] rowCells = records[i];if (rowCells == null) {continue;}for (int j = 0; j < rowCells.length; j++) {CellValueRecordInterface cell = rowCells[j];if (cell instanceof FormulaRecordAggregate) {FormulaRecordAggregate fra = (FormulaRecordAggregate)cell;Ptg[] ptgs = fra.getFormulaTokens(); Ptg[] ptgs2 = ((FormulaRecordAggregate)cell).getFormulaRecord().getParsedExpression(); if (shifter.adjustFormula(ptgs, currentExternSheetIndex)) {fra.setParsedExpression(ptgs);}}}}}

// Translation:
public void UpdateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex){for (int i = 0; i < records.Length; i++){CellValueRecordInterface[] rowCells = records[i];if (rowCells == null){continue;}for (int j = 0; j < rowCells.Length; j++){CellValueRecordInterface cell = rowCells[j];if (cell is FormulaRecordAggregate){FormulaRecordAggregate fra = (FormulaRecordAggregate)cell;Ptg[] ptgs = fra.FormulaTokens; Ptg[] ptgs2 = ((FormulaRecordAggregate)cell).FormulaRecord.ParsedExpression; if (shifter.AdjustFormula(ptgs, currentExternSheetIndex)){fra.SetParsedExpression(ptgs);}}}}}
// Original:
public UpdateGroupRequest(String groupName) {setGroupName(groupName);}

// Translation:
public UpdateGroupRequest(string groupName){_groupName = groupName;}
// Original:
public ListBrokersResult listBrokers(ListBrokersRequest request) {request = beforeClientExecution(request);return executeListBrokers(request);}

// Translation:
public virtual ListBrokersResponse ListBrokers(ListBrokersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListBrokersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListBrokersResponseUnmarshaller.Instance;return Invoke<ListBrokersResponse>(request, options);}
// Original:
public final FormulaCellCacheEntry[] getConsumingCells() {return _consumingCells.toArray();}

// Translation:
public FormulaCellCacheEntry[] GetConsumingCells(){return _consumingCells.ToArray();}
// Original:
public int cardinality() {return cardinality;}

// Translation:
public int Cardinality(){return cardinality;}
// Original:
public static final WeightedTerm[] getTerms(Query query, boolean prohibited){return getTerms(query,prohibited,null);}

// Translation:
public static WeightedTerm[] GetTerms(Query query, bool prohibited){return GetTerms(query, prohibited, null);}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(getColWidth());}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(ColWidth);}
// Original:
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException {PostingsWriterBase postingsWriter = new Lucene84PostingsWriter(state);boolean success = false;try {FieldsConsumer ret = new FSTTermsWriter(state, postingsWriter);success = true;return ret;} finally {if (!success) {IOUtils.closeWhileHandlingException(postingsWriter);}}}

// Translation:
public override FieldsConsumer FieldsConsumer(SegmentWriteState state){PostingsWriterBase postingsWriter = new Lucene41PostingsWriter(state);bool success = false;try{FieldsConsumer ret = new FSTTermsWriter(state, postingsWriter);success = true;return ret;}finally{if (!success){IOUtils.DisposeWhileHandlingException(postingsWriter);}}}
// Original:
public int getThumbOffset() {return mThumbOffset;}

// Translation:
public virtual int getThumbOffset(){return mThumbOffset;}
// Original:
public GetApnsChannelResult getApnsChannel(GetApnsChannelRequest request) {request = beforeClientExecution(request);return executeGetApnsChannel(request);}

// Translation:
public virtual GetApnsChannelResponse GetApnsChannel(GetApnsChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetApnsChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = GetApnsChannelResponseUnmarshaller.Instance;return Invoke<GetApnsChannelResponse>(request, options);}
// Original:
public boolean equals(Object obj) {if (this == obj) return true;if (null == obj || getClass() != obj.getClass()) return false;NGramDistance o = (NGramDistance)obj;return o.n == this.n;}

// Translation:
public override bool Equals(object obj){if (this == obj){return true;}if (null == obj || this.GetType() != obj.GetType()){return false;}var o = (NGramDistance)obj;return o.n == this.n;}
// Original:
public GetDomainDetailResult getDomainDetail(GetDomainDetailRequest request) {request = beforeClientExecution(request);return executeGetDomainDetail(request);}

// Translation:
public virtual GetDomainDetailResponse GetDomainDetail(GetDomainDetailRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainDetailRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainDetailResponseUnmarshaller.Instance;return Invoke<GetDomainDetailResponse>(request, options);}
// Original:
public UpdateConfigurationSetReputationMetricsEnabledResult updateConfigurationSetReputationMetricsEnabled(UpdateConfigurationSetReputationMetricsEnabledRequest request) {request = beforeClientExecution(request);return executeUpdateConfigurationSetReputationMetricsEnabled(request);}

// Translation:
public virtual UpdateConfigurationSetReputationMetricsEnabledResponse UpdateConfigurationSetReputationMetricsEnabled(UpdateConfigurationSetReputationMetricsEnabledRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateConfigurationSetReputationMetricsEnabledRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateConfigurationSetReputationMetricsEnabledResponseUnmarshaller.Instance;return Invoke<UpdateConfigurationSetReputationMetricsEnabledResponse>(request, options);}
// Original:
public PackedDataInput(DataInput in) {this.in = in;skipToNextByte();}

// Translation:
public PackedDataInput(DataInput @in){this.@in = @in;SkipToNextByte();}
// Original:
public AssociateQualificationWithWorkerResult associateQualificationWithWorker(AssociateQualificationWithWorkerRequest request) {request = beforeClientExecution(request);return executeAssociateQualificationWithWorker(request);}

// Translation:
public virtual AssociateQualificationWithWorkerResponse AssociateQualificationWithWorker(AssociateQualificationWithWorkerRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateQualificationWithWorkerRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateQualificationWithWorkerResponseUnmarshaller.Instance;return Invoke<AssociateQualificationWithWorkerResponse>(request, options);}
// Original:
public String toString() {return "arc=" + fstArc + " state=" + fsaState;}

// Translation:
public override string ToString(){return "arc=" + fstArc + " state=" + fsaState;}
// Original:
public void signalWorkflowExecution(SignalWorkflowExecutionRequest request) {request = beforeClientExecution(request);executeSignalWorkflowExecution(request);}

// Translation:
public virtual SignalWorkflowExecutionResponse SignalWorkflowExecution(SignalWorkflowExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = SignalWorkflowExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = SignalWorkflowExecutionResponseUnmarshaller.Instance;return Invoke<SignalWorkflowExecutionResponse>(request, options);}
// Original:
public String getTokenName(int t) {if (t == Token.EOF) {return "EOF";}Vocabulary vocabulary = parser != null ? parser.getVocabulary() : VocabularyImpl.EMPTY_VOCABULARY;String displayName = vocabulary.getDisplayName(t);if (displayName.equals(Integer.toString(t))) {return displayName;}return displayName + "<" + t + ">";}

// Translation:
public string GetTokenName(int t){if (t == TokenConstants.EOF){return "EOF";}IVocabulary vocabulary = parser != null ? parser.Vocabulary : Vocabulary.EmptyVocabulary;String displayName = vocabulary.GetDisplayName(t);if (displayName.Equals(t.ToString())){return displayName;}return displayName + "<" + t + ">";}
// Original:
public CJKWidthFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public CJKWidthFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public GetHLSStreamingSessionURLResult getHLSStreamingSessionURL(GetHLSStreamingSessionURLRequest request) {request = beforeClientExecution(request);return executeGetHLSStreamingSessionURL(request);}

// Translation:
public virtual GetHLSStreamingSessionURLResponse GetHLSStreamingSessionURL(GetHLSStreamingSessionURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetHLSStreamingSessionURLRequestMarshaller.Instance;options.ResponseUnmarshaller = GetHLSStreamingSessionURLResponseUnmarshaller.Instance;return Invoke<GetHLSStreamingSessionURLResponse>(request, options);}
// Original:
public boolean updateFormulasAfterCellShift(FormulaShifter shifter, int currentExternSheetIx) {CellRangeAddress[] cellRanges = header.getCellRanges();boolean changed = false;List<CellRangeAddress> temp = new ArrayList<>();for (CellRangeAddress craOld : cellRanges) {CellRangeAddress craNew = BaseRowColShifter.shiftRange(shifter, craOld, currentExternSheetIx);if (craNew == null) {changed = true;continue;}temp.add(craNew);if (craNew != craOld) {changed = true;}}if (changed) {int nRanges = temp.size();if (nRanges == 0) {return false;}CellRangeAddress[] newRanges = new CellRangeAddress[nRanges];temp.toArray(newRanges);header.setCellRanges(newRanges);}for (CFRuleBase rule : rules) {Ptg[] ptgs;ptgs = rule.getParsedExpression1();if (ptgs != null && shifter.adjustFormula(ptgs, currentExternSheetIx)) {rule.setParsedExpression1(ptgs);}ptgs = rule.getParsedExpression2();if (ptgs != null && shifter.adjustFormula(ptgs, currentExternSheetIx)) {rule.setParsedExpression2(ptgs);}if (rule instanceof CFRule12Record) {CFRule12Record rule12 = (CFRule12Record)rule;ptgs = rule12.getParsedExpressionScale();if (ptgs != null && shifter.adjustFormula(ptgs, currentExternSheetIx)) {rule12.setParsedExpressionScale(ptgs);}}}return true;}

// Translation:
public bool UpdateFormulasAfterCellShift(FormulaShifter shifter, int currentExternSheetIx){CellRangeAddress[] cellRanges = header.CellRanges;bool changed = false;List<CellRangeAddress> temp = new List<CellRangeAddress>();for (int i = 0; i < cellRanges.Length; i++){CellRangeAddress craOld = cellRanges[i];CellRangeAddress craNew = ShiftRange(shifter, craOld, currentExternSheetIx);if (craNew == null){changed = true;continue;}temp.Add(craNew);if (craNew != craOld){changed = true;}}if (changed){int nRanges = temp.Count;if (nRanges == 0){return false;}CellRangeAddress[] newRanges = new CellRangeAddress[nRanges];newRanges = temp.ToArray();header.CellRanges = (newRanges);}for (int i = 0; i < rules.Count; i++){CFRuleRecord rule = rules[i];Ptg[] ptgs;ptgs = rule.ParsedExpression1;if (ptgs != null && shifter.AdjustFormula(ptgs, currentExternSheetIx)){rule.ParsedExpression1 = (ptgs);}ptgs = rule.ParsedExpression2;if (ptgs != null && shifter.AdjustFormula(ptgs, currentExternSheetIx)){rule.ParsedExpression2 = (ptgs);}}return true;}
// Original:
public int keyAt(int index) {if (mGarbage) {gc();}return mKeys[index];}

// Translation:
public virtual int keyAt(int index){if (mGarbage){gc();}return mKeys[index];}
// Original:
public JapaneseKatakanaStemFilterFactory(Map<String,String> args) {super(args);minimumLength = getInt(args, MINIMUM_LENGTH_PARAM, JapaneseKatakanaStemFilter.DEFAULT_MINIMUM_LENGTH);if (minimumLength < 2) {throw new IllegalArgumentException("Illegal " + MINIMUM_LENGTH_PARAM + " " + minimumLength + " (must be 2 or greater)");}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public JapaneseKatakanaStemFilterFactory(IDictionary<string, string> args): base(args){minimumLength = GetInt32(args, MINIMUM_LENGTH_PARAM, JapaneseKatakanaStemFilter.DEFAULT_MINIMUM_LENGTH);if (minimumLength < 2){throw new ArgumentException("Illegal " + MINIMUM_LENGTH_PARAM + " " + minimumLength + " (must be 2 or greater)");}if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}}
// Original:
public static void byteArray(StringBuilder buffer, byte[] bytes) {for (int i = 0; i < bytes.length; i++) {buffer.append("b[").append(i).append("]=").append(bytes[i]);if (i < bytes.length - 1) {buffer.append(',');}}}

// Translation:
public static void ByteArray(StringBuilder buffer, byte[] bytes){for (int i = 0; i < bytes.Length; i++){buffer.Append("b[").Append(i).Append("]=").Append(bytes[i]);if (i < bytes.Length - 1){buffer.Append(',');}}}
// Original:
public int available(){return _in.available();}

// Translation:
public int Available(){return _in.Available();}
// Original:
public DeleteDatasetGroupResult deleteDatasetGroup(DeleteDatasetGroupRequest request) {request = beforeClientExecution(request);return executeDeleteDatasetGroup(request);}

// Translation:
public virtual DeleteDatasetGroupResponse DeleteDatasetGroup(DeleteDatasetGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDatasetGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDatasetGroupResponseUnmarshaller.Instance;return Invoke<DeleteDatasetGroupResponse>(request, options);}
// Original:
public DescribeBuildResult describeBuild(DescribeBuildRequest request) {request = beforeClientExecution(request);return executeDescribeBuild(request);}

// Translation:
public virtual DescribeBuildResponse DescribeBuild(DescribeBuildRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeBuildRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeBuildResponseUnmarshaller.Instance;return Invoke<DescribeBuildResponse>(request, options);}
// Original:
public E peekLast() {Link<E> last = voidLink.previous;return (last == voidLink) ? null : last.data;}

// Translation:
public virtual E peekLast(){java.util.LinkedList.Link<E> last = voidLink.previous;return (last == voidLink) ? default(E) : last.data;}
// Original:
public long get(long index) {assert index >= 0 && index < valueCount;final int block = (int) (index >>> blockShift);final int idx = (int) (index & blockMask);return expected(minValues[block], averages[block], idx) + subReaders[block].get(idx);}

// Translation:
public override long Get(long index){Debug.Assert(index >= 0 && index < valueCount);int block = (int)((long)((ulong)index >> blockShift));int idx = (int)(index & blockMask);return minValues[block] + (long)(float)(idx * averages[block]) + BlockPackedReaderIterator.ZigZagDecode(subReaders[block].Get(idx));}
// Original:
public DescribeVpnGatewaysResult describeVpnGateways() {return describeVpnGateways(new DescribeVpnGatewaysRequest());}

// Translation:
public virtual DescribeVpnGatewaysResponse DescribeVpnGateways(){return DescribeVpnGateways(new DescribeVpnGatewaysRequest());}
// Original:
public Iterator<E> iterator() {return backingMap.keySet().iterator();}

// Translation:
public override java.util.Iterator<E> iterator(){return backingMap.keySet().iterator();}
// Original:
public void parseLine(DocData docData, String line) {int n = 0;int k1 = 0;int k2;while ((k2 = line.indexOf(WriteLineDocTask.SEP, k1)) >= 0) {if (n>=header.length) {throw new RuntimeException("input line has invalid format: "+(n+1)+" fields instead of "+header.length+" :: [" + line + "]");}setDocDataField(docData, n, line.substring(k1,k2));++n;k1 = k2 + 1;}if (n!=header.length-1) {throw new RuntimeException("input line has invalid format: "+(n+1)+" fields instead of "+header.length+" :: [" + line + "]");}setDocDataField(docData, n, line.substring(k1));}

// Translation:
public override void ParseLine(DocData docData, string line){int n = 0;int k1 = 0;int k2;while ((k2 = line.IndexOf(WriteLineDocTask.SEP, k1)) >= 0){if (n >= m_header.Length){throw new Exception("input line has invalid format: " + (n + 1) + " fields instead of " + m_header.Length + " :: [" + line + "]");}SetDocDataField(docData, n, line.Substring(k1, k2 - k1));++n;k1 = k2 + 1;}if (n != m_header.Length - 1){throw new Exception("input line has invalid format: " + (n + 1) + " fields instead of " + m_header.Length + " :: [" + line + "]");}SetDocDataField(docData, n, line.Substring(k1));}
// Original:
public long getTotalLLLookaheadOps() {DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.length; i++) {k += decisions[i].LL_TotalLook;}return k;}

// Translation:
public long getTotalLLLookaheadOps(){DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.Length; i++){k += decisions[i].LL_TotalLook;}return k;}
// Original:
public static boolean matches(String regularExpression, CharSequence input) {return new Matcher(new Pattern(regularExpression, 0), input).matches();}

// Translation:
public static bool matches(string regularExpression, java.lang.CharSequence input){return new java.util.regex.Matcher(new java.util.regex.Pattern(regularExpression,0), input).matches();}
// Original:
public HSSFChildAnchor(int dx1, int dy1, int dx2, int dy2) {super(Math.min(dx1, dx2), Math.min(dy1, dy2), Math.max(dx1, dx2), Math.max(dy1, dy2));if (dx1 > dx2){_isHorizontallyFlipped = true;}if (dy1 > dy2){_isVerticallyFlipped = true;}}

// Translation:
public HSSFChildAnchor(int dx1, int dy1, int dx2, int dy2): base(Math.Min(dx1, dx2), Math.Min(dy1, dy2), Math.Max(dx1, dx2), Math.Max(dy1, dy2)){if (dx1 > dx2){_isHorizontallyFlipped = true;}if (dy1 > dy2){_isVerticallyFlipped = true;}}
// Original:
public final CharBuffer put(String str) {return put(str, 0, str.length());}

// Translation:
public java.nio.CharBuffer put(string str){return put(str, 0, str.Length);}
// Original:
public StartExportTaskResult startExportTask(StartExportTaskRequest request) {request = beforeClientExecution(request);return executeStartExportTask(request);}

// Translation:
public virtual StartExportTaskResponse StartExportTask(StartExportTaskRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartExportTaskRequestMarshaller.Instance;options.ResponseUnmarshaller = StartExportTaskResponseUnmarshaller.Instance;return Invoke<StartExportTaskResponse>(request, options);}
// Original:
public UpdateUserHierarchyResult updateUserHierarchy(UpdateUserHierarchyRequest request) {request = beforeClientExecution(request);return executeUpdateUserHierarchy(request);}

// Translation:
public virtual UpdateUserHierarchyResponse UpdateUserHierarchy(UpdateUserHierarchyRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserHierarchyRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserHierarchyResponseUnmarshaller.Instance;return Invoke<UpdateUserHierarchyResponse>(request, options);}
// Original:
public String toString() {StringBuilder sb = new StringBuilder();sb.append("[SERIESTEXT]\n");sb.append("  .id     =").append(HexDump.shortToHex(getId())).append('\n');sb.append("  .textLen=").append(field_4_text.length()).append('\n');sb.append("  .is16bit=").append(is16bit).append('\n');sb.append("  .text   =").append(" (").append(getText()).append(" )").append('\n');sb.append("[/SERIESTEXT]\n");return sb.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SERIESTEXT]\n");buffer.Append("    .id                   = ").Append("0x").Append(HexDump.ToHex(Id)).Append(" (").Append(Id).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("    .textLength           = ").Append(field_4_text.Length);buffer.Append(Environment.NewLine);buffer.Append("    .is16bit         = ").Append(is16bit);buffer.Append(Environment.NewLine);buffer.Append("    .text                 = ").Append(" (").Append(Text).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/SERIESTEXT]\n");return buffer.ToString();}