yijunyu/c-to-rust huggingface dataset:
// Original:
public SynonymFilterFactory(Map<String,String> args) {super(args);ignoreCase = getBoolean(args, "ignoreCase", false);synonyms = require(args, "synonyms");format = get(args, "format");expand = getBoolean(args, "expand", true);analyzerName = get(args, "analyzer");tokenizerFactory = get(args, "tokenizerFactory");if (analyzerName != null && tokenizerFactory != null) {throw new IllegalArgumentException("Analyzer and TokenizerFactory can't be specified both: " +analyzerName + " and " + tokenizerFactory);}if (tokenizerFactory != null) {tokArgs.put("luceneMatchVersion", getLuceneMatchVersion().toString());for (Iterator<String> itr = args.keySet().iterator(); itr.hasNext();) {String key = itr.next();tokArgs.put(key.replaceAll("^tokenizerFactory\\.",""), args.get(key));itr.remove();}}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public SynonymFilterFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();#pragma warning disable 612, 618if (m_luceneMatchVersion.OnOrAfter(Lucene.Net.Util.LuceneVersion.LUCENE_34)){delegator = new FSTSynonymFilterFactory(new Dictionary<string, string>(OriginalArgs));}#pragma warning restore 612, 618else{if (args.TryGetValue("format", out string value) && !value.Equals("solr", StringComparison.Ordinal)){throw new System.ArgumentException("You must specify luceneMatchVersion >= 3.4 to use alternate synonyms formats");}#pragma warning disable 612, 618delegator = new SlowSynonymFilterFactory(new Dictionary<string, string>(OriginalArgs));#pragma warning restore 612, 618}}
// Original:
public void removePrintArea(int sheetIndex) {getWorkbook().removeBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex+1);}

// Translation:
public void RemovePrintArea(int sheetIndex){Workbook.RemoveBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex + 1);}
// Original:
public ModifyTrafficMirrorFilterNetworkServicesResult modifyTrafficMirrorFilterNetworkServices(ModifyTrafficMirrorFilterNetworkServicesRequest request) {request = beforeClientExecution(request);return executeModifyTrafficMirrorFilterNetworkServices(request);}

// Translation:
public virtual ModifyTrafficMirrorFilterNetworkServicesResponse ModifyTrafficMirrorFilterNetworkServices(ModifyTrafficMirrorFilterNetworkServicesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyTrafficMirrorFilterNetworkServicesRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyTrafficMirrorFilterNetworkServicesResponseUnmarshaller.Instance;return Invoke<ModifyTrafficMirrorFilterNetworkServicesResponse>(request, options);}
// Original:
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {if (args.length == 2) {return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0], args[1]);}return ErrorEval.VALUE_INVALID;}

// Translation:
public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length == 2){return Evaluate(ec.RowIndex, ec.ColumnIndex, args[0], args[1]);}return ErrorEval.VALUE_INVALID;}
// Original:
public DeltaRecord(double maxChange) {field_1_max_change = maxChange;}

// Translation:
public DeltaRecord(double maxChange){field_1_max_change = maxChange;}
// Original:
public UpdateDomainEntryResult updateDomainEntry(UpdateDomainEntryRequest request) {request = beforeClientExecution(request);return executeUpdateDomainEntry(request);}

// Translation:
public virtual UpdateDomainEntryResponse UpdateDomainEntry(UpdateDomainEntryRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainEntryRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainEntryResponseUnmarshaller.Instance;return Invoke<UpdateDomainEntryResponse>(request, options);}
// Original:
public SegmentCommitInfo clone() {SegmentCommitInfo other = new SegmentCommitInfo(info, delCount, softDelCount, delGen, fieldInfosGen, docValuesGen);other.nextWriteDelGen = nextWriteDelGen;other.nextWriteFieldInfosGen = nextWriteFieldInfosGen;other.nextWriteDocValuesGen = nextWriteDocValuesGen;for (Entry<Integer,Set<String>> e : dvUpdatesFiles.entrySet()) {other.dvUpdatesFiles.put(e.getKey(), new HashSet<>(e.getValue()));}other.fieldInfosFiles.addAll(fieldInfosFiles);return other;}

