yijunyu/c-to-rust huggingface dataset:
// Original:
public String toString() {StringBuilder sb = new StringBuilder();sb.append(getClass().getName());sb.append(" [");String ws = String.valueOf(_wholePart);sb.append(ws.charAt(0));sb.append('.');sb.append(ws.substring(1));sb.append(' ');sb.append(getFractionalDigits());sb.append("E");sb.append(getDecimalExponent());sb.append("]");return sb.toString();}

// Translation:
public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append(this.GetType().Name);sb.Append(" [");String ws = _wholePart.ToString(CultureInfo.InvariantCulture);sb.Append(ws[0]);sb.Append('.');sb.Append(ws.Substring(1));sb.Append(' ');sb.Append(GetFractionalDigits());sb.Append("E");sb.Append(GetDecimalExponent());sb.Append("]");return sb.ToString();}
// Original:
public CreateCollectionResult createCollection(CreateCollectionRequest request) {request = beforeClientExecution(request);return executeCreateCollection(request);}

// Translation:
public virtual CreateCollectionResponse CreateCollection(CreateCollectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCollectionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCollectionResponseUnmarshaller.Instance;return Invoke<CreateCollectionResponse>(request, options);}
// Original:
public ChangeMessageVisibilityBatchResult changeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest request) {request = beforeClientExecution(request);return executeChangeMessageVisibilityBatch(request);}

// Translation:
public virtual ChangeMessageVisibilityBatchResponse ChangeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest request){var options = new InvokeOptions();options.RequestMarshaller = ChangeMessageVisibilityBatchRequestMarshaller.Instance;options.ResponseUnmarshaller = ChangeMessageVisibilityBatchResponseUnmarshaller.Instance;return Invoke<ChangeMessageVisibilityBatchResponse>(request, options);}
// Original:
public static int[] copyOfRange(int[] original, int start, int end) {if (start > end) {throw new IllegalArgumentException();}int originalLength = original.length;if (start < 0 || start > originalLength) {throw new ArrayIndexOutOfBoundsException();}int resultLength = end - start;int copyLength = Math.min(resultLength, originalLength - start);int[] result = new int[resultLength];System.arraycopy(original, start, result, 0, copyLength);return result;}

// Translation:
public static int[] copyOfRange(int[] original, int start, int end){if (start > end){throw new System.ArgumentException();}int originalLength = original.Length;if (start < 0 || start > originalLength){throw new System.IndexOutOfRangeException();}int resultLength = end - start;int copyLength = System.Math.Min(resultLength, originalLength - start);int[] result = new int[resultLength];System.Array.Copy(original, start, result, 0, copyLength);return result;}
// Original:
public static void setInstance(SshSessionFactory newFactory) {if (newFactory != null) {INSTANCE = newFactory;} else {INSTANCE = loadSshSessionFactory();}}

