yijunyu/c-to-rust huggingface dataset:
// Original:
public boolean stem() {if (!r_more_than_one_syllable_word()){return false;}limit_backward = cursor;cursor = limit;int v_1 = limit - cursor;r_stem_nominal_verb_suffixes();cursor = limit - v_1;if (!(B_continue_stemming_noun_suffixes)){return false;}int v_2 = limit - cursor;r_stem_noun_suffixes();cursor = limit - v_2;cursor = limit_backward;if (!r_postlude()){return false;}return true;}

// Translation:
public override bool Stem(){int v_1;int v_2;if (!r_more_than_one_syllable_word()){return false;}m_limit_backward = m_cursor; m_cursor = m_limit;v_1 = m_limit - m_cursor;do{if (!r_stem_nominal_verb_suffixes()){goto lab0;}} while (false);lab0:m_cursor = m_limit - v_1;if (!(B_continue_stemming_noun_suffixes)){return false;}v_2 = m_limit - m_cursor;do{if (!r_stem_noun_suffixes()){goto lab1;}} while (false);lab1:m_cursor = m_limit - v_2;m_cursor = m_limit_backward;                    if (!r_postlude()){return false;}return true;}
// Original:
public ListShardsResult listShards(ListShardsRequest request) {request = beforeClientExecution(request);return executeListShards(request);}

// Translation:
public virtual ListShardsResponse ListShards(ListShardsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListShardsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListShardsResponseUnmarshaller.Instance;return Invoke<ListShardsResponse>(request, options);}
// Original:
public SearcherAndTaxonomy(IndexSearcher searcher, DirectoryTaxonomyReader taxonomyReader) {this.searcher = searcher;this.taxonomyReader = taxonomyReader;}

// Translation:
public SearcherAndTaxonomy(IndexSearcher searcher, DirectoryTaxonomyReader taxonomyReader){this.Searcher = searcher;this.TaxonomyReader = taxonomyReader;}
// Original:
public TreeFilter clone() {return this;}

// Translation:
public override TreeFilter Clone(){return this;}
// Original:
public void set(int index, long value) {final int o = index / 6;final int b = index % 6;final int shift = b * 10;blocks[o] = (blocks[o] & ~(1023L << shift)) | (value << shift);}

// Translation:
public override void Set(int index, long value){int o = index / 6;int b = index % 6;int shift = b * 10;blocks[o] = (blocks[o] & ~(1023L << shift)) | (value << shift);}
// Original:
public boolean add(String text) {return map.put(text, PLACEHOLDER) == null;}

// Translation:
public virtual bool Add(object o){return map.Put(o);}
// Original:
public Position get(int pos) {while(pos >= nextPos) {if (count == positions.length) {Position[] newPositions = new Position[ArrayUtil.oversize(1+count, RamUsageEstimator.NUM_BYTES_OBJECT_REF)];System.arraycopy(positions, nextWrite, newPositions, 0, positions.length-nextWrite);System.arraycopy(positions, 0, newPositions, positions.length-nextWrite, nextWrite);for(int i=positions.length;i<newPositions.length;i++) {newPositions[i] = new Position();}nextWrite = positions.length;positions = newPositions;}if (nextWrite == positions.length) {nextWrite = 0;}assert positions[nextWrite].count == 0;positions[nextWrite++].pos = nextPos++;count++;}assert inBounds(pos);final int index = getIndex(pos);assert positions[index].pos == pos;return positions[index];}

// Translation:
public Position Get(int pos){while (pos >= nextPos){if (count == positions.Length){Position[] newPositions = new Position[ArrayUtil.Oversize(1 + count, RamUsageEstimator.NUM_BYTES_OBJECT_REF)];System.Array.Copy(positions, nextWrite, newPositions, 0, positions.Length - nextWrite);System.Array.Copy(positions, 0, newPositions, positions.Length - nextWrite, nextWrite);for (int i = positions.Length; i < newPositions.Length; i++){newPositions[i] = new Position();}nextWrite = positions.Length;positions = newPositions;}if (nextWrite == positions.Length){nextWrite = 0;}Debug.Assert(positions[nextWrite].count == 0);positions[nextWrite++].pos = nextPos++;count++;}Debug.Assert(InBounds(pos));int index = GetIndex(pos);Debug.Assert(positions[index].pos == pos);return positions[index];}
// Original:
public synchronized void reset() {pos = 0;}