// Translation:
public virtual object Clone(){SegmentCommitInfo other = new SegmentCommitInfo(Info, delCount, delGen, fieldInfosGen);other.nextWriteDelGen = nextWriteDelGen;other.nextWriteFieldInfosGen = nextWriteFieldInfosGen;foreach (KeyValuePair<long, ISet<string>> e in genUpdatesFiles){other.genUpdatesFiles[e.Key] = new JCG.HashSet<string>(e.Value);}return other;}
// Original:
public String putAttribute(String key, String value) {HashMap<String, String> newMap = new HashMap<>(attributes);String oldValue = newMap.put(key, value);attributes = Collections.unmodifiableMap(newMap);return oldValue;}

// Translation:
public string PutAttribute(string key, string value){if (attributes == null){attributes = new Dictionary<string, string>();}return attributes[key] = value;}
// Original:
public void write(int oneChar) {buf.append((char) oneChar);}

// Translation:
public override void write(int oneChar){buf.append((char)oneChar);}
// Original:
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[WRITEPROTECT]\n");buffer.append("[/WRITEPROTECT]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[WritePROTECT]\n");buffer.Append("[/WritePROTECT]\n");return buffer.ToString();}
// Original:
public EvaluationSheet getSheet(int sheetIndex) {return new HSSFEvaluationSheet(_uBook.getSheetAt(sheetIndex));}

// Translation:
public IEvaluationSheet GetSheet(int sheetIndex){return new HSSFEvaluationSheet((HSSFSheet)_uBook.GetSheetAt(sheetIndex));}
// Original:
public void removeSlideCount() {remove1stProperty(PropertyIDMap.PID_SLIDECOUNT);}

// Translation:
public void RemoveSlideCount(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_SLIDECOUNT);}
// Original:
public DescribeFlowDefinitionResult describeFlowDefinition(DescribeFlowDefinitionRequest request) {request = beforeClientExecution(request);return executeDescribeFlowDefinition(request);}

// Translation:
public virtual DescribeFlowDefinitionResponse DescribeFlowDefinition(DescribeFlowDefinitionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFlowDefinitionRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFlowDefinitionResponseUnmarshaller.Instance;return Invoke<DescribeFlowDefinitionResponse>(request, options);}
// Original:
public void set(int index) {intSet.put(index);if (index > maxInt)maxInt = index;}

// Translation:
public virtual void Set(int index){intSet.Put(index);if (index > maxInt){maxInt = index;}}
// Original:
public boolean equals(Object other) {if (other == null) {return false;}if (other instanceof CharsRef) {return this.charsEquals((CharsRef) other);}return false;}

