yijunyu/c-to-rust huggingface dataset:
// Original:
public ListLogPatternsResult listLogPatterns(ListLogPatternsRequest request) {request = beforeClientExecution(request);return executeListLogPatterns(request);}

// Translation:
public virtual ListLogPatternsResponse ListLogPatterns(ListLogPatternsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListLogPatternsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListLogPatternsResponseUnmarshaller.Instance;return Invoke<ListLogPatternsResponse>(request, options);}
// Original:
public BatchDeleteImageResult batchDeleteImage(BatchDeleteImageRequest request) {request = beforeClientExecution(request);return executeBatchDeleteImage(request);}

// Translation:
public virtual BatchDeleteImageResponse BatchDeleteImage(BatchDeleteImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeleteImageRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeleteImageResponseUnmarshaller.Instance;return Invoke<BatchDeleteImageResponse>(request, options);}
// Original:
public void seekExact(long ord) {throw new UnsupportedOperationException();}

// Translation:
public override void SeekExact(long ord){throw new NotSupportedException();}
// Original:
public RightMarginRecord( RecordInputStream in ) {field_1_margin = in.readDouble();}

// Translation:
public RightMarginRecord(RecordInputStream in1){field_1_margin = in1.ReadDouble();}
// Original:
public boolean isAutoDetecting() {return false;}

// Translation:
public virtual bool isAutoDetecting(){return false;}
// Original:
public RestorePhoneNumberResult restorePhoneNumber(RestorePhoneNumberRequest request) {request = beforeClientExecution(request);return executeRestorePhoneNumber(request);}

// Translation:
public virtual RestorePhoneNumberResponse RestorePhoneNumber(RestorePhoneNumberRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestorePhoneNumberRequestMarshaller.Instance;options.ResponseUnmarshaller = RestorePhoneNumberResponseUnmarshaller.Instance;return Invoke<RestorePhoneNumberResponse>(request, options);}
// Original:
public TestRenderTemplateResult testRenderTemplate(TestRenderTemplateRequest request) {request = beforeClientExecution(request);return executeTestRenderTemplate(request);}

// Translation:
public virtual TestRenderTemplateResponse TestRenderTemplate(TestRenderTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = TestRenderTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = TestRenderTemplateResponseUnmarshaller.Instance;return Invoke<TestRenderTemplateResponse>(request, options);}
// Original:
public RevTag lookupTag(AnyObjectId id) {RevTag c = (RevTag) objects.get(id);if (c == null) {c = new RevTag(id);objects.add(c);}return c;}

// Translation:
public virtual RevTag LookupTag(AnyObjectId id){RevTag c = (RevTag)objects.Get(id);if (c == null){c = new RevTag(id);objects.Add(c);}return c;}
// Original:
public Query getQuery(Element e) throws ParserException {String text = DOMUtils.getText(e);try {Query q = null;if (unSafeParser != null) {synchronized (unSafeParser) {q = unSafeParser.parse(text);}} else {String fieldName = DOMUtils.getAttribute(e, "fieldName", defaultField);QueryParser parser = createQueryParser(fieldName, analyzer);q = parser.parse(text);}float boost = DOMUtils.getAttribute(e, "boost", 1.0f);return new BoostQuery(q, boost);} catch (ParseException e1) {throw new ParserException(e1.getMessage());}}

// Translation:
public virtual Query GetQuery(XmlElement e){string text = DOMUtils.GetText(e);try{Query q = null;if (unSafeParser != null){lock (unSafeParser){q = unSafeParser.Parse(text);}}else{string fieldName = DOMUtils.GetAttribute(e, "fieldName", defaultField);QueryParser parser = CreateQueryParser(fieldName, analyzer);q = parser.Parse(text);}q.Boost = DOMUtils.GetAttribute(e, "boost", 1.0f);return q;}catch (ParseException e1){throw new ParserException(e1.Message);}}
// Original:
public CreateNetworkAclResult createNetworkAcl(CreateNetworkAclRequest request) {request = beforeClientExecution(request);return executeCreateNetworkAcl(request);}