// Translation:
public override void reset(){lock (this){pos = 0;}}
// Original:
public void configure(FacetsConfig config) {for(int i=0;i<maxDims;i++) {config.setHierarchical(Integer.toString(i), true);config.setMultiValued(Integer.toString(i), true);}}

// Translation:
public override void Configure(FacetsConfig config){for (int i = 0; i < maxDims; i++){config.SetHierarchical(i.ToString(CultureInfo.InvariantCulture), true);config.SetMultiValued(i.ToString(CultureInfo.InvariantCulture), true);}}
// Original:
public boolean equals(Object obj) {if (obj == null)return false;if (obj == this)return true;if (obj.getClass() != getClass())return false;HSSFClientAnchor anchor = (HSSFClientAnchor) obj;return anchor.getCol1() == getCol1() && anchor.getCol2() == getCol2() && anchor.getDx1() == getDx1()&& anchor.getDx2() == getDx2() && anchor.getDy1() == getDy1() && anchor.getDy2() == getDy2()&& anchor.getRow1() == getRow1() && anchor.getRow2() == getRow2() && anchor.getAnchorType() == getAnchorType();}

// Translation:
public override bool Equals(Object obj){if (obj == null)return false;if (obj == this)return true;if (obj.GetType() != GetType())return false;HSSFClientAnchor anchor = (HSSFClientAnchor)obj;return anchor.Col1 == Col1 && anchor.Col2 == Col2 && anchor.Dx1 == Dx1&& anchor.Dx2 == Dx2 && anchor.Dy1 == Dy1 && anchor.Dy2 == Dy2&& anchor.Row1 == Row1 && anchor.Row2 == Row2 && anchor.AnchorType == AnchorType;}
// Original:
public Set<String> getMissing() {return Collections.unmodifiableSet(diff.getMissing());}