// Translation:
public override bool Equals(object other){if (other == null){return false;}if (other is CharsRef){return this.CharsEquals(((CharsRef)other));}return false;}
// Original:
public StopFilterFactory(Map<String,String> args) {super(args);stopWordFiles = get(args, "words");format = get(args, "format", (null == stopWordFiles ? null : FORMAT_WORDSET));ignoreCase = getBoolean(args, "ignoreCase", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public StopFilterFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();stopWordFiles = Get(args, "words");format = Get(args, "format", (null == stopWordFiles ? null : FORMAT_WORDSET));ignoreCase = GetBoolean(args, "ignoreCase", false);enablePositionIncrements = GetBoolean(args, "enablePositionIncrements", true);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public void addState(ATNState state) {if (state != null) {state.atn = this;state.stateNumber = states.size();}states.add(state);}

// Translation:
public virtual void AddState(ATNState state){if (state != null){state.atn = this;state.stateNumber = states.Count;}states.Add(state);}
// Original:
public String batchUrl() {return this.batchUrl;}

// Translation:
public string BatchUrl { get; set; }
// Original:
public ParseException generateParseException() {jj_expentries.clear();boolean[] la1tokens = new boolean[33];if (jj_kind >= 0) {la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 25; i++) {if (jj_la1[i] == jj_gen) {for (int j = 0; j < 32; j++) {if ((jj_la1_0[i] & (1<<j)) != 0) {la1tokens[j] = true;}if ((jj_la1_1[i] & (1<<j)) != 0) {la1tokens[32+j] = true;}}}}for (int i = 0; i < 33; i++) {if (la1tokens[i]) {jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.add(jj_expentry);}}jj_endpos = 0;jj_rescan_token();jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.size()][];for (int i = 0; i < jj_expentries.size(); i++) {exptokseq[i] = jj_expentries.get(i);}return new ParseException(token, exptokseq, tokenImage);}

// Translation:
public virtual ParseException GenerateParseException(){jj_expentries.Clear();bool[] la1tokens = new bool[33];if (jj_kind >= 0){la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 21; i++){if (jj_la1[i] == jj_gen){for (int j = 0; j < 32; j++){if ((jj_la1_0[i] & (1 << j)) != 0){la1tokens[j] = true;}if ((jj_la1_1[i] & (1 << j)) != 0){la1tokens[32 + j] = true;}}}}for (int i = 0; i < 33; i++){if (la1tokens[i]){jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.Add(jj_expentry);}}jj_endpos = 0;Jj_rescan_token();Jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.Count][];for (int i = 0; i < jj_expentries.Count; i++){exptokseq[i] = jj_expentries[i];}return new ParseException(Token, exptokseq, QueryParserConstants.TokenImage);}
// Original:
@Override public Iterator<K> iterator() {return new KeyIterator();}

// Translation:
public override java.util.Iterator<K> iterator(){return new java.util.Hashtable<K, V>.KeyIterator(this._enclosing);}
// Original:
public DoubleList() {_array = new double[8];_count = 0;}

// Translation:
public DoubleList(){_array = new double[8];_Count = 0;}
// Original:
public AddNoteCommand setMessage(String message) {checkCallable();this.message = message;return this;}

// Translation:
public virtual NGit.Api.AddNoteCommand SetMessage(string message){CheckCallable();this.message = message;return this;}
// Original:
public SerializationHandleMap() {this.size = 0;this.threshold = 21; int arraySize = (int) (((long) threshold * 10000) / LOAD_FACTOR);resizeArrays(arraySize);}

// Translation:
public SerializationHandleMap(){this.size = 0;this.threshold = 21;int arraySize = (int)(((long)threshold * 10000) / LOAD_FACTOR);resizeArrays(arraySize);}
// Original:
public PagedBytes(int blockBits) {assert blockBits > 0 && blockBits <= 31 : blockBits;this.blockSize = 1 << blockBits;this.blockBits = blockBits;blockMask = blockSize-1;upto = blockSize;bytesUsedPerBlock = RamUsageEstimator.alignObjectSize(blockSize + RamUsageEstimator.NUM_BYTES_ARRAY_HEADER);numBlocks = 0;}

// Translation:
public PagedBytes(int blockBits){Debug.Assert(blockBits > 0 && blockBits <= 31, blockBits.ToString());this.blockSize = 1 << blockBits;this.blockBits = blockBits;blockMask = blockSize - 1;upto = blockSize;bytesUsedPerBlock = blockSize + RamUsageEstimator.NUM_BYTES_ARRAY_HEADER + RamUsageEstimator.NUM_BYTES_OBJECT_REF;}
// Original:
public IncreaseReplicationFactorResult increaseReplicationFactor(IncreaseReplicationFactorRequest request) {request = beforeClientExecution(request);return executeIncreaseReplicationFactor(request);}

// Translation:
public virtual IncreaseReplicationFactorResponse IncreaseReplicationFactor(IncreaseReplicationFactorRequest request){var options = new InvokeOptions();options.RequestMarshaller = IncreaseReplicationFactorRequestMarshaller.Instance;options.ResponseUnmarshaller = IncreaseReplicationFactorResponseUnmarshaller.Instance;return Invoke<IncreaseReplicationFactorResponse>(request, options);}
// Original:
public UpdateRuntimeConfigurationResult updateRuntimeConfiguration(UpdateRuntimeConfigurationRequest request) {request = beforeClientExecution(request);return executeUpdateRuntimeConfiguration(request);}

