yijunyu/c-to-rust huggingface dataset:
// Original:
public void dumpDrawingGroupRecords(boolean fat) {DrawingGroupRecord r = (DrawingGroupRecord) workbook.findFirstRecordBySid( DrawingGroupRecord.sid );if (r == null) {return;}r.decode();List<EscherRecord> escherRecords = r.getEscherRecords();PrintWriter w = new PrintWriter(new OutputStreamWriter(System.out, Charset.defaultCharset()));for (EscherRecord escherRecord : escherRecords) {if (fat) {System.out.println(escherRecord);} else {escherRecord.display(w, 0);}}w.flush();}

// Translation:
public void DumpDrawingGroupRecords(bool fat){DrawingGroupRecord r = (DrawingGroupRecord)workbook.FindFirstRecordBySid(DrawingGroupRecord.sid);r.Decode();IList escherRecords = r.EscherRecords;for (IEnumerator iterator = escherRecords.GetEnumerator(); iterator.MoveNext(); ){EscherRecord escherRecord = (EscherRecord)iterator.Current;if (fat)Console.WriteLine(escherRecord.ToString());elseescherRecord.Display(0);}}
// Original:
public int getLinesDeleted() {return nDeleted;}

// Translation:
public virtual int GetLinesDeleted(){return nDeleted;}
// Original:
public String toString() {StringBuilder sb = new StringBuilder(64);sb.append(getClass().getName()).append(" [");sb.append(_offset).append("...").append(getLastIndex());sb.append("]");return sb.toString();}

// Translation:
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(GetType().Name).Append(" [");sb.Append(_offset).Append("...").Append(LastIndex);sb.Append("]");return sb.ToString();}
// Original:
public int[] compact() {assert bytesStart != null : "bytesStart is null - not initialized";int upto = 0;for (int i = 0; i < hashSize; i++) {if (ids[i] != -1) {if (upto < i) {ids[upto] = ids[i];ids[i] = -1;}upto++;}}assert upto == count;lastCount = count;return ids;}

// Translation:
public int[] Compact(){Debug.Assert(bytesStart != null, "bytesStart is null - not initialized");int upto = 0;for (int i = 0; i < hashSize; i++){if (ids[i] != -1){if (upto < i){ids[upto] = ids[i];ids[i] = -1;}upto++;}}Debug.Assert(upto == count);lastCount = count;return ids;}
// Original:
public AccessKey(String userName, String accessKeyId, StatusType status, String secretAccessKey) {setUserName(userName);setAccessKeyId(accessKeyId);setStatus(status.toString());setSecretAccessKey(secretAccessKey);}

// Translation:
public AccessKey(string userName, string accessKeyId, StatusType status, string secretAccessKey){_userName = userName;_accessKeyId = accessKeyId;_status = status;_secretAccessKey = secretAccessKey;}
// Original:
public GetDomainResult getDomain(GetDomainRequest request) {request = beforeClientExecution(request);return executeGetDomain(request);}

// Translation:
public virtual GetDomainResponse GetDomain(GetDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainResponseUnmarshaller.Instance;return Invoke<GetDomainResponse>(request, options);}
// Original:
public ListTypeRegistrationsResult listTypeRegistrations(ListTypeRegistrationsRequest request) {request = beforeClientExecution(request);return executeListTypeRegistrations(request);}

// Translation:
public virtual ListTypeRegistrationsResponse ListTypeRegistrations(ListTypeRegistrationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTypeRegistrationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTypeRegistrationsResponseUnmarshaller.Instance;return Invoke<ListTypeRegistrationsResponse>(request, options);}
// Original:
public boolean isSymbolic() {return false;}

// Translation:
public virtual bool IsSymbolic(){return false;}
// Original:
public DeleteTableRequest(String tableName) {setTableName(tableName);}