// Translation:
public virtual CreateNetworkAclResponse CreateNetworkAcl(CreateNetworkAclRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateNetworkAclRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateNetworkAclResponseUnmarshaller.Instance;return Invoke<CreateNetworkAclResponse>(request, options);}
// Original:
public ThreeWayMerger newMerger(Repository db, boolean inCore) {return newMerger(db);}

// Translation:
public override Merger NewMerger(Repository db, bool inCore){return ((ThreeWayMerger)NewMerger(db));}
// Original:
public BufferedWriter(Writer out, int size) {super(out);if (size <= 0) {throw new IllegalArgumentException("size <= 0");}this.out = out;this.buf = new char[size];}

// Translation:
public BufferedWriter(java.io.Writer @out, int size) : base(@out){if (size <= 0){throw new System.ArgumentException("size <= 0");}this.@out = @out;this.buf = new char[size];}
// Original:
public ListConfigurationHistoryResult listConfigurationHistory(ListConfigurationHistoryRequest request) {request = beforeClientExecution(request);return executeListConfigurationHistory(request);}

// Translation:
public virtual ListConfigurationHistoryResponse ListConfigurationHistory(ListConfigurationHistoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListConfigurationHistoryRequestMarshaller.Instance;options.ResponseUnmarshaller = ListConfigurationHistoryResponseUnmarshaller.Instance;return Invoke<ListConfigurationHistoryResponse>(request, options);}
// Original:
public Request<GetChangeRequest> marshall(GetChangeRequest getChangeRequest) {if (getChangeRequest == null) {throw new SdkClientException("Invalid argument passed to marshall(...)");}Request<GetChangeRequest> request = new DefaultRequest<GetChangeRequest>(getChangeRequest, "AmazonRoute53");request.setHttpMethod(HttpMethodName.GET);String uriResourcePath = "/2013-04-01/change/{Id}";uriResourcePath = com.amazonaws.transform.PathMarshallers.NON_GREEDY.marshall(uriResourcePath, "Id", getChangeRequest.getId());request.setResourcePath(uriResourcePath);return request;}

// Translation:
public IRequest Marshall(GetChangeRequest publicRequest){var request = new DefaultRequest(publicRequest, "Amazon.Route53");request.HttpMethod = "GET";if (!publicRequest.IsSetId())throw new AmazonRoute53Exception("Request object does not have required field Id set");request.AddPathResource("{Id}", StringUtils.FromString(publicRequest.Id));request.ResourcePath = "/2013-04-01/change/{Id}";request.MarshallerVersion = 2;return request;}
// Original:
public byte[] getCachedBytes() throws LargeObjectException {throw new LargeObjectException(id);}

// Translation:
public override byte[] GetCachedBytes(){throw new LargeObjectException(id);}
// Original:
public ModifyInstanceCreditSpecificationResult modifyInstanceCreditSpecification(ModifyInstanceCreditSpecificationRequest request) {request = beforeClientExecution(request);return executeModifyInstanceCreditSpecification(request);}

// Translation:
public virtual ModifyInstanceCreditSpecificationResponse ModifyInstanceCreditSpecification(ModifyInstanceCreditSpecificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstanceCreditSpecificationRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstanceCreditSpecificationResponseUnmarshaller.Instance;return Invoke<ModifyInstanceCreditSpecificationResponse>(request, options);}
// Original:
public void add(RevCommit c) {Block b = head;if (b == null || !b.canUnpop()) {b = free.newBlock();b.resetToEnd();b.next = head;head = b;}b.unpop(c);}

// Translation:
public override void Add(RevCommit c){BlockRevQueue.Block b = head;if (b == null || !b.CanUnpop()){b = free.NewBlock();b.ResetToEnd();b.next = head;head = b;}b.Unpop(c);}
// Original:
public SpanTermQuery newSpanTermQuery(Term term) throws TooManyBasicQueries {checkMax();return new SpanTermQuery(term);}

// Translation:
public virtual SpanTermQuery NewSpanTermQuery(Term term){CheckMax();return new SpanTermQuery(term);}
// Original:
public StringWriter(int initialSize) {if (initialSize < 0) {throw new IllegalArgumentException();}buf = new StringBuffer(initialSize);lock = buf;}