// Translation:
public virtual UpdateRuntimeConfigurationResponse UpdateRuntimeConfiguration(UpdateRuntimeConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRuntimeConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRuntimeConfigurationResponseUnmarshaller.Instance;return Invoke<UpdateRuntimeConfigurationResponse>(request, options);}
// Original:
public char getChar(Map<String,String> args, String name, char defaultValue) {String s = args.remove(name);if (s == null) {return defaultValue;} else {if (s.length() != 1) {throw new IllegalArgumentException(name + " should be a char. \"" + s + "\" is invalid");} else {return s.charAt(0);}}}

// Translation:
public virtual char GetChar(IDictionary<string, string> args, string name, char defaultVal){string s;if (args.TryGetValue(name, out s)){args.Remove(name);if (s.Length != 1){throw new System.ArgumentException(name + " should be a char. \"" + s + "\" is invalid");}else{return s[0];}}return defaultVal;}
// Original:
public void notifyListeners(LexerNoViableAltException e) {String text = _input.getText(Interval.of(_tokenStartCharIndex, _input.index()));String msg = "token recognition error at: '"+ getErrorDisplay(text) + "'";ANTLRErrorListener listener = getErrorListenerDispatch();listener.syntaxError(this, null, _tokenStartLine, _tokenStartCharPositionInLine, msg, e);}

// Translation:
public virtual void NotifyListeners(LexerNoViableAltException e){string text = _input.GetText(Interval.Of(_tokenStartCharIndex, _input.Index));string msg = "token recognition error at: '" + GetErrorDisplay(text) + "'";IAntlrErrorListener<int> listener = ErrorListenerDispatch;listener.SyntaxError(ErrorOutput, this, 0, _tokenStartLine, _tokenStartColumn, msg, e);}
// Original:
public void writeLong(long v) {writeContinueIfRequired(8);_ulrOutput.writeLong(v);}

// Translation:
public void WriteLong(long v){_out.WriteLong(v);_size += 8;}
// Original:
public ChangeMessageVisibilityBatchRequest(String queueUrl, java.util.List<ChangeMessageVisibilityBatchRequestEntry> entries) {setQueueUrl(queueUrl);setEntries(entries);}

// Translation:
public ChangeMessageVisibilityBatchRequest(string queueUrl, List<ChangeMessageVisibilityBatchRequestEntry> entries){_queueUrl = queueUrl;_entries = entries;}
// Original:
public GetExportJobResult getExportJob(GetExportJobRequest request) {request = beforeClientExecution(request);return executeGetExportJob(request);}

// Translation:
public virtual GetExportJobResponse GetExportJob(GetExportJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetExportJobRequestMarshaller.Instance;options.ResponseUnmarshaller = GetExportJobResponseUnmarshaller.Instance;return Invoke<GetExportJobResponse>(request, options);}
// Original:
public AddRoleToDBInstanceResult addRoleToDBInstance(AddRoleToDBInstanceRequest request) {request = beforeClientExecution(request);return executeAddRoleToDBInstance(request);}

// Translation:
public virtual AddRoleToDBInstanceResponse AddRoleToDBInstance(AddRoleToDBInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddRoleToDBInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = AddRoleToDBInstanceResponseUnmarshaller.Instance;return Invoke<AddRoleToDBInstanceResponse>(request, options);}
// Original:
public DeregisterInstancesFromLoadBalancerResult deregisterInstancesFromLoadBalancer(DeregisterInstancesFromLoadBalancerRequest request) {request = beforeClientExecution(request);return executeDeregisterInstancesFromLoadBalancer(request);}