// Translation:
public DeleteTableRequest(string tableName){_tableName = tableName;}
// Original:
public UpdateAccountSettingsResult updateAccountSettings(UpdateAccountSettingsRequest request) {request = beforeClientExecution(request);return executeUpdateAccountSettings(request);}

// Translation:
public virtual UpdateAccountSettingsResponse UpdateAccountSettings(UpdateAccountSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateAccountSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateAccountSettingsResponseUnmarshaller.Instance;return Invoke<UpdateAccountSettingsResponse>(request, options);}
// Original:
public SearcherTracker(IndexSearcher searcher) {this.searcher = searcher;version = ((DirectoryReader) searcher.getIndexReader()).getVersion();searcher.getIndexReader().incRef();recordTimeSec = System.nanoTime() / NANOS_PER_SEC;}

// Translation:
public SearcherTracker(IndexSearcher searcher){Searcher = searcher;Version = ((DirectoryReader)searcher.IndexReader).Version;searcher.IndexReader.IncRef();RecordTimeSec = Time.NanoTime() / NANOS_PER_SEC;}
// Original:
public Principal(String accountId) {this("AWS", accountId);if (accountId == null) {throw new IllegalArgumentException("Null AWS account ID specified");}}

// Translation:
public Principal(string accountId): this(AWS_PROVIDER, accountId){if (accountId == null){throw new ArgumentNullException("accountId");}}
// Original:
public V setValue(V object) {V result = value;value = object;return result;}