// Translation:
public static void SetInstance(SshSessionFactory newFactory){if (newFactory != null){INSTANCE = newFactory;}else{INSTANCE = new DefaultSshSessionFactory();}}
// Original:
public GetRepoSyncTaskListRequest() {super("cr", "2016-06-07", "GetRepoSyncTaskList", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/syncTasks");setMethod(MethodType.GET);}

// Translation:
public GetRepoSyncTaskListRequest(): base("cr", "2016-06-07", "GetRepoSyncTaskList", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/syncTasks";Method = MethodType.GET;}
// Original:
public RunInstancesRequest(String imageId, Integer minCount, Integer maxCount) {setImageId(imageId);setMinCount(minCount);setMaxCount(maxCount);}

// Translation:
public RunInstancesRequest(string imageId, int minCount, int maxCount){_imageId = imageId;_minCount = minCount;_maxCount = maxCount;}
// Original:
public DeleteCodeRepositoryResult deleteCodeRepository(DeleteCodeRepositoryRequest request) {request = beforeClientExecution(request);return executeDeleteCodeRepository(request);}

// Translation:
public virtual DeleteCodeRepositoryResponse DeleteCodeRepository(DeleteCodeRepositoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCodeRepositoryRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCodeRepositoryResponseUnmarshaller.Instance;return Invoke<DeleteCodeRepositoryResponse>(request, options);}
// Original:
public void fill(int fromIndex, int toIndex, long val) {assert fromIndex >= 0;assert fromIndex <= toIndex;assert PackedInts.unsignedBitsRequired(val) <= bitsPerValue;final int valuesPerBlock = 64 / bitsPerValue;if (toIndex - fromIndex <= valuesPerBlock << 1) {super.fill(fromIndex, toIndex, val);return;}int fromOffsetInBlock = fromIndex % valuesPerBlock;if (fromOffsetInBlock != 0) {for (int i = fromOffsetInBlock; i < valuesPerBlock; ++i) {set(fromIndex++, val);}assert fromIndex % valuesPerBlock == 0;}final int fromBlock = fromIndex / valuesPerBlock;final int toBlock = toIndex / valuesPerBlock;assert fromBlock * valuesPerBlock == fromIndex;long blockValue = 0L;for (int i = 0; i < valuesPerBlock; ++i) {blockValue = blockValue | (val << (i * bitsPerValue));}Arrays.fill(blocks, fromBlock, toBlock, blockValue);for (int i = valuesPerBlock * toBlock; i < toIndex; ++i) {set(i, val);}}

// Translation:
public override void Fill(int fromIndex, int toIndex, long val){Debug.Assert(fromIndex >= 0);Debug.Assert(fromIndex <= toIndex);Debug.Assert(PackedInt32s.BitsRequired(val) <= m_bitsPerValue);int valuesPerBlock = 64 / m_bitsPerValue;if (toIndex - fromIndex <= valuesPerBlock << 1){base.Fill(fromIndex, toIndex, val);return;}int fromOffsetInBlock = fromIndex % valuesPerBlock;if (fromOffsetInBlock != 0){for (int i = fromOffsetInBlock; i < valuesPerBlock; ++i){Set(fromIndex++, val);}Debug.Assert(fromIndex % valuesPerBlock == 0);}int fromBlock = fromIndex / valuesPerBlock;int toBlock = toIndex / valuesPerBlock;Debug.Assert(fromBlock * valuesPerBlock == fromIndex);long blockValue = 0L;for (int i = 0; i < valuesPerBlock; ++i){blockValue = blockValue | (val << (i * m_bitsPerValue));}Arrays.Fill(blocks, fromBlock, toBlock, blockValue);for (int i = valuesPerBlock * toBlock; i < toIndex; ++i){Set(i, val);}}
// Original:
public void close() {str = null;}

// Translation:
public override void close(){str = null;}
// Original:
public ListDomainNamesResult listDomainNames() {return listDomainNames(new ListDomainNamesRequest());}

// Translation:
public virtual ListDomainNamesResponse ListDomainNames(){return ListDomainNames(new ListDomainNamesRequest());}
// Original:
public AbortMultipartUploadRequest(String accountId, String vaultName, String uploadId) {setAccountId(accountId);setVaultName(vaultName);setUploadId(uploadId);}

// Translation:
public AbortMultipartUploadRequest(string accountId, string vaultName, string uploadId){_accountId = accountId;_vaultName = vaultName;_uploadId = uploadId;}
// Original:
public RevCommit getNewHead() {return newHead;}

// Translation:
public virtual RevCommit GetNewHead(){return newHead;}
// Original:
public long get(int index) {final int o = index >>> 5;final int b = index & 31;final int shift = b << 1;return (blocks[o] >>> shift) & 3L;}

// Translation:
public override long Get(int index){int o = (int)((uint)index >> 5);int b = index & 31;int shift = b << 1;return ((long)((ulong)blocks[o] >> shift)) & 3L;}
// Original:
public UpdateContainerInstancesStateResult updateContainerInstancesState(UpdateContainerInstancesStateRequest request) {request = beforeClientExecution(request);return executeUpdateContainerInstancesState(request);}

// Translation:
public virtual UpdateContainerInstancesStateResponse UpdateContainerInstancesState(UpdateContainerInstancesStateRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateContainerInstancesStateRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateContainerInstancesStateResponseUnmarshaller.Instance;return Invoke<UpdateContainerInstancesStateResponse>(request, options);}
// Original:
public GetExternalModelsResult getExternalModels(GetExternalModelsRequest request) {request = beforeClientExecution(request);return executeGetExternalModels(request);}

// Translation:
public virtual GetExternalModelsResponse GetExternalModels(GetExternalModelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetExternalModelsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetExternalModelsResponseUnmarshaller.Instance;return Invoke<GetExternalModelsResponse>(request, options);}
// Original:
public GetFaceDetectionResult getFaceDetection(GetFaceDetectionRequest request) {request = beforeClientExecution(request);return executeGetFaceDetection(request);}

// Translation:
public virtual GetFaceDetectionResponse GetFaceDetection(GetFaceDetectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFaceDetectionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFaceDetectionResponseUnmarshaller.Instance;return Invoke<GetFaceDetectionResponse>(request, options);}
// Original:
public void delete() {synchronized (SnapshotDeletionPolicy.this) {if (!refCounts.containsKey(cp.getGeneration())) {cp.delete();}}}

// Translation:
public override void Delete(){lock (outerInstance){if (!outerInstance.m_refCounts.ContainsKey(m_cp.Generation)){m_cp.Delete();}}}
// Original:
public void decode(long[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final long block = blocks[blocksOffset++];for (int shift = 56; shift >= 0; shift -= 8) {values[valuesOffset++] = (int) ((block >>> shift) & 255);}}}

// Translation:
public override void Decode(long[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){long block = blocks[blocksOffset++];for (int shift = 56; shift >= 0; shift -= 8){values[valuesOffset++] = (int)(((long)((ulong)block >> shift)) & 255);}}}
// Original:
public Iterator<E> descendingIterator() {return new ReverseLinkIterator<E>(this);}

// Translation:
public virtual java.util.Iterator<E> descendingIterator(){return new java.util.LinkedList<E>.ReverseLinkIterator<E>(this, this);}
// Original:
public CredentialsBackupCompatibilityAdaptor(AlibabaCloudCredentialsProvider provider) {this.provider = provider;}

// Translation:
public CredentialsBackupCompatibilityAdaptor(AlibabaCloudCredentialsProvider provider){this.provider = provider;}
// Original:
public DescribeDBClusterSnapshotsResult describeDBClusterSnapshots(DescribeDBClusterSnapshotsRequest request) {request = beforeClientExecution(request);return executeDescribeDBClusterSnapshots(request);}

// Translation:
public virtual DescribeDBClusterSnapshotsResponse DescribeDBClusterSnapshots(DescribeDBClusterSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBClusterSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBClusterSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeDBClusterSnapshotsResponse>(request, options);}
// Original:
public FontRecord getFontRecordAt(int idx) {int index = idx;if (index > 4) {index -= 1;   }if (index > (numfonts - 1)) {throw new ArrayIndexOutOfBoundsException("There are only " + numfonts + " font records, but you asked for index " + idx);}return ( FontRecord ) records.get((records.getFontpos() - (numfonts - 1)) + index);}

// Translation:
public FontRecord GetFontRecordAt(int idx){int index = idx;if (index > 4){index -= 1;   }if (index > (numfonts - 1)){throw new IndexOutOfRangeException("There are only " + numfonts+ " font records, you asked for " + idx);}FontRecord retval =(FontRecord)records[(records.Fontpos - (numfonts - 1) + index)];return retval;}
// Original:
public final ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex) {if (args.length != 2) {return ErrorEval.VALUE_INVALID;}return evaluate(srcRowIndex, srcColumnIndex, args[0], args[1]);}

// Translation:
public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex){if (args.Length != 2){return ErrorEval.VALUE_INVALID;}return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1]);}
// Original:
public DescribeCustomerGatewaysResult describeCustomerGateways() {return describeCustomerGateways(new DescribeCustomerGatewaysRequest());}