// Translation:
public virtual DeregisterInstancesFromLoadBalancerResponse DeregisterInstancesFromLoadBalancer(DeregisterInstancesFromLoadBalancerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeregisterInstancesFromLoadBalancerRequestMarshaller.Instance;options.ResponseUnmarshaller = DeregisterInstancesFromLoadBalancerResponseUnmarshaller.Instance;return Invoke<DeregisterInstancesFromLoadBalancerResponse>(request, options);}
// Original:
public synchronized StringBuffer insert(int index, char ch) {insert0(index, ch);return this;}

// Translation:
public java.lang.StringBuffer insert(int index, char ch){lock (this){insert0(index, ch);return this;}}
// Original:
public DownloadDBLogFilePortionResult downloadDBLogFilePortion(DownloadDBLogFilePortionRequest request) {request = beforeClientExecution(request);return executeDownloadDBLogFilePortion(request);}

// Translation:
public virtual DownloadDBLogFilePortionResponse DownloadDBLogFilePortion(DownloadDBLogFilePortionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DownloadDBLogFilePortionRequestMarshaller.Instance;options.ResponseUnmarshaller = DownloadDBLogFilePortionResponseUnmarshaller.Instance;return Invoke<DownloadDBLogFilePortionResponse>(request, options);}
// Original:
public GetStaticIpResult getStaticIp(GetStaticIpRequest request) {request = beforeClientExecution(request);return executeGetStaticIp(request);}

// Translation:
public virtual GetStaticIpResponse GetStaticIp(GetStaticIpRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetStaticIpRequestMarshaller.Instance;options.ResponseUnmarshaller = GetStaticIpResponseUnmarshaller.Instance;return Invoke<GetStaticIpResponse>(request, options);}
// Original:
public CreateUsagePlanResult createUsagePlan(CreateUsagePlanRequest request) {request = beforeClientExecution(request);return executeCreateUsagePlan(request);}

// Translation:
public virtual CreateUsagePlanResponse CreateUsagePlan(CreateUsagePlanRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateUsagePlanRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateUsagePlanResponseUnmarshaller.Instance;return Invoke<CreateUsagePlanResponse>(request, options);}
// Original:
public BlameResult call() throws GitAPIException {checkCallable();try (BlameGenerator gen = new BlameGenerator(repo, path)) {if (diffAlgorithm != null)gen.setDiffAlgorithm(diffAlgorithm);if (textComparator != null)gen.setTextComparator(textComparator);if (followFileRenames != null)gen.setFollowFileRenames(followFileRenames.booleanValue());if (reverseEndCommits != null)gen.reverse(startCommit, reverseEndCommits);else if (startCommit != null)gen.push(null, startCommit);else {gen.prepareHead();}return gen.computeBlameResult();} catch (IOException e) {throw new JGitInternalException(e.getMessage(), e);}}

// Translation:
public override BlameResult Call(){CheckCallable();BlameGenerator gen = new BlameGenerator(repo, path);try{if (diffAlgorithm != null){gen.SetDiffAlgorithm(diffAlgorithm);}if (textComparator != null){gen.SetTextComparator(textComparator);}if (followFileRenames != null){gen.SetFollowFileRenames(followFileRenames);}if (reverseEndCommits != null){gen.Reverse(startCommit, reverseEndCommits);}else{if (startCommit != null){gen.Push(null, startCommit);}else{gen.Push(null, repo.Resolve(Constants.HEAD));if (!repo.IsBare){DirCache dc = repo.ReadDirCache();int entry = dc.FindEntry(path);if (0 <= entry){gen.Push(null, dc.GetEntry(entry).GetObjectId());}FilePath inTree = new FilePath(repo.WorkTree, path);if (inTree.IsFile()){gen.Push(null, new RawText(inTree));}}}}return gen.ComputeBlameResult();}catch (IOException e){throw new JGitInternalException(e.Message, e);}finally{gen.Release();}}
// Original:
public SearchTransitGatewayMulticastGroupsResult searchTransitGatewayMulticastGroups(SearchTransitGatewayMulticastGroupsRequest request) {request = beforeClientExecution(request);return executeSearchTransitGatewayMulticastGroups(request);}

