yijunyu/c-to-rust huggingface dataset:
// Original:
public DeleteUserProfileResult deleteUserProfile(DeleteUserProfileRequest request) {request = beforeClientExecution(request);return executeDeleteUserProfile(request);}

// Translation:
public virtual DeleteUserProfileResponse DeleteUserProfile(DeleteUserProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteUserProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteUserProfileResponseUnmarshaller.Instance;return Invoke<DeleteUserProfileResponse>(request, options);}
// Original:
public int compare(ConfigLine a, ConfigLine b) {return compare2(a.section, a.subsection, a.name,b.section, b.subsection, b.name);}

// Translation:
public virtual int Compare(ConfigLine a, ConfigLine b){var value = Compare2(a.section, a.subsection, a.name, b.section, b.subsection, b.name);return value != 0 ? value : string.CompareOrdinal (a.value, b.value);}
// Original:
public LongBuffer asReadOnlyBuffer() {return duplicate();}

// Translation:
public override java.nio.LongBuffer asReadOnlyBuffer(){return duplicate();}
// Original:
public HSSFComment createCellComment(ClientAnchor anchor) {return createComment((HSSFAnchor) anchor);}

// Translation:
public IComment CreateCellComment(IClientAnchor anchor){return CreateComment((HSSFAnchor)anchor);}
// Original:
public CollatedTermAttributeImpl(Collator collator) {this.collator = (Collator) collator.clone();}

// Translation:
public CollatedTermAttributeImpl(Collator collator){this.collator = (Collator)collator.Clone();}
// Original:
public UpdatePipelineStatusResult updatePipelineStatus(UpdatePipelineStatusRequest request) {request = beforeClientExecution(request);return executeUpdatePipelineStatus(request);}

// Translation:
public virtual UpdatePipelineStatusResponse UpdatePipelineStatus(UpdatePipelineStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdatePipelineStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdatePipelineStatusResponseUnmarshaller.Instance;return Invoke<UpdatePipelineStatusResponse>(request, options);}
// Original:
public void copyTo(char[] tmp, StringBuilder w) {toHexCharArray(tmp);w.append(tmp, 0, Constants.OBJECT_ID_STRING_LENGTH);}

// Translation:
public virtual void CopyTo(char[] tmp, StringBuilder w){ToHexCharArray(tmp);w.Append(tmp, 0, Constants.OBJECT_ID_STRING_LENGTH);}
// Original:
public BytesReader getBytesReader() {if (fst == null) {return null;} else {return fst.getBytesReader();}}

// Translation:
public FST.BytesReader GetBytesReader(){if (fst == null){return null;}else{return fst.GetBytesReader();}}
// Original:
public CreateRouteTableResult createRouteTable(CreateRouteTableRequest request) {request = beforeClientExecution(request);return executeCreateRouteTable(request);}

// Translation:
public virtual CreateRouteTableResponse CreateRouteTable(CreateRouteTableRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateRouteTableRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateRouteTableResponseUnmarshaller.Instance;return Invoke<CreateRouteTableResponse>(request, options);}
// Original:
public String toString(String field) {return "ToParentBlockJoinQuery ("+childQuery.toString()+")";}

// Translation:
public override string ToString(string field){return "ToParentBlockJoinQuery (" + _childQuery + ")";}
// Original:
public DisassociateClientVpnTargetNetworkResult disassociateClientVpnTargetNetwork(DisassociateClientVpnTargetNetworkRequest request) {request = beforeClientExecution(request);return executeDisassociateClientVpnTargetNetwork(request);}

// Translation:
public virtual DisassociateClientVpnTargetNetworkResponse DisassociateClientVpnTargetNetwork(DisassociateClientVpnTargetNetworkRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateClientVpnTargetNetworkRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateClientVpnTargetNetworkResponseUnmarshaller.Instance;return Invoke<DisassociateClientVpnTargetNetworkResponse>(request, options);}
// Original:
public String toString() {return "<slop value='" + getValueString() + "'>" + "\n"+ getChild().toString() + "\n</slop>";}

// Translation:
public override string ToString(){return "<slop value='" + GetValueString() + "'>" + "\n"+ GetChild().ToString() + "\n</slop>";}
// Original:
public GetExportJobsResult getExportJobs(GetExportJobsRequest request) {request = beforeClientExecution(request);return executeGetExportJobs(request);}