// Translation:
public StringWriter(int initialSize){if (initialSize < 0){throw new System.ArgumentException();}buf = new java.lang.StringBuffer(initialSize);@lock = buf;}
// Original:
public String toString() {return super.toString() + "(\"" + patternText + "\")";}

// Translation:
public override string ToString(){return base.ToString() + "(\"" + patternText + "\")";}
// Original:
public ATNConfig precedenceTransition(ATNConfig config,PrecedencePredicateTransition pt,boolean collectPredicates,boolean inContext,boolean fullCtx){if ( debug ) {System.out.println("PRED (collectPredicates="+collectPredicates+") "+pt.precedence+">=_p"+", ctx dependent=true");if ( parser != null ) {System.out.println("context surrounding pred is "+parser.getRuleInvocationStack());}}ATNConfig c = null;if (collectPredicates && inContext) {if ( fullCtx ) {int currentPosition = _input.index();_input.seek(_startIndex);boolean predSucceeds = evalSemanticContext(pt.getPredicate(), _outerContext, config.alt, fullCtx);_input.seek(currentPosition);if ( predSucceeds ) {c = new ATNConfig(config, pt.target); }}else {SemanticContext newSemCtx =SemanticContext.and(config.semanticContext, pt.getPredicate());c = new ATNConfig(config, pt.target, newSemCtx);}}else {c = new ATNConfig(config, pt.target);}if ( debug ) System.out.println("config from pred transition="+c);return c;}

// Translation:
public ATNConfig PrecedenceTransition(ATNConfig config,PrecedencePredicateTransition pt,bool collectPredicates,bool inContext,bool fullCtx){if (debug){ConsoleWriteLine("PRED (collectPredicates=" + collectPredicates + ") " +pt.precedence + ">=_p" +", ctx dependent=true");if (parser != null){ConsoleWriteLine("context surrounding pred is " +parser.GetRuleInvocationStack());}}ATNConfig c = null;if (collectPredicates && inContext){if (fullCtx){int currentPosition = input.Index;input.Seek(startIndex);bool predSucceeds = EvalSemanticContext(pt.Predicate, context, config.alt, fullCtx);input.Seek(currentPosition);if (predSucceeds){c = new ATNConfig(config, pt.target); }}else {SemanticContext newSemCtx = SemanticContext.AndOp(config.semanticContext, pt.Predicate);c = new ATNConfig(config, pt.target, newSemCtx);}}else {c = new ATNConfig(config, pt.target);}if (debug) ConsoleWriteLine("config from pred transition=" + c);return c;}
// Original:
public GetDomainStatisticsReportResult getDomainStatisticsReport(GetDomainStatisticsReportRequest request) {request = beforeClientExecution(request);return executeGetDomainStatisticsReport(request);}

// Translation:
public virtual GetDomainStatisticsReportResponse GetDomainStatisticsReport(GetDomainStatisticsReportRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainStatisticsReportRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainStatisticsReportResponseUnmarshaller.Instance;return Invoke<GetDomainStatisticsReportResponse>(request, options);}
// Original:
public boolean equals(Object obj) {if (this == obj)return true;if (!super.equals(obj))return false;if (getClass() != obj.getClass())return false;TermRangeQuery other = (TermRangeQuery) obj;if (includeLower != other.includeLower)return false;if (includeUpper != other.includeUpper)return false;if (lowerTerm == null) {if (other.lowerTerm != null)return false;} else if (!lowerTerm.equals(other.lowerTerm))return false;if (upperTerm == null) {if (other.upperTerm != null)return false;} else if (!upperTerm.equals(other.upperTerm))return false;return true;}