// Translation:
public virtual SearchTransitGatewayMulticastGroupsResponse SearchTransitGatewayMulticastGroups(SearchTransitGatewayMulticastGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchTransitGatewayMulticastGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchTransitGatewayMulticastGroupsResponseUnmarshaller.Instance;return Invoke<SearchTransitGatewayMulticastGroupsResponse>(request, options);}
// Original:
public LinearOffsetRange normaliseAndTranslate(int translationAmount) {if (_length > 0) {if(translationAmount == 0) {return this;}return new LinearOffsetRange(translationAmount + _offset, _length);}return new LinearOffsetRange(translationAmount + _offset + _length + 1, -_length);}

// Translation:
public LinearOffsetRange NormaliseAndTranslate(int translationAmount){if (_Length > 0){if (translationAmount == 0){return this;}return new LinearOffsetRange(translationAmount + _offset, _Length);}return new LinearOffsetRange(translationAmount + _offset + _Length + 1, -_Length);}
// Original:
public boolean isInvoke(char c) {return invokeMap[characterCategoryMap[c]];}

// Translation:
public bool IsInvoke(char c){return invokeMap[characterCategoryMap[c]];}
// Original:
public int getSize() {return size;}

// Translation:
public virtual int GetSize(){return size;}
// Original:
public int read() throws IOException {if (buf == null) {throw new IOException();}if (pos < buf.length) {return (buf[pos++] & 0xFF);}return in.read();}

// Translation:
public override int read(){if (buf == null){throw new System.IO.IOException();}if (pos < buf.Length){return (buf[pos++] & unchecked((int)(0xFF)));}return @in.read();}
// Original:
public int mark() {return 0;}

// Translation:
public virtual int Mark(){return 0;}
// Original:
public SearchPhotosRequest() {super("CloudPhoto", "2017-07-11", "SearchPhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

// Translation:
public SearchPhotosRequest(): base("CloudPhoto", "2017-07-11", "SearchPhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
// Original:
public void copyFrom(TermState other) {assert other instanceof OrdTermState : "can not copy from " + other.getClass().getName();this.ord = ((OrdTermState) other).ord;}

// Translation:
public override void CopyFrom(TermState other){Debug.Assert(other is OrdTermState, "can not copy from " + other.GetType().Name);this.Ord = ((OrdTermState)other).Ord;}
// Original:
public AnalyzeDocumentResult analyzeDocument(AnalyzeDocumentRequest request) {request = beforeClientExecution(request);return executeAnalyzeDocument(request);}

// Translation:
public virtual AnalyzeDocumentResponse AnalyzeDocument(AnalyzeDocumentRequest request){var options = new InvokeOptions();options.RequestMarshaller = AnalyzeDocumentRequestMarshaller.Instance;options.ResponseUnmarshaller = AnalyzeDocumentResponseUnmarshaller.Instance;return Invoke<AnalyzeDocumentResponse>(request, options);}
// Original:
public int calcExtSSTRecordSize() {return ExtSSTRecord.getRecordSizeForStrings(field_3_strings.size());}

// Translation:
public int CalcExtSSTRecordSize(){return ExtSSTRecord.GetRecordSizeForStrings(field_3_strings.Size);}
// Original:
public static FormulaShifter createForSheetShift(int srcSheetIndex, int dstSheetIndex) {return new FormulaShifter(srcSheetIndex, dstSheetIndex);}

// Translation:
public static FormulaShifter CreateForSheetShift(int srcSheetIndex, int dstSheetIndex){return new FormulaShifter(srcSheetIndex, dstSheetIndex);}
// Original:
public void setRule(int idx, ConditionalFormattingRule cfRule){setRule(idx, (HSSFConditionalFormattingRule)cfRule);}

// Translation:
public void SetRule(int idx, HSSFConditionalFormattingRule cfRule){cfAggregate.SetRule(idx, cfRule.CfRuleRecord);}