// Translation:
public virtual GetExportJobsResponse GetExportJobs(GetExportJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetExportJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetExportJobsResponseUnmarshaller.Instance;return Invoke<GetExportJobsResponse>(request, options);}
// Original:
public UpdateBaiduChannelResult updateBaiduChannel(UpdateBaiduChannelRequest request) {request = beforeClientExecution(request);return executeUpdateBaiduChannel(request);}

// Translation:
public virtual UpdateBaiduChannelResponse UpdateBaiduChannel(UpdateBaiduChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateBaiduChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateBaiduChannelResponseUnmarshaller.Instance;return Invoke<UpdateBaiduChannelResponse>(request, options);}
// Original:
public ImportApiResult importApi(ImportApiRequest request) {request = beforeClientExecution(request);return executeImportApi(request);}

// Translation:
public virtual ImportApiResponse ImportApi(ImportApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportApiRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance;return Invoke<ImportApiResponse>(request, options);}
// Original:
public synchronized int read() {return pos < count ? buffer.charAt(pos++) & 0xFF : -1;}

// Translation:
public override int read(){lock (this){return pos < count ? buffer[pos++] & unchecked((int)(0xFF)) : -1;}}
// Original:
public GetUserResult getUser(GetUserRequest request) {request = beforeClientExecution(request);return executeGetUser(request);}

// Translation:
public virtual GetUserResponse GetUser(GetUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUserRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUserResponseUnmarshaller.Instance;return Invoke<GetUserResponse>(request, options);}
// Original:
public GetHealthCheckLastFailureReasonResult getHealthCheckLastFailureReason(GetHealthCheckLastFailureReasonRequest request) {request = beforeClientExecution(request);return executeGetHealthCheckLastFailureReason(request);}

// Translation:
public virtual GetHealthCheckLastFailureReasonResponse GetHealthCheckLastFailureReason(GetHealthCheckLastFailureReasonRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetHealthCheckLastFailureReasonRequestMarshaller.Instance;options.ResponseUnmarshaller = GetHealthCheckLastFailureReasonResponseUnmarshaller.Instance;return Invoke<GetHealthCheckLastFailureReasonResponse>(request, options);}
// Original:
public String getRawQuery() {return query;}

// Translation:
public string getRawQuery(){return query;}
// Original:
public static void fill(long[] array, int start, int end, long value) {Arrays.checkStartAndEnd(array.length, start, end);for (int i = start; i < end; i++) {array[i] = value;}}

// Translation:
public static void fill(long[] array, int start, int end, long value){java.util.Arrays.checkStartAndEnd(array.Length, start, end);{for (int i = start; i < end; i++){array[i] = value;}}}
// Original:
public boolean equals(Object obj) {if (obj instanceof StatePair) {StatePair p = (StatePair) obj;return p.s1 == s1 && p.s2 == s2;} else return false;}

// Translation:
public override bool Equals(object obj){if (obj is StatePair){StatePair p = (StatePair)obj;return p.S1 == S1 && p.S2 == S2;}else{return false;}}
// Original:
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[OLD STRING]\n");buffer.append("    .string            = ").append(getString()).append("\n");buffer.append("[/OLD STRING]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[OLD STRING]\n");buffer.Append("    .string            = ").Append(GetString()).Append("\n");buffer.Append("[/OLD STRING]\n");return buffer.ToString();}
// Original:
public ExecutePolicyResult executePolicy(ExecutePolicyRequest request) {request = beforeClientExecution(request);return executeExecutePolicy(request);}

// Translation:
public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = ExecutePolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = ExecutePolicyResponseUnmarshaller.Instance;return Invoke<ExecutePolicyResponse>(request, options);}
// Original:
public UpdateEmailTemplateResult updateEmailTemplate(UpdateEmailTemplateRequest request) {request = beforeClientExecution(request);return executeUpdateEmailTemplate(request);}

// Translation:
public virtual UpdateEmailTemplateResponse UpdateEmailTemplate(UpdateEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateEmailTemplateResponseUnmarshaller.Instance;return Invoke<UpdateEmailTemplateResponse>(request, options);}
// Original:
public boolean equalsContents(final Object o) {final CustomProperty c = (CustomProperty) o;final String name1 = c.getName();final String name2 = this.getName();boolean equalNames = true;if (name1 == null) {equalNames = name2 == null;} else {equalNames = name1.equals(name2);}return equalNames && c.getID() == this.getID()&& c.getType() == this.getType()&& c.getValue().equals(this.getValue());}