// Translation:
public override bool Equals(object obj){if (this == obj){return true;}if (!base.Equals(obj)){return false;}if (this.GetType() != obj.GetType()){return false;}TermRangeQuery other = (TermRangeQuery)obj;if (includeLower != other.includeLower){return false;}if (includeUpper != other.includeUpper){return false;}if (lowerTerm == null){if (other.lowerTerm != null){return false;}}else if (!lowerTerm.Equals(other.lowerTerm)){return false;}if (upperTerm == null){if (other.upperTerm != null){return false;}}else if (!upperTerm.Equals(other.upperTerm)){return false;}return true;}
// Original:
public DescribeTransitGatewayRouteTablesResult describeTransitGatewayRouteTables(DescribeTransitGatewayRouteTablesRequest request) {request = beforeClientExecution(request);return executeDescribeTransitGatewayRouteTables(request);}

// Translation:
public virtual DescribeTransitGatewayRouteTablesResponse DescribeTransitGatewayRouteTables(DescribeTransitGatewayRouteTablesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTransitGatewayRouteTablesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTransitGatewayRouteTablesResponseUnmarshaller.Instance;return Invoke<DescribeTransitGatewayRouteTablesResponse>(request, options);}
// Original:
public BootstrapActionConfig build() {if (replace) {args.add("--replace");}return new BootstrapActionConfig().withName("Configure Daemons").withScriptBootstrapAction(new ScriptBootstrapActionConfig().withPath("s3:.withArgs(args));}

// Translation:
public BootstrapActionConfig Build(){if (replace){args.Add("--replace");}return new BootstrapActionConfig{Name = "Configure Daemons",ScriptBootstrapAction = new ScriptBootstrapActionConfig{Path = string.Format(CultureInfo.InvariantCulture, "s3:Args = args}};}
// Original:
public boolean isLegalReplacement(byte[] replacement) {if (decoder == null) {decoder = cs.newDecoder();decoder.onMalformedInput(CodingErrorAction.REPORT);decoder.onUnmappableCharacter(CodingErrorAction.REPORT);}ByteBuffer in = ByteBuffer.wrap(replacement);CharBuffer out = CharBuffer.allocate((int) (replacement.length * decoder.maxCharsPerByte()));CoderResult result = decoder.decode(in, out, true);return !result.isError();}

// Translation:
public virtual bool isLegalReplacement(byte[] replacement_1){if (decoder == null){decoder = cs.newDecoder();decoder.onMalformedInput(java.nio.charset.CodingErrorAction.REPORT);decoder.onUnmappableCharacter(java.nio.charset.CodingErrorAction.REPORT);}java.nio.ByteBuffer @in = java.nio.ByteBuffer.wrap(replacement_1);java.nio.CharBuffer @out = java.nio.CharBuffer.allocate((int)(replacement_1.Length* decoder.maxCharsPerByte()));java.nio.charset.CoderResult result = decoder.decode(@in, @out, true);return !result.isError();}
// Original:
public UpdatePipelineResult updatePipeline(UpdatePipelineRequest request) {request = beforeClientExecution(request);return executeUpdatePipeline(request);}

// Translation:
public virtual UpdatePipelineResponse UpdatePipeline(UpdatePipelineRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdatePipelineRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdatePipelineResponseUnmarshaller.Instance;return Invoke<UpdatePipelineResponse>(request, options);}
// Original:
public boolean isAboveMinRep() {int sc = _significand.bitLength() - C_64;return _significand.compareTo(BI_MIN_BASE.shiftLeft(sc)) > 0;}

// Translation:
public bool IsAboveMinRep(){int sc = _significand.BitLength() - C_64;return _significand.CompareTo(BI_MIN_BASE.ShiftLeft(sc)) > 0;}
// Original:
public AssociateContactWithAddressBookResult associateContactWithAddressBook(AssociateContactWithAddressBookRequest request) {request = beforeClientExecution(request);return executeAssociateContactWithAddressBook(request);}

// Translation:
public virtual AssociateContactWithAddressBookResponse AssociateContactWithAddressBook(AssociateContactWithAddressBookRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateContactWithAddressBookRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateContactWithAddressBookResponseUnmarshaller.Instance;return Invoke<AssociateContactWithAddressBookResponse>(request, options);}
// Original:
public DeleteFolderResult deleteFolder(DeleteFolderRequest request) {request = beforeClientExecution(request);return executeDeleteFolder(request);}

// Translation:
public virtual DeleteFolderResponse DeleteFolder(DeleteFolderRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFolderRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFolderResponseUnmarshaller.Instance;return Invoke<DeleteFolderResponse>(request, options);}
// Original:
public PhraseWildcardQuery build() {return new PhraseWildcardQuery(field, phraseTerms, slop, maxMultiTermExpansions, segmentOptimizationEnabled);}

// Translation:
public override WAH8DocIdSet Build(){if (this.wordNum != -1){AddWord(wordNum, (byte)word);}return base.Build();}
// Original:
public DescribeJobFlowsResult describeJobFlows() {return describeJobFlows(new DescribeJobFlowsRequest());}

// Translation:
public virtual DescribeJobFlowsResponse DescribeJobFlows(){return DescribeJobFlows(new DescribeJobFlowsRequest());}
// Original:
public float tf(float freq) {return baselineTf(freq);}

// Translation:
public override float Tf(float freq){return BaselineTf(freq);}
// Original:
public DescribePublishingDestinationResult describePublishingDestination(DescribePublishingDestinationRequest request) {request = beforeClientExecution(request);return executeDescribePublishingDestination(request);}

// Translation:
public virtual DescribePublishingDestinationResponse DescribePublishingDestination(DescribePublishingDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribePublishingDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribePublishingDestinationResponseUnmarshaller.Instance;return Invoke<DescribePublishingDestinationResponse>(request, options);}
// Original:
public int getLeftId(int wordId) {return LEFT_ID;}

// Translation:
public int GetLeftId(int wordId){return LEFT_ID;}
// Original:
public static NormalisedDecimal create(BigInteger frac, int binaryExponent) {int pow10;if (binaryExponent > 49 || binaryExponent < 46) {int x = (29 << 19) - binaryExponent * LOG_BASE_10_OF_2_TIMES_2_POW_20;x += C_2_POW_19; pow10 = -(x >> 20);} else {pow10 = 0;}MutableFPNumber cc = new MutableFPNumber(frac, binaryExponent);if (pow10 != 0) {cc.multiplyByPowerOfTen(-pow10);}switch (cc.get64BitNormalisedExponent()) {case 46:if (cc.isAboveMinRep()) {break;}case 44:case 45:cc.multiplyByPowerOfTen(1);pow10--;break;case 47:case 48:break;case 49:if (cc.isBelowMaxRep()) {break;}case 50:cc.multiplyByPowerOfTen(-1);pow10++;break;default:throw new IllegalStateException("Bad binary exp " + cc.get64BitNormalisedExponent() + ".");}cc.normalise64bit();return cc.createNormalisedDecimal(pow10);}

// Translation:
public static NormalisedDecimal Create(BigInteger frac, int binaryExponent){int pow10;if (binaryExponent > 49 || binaryExponent < 46){int x = (29 << 19) - binaryExponent * LOG_BASE_10_OF_2_TIMES_2_POW_20;x += C_2_POW_19; pow10 = -(x >> 20);}else{pow10 = 0;}MutableFPNumber cc = new MutableFPNumber(frac, binaryExponent);if (pow10 != 0){cc.multiplyByPowerOfTen(-pow10);}switch (cc.Get64BitNormalisedExponent()){case 46:if (cc.IsAboveMinRep()){break;}goto case 44;case 44:case 45:cc.multiplyByPowerOfTen(1);pow10--;break;case 47:case 48:break;case 49:if (cc.IsBelowMaxRep()){break;}goto case 50;case 50:cc.multiplyByPowerOfTen(-1);pow10++;break;default:throw new InvalidOperationException("Bad binary exp " + cc.Get64BitNormalisedExponent() + ".");}cc.Normalise64bit();return cc.CreateNormalisedDecimal(pow10);}
// Original:
public String toString() {return "DoubleRange(" + label + ": " + min + " to " + max + ")";}

// Translation:
public override string ToString(){return "DoubleRange(" + minIncl + " to " + maxIncl + ")";}
// Original:
public void setRefLogIdent(PersonIdent pi) {destination.setRefLogIdent(pi);}

// Translation:
public virtual void SetRefLogIdent(PersonIdent pi){destination.SetRefLogIdent(pi);}
// Original:
public final void yybegin(int newState) {zzLexicalState = newState;}

// Translation:
public void YyBegin(int newState){zzLexicalState = newState;}
// Original:
public Trie(boolean forward) {rows.add(new Row());root = 0;this.forward = forward;}

// Translation:
public Trie(bool forward){rows.Add(new Row());root = 0;this.forward = forward;}
// Original:
public DeleteTagsRequest(java.util.List<String> resources) {setResources(resources);}

// Translation:
public DeleteTagsRequest(List<string> resources){_resources = resources;}
// Original:
public ObjectProtectRecord clone() {return copy();}

// Translation:
public override Object Clone(){ObjectProtectRecord rec = new ObjectProtectRecord();rec.field_1_protect = field_1_protect;return rec;}
// Original:
public static FuncVarPtg create(String pName, int numArgs) {return create(numArgs, lookupIndex(pName));}

// Translation:
public static FuncVarPtg Create(String pName, int numArgs){return Create(numArgs, LookupIndex(pName));}
// Original:
public void clear() {this.processors.clear();}

// Translation:
public virtual void Clear(){this.processors.Clear();}
// Original:
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeDouble(getValue());}

// Translation:
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteDouble(Value);}
// Original:
public NullReader(int valueCount) {this.valueCount = valueCount;}

// Translation:
public NullReader(int valueCount){this.valueCount = valueCount;}
// Original:
public CreateVaultResult createVault(CreateVaultRequest request) {request = beforeClientExecution(request);return executeCreateVault(request);}

// Translation:
public virtual CreateVaultResponse CreateVault(CreateVaultRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVaultRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVaultResponseUnmarshaller.Instance;return Invoke<CreateVaultResponse>(request, options);}
// Original:
@Override public void add(int index, E object) {Object[] a = array;int s = size;if (index > s || index < 0) {throwIndexOutOfBoundsException(index, s);}if (s < a.length) {System.arraycopy(a, index, a, index + 1, s - index);} else {Object[] newArray = new Object[newCapacity(s)];System.arraycopy(a, 0, newArray, 0, index);System.arraycopy(a, index, newArray, index + 1, s - index);array = a = newArray;}a[index] = object;size = s + 1;modCount++;}

// Translation:
public override void add(int index, E @object){object[] a = array;int s = _size;if (index > s || index < 0){throwIndexOutOfBoundsException(index, s);}if (s < a.Length){System.Array.Copy(a, index, a, index + 1, s - index);}else{object[] newArray = new object[newCapacity(s)];System.Array.Copy(a, 0, newArray, 0, index);System.Array.Copy(a, index, newArray, index + 1, s - index);array = a = newArray;}a[index] = @object;_size = s + 1;modCount++;}
// Original:
public int read(char[] c, int off, int len) {if (left > len) {s.getChars(upto, upto+len, c, off);upto += len;left -= len;return len;} else if (0 == left) {return -1;} else {s.getChars(upto, upto+left, c, off);int r = left;left = 0;upto = s.length();return r;}}

// Translation:
public override int Read(char[] c, int off, int len){if (pos < size){len = Math.Min(len, size - pos);s.CopyTo(pos, c, off, pos + len - pos);pos += len;return len;}else{s = null;return -1;}}
// Original:
public DeleteDeploymentResult deleteDeployment(DeleteDeploymentRequest request) {request = beforeClientExecution(request);return executeDeleteDeployment(request);}

// Translation:
public virtual DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance;return Invoke<DeleteDeploymentResponse>(request, options);}
// Original:
public String toString() {return getClass().getSimpleName() + "(bitsPerValue=" + bitsPerValue+ ",size=" + size() + ",blocks=" + blocks.length + ")";}

// Translation:
public override string ToString(){return this.GetType().Name + "(bitsPerValue=" + m_bitsPerValue + ", size=" + Count + ", elements.length=" + blocks.Length + ")";}