// Translation:
public virtual ICollection<string> GetMissing(){return Sharpen.Collections.UnmodifiableSet(diff.GetMissing());}
// Original:
public static IndexWriterConfig createWriterConfig(Config config, PerfRunData runData, OpenMode mode, IndexCommit commit) {IndexWriterConfig iwConf = new IndexWriterConfig(runData.getAnalyzer());iwConf.setOpenMode(mode);IndexDeletionPolicy indexDeletionPolicy = getIndexDeletionPolicy(config);iwConf.setIndexDeletionPolicy(indexDeletionPolicy);if (commit != null) {iwConf.setIndexCommit(commit);}final String mergeScheduler = config.get("merge.scheduler","org.apache.lucene.index.ConcurrentMergeScheduler");if (mergeScheduler.equals(NoMergeScheduler.class.getName())) {iwConf.setMergeScheduler(NoMergeScheduler.INSTANCE);} else {try {iwConf.setMergeScheduler(Class.forName(mergeScheduler).asSubclass(MergeScheduler.class).getConstructor().newInstance());} catch (Exception e) {

// Translation:
public static IndexWriterConfig CreateWriterConfig(Config config, PerfRunData runData, OpenMode mode, IndexCommit commit){LuceneVersion version = (LuceneVersion)Enum.Parse(typeof(LuceneVersion), config.Get("writer.version", LuceneVersion.LUCENE_48.ToString()));IndexWriterConfig iwConf = new IndexWriterConfig(version, runData.Analyzer);iwConf.OpenMode = mode;IndexDeletionPolicy indexDeletionPolicy = GetIndexDeletionPolicy(config);iwConf.IndexDeletionPolicy = indexDeletionPolicy;if (commit != null)iwConf.IndexCommit = commit;string mergeScheduler = config.Get("merge.scheduler","Lucene.Net.Index.ConcurrentMergeScheduler, Lucene.Net");#if !FEATURE_CONCURRENTMERGESCHEDULERif (mergeScheduler.Contains(".ConcurrentMergeScheduler,")){mergeScheduler = "Lucene.Net.Index.TaskMergeScheduler, Lucene.Net";}#endifType mergeSchedulerType = Type.GetType(mergeScheduler);if (mergeSchedulerType == null){throw new Exception("Unrecognized merge scheduler type '" + mergeScheduler + "'");}else if (mergeSchedulerType.Equals(typeof(NoMergeScheduler))){iwConf.MergeScheduler = NoMergeScheduler.INSTANCE;}else{try{iwConf.MergeScheduler = (IMergeScheduler)Activator.CreateInstance(mergeSchedulerType);}catch (Exception e){
// Original:
public GetCapacityReservationUsageResult getCapacityReservationUsage(GetCapacityReservationUsageRequest request) {request = beforeClientExecution(request);return executeGetCapacityReservationUsage(request);}

// Translation:
public virtual GetCapacityReservationUsageResponse GetCapacityReservationUsage(GetCapacityReservationUsageRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCapacityReservationUsageRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCapacityReservationUsageResponseUnmarshaller.Instance;return Invoke<GetCapacityReservationUsageResponse>(request, options);}
// Original:
public void addRule(HSSFConditionalFormattingRule cfRule) {cfAggregate.addRule(cfRule.getCfRuleRecord());}

// Translation:
public void AddRule(HSSFConditionalFormattingRule cfRule){cfAggregate.AddRule(cfRule.CfRuleRecord);}
// Original:
public DocState(boolean reuseFields, FieldType ft, FieldType bodyFt) {this.reuseFields = reuseFields;if (reuseFields) {fields =  new HashMap<>();numericFields = new HashMap<>();fields.put(BODY_FIELD, new Field(BODY_FIELD, "", bodyFt));fields.put(TITLE_FIELD, new Field(TITLE_FIELD, "", ft));fields.put(DATE_FIELD, new Field(DATE_FIELD, "", ft));fields.put(ID_FIELD, new StringField(ID_FIELD, "", Field.Store.YES));fields.put(NAME_FIELD, new Field(NAME_FIELD, "", ft));numericFields.put(DATE_MSEC_FIELD, new LongPoint(DATE_MSEC_FIELD, 0L));numericFields.put(TIME_SEC_FIELD, new IntPoint(TIME_SEC_FIELD, 0));doc = new Document();} else {numericFields = null;fields = null;doc = null;}}

// Translation:
public DocState(bool reuseFields, FieldType ft, FieldType bodyFt){this.reuseFields = reuseFields;if (reuseFields){fields = new Dictionary<string, Field>();numericFields = new Dictionary<string, Field>();fields[BODY_FIELD] = new Field(BODY_FIELD, "", bodyFt);fields[TITLE_FIELD] = new Field(TITLE_FIELD, "", ft);fields[DATE_FIELD] = new Field(DATE_FIELD, "", ft);fields[ID_FIELD] = new StringField(ID_FIELD, "", Field.Store.YES);fields[NAME_FIELD] = new Field(NAME_FIELD, "", ft);numericFields[DATE_MSEC_FIELD] = new Int64Field(DATE_MSEC_FIELD, 0L, Field.Store.NO);numericFields[TIME_SEC_FIELD] = new Int32Field(TIME_SEC_FIELD, 0, Field.Store.NO);doc = new Document();}else{numericFields = null;fields = null;doc = null;}}
// Original:
public char[] getValue() {return value;}

// Translation:
public virtual char[] GetValue(){return value;}
// Original:
public void updateNameCommentRecordCache(final NameCommentRecord commentRecord) {if(commentRecords.containsValue(commentRecord)) {for(Entry<String,NameCommentRecord> entry : commentRecords.entrySet()) {if(entry.getValue().equals(commentRecord)) {commentRecords.remove(entry.getKey());break;}}}commentRecords.put(commentRecord.getNameText(), commentRecord);}

// Translation:
public void UpdateNameCommentRecordCache(NameCommentRecord commentRecord){if (commentRecords.ContainsValue(commentRecord)){foreach (KeyValuePair<string, NameCommentRecord> entry in commentRecords){if (entry.Value.Equals(commentRecord)){commentRecords.Remove(entry.Key);break;}}}commentRecords[commentRecord.NameText] = commentRecord;}
// Original:
public CompleteMultipartUploadRequest(String vaultName, String uploadId, String archiveSize, String checksum) {setVaultName(vaultName);setUploadId(uploadId);setArchiveSize(archiveSize);setChecksum(checksum);}

// Translation:
public CompleteMultipartUploadRequest(string vaultName, string uploadId, string archiveSize, string checksum){_vaultName = vaultName;_uploadId = uploadId;_archiveSize = archiveSize;_checksum = checksum;}
// Original:
public Query getQuery(Element n) throws ParserException {QueryBuilder builder = builders.get(n.getNodeName());if (builder == null) {throw new ParserException("No QueryObjectBuilder defined for node " + n.getNodeName());}return builder.getQuery(n);}

// Translation:
public virtual Query GetQuery(XmlElement n){IQueryBuilder builder;if (!builders.TryGetValue(n.Name, out builder) || builder == null){throw new ParserException("No QueryObjectBuilder defined for node " + n.Name);}return builder.GetQuery(n);}
// Original:
public static double nper(double r, double y, double p, double f, boolean t) {double retval = 0;if (r == 0) {retval = -1 * (f + p) / y;} else {double r1 = r + 1;double ryr = (t ? r1 : 1) * y / r;double a1 = ((ryr - f) < 0)? Math.log(f - ryr): Math.log(ryr - f);double a2 = ((ryr - f) < 0)? Math.log(-p - ryr): Math.log(p + ryr);double a3 = Math.log(r1);retval = (a1 - a2) / a3;}return retval;}

// Translation:
public static double nper(double r, double y, double p, double f, bool t){double retval = 0;if (r == 0){retval = -1 * (f + p) / y;}else{double r1 = r + 1;double ryr = (t ? r1 : 1) * y / r;double a1 = ((ryr - f) < 0)? Math.Log(f - ryr): Math.Log(ryr - f);double a2 = ((ryr - f) < 0)? Math.Log(-p - ryr): Math.Log(p + ryr);double a3 = Math.Log(r1);retval = (a1 - a2) / a3;}return retval;}
// Original:
public AndQueryNode(List<QueryNode> clauses) {super(clauses);if ((clauses == null) || (clauses.size() == 0)) {throw new IllegalArgumentException("AND query must have at least one clause");}}

// Translation:
public AndQueryNode(IList<IQueryNode> clauses): base(clauses){if ((clauses == null) || (clauses.Count == 0)){throw new ArgumentException("AND query must have at least one clause");}}
// Original:
public SeriesListRecord(short[] seriesNumbers) {field_1_seriesNumbers = (seriesNumbers == null) ? null : seriesNumbers.clone();}

// Translation:
public SeriesListRecord(short[] seriesNumbers){field_1_seriesNumbers = seriesNumbers;}
// Original:
public String toString() {return value + ", " + begin + ", " + end;}

// Translation:
public override string ToString(){return value + ", " + begin + ", " + end;}
// Original:
public String toString() {return "<StandardQueryParser config=\"" + this.getQueryConfigHandler()+ "\"/>";}

// Translation:
public override string ToString(){return "<StandardQueryParser config=\"" + this.QueryConfigHandler+ "\"/>";}
// Original:
public DescribeActivitiesResult describeActivities(DescribeActivitiesRequest request) {request = beforeClientExecution(request);return executeDescribeActivities(request);}

// Translation:
public virtual DescribeActivitiesResponse DescribeActivities(DescribeActivitiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeActivitiesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeActivitiesResponseUnmarshaller.Instance;return Invoke<DescribeActivitiesResponse>(request, options);}
// Original:
public int writeTokenValueBytes(LittleEndianOutput out) {out.writeByte(_nColumns-1);out.writeShort(_nRows-1);ConstantValueParser.encode(out, _arrayValues);return 3 + ConstantValueParser.getEncodedSize(_arrayValues);}

// Translation:
public int WriteTokenValueBytes(ILittleEndianOutput out1){out1.WriteByte(_nColumns - 1);out1.WriteShort(_nRows - 1);ConstantValueParser.Encode(out1, _arrayValues);return 3 + ConstantValueParser.GetEncodedSize(_arrayValues);}
// Original:
public DescribeFleetMetadataResult describeFleetMetadata(DescribeFleetMetadataRequest request) {request = beforeClientExecution(request);return executeDescribeFleetMetadata(request);}

// Translation:
public virtual DescribeFleetMetadataResponse DescribeFleetMetadata(DescribeFleetMetadataRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFleetMetadataRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFleetMetadataResponseUnmarshaller.Instance;return Invoke<DescribeFleetMetadataResponse>(request, options);}
// Original:
public GlobalCluster modifyGlobalCluster(ModifyGlobalClusterRequest request) {request = beforeClientExecution(request);return executeModifyGlobalCluster(request);}

// Translation:
public virtual ModifyGlobalClusterResponse ModifyGlobalCluster(ModifyGlobalClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyGlobalClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyGlobalClusterResponseUnmarshaller.Instance;return Invoke<ModifyGlobalClusterResponse>(request, options);}
// Original:
public DescribeIdentityIdFormatResult describeIdentityIdFormat(DescribeIdentityIdFormatRequest request) {request = beforeClientExecution(request);return executeDescribeIdentityIdFormat(request);}

// Translation:
public virtual DescribeIdentityIdFormatResponse DescribeIdentityIdFormat(DescribeIdentityIdFormatRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIdentityIdFormatRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIdentityIdFormatResponseUnmarshaller.Instance;return Invoke<DescribeIdentityIdFormatResponse>(request, options);}
// Original:
public ListUserGroupsResult listUserGroups(ListUserGroupsRequest request) {request = beforeClientExecution(request);return executeListUserGroups(request);}

// Translation:
public virtual ListUserGroupsResponse ListUserGroups(ListUserGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListUserGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListUserGroupsResponseUnmarshaller.Instance;return Invoke<ListUserGroupsResponse>(request, options);}
// Original:
public RevertCommand include(String name, AnyObjectId commit) {return include(new ObjectIdRef.Unpeeled(Storage.LOOSE, name,commit.copy()));}

// Translation:
public virtual NGit.Api.RevertCommand Include(string name, AnyObjectId commit){return Include(new ObjectIdRef.Unpeeled(RefStorage.LOOSE, name, commit.Copy()));}
// Original:
public BeiderMorseFilter(TokenStream input, PhoneticEngine engine, LanguageSet languages) {super(input);this.engine = engine;this.languages = languages;}

// Translation:
public BeiderMorseFilter(TokenStream input, PhoneticEngine engine, LanguageSet languages): base(input){this.engine = engine;this.languages = languages;this.termAtt = AddAttribute<ICharTermAttribute>();this.posIncAtt = AddAttribute<IPositionIncrementAttribute>();}
// Original:
public ListUsersResult listUsers(ListUsersRequest request) {request = beforeClientExecution(request);return executeListUsers(request);}

// Translation:
public virtual ListUsersResponse ListUsers(ListUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance;return Invoke<ListUsersResponse>(request, options);}
// Original:
public PutUserPolicyRequest(String userName, String policyName, String policyDocument) {setUserName(userName);setPolicyName(policyName);setPolicyDocument(policyDocument);}

// Translation:
public PutUserPolicyRequest(string userName, string policyName, string policyDocument){_userName = userName;_policyName = policyName;_policyDocument = policyDocument;}
// Original:
public synchronized void trimToSize() {super.trimToSize();}

// Translation:
public override void trimToSize(){lock (this){base.trimToSize();}}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(getWindowing());}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(Windowing);}
// Original:
public AreaValueArray(TwoDEval ae) {super(ae.getWidth() * ae.getHeight());_ae = ae;_width = ae.getWidth();}

// Translation:
public AreaValueArray(TwoDEval ae): base(ae.Width * ae.Height){_ae = ae;_width = ae.Width;}
// Original:
public RegisterOnPremisesInstanceResult registerOnPremisesInstance(RegisterOnPremisesInstanceRequest request) {request = beforeClientExecution(request);return executeRegisterOnPremisesInstance(request);}

// Translation:
public virtual RegisterOnPremisesInstanceResponse RegisterOnPremisesInstance(RegisterOnPremisesInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterOnPremisesInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterOnPremisesInstanceResponseUnmarshaller.Instance;return Invoke<RegisterOnPremisesInstanceResponse>(request, options);}
// Original:
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[DATALABEXT]\n");buffer.append("    .rt      =").append(HexDump.shortToHex(rt)).append('\n');buffer.append("    .grbitFrt=").append(HexDump.shortToHex(grbitFrt)).append('\n');buffer.append("    .unused  =").append(HexDump.toHex(unused)).append('\n');buffer.append("[/DATALABEXT]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[DATALABEXT]\n");buffer.Append("    .rt      =").Append(HexDump.ShortToHex(rt)).Append('\n');buffer.Append("    .grbitFrt=").Append(HexDump.ShortToHex(grbitFrt)).Append('\n');buffer.Append("    .unused  =").Append(HexDump.ToHex(unused)).Append('\n');buffer.Append("[/DATALABEXT]\n");return buffer.ToString();}
// Original:
public LsRemoteCommand lsRemote() {return new LsRemoteCommand(repo);}

// Translation:
public virtual LsRemoteCommand LsRemote(){return new LsRemoteCommand(repo);}
// Original:
public boolean isMerged() {return getStage() == STAGE_0;}

// Translation:
public virtual bool IsMerged(){return Stage == STAGE_0;}
// Original:
public StopEntitiesDetectionJobResult stopEntitiesDetectionJob(StopEntitiesDetectionJobRequest request) {request = beforeClientExecution(request);return executeStopEntitiesDetectionJob(request);}

// Translation:
public virtual StopEntitiesDetectionJobResponse StopEntitiesDetectionJob(StopEntitiesDetectionJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopEntitiesDetectionJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StopEntitiesDetectionJobResponseUnmarshaller.Instance;return Invoke<StopEntitiesDetectionJobResponse>(request, options);}
// Original:
public final int arrayOffset() {return protectedArrayOffset();}

// Translation:
public sealed override int arrayOffset(){return protectedArrayOffset();}
// Original:
public SetVaultNotificationsRequest(String accountId, String vaultName, VaultNotificationConfig vaultNotificationConfig) {setAccountId(accountId);setVaultName(vaultName);setVaultNotificationConfig(vaultNotificationConfig);}

// Translation:
public SetVaultNotificationsRequest(string accountId, string vaultName, VaultNotificationConfig vaultNotificationConfig){_accountId = accountId;_vaultName = vaultName;_vaultNotificationConfig = vaultNotificationConfig;}
// Original:
public int addConditionalFormatting( ConditionalFormatting cf ) {return addConditionalFormatting((HSSFConditionalFormatting)cf);}

// Translation:
public int AddConditionalFormatting(IConditionalFormatting cf){CFRecordsAggregate cfraClone = ((HSSFConditionalFormatting)cf).CFRecordsAggregate.CloneCFAggregate();return _conditionalFormattingTable.Add(cfraClone);}
// Original:
public MemAreaPtg(LittleEndianInput in)  {field_1_reserved = in.readInt();field_2_subex_len = in.readShort();}

// Translation:
public MemAreaPtg(ILittleEndianInput in1){field_1_reserved = in1.ReadInt();field_2_subex_len = in1.ReadShort();}
// Original:
public DescribeScalingActivitiesResult describeScalingActivities() {return describeScalingActivities(new DescribeScalingActivitiesRequest());}

// Translation:
public virtual DescribeScalingActivitiesResponse DescribeScalingActivities(){return DescribeScalingActivities(new DescribeScalingActivitiesRequest());}
// Original:
public StopApplicationResult stopApplication(StopApplicationRequest request) {request = beforeClientExecution(request);return executeStopApplication(request);}

// Translation:
public virtual StopApplicationResponse StopApplication(StopApplicationRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopApplicationRequestMarshaller.Instance;options.ResponseUnmarshaller = StopApplicationResponseUnmarshaller.Instance;return Invoke<StopApplicationResponse>(request, options);}
// Original:
public void seekExact(long ord) throws IOException {throw new UnsupportedOperationException();}

// Translation:
public override void SeekExact(long ord){throw new NotSupportedException();}