// Translation:
public virtual DescribeCustomerGatewaysResponse DescribeCustomerGateways(){return DescribeCustomerGateways(new DescribeCustomerGatewaysRequest());}
// Original:
public CreateSubnetRequest(String vpcId, String cidrBlock) {setVpcId(vpcId);setCidrBlock(cidrBlock);}

// Translation:
public CreateSubnetRequest(string vpcId, string cidrBlock){_vpcId = vpcId;_cidrBlock = cidrBlock;}
// Original:
public StempelStemmer(Trie stemmer) {this.stemmer = stemmer;}

// Translation:
public StempelStemmer(Trie stemmer){this.stemmer = stemmer;}
// Original:
public NLPNERTaggerOp(TokenNameFinderModel model) {this.nameFinder = new NameFinderME(model);}

// Translation:
public NLPNERTaggerOp(TokenNameFinderModel model){this.nameFinder = new NameFinderME(model);}
// Original:
public TreeFilter clone() {return new FollowFilter(path.clone(), cfg);}

// Translation:
public override TreeFilter Clone(){return new NGit.Revwalk.FollowFilter(((PathFilter)path.Clone()));}
// Original:
public QueryAddUserInfoRequest() {super("LinkFace", "2018-07-20", "QueryAddUserInfo");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

// Translation:
public QueryAddUserInfoRequest(): base("LinkFace", "2018-07-20", "QueryAddUserInfo"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
// Original:
public boolean include(TreeWalk walker) {DirCacheIterator i = walker.getTree(treeIdx, DirCacheIterator.class);if (i == null)return true;DirCacheEntry e = i.getDirCacheEntry();return e == null || !e.isSkipWorkTree();}

// Translation:
public override bool Include(TreeWalk walker){DirCacheIterator i = walker.GetTree<DirCacheIterator>(treeIdx);if (i == null){return true;}DirCacheEntry e = i.GetDirCacheEntry();return e == null || !e.IsSkipWorkTree;}
// Original:
public final CompareResult compareTo(ValueEval other) {if (other == null) {throw new RuntimeException("compare to value cannot be null");}if (_targetClass != other.getClass()) {return CompareResult.TYPE_MISMATCH;}return compareSameType(other);}

// Translation:
public CompareResult CompareTo(ValueEval other){if (other == null){throw new Exception("Compare to value cannot be null");}if (_targetType != other.GetType()){return CompareResult.TypeMismatch;}return CompareSameType(other);}
// Original:
public SegmentReadState(SegmentReadState other,String newSegmentSuffix) {this.directory = other.directory;this.segmentInfo = other.segmentInfo;this.fieldInfos = other.fieldInfos;this.context = other.context;this.segmentSuffix = newSegmentSuffix;}

// Translation:
public SegmentReadState(SegmentReadState other, string newSegmentSuffix){this.Directory = other.Directory;this.SegmentInfo = other.SegmentInfo;this.FieldInfos = other.FieldInfos;this.Context = other.Context;this.TermsIndexDivisor = other.TermsIndexDivisor;this.SegmentSuffix = newSegmentSuffix;}
// Original:
public void println(Object obj) {println(String.valueOf(obj));}

// Translation:
public virtual void println(object obj){println(Sharpen.StringHelper.GetValueOf(obj));}
// Original:
public DeleteModelResult deleteModel(DeleteModelRequest request) {request = beforeClientExecution(request);return executeDeleteModel(request);}

// Translation:
public virtual DeleteModelResponse DeleteModel(DeleteModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteModelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance;return Invoke<DeleteModelResponse>(request, options);}
// Original:
public void setFiles(Collection<String> files) {setFiles = new HashSet<>();addFiles(files);}

// Translation:
public void SetFiles(ISet<string> files){CheckFileNames(files);setFiles = files;}
// Original:
public void release() {lItr.release();}

// Translation:
public virtual void Release(){reader.Release();}
// Original:
public FloatBuffer asReadOnlyBuffer() {return duplicate();}

// Translation:
public override java.nio.FloatBuffer asReadOnlyBuffer(){return duplicate();}
// Original:
public int get(int key, int valueIfKeyNotFound) {int i = binarySearch(mKeys, 0, mSize, key);if (i < 0) {return valueIfKeyNotFound;} else {return mValues[i];}}

// Translation:
public virtual int get(int key, int valueIfKeyNotFound){int i = binarySearch(mKeys, 0, mSize, key);if (i < 0){return valueIfKeyNotFound;}else{return mValues[i];}}
// Original:
public CharBuffer get(char[] dst) {return get(dst, 0, dst.length);}

// Translation:
public virtual java.nio.CharBuffer get(char[] dst){return get(dst, 0, dst.Length);}
// Original:
public static String toHex(String value) {return (value == null || value.length() == 0)? "[]": toHex(value.getBytes(LocaleUtil.CHARSET_1252));}

// Translation:
public static string ToHex(byte value){return ToHex((long)value, 2);}
// Original:
public String resolveNameXText(NameXPtg n) {return _iBook.resolveNameXText(n.getSheetRefIndex(), n.getNameIndex());}

// Translation:
public String ResolveNameXText(NameXPtg n){return _iBook.ResolveNameXText(n.SheetRefIndex, n.NameIndex);}
// Original:
public String toString() {StringBuilder sb = new StringBuilder(64);sb.append(getClass().getName());sb.append(" [").append(_representation).append("]");return sb.toString();}

// Translation:
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(this.GetType().Name);sb.Append(" [").Append(_representation).Append("]");return sb.ToString();}
// Original:
public PutEmailIdentityMailFromAttributesResult putEmailIdentityMailFromAttributes(PutEmailIdentityMailFromAttributesRequest request) {request = beforeClientExecution(request);return executePutEmailIdentityMailFromAttributes(request);}

// Translation:
public virtual PutEmailIdentityMailFromAttributesResponse PutEmailIdentityMailFromAttributes(PutEmailIdentityMailFromAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutEmailIdentityMailFromAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = PutEmailIdentityMailFromAttributesResponseUnmarshaller.Instance;return Invoke<PutEmailIdentityMailFromAttributesResponse>(request, options);}
// Original:
public RemoveAlbumPhotosRequest() {super("CloudPhoto", "2017-07-11", "RemoveAlbumPhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

// Translation:
public RemoveAlbumPhotosRequest(): base("CloudPhoto", "2017-07-11", "RemoveAlbumPhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
// Original:
public DeleteAttributesResult deleteAttributes(DeleteAttributesRequest request) {request = beforeClientExecution(request);return executeDeleteAttributes(request);}

// Translation:
public virtual DeleteAttributesResponse DeleteAttributes(DeleteAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAttributesResponseUnmarshaller.Instance;return Invoke<DeleteAttributesResponse>(request, options);}
// Original:
public void disableRefLog() {destination.setRefLogMessage("", false); }

// Translation:
public virtual void DisableRefLog(){destination.SetRefLogMessage(string.Empty, false);}
// Original:
public TokenStream create(TokenStream input) {return new GermanLightStemFilter(input);}

// Translation:
public override TokenStream Create(TokenStream input){return new GermanLightStemFilter(input);}
// Original:
public E removeLast() {return removeLastImpl();}

// Translation:
public virtual E removeLast(){return removeLastImpl();}
// Original:
public UpdateDomainMetadataResult updateDomainMetadata(UpdateDomainMetadataRequest request) {request = beforeClientExecution(request);return executeUpdateDomainMetadata(request);}

// Translation:
public virtual UpdateDomainMetadataResponse UpdateDomainMetadata(UpdateDomainMetadataRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainMetadataRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainMetadataResponseUnmarshaller.Instance;return Invoke<UpdateDomainMetadataResponse>(request, options);}
// Original:
public short findNewDrawingGroupId() {return dgg.findNewDrawingGroupId();}

// Translation:
public short FindNewDrawingGroupId(){short dgId = 1;while (DrawingGroupExists(dgId))dgId++;return dgId;}
// Original:
public String toString() {return "FacetEntry{" +"value=" + value.utf8ToString() +", count=" + count +'}';}

// Translation:
public override string ToString(){return "FacetEntry{" +"value=" + value.Utf8ToString() +", count=" + count +'}';}
// Original:
public SharedFormulaRecord linkSharedFormulaRecord(CellReference firstCell, FormulaRecordAggregate agg) {SharedFormulaGroup result = findFormulaGroupForCell(firstCell);if(null == result) {throw new RuntimeException("Failed to find a matching shared formula record");}result.add(agg);return result.getSFR();}

// Translation:
public SharedFormulaRecord LinkSharedFormulaRecord(CellReference firstCell, FormulaRecordAggregate agg){SharedFormulaGroup result = FindFormulaGroupForCell(firstCell);if (null == result){throw new RuntimeException("Failed to find a matching shared formula record");}result.Add(agg);return result.SFR;}
// Original:
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeShort(field_1_label_index);out.writeShort(field_2_zero);}

// Translation:
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteShort(field_1_label_index);out1.WriteShort(field_2_zero);}
// Original:
public Appendable append(char c) {write(c);return this;}

// Translation:
public virtual OpenStringBuilder Append(string csq){return Append(csq, 0, csq.Length);}
// Original:
public static BigInteger factorial(int n) {if (n == 0 || n < 0) {return BigInteger.ONE;}if (cache.containsKey(n))  {return cache.get(n);}BigInteger result = BigInteger.valueOf(n).multiply(factorial(n - 2));cache.put(n, result);return result;}

// Translation:
public static BigInteger factorial(int n){if (n == 0 || n < 0){return BigInteger.One;}if (cache.ContainsKey(n)){return cache[(n)];}BigInteger result = BigInteger.ValueOf(n).Multiply(factorial(n - 2));cache.Add(n, result);return result;}
// Original:
public DelimitedPayloadTokenFilter create(TokenStream input) {return new DelimitedPayloadTokenFilter(input, delimiter, encoder);}

// Translation:
public override TokenStream Create(TokenStream input){return new DelimitedPayloadTokenFilter(input, delimiter, encoder);}
// Original:
public String toString() {return "NONE"; }

// Translation:
public override string ToString(){return "NONE";}
// Original:
public GetAlarmsResult getAlarms(GetAlarmsRequest request) {request = beforeClientExecution(request);return executeGetAlarms(request);}

// Translation:
public virtual GetAlarmsResponse GetAlarms(GetAlarmsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAlarmsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAlarmsResponseUnmarshaller.Instance;return Invoke<GetAlarmsResponse>(request, options);}
// Original:
public DeleteDetectorVersionResult deleteDetectorVersion(DeleteDetectorVersionRequest request) {request = beforeClientExecution(request);return executeDeleteDetectorVersion(request);}

// Translation:
public virtual DeleteDetectorVersionResponse DeleteDetectorVersion(DeleteDetectorVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDetectorVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDetectorVersionResponseUnmarshaller.Instance;return Invoke<DeleteDetectorVersionResponse>(request, options);}
// Original:
public ExpandedDouble createExpandedDouble() {return new ExpandedDouble(_significand, _binaryExponent);}

// Translation:
public ExpandedDouble CreateExpandedDouble(){return new ExpandedDouble(_significand, _binaryExponent);}