// Translation:
public bool EqualsContents(Object o){CustomProperty c = (CustomProperty)o;String name1 = c.Name;String name2 = this.Name;bool equalNames = true;if (name1 == null)equalNames = name2 == null;elseequalNames = name1.Equals(name2);return equalNames && c.ID == this.ID&& c.Type == this.Type&& c.Value.Equals(this.Value);}
// Original:
public DuplicateFormatFlagsException(String f) {if (f == null) {throw new NullPointerException();}flags = f;}

// Translation:
public DuplicateFormatFlagsException(string f){if (f == null){throw new System.ArgumentNullException();}flags = f;}
// Original:
public synchronized void mark(int readlimit) {marklimit = readlimit;markpos = pos;}

// Translation:
public override void mark(int readlimit){lock (this){marklimit = readlimit;markpos = pos;}}
// Original:
public final int prefixCompare(AnyObjectId other) {int cmp;cmp = NB.compareUInt32(w1, mask(1, other.w1));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w2, mask(2, other.w2));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w3, mask(3, other.w3));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w4, mask(4, other.w4));if (cmp != 0)return cmp;return NB.compareUInt32(w5, mask(5, other.w5));}

// Translation:
public int PrefixCompare(AnyObjectId other){int cmp;cmp = NB.CompareUInt32(w1, Mask(1, other.w1));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w2, Mask(2, other.w2));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w3, Mask(3, other.w3));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w4, Mask(4, other.w4));if (cmp != 0){return cmp;}return NB.CompareUInt32(w5, Mask(5, other.w5));}
// Original:
public UpdateRequestValidatorResult updateRequestValidator(UpdateRequestValidatorRequest request) {request = beforeClientExecution(request);return executeUpdateRequestValidator(request);}

// Translation:
public virtual UpdateRequestValidatorResponse UpdateRequestValidator(UpdateRequestValidatorRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRequestValidatorRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRequestValidatorResponseUnmarshaller.Instance;return Invoke<UpdateRequestValidatorResponse>(request, options);}
// Original:
public Extensions(char extensionFieldDelimiter) {this.extensionFieldDelimiter = extensionFieldDelimiter;}

// Translation:
public Extensions(char extensionFieldDelimiter){this.extensionFieldDelimiter = extensionFieldDelimiter;}
// Original:
public TokenStream create(TokenStream input) {return new EnglishMinimalStemFilter(input);}

// Translation:
public override TokenStream Create(TokenStream input){return new EnglishMinimalStemFilter(input);}
// Original:
public QueryText getPathElement(int index) {return values.get(index);}

// Translation:
public virtual QueryText GetPathElement(int index){return values[index];}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(_sid);out.writeShort(_data.length);out.write(_data);}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(_sid);out1.WriteShort(_data.Length);out1.Write(_data);}
// Original:
public void setQueryConfigHandler(QueryConfigHandler queryConfigHandler) {this.queryConfig = queryConfigHandler;for (QueryNodeProcessor processor : this.processors) {processor.setQueryConfigHandler(this.queryConfig);}}

// Translation:
public virtual void SetQueryConfigHandler(QueryConfigHandler queryConfigHandler){this.queryConfig = queryConfigHandler;foreach (IQueryNodeProcessor processor in this.processors){processor.SetQueryConfigHandler(this.queryConfig);}}
// Original:
public DeleteGameSessionQueueResult deleteGameSessionQueue(DeleteGameSessionQueueRequest request) {request = beforeClientExecution(request);return executeDeleteGameSessionQueue(request);}