// Translation:
public V setValue(V @object){V result = value;value = @object;return result;}
// Original:
public ListMomentPhotosRequest() {super("CloudPhoto", "2017-07-11", "ListMomentPhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

// Translation:
public ListMomentPhotosRequest(): base("CloudPhoto", "2017-07-11", "ListMomentPhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
// Original:
public boolean contains(Object o) {return map.containsKey(o);}

// Translation:
public virtual bool Contains(object o){return map.ContainsKey(o);}
// Original:
public LinearOffsetRange(int offset, int length) {if(length == 0) {throw new RuntimeException("length may not be zero");}_offset = offset;_length = length;}

// Translation:
public LinearOffsetRange(int offset, int length){if (length == 0){throw new ArgumentException("Length may not be zero");}_offset = offset;_Length = length;}
// Original:
public ListPipelinesResult listPipelines() {return listPipelines(new ListPipelinesRequest());}

// Translation:
public virtual ListPipelinesResponse ListPipelines(){return ListPipelines(new ListPipelinesRequest());}
// Original:
public static boolean indexExists(Directory directory) throws IOException {String[] files = directory.listAll();String prefix = IndexFileNames.SEGMENTS + "_";for(String file : files) {if (file.startsWith(prefix)) {return true;}}return false;}

// Translation:
public static bool IndexExists(Directory directory){string[] files;try{files = directory.ListAll();}#pragma warning disable 168catch (DirectoryNotFoundException nsde)#pragma warning restore 168{return false;}if (files != null){string prefix = IndexFileNames.SEGMENTS + "_";foreach (string file in files){if (file.StartsWith(prefix, StringComparison.Ordinal) || file.Equals(IndexFileNames.SEGMENTS_GEN, StringComparison.Ordinal)){return true;}}}return false;}
// Original:
public DisassociateFromMasterAccountResult disassociateFromMasterAccount(DisassociateFromMasterAccountRequest request) {request = beforeClientExecution(request);return executeDisassociateFromMasterAccount(request);}

// Translation:
public virtual DisassociateFromMasterAccountResponse DisassociateFromMasterAccount(DisassociateFromMasterAccountRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateFromMasterAccountRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateFromMasterAccountResponseUnmarshaller.Instance;return Invoke<DisassociateFromMasterAccountResponse>(request, options);}
// Original:
public GetVoiceTemplateResult getVoiceTemplate(GetVoiceTemplateRequest request) {request = beforeClientExecution(request);return executeGetVoiceTemplate(request);}

// Translation:
public virtual GetVoiceTemplateResponse GetVoiceTemplate(GetVoiceTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceTemplateResponseUnmarshaller.Instance;return Invoke<GetVoiceTemplateResponse>(request, options);}
// Original:
public long ramBytesUsed() {return RamUsageEstimator.sizeOf(filter.getBits());}

// Translation:
public virtual long RamBytesUsed(){return RamUsageEstimator.SizeOf(_filter.GetBits());}
// Original:
public RejectInvitationResult rejectInvitation(RejectInvitationRequest request) {request = beforeClientExecution(request);return executeRejectInvitation(request);}

// Translation:
public virtual RejectInvitationResponse RejectInvitation(RejectInvitationRequest request){var options = new InvokeOptions();options.RequestMarshaller = RejectInvitationRequestMarshaller.Instance;options.ResponseUnmarshaller = RejectInvitationResponseUnmarshaller.Instance;return Invoke<RejectInvitationResponse>(request, options);}
// Original:
public RejectQualificationRequestResult rejectQualificationRequest(RejectQualificationRequestRequest request) {request = beforeClientExecution(request);return executeRejectQualificationRequest(request);}

// Translation:
public virtual RejectQualificationRequestResponse RejectQualificationRequest(RejectQualificationRequestRequest request){var options = new InvokeOptions();options.RequestMarshaller = RejectQualificationRequestRequestMarshaller.Instance;options.ResponseUnmarshaller = RejectQualificationRequestResponseUnmarshaller.Instance;return Invoke<RejectQualificationRequestResponse>(request, options);}
// Original:
public final long[] array() {return protectedArray();}

// Translation:
public sealed override object array(){return protectedArray();}
// Original:
public void writeChars(String value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeChars(value);}

// Translation:
public virtual void writeChars(string value){throw new System.NotImplementedException();}
// Original:
public void finish(FieldInfos fis, int numDocs) throws IOException {if (numDocsWritten != numDocs) {throw new RuntimeException("mergeVectors produced an invalid result: mergedDocs is " + numDocs + " but vec numDocs is " + numDocsWritten + " file=" + out.toString() + "; now aborting this merge to prevent index corruption");}write(END);newLine();SimpleTextUtil.writeChecksum(out, scratch);}

// Translation:
public override void Finish(FieldInfos fis, int numDocs){if (_numDocsWritten != numDocs){throw new Exception("mergeVectors produced an invalid result: mergedDocs is " + numDocs +" but vec numDocs is " + _numDocsWritten + " file=" + _output +"; now aborting this merge to prevent index corruption");}Write(END);NewLine();SimpleTextUtil.WriteChecksum(_output, _scratch);}
// Original:
public void readBytes(byte[] b, int offset, int len) throws IOException {while (len > 0) {final int cnt = is.read(b, offset, len);if (cnt < 0) {throw new EOFException();}len -= cnt;offset += cnt;}}

// Translation:
public override void ReadBytes(byte[] b, int offset, int len){while (len > 0){int cnt = _reader.Read(b, offset, len);if (cnt < 0){throw new EndOfStreamException();}len -= cnt;offset += cnt;}}
// Original:
public long ramBytesUsed() {long ramBytesUsed = BASE_RAM_BYTES_USED;ramBytesUsed += fields.size() * 2L * RamUsageEstimator.NUM_BYTES_OBJECT_REF;ramBytesUsed += formats.size() * 2L * RamUsageEstimator.NUM_BYTES_OBJECT_REF;for(Map.Entry<String,FieldsProducer> entry: formats.entrySet()) {ramBytesUsed += entry.getValue().ramBytesUsed();}return ramBytesUsed;}

// Translation:
public override long RamBytesUsed(){long sizeInBytes = 0;foreach (KeyValuePair<string, FieldsProducer> entry in formats){sizeInBytes += entry.Key.Length * RamUsageEstimator.NUM_BYTES_CHAR;sizeInBytes += entry.Value.RamBytesUsed();}return sizeInBytes;}
// Original:
public boolean equals(Object obj) {if (this == obj) return true;if (null == obj || getClass() != obj.getClass()) return false;JaroWinklerDistance o = (JaroWinklerDistance)obj;return (Float.floatToIntBits(o.threshold)== Float.floatToIntBits(this.threshold));}

// Translation:
public override bool Equals(object obj){if (this == obj){return true;}if (null == obj || this.GetType() != obj.GetType()){return false;}JaroWinklerDistance o = (JaroWinklerDistance)obj;return (J2N.BitConversion.SingleToInt32Bits(o.threshold) == J2N.BitConversion.SingleToInt32Bits(this.threshold));}
// Original:
public BatchRefUpdate addCommand(ReceiveCommand... cmd) {return addCommand(Arrays.asList(cmd));}

// Translation:
public virtual NGit.BatchRefUpdate AddCommand(ReceiveCommand cmd){commands.AddItem(cmd);return this;}
// Original:
public ArrayPredictionContext(SingletonPredictionContext a) {this(new PredictionContext[] {a.parent}, new int[] {a.returnState});}

// Translation:
public ArrayPredictionContext(SingletonPredictionContext a): this(new PredictionContext[] { a.parent }
// Original:
public void write(byte[] buf, int off, int len) throws IOException {try {beginWrite();dst.write(buf, off, len);} catch (InterruptedIOException e) {throw writeTimedOut(e);} finally {endWrite();}}

// Translation:
public override void Write(byte[] buf, int off, int len){try{BeginWrite();dst.Write(buf, off, len);}catch (ThreadInterruptedException){throw WriteTimedOut();}finally{EndWrite();}}
// Original:
public DeregisterGameServerResult deregisterGameServer(DeregisterGameServerRequest request) {request = beforeClientExecution(request);return executeDeregisterGameServer(request);}

// Translation:
public virtual DeregisterGameServerResponse DeregisterGameServer(DeregisterGameServerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeregisterGameServerRequestMarshaller.Instance;options.ResponseUnmarshaller = DeregisterGameServerResponseUnmarshaller.Instance;return Invoke<DeregisterGameServerResponse>(request, options);}
// Original:
public void write(byte[] b) {try {super.write(b);} catch (IOException e) {throw new RuntimeException(e);}}

// Translation:
public void Write(byte[] b){try{out1.Write(b, 0, b.Length);}catch (IOException e){throw new RuntimeException(e);}}
// Original:
public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol) {return symbol >= from && symbol <= to;}

// Translation:
public override bool Matches(int symbol, int minVocabSymbol, int maxVocabSymbol){return symbol >= from && symbol <= to;}
// Original:
public void finish(FieldInfos fis, int numDocs) throws IOException {if (numBufferedDocs > 0) {flush();numDirtyChunks++; } else {assert bufferedDocs.size() == 0;}if (docBase != numDocs) {throw new RuntimeException("Wrote " + docBase + " docs, finish called with numDocs=" + numDocs);}indexWriter.finish(numDocs, fieldsStream.getFilePointer());fieldsStream.writeVLong(numChunks);fieldsStream.writeVLong(numDirtyChunks);CodecUtil.writeFooter(fieldsStream);assert bufferedDocs.size() == 0;}

// Translation:
public override void Finish(FieldInfos fis, int numDocs){if (numBufferedDocs > 0){Flush();}else{Debug.Assert(bufferedDocs.Length == 0);}if (docBase != numDocs){throw new Exception("Wrote " + docBase + " docs, finish called with numDocs=" + numDocs);}indexWriter.Finish(numDocs, fieldsStream.GetFilePointer());CodecUtil.WriteFooter(fieldsStream);Debug.Assert(bufferedDocs.Length == 0);}
// Original:
public Iterator<String> iterator() {final Iterator<String> i = names.values().iterator();return new Iterator<String>() {@Override

// Translation:
public override Sharpen.Iterator<string> Iterator(){Sharpen.Iterator<string> i = names.Values.Iterator();return new _Iterator_276(i);}
// Original:
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[DEFAULTCOLWIDTH]\n");buffer.append("    .colwidth      = ").append(Integer.toHexString(getColWidth())).append("\n");buffer.append("[/DEFAULTCOLWIDTH]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[DEFAULTCOLWIDTH]\n");buffer.Append("    .colwidth      = ").Append(StringUtil.ToHexString(ColWidth)).Append("\n");buffer.Append("[/DEFAULTCOLWIDTH]\n");return buffer.ToString();}
// Original:
public DataValidityTable(RecordStream rs) {_headerRec = (DVALRecord) rs.getNext();List<DVRecord> temp = new ArrayList<>();while (rs.peekNextClass() == DVRecord.class) {temp.add((DVRecord) rs.getNext());}_validationList = temp;}

// Translation:
public DataValidityTable(RecordStream rs){_headerRec = (DVALRecord)rs.GetNext();IList temp = new ArrayList();while (rs.PeekNextClass() == typeof(DVRecord)){temp.Add(rs.GetNext());}_validationList = temp;}
// Original:
public DeleteRoomMembershipResult deleteRoomMembership(DeleteRoomMembershipRequest request) {request = beforeClientExecution(request);return executeDeleteRoomMembership(request);}

// Translation:
public virtual DeleteRoomMembershipResponse DeleteRoomMembership(DeleteRoomMembershipRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteRoomMembershipRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteRoomMembershipResponseUnmarshaller.Instance;return Invoke<DeleteRoomMembershipResponse>(request, options);}
// Original:
public QueryParserTokenManager(CharStream stream, int lexState){this(stream);SwitchTo(lexState);}

// Translation:
public QueryParserTokenManager(ICharStream stream, int lexState):this(stream){SwitchTo(lexState);}
// Original:
public RebootDBInstanceRequest(String dBInstanceIdentifier) {setDBInstanceIdentifier(dBInstanceIdentifier);}

// Translation:
public RebootDBInstanceRequest(string dbInstanceIdentifier){_dbInstanceIdentifier = dbInstanceIdentifier;}
// Original:
public CreateAutoScalingGroupResult createAutoScalingGroup(CreateAutoScalingGroupRequest request) {request = beforeClientExecution(request);return executeCreateAutoScalingGroup(request);}

// Translation:
public virtual CreateAutoScalingGroupResponse CreateAutoScalingGroup(CreateAutoScalingGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateAutoScalingGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateAutoScalingGroupResponseUnmarshaller.Instance;return Invoke<CreateAutoScalingGroupResponse>(request, options);}
// Original:
public K floorKey(K key) {Entry<K, V> entry = findBounded(key, FLOOR);return entry != null ? entry.getKey() : null;}

// Translation:
public K floorKey(K key){java.util.MapClass.Entry<K, V> entry = this.findBounded(key, java.util.TreeMap.Relation.FLOOR);return entry != null ? entry.getKey() : default(K);}
// Original:
public boolean include(RevWalk walker, RevCommit c) {return true;}

// Translation:
public override bool Include(RevWalk walker, RevCommit c){return true;}
// Original:
public boolean isValidating() {return getFeature (XmlPullParser.FEATURE_VALIDATION);}

// Translation:
public virtual bool isValidating(){return getFeature(org.xmlpull.v1.XmlPullParserClass.FEATURE_VALIDATION);}
// Original:
public synchronized void write(int oneByte) {if (out == null) {setError();return;}try {out.write(oneByte);int b = oneByte & 0xFF;boolean isNewline = b == 0x0A || b == 0x15;if (autoFlush && isNewline) {flush();}} catch (IOException e) {setError();}}

// Translation:
public override void write(int oneByte){lock (this){if (@out == null){setError();return;}try{@out.write(oneByte);int b = oneByte & unchecked((int)(0xFF));bool isNewline = b == unchecked((int)(0x0A)) || b == unchecked((int)(0x15));if (autoFlush && isNewline){flush();}}catch (System.IO.IOException){setError();}}}
// Original:
public UpdateScalingParametersResult updateScalingParameters(UpdateScalingParametersRequest request) {request = beforeClientExecution(request);return executeUpdateScalingParameters(request);}

// Translation:
public virtual UpdateScalingParametersResponse UpdateScalingParameters(UpdateScalingParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateScalingParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateScalingParametersResponseUnmarshaller.Instance;return Invoke<UpdateScalingParametersResponse>(request, options);}
// Original:
public ModifyDBClusterParameterGroupResult modifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request) {request = beforeClientExecution(request);return executeModifyDBClusterParameterGroup(request);}

// Translation:
public virtual ModifyDBClusterParameterGroupResponse ModifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyDBClusterParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance;return Invoke<ModifyDBClusterParameterGroupResponse>(request, options);}
// Original:
public GetOperationsForResourceResult getOperationsForResource(GetOperationsForResourceRequest request) {request = beforeClientExecution(request);return executeGetOperationsForResource(request);}

// Translation:
public virtual GetOperationsForResourceResponse GetOperationsForResource(GetOperationsForResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetOperationsForResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = GetOperationsForResourceResponseUnmarshaller.Instance;return Invoke<GetOperationsForResourceResponse>(request, options);}
// Original:
public NLPTokenizerOp(TokenizerModel model) {tokenizer = new TokenizerME(model);}

// Translation:
public NLPTokenizerOp(TokenizerModel model){tokenizer = new TokenizerME(model);}
// Original:
public StartImageScanRequest() {super("cr", "2016-06-07", "StartImageScan", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan");setMethod(MethodType.PUT);}

// Translation:
public StartImageScanRequest(): base("cr", "2016-06-07", "StartImageScan", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan";Method = MethodType.PUT;}
// Original:
public UpdateFleetResult updateFleet(UpdateFleetRequest request) {request = beforeClientExecution(request);return executeUpdateFleet(request);}

// Translation:
public virtual UpdateFleetResponse UpdateFleet(UpdateFleetRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance;return Invoke<UpdateFleetResponse>(request, options);}
// Original:
public Editable newEditable(CharSequence source) {return new CalculatorEditable(source, mLogic);}

// Translation:
public virtual android.text.Editable newEditable(java.lang.CharSequence source){return new android.text.SpannableStringBuilder(source);}
// Original:
public static TreeFilter createFromStrings(String... paths) {if (paths.length == 0)throw new IllegalArgumentException(JGitText.get().atLeastOnePathIsRequired);final int length = paths.length;final PathFilter[] p = new PathFilter[length];for (int i = 0; i < length; i++)p[i] = PathFilter.create(paths[i]);return create(p);}

// Translation:
public static TreeFilter CreateFromStrings(params string[] paths){if (paths.Length == 0){throw new ArgumentException(JGitText.Get().atLeastOnePathIsRequired);}int length = paths.Length;PathFilter[] p = new PathFilter[length];for (int i = 0; i < length; i++){p[i] = PathFilter.Create(paths[i]);}return Create(p);}
// Original:
public DescribeHostedConnectionsResult describeHostedConnections(DescribeHostedConnectionsRequest request) {request = beforeClientExecution(request);return executeDescribeHostedConnections(request);}

// Translation:
public virtual DescribeHostedConnectionsResponse DescribeHostedConnections(DescribeHostedConnectionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeHostedConnectionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeHostedConnectionsResponseUnmarshaller.Instance;return Invoke<DescribeHostedConnectionsResponse>(request, options);}