// Translation:
public virtual DeleteGameSessionQueueResponse DeleteGameSessionQueue(DeleteGameSessionQueueRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteGameSessionQueueRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteGameSessionQueueResponseUnmarshaller.Instance;return Invoke<DeleteGameSessionQueueResponse>(request, options);}
// Original:
public List<DFAState> getStates() {List<DFAState> result = new ArrayList<DFAState>(states.keySet());Collections.sort(result, new Comparator<DFAState>() {@Override

// Translation:
public List<DFAState> GetStates(){List<DFAState> result = new List<DFAState>(states.Keys);result.Sort((x, y) => x.stateNumber - y.stateNumber);return result;}
// Original:
public static CmpOp getOperator(String value) {int len = value.length();if (len < 1) {return OP_NONE;}char firstChar = value.charAt(0);switch(firstChar) {case '=':return OP_EQ;case '>':if (len > 1) {switch(value.charAt(1)) {case '=':return OP_GE;}}return OP_GT;case '<':if (len > 1) {switch(value.charAt(1)) {case '=':return OP_LE;case '>':return OP_NE;}}return OP_LT;}return OP_NONE;}

// Translation:
public static CmpOp GetOperator(String value){int len = value.Length;if (len < 1){return OP_NONE;}char firstChar = value[0];switch (firstChar){case '=':return OP_EQ;case '>':if (len > 1){switch (value[1]){case '=':return OP_GE;}}return OP_GT;case '<':if (len > 1){switch (value[1]){case '=':return OP_LE;case '>':return OP_NE;}}return OP_LT;}return OP_NONE;}
// Original:
public void addChars( char[] characters, int[] widths ){for ( int i = 0; i < characters.length; i++ ){charWidths.put( Character.valueOf(characters[i]), Integer.valueOf(widths[i]));}}

// Translation:
public void AddChars(char[] Chars, int[] widths){for (int i = 0; i < Chars.Length; i++){if (Chars[i] != ' '){charWidths[Chars[i]] = widths[i];}}}
// Original:
public ShortBuffer duplicate() {return copy(this, mark);}

// Translation:
public override java.nio.ShortBuffer duplicate(){return copy(this, _mark);}
// Original:
public void setValidating(boolean validating) {features.put (XmlPullParser.FEATURE_VALIDATION, validating);}

// Translation:
public virtual void setValidating(bool validating){features.put(org.xmlpull.v1.XmlPullParserClass.FEATURE_VALIDATION, validating);}
// Original:
public DedicatedCapacityInner create(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters) {return createWithServiceResponseAsync(resourceGroupName, dedicatedCapacityName, capacityParameters).toBlocking().last().body();}

// Translation:
public async Task<AzureOperationResponse<DedicatedCapacity>> CreateWithHttpMessagesAsync(string resourceGroupName, string dedicatedCapacityName, DedicatedCapacity capacityParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)){return await innerCapacityOperations.CreateWithHttpMessagesAsync(resourceGroupName, dedicatedCapacityName, capacityParameters, customHeaders, cancellationToken).ConfigureAwait(false);}
// Original:
public CancelIngestionResult cancelIngestion(CancelIngestionRequest request) {request = beforeClientExecution(request);return executeCancelIngestion(request);}

// Translation:
public virtual CancelIngestionResponse CancelIngestion(CancelIngestionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelIngestionRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelIngestionResponseUnmarshaller.Instance;return Invoke<CancelIngestionResponse>(request, options);}
// Original:
public void setEncoding(String encodingName) {encoding = Charset.forName(encodingName);}

// Translation:
public virtual void SetEncoding(string encodingName){encoding = Sharpen.Extensions.GetEncoding(encodingName);}
// Original:
public DeleteTemplateAliasResult deleteTemplateAlias(DeleteTemplateAliasRequest request) {request = beforeClientExecution(request);return executeDeleteTemplateAlias(request);}

// Translation:
public virtual DeleteTemplateAliasResponse DeleteTemplateAlias(DeleteTemplateAliasRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTemplateAliasRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTemplateAliasResponseUnmarshaller.Instance;return Invoke<DeleteTemplateAliasResponse>(request, options);}
// Original:
public String resolveNameXText(int refIndex, int definedNameIndex, InternalWorkbook workbook) {int extBookIndex = _externSheetRecord.getExtbookIndexFromRefIndex(refIndex);int firstTabIndex = _externSheetRecord.getFirstSheetIndexFromRefIndex(refIndex);if (firstTabIndex == -1) {throw new RuntimeException("Referenced sheet could not be found");}ExternalBookBlock externalBook = _externalBookBlocks[extBookIndex];if (externalBook._externalNameRecords.length > definedNameIndex) {return _externalBookBlocks[extBookIndex].getNameText(definedNameIndex);} else if (firstTabIndex == -2) {NameRecord nr = getNameRecord(definedNameIndex);int sheetNumber = nr.getSheetNumber();StringBuilder text = new StringBuilder(64);if (sheetNumber > 0) {String sheetName = workbook.getSheetName(sheetNumber - 1);SheetNameFormatter.appendFormat(text, sheetName);text.append("!");}text.append(nr.getNameText());return text.toString();} else {throw new ArrayIndexOutOfBoundsException("Ext Book Index relative but beyond the supported length, was " +extBookIndex + " but maximum is " + _externalBookBlocks.length);}}

// Translation:
public String ResolveNameXText(int refIndex, int definedNameIndex, InternalWorkbook workbook){int extBookIndex = _externSheetRecord.GetExtbookIndexFromRefIndex(refIndex);int firstTabIndex = _externSheetRecord.GetFirstSheetIndexFromRefIndex(refIndex);if (firstTabIndex == -1){throw new RuntimeException("Referenced sheet could not be found");}ExternalBookBlock externalBook = _externalBookBlocks[extBookIndex];if (externalBook._externalNameRecords.Length > definedNameIndex){return _externalBookBlocks[extBookIndex].GetNameText(definedNameIndex);}else if (firstTabIndex == -2){NameRecord nr = GetNameRecord(definedNameIndex);int sheetNumber = nr.SheetNumber;StringBuilder text = new StringBuilder();if (sheetNumber > 0){String sheetName = workbook.GetSheetName(sheetNumber - 1);SheetNameFormatter.AppendFormat(text, sheetName);text.Append("!");}text.Append(nr.NameText);return text.ToString();}else{throw new IndexOutOfRangeException("Ext Book Index relative but beyond the supported length, was " +extBookIndex + " but maximum is " + _externalBookBlocks.Length);}}
// Original:
public InetAddress getRemoteAddress() {return peer;}

// Translation:
public virtual IPAddress GetRemoteAddress(){return peer;}
// Original:
public boolean equals(Object obj) {if (obj == this) {return true;}else if (!(obj instanceof LexerTypeAction)) {return false;}return type == ((LexerTypeAction)obj).type;}

// Translation:
public override bool Equals(object obj){if (obj == this){return true;}else{if (!(obj is Antlr4.Runtime.Atn.LexerTypeAction)){return false;}}return type == ((Antlr4.Runtime.Atn.LexerTypeAction)obj).type;}
// Original:
public RefValueArray(RefEval ref) {super(ref.getNumberOfSheets());_ref = ref;_width = ref.getNumberOfSheets();}

// Translation:
public RefValueArray(RefEval ref1): base(ref1.NumberOfSheets){_ref = ref1;_width = ref1.NumberOfSheets;}
// Original:
public static Git wrap(Repository repo) {return new Git(repo);}

// Translation:
public static NGit.Api.Git Wrap(Repository repo){return new NGit.Api.Git(repo);}
// Original:
public int get64BitNormalisedExponent() {return _binaryExponent + _significand.bitLength() - C_64;}

// Translation:
public int Get64BitNormalisedExponent(){return _binaryExponent + _significand.BitLength() - C_64;}
// Original:
public GetRepoWebhookRequest() {super("cr", "2016-06-07", "GetRepoWebhook", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/webhooks");setMethod(MethodType.GET);}

// Translation:
public GetRepoWebhookRequest(): base("cr", "2016-06-07", "GetRepoWebhook", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/webhooks";Method = MethodType.GET;}
// Original:
public Object merge(Object first, Object second) {List<T> outputList = new ArrayList<>();if (!(first instanceof List)) {outputList.add((T) first);} else {outputList.addAll((List<T>) first);}if (!(second instanceof List)) {outputList.add((T) second);} else {outputList.addAll((List<T>) second);}return outputList;}

// Translation:
public override object Merge(object first, object second){IList<T> outputList = new JCG.List<T>();if (!(first is IList<T> firstList)){outputList.Add((T)first);}else{foreach (T value in firstList){outputList.Add(value);}}if (!(second is IList<T> secondList)){outputList.Add((T)second);}else{foreach (T value in secondList){outputList.Add(value);}}return outputList;}
// Original:
public UpdateThreatIntelSetResult updateThreatIntelSet(UpdateThreatIntelSetRequest request) {request = beforeClientExecution(request);return executeUpdateThreatIntelSet(request);}

// Translation:
public virtual UpdateThreatIntelSetResponse UpdateThreatIntelSet(UpdateThreatIntelSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateThreatIntelSetRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateThreatIntelSetResponseUnmarshaller.Instance;return Invoke<UpdateThreatIntelSetResponse>(request, options);}
// Original:
public final float getFloat(int index) {return Float.intBitsToFloat(getInt(index));}

// Translation:
public sealed override float getFloat(int index){return Sharpen.Util.IntBitsToFloat(getInt(index));}
// Original:
public SortingFields(final Fields in, FieldInfos infos, Sorter.DocMap docMap) {super(in);this.docMap = docMap;this.infos = infos;}

// Translation:
public SortingFields(Fields input, FieldInfos infos, Sorter.DocMap docMap): base(input){this.docMap = docMap;this.infos = infos;}
// Original:
public static SupBookRecord createAddInFunctions() {return new SupBookRecord(true, (short)1 );}

// Translation:
public static SupBookRecord CreateAddInFunctions(){return new SupBookRecord(true, (short)1);}