yijunyu/c-to-rust huggingface dataset:
// Original:
public GetQueryResultsResult getQueryResults(GetQueryResultsRequest request) {request = beforeClientExecution(request);return executeGetQueryResults(request);}

// Translation:
public virtual GetQueryResultsResponse GetQueryResults(GetQueryResultsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetQueryResultsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetQueryResultsResponseUnmarshaller.Instance;return Invoke<GetQueryResultsResponse>(request, options);}
// Original:
public int[] lookupSegmentation(int phraseID) {return segmentations[phraseID];}

// Translation:
public int[] LookupSegmentation(int phraseID){return segmentations[phraseID];}
// Original:
public StartTextTranslationJobResult startTextTranslationJob(StartTextTranslationJobRequest request) {request = beforeClientExecution(request);return executeStartTextTranslationJob(request);}

// Translation:
public virtual StartTextTranslationJobResponse StartTextTranslationJob(StartTextTranslationJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartTextTranslationJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StartTextTranslationJobResponseUnmarshaller.Instance;return Invoke<StartTextTranslationJobResponse>(request, options);}
// Original:
public final ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {double val;try {ValueEval ve = OperandResolver.getSingleValue(arg0, srcRowIndex, srcColumnIndex);val = OperandResolver.coerceValueToDouble(ve);} catch (EvaluationException e) {return e.getErrorEval();}if (val < 0) {return ErrorEval.NUM_ERROR;}return new NumberEval(getCalField(val));}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){double val;try{ValueEval ve = OperandResolver.GetSingleValue(arg0, srcRowIndex, srcColumnIndex);val = OperandResolver.CoerceValueToDouble(ve);}catch (EvaluationException e){return e.GetErrorEval();}if (val < 0){return ErrorEval.NUM_ERROR;}return new NumberEval(GetCalField(val));}
// Original:
public GetAutoSnapshotsResult getAutoSnapshots(GetAutoSnapshotsRequest request) {request = beforeClientExecution(request);return executeGetAutoSnapshots(request);}

// Translation:
public virtual GetAutoSnapshotsResponse GetAutoSnapshots(GetAutoSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAutoSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAutoSnapshotsResponseUnmarshaller.Instance;return Invoke<GetAutoSnapshotsResponse>(request, options);}
// Original:
public RestoreDBInstanceToPointInTimeRequest(String sourceDBInstanceIdentifier, String targetDBInstanceIdentifier) {setSourceDBInstanceIdentifier(sourceDBInstanceIdentifier);setTargetDBInstanceIdentifier(targetDBInstanceIdentifier);}

// Translation:
public RestoreDBInstanceToPointInTimeRequest(string sourceDBInstanceIdentifier, string targetDBInstanceIdentifier){_sourceDBInstanceIdentifier = sourceDBInstanceIdentifier;_targetDBInstanceIdentifier = targetDBInstanceIdentifier;}
// Original:
public boolean isDryRun() {return dryRun;}

// Translation:
public virtual bool IsDryRun(){return dryRun;}
// Original:
public static boolean equals(Object[] array1, Object[] array2) {if (array1 == array2) {return true;}if (array1 == null || array2 == null || array1.length != array2.length) {return false;}for (int i = 0; i < array1.length; i++) {Object e1 = array1[i], e2 = array2[i];if (!(e1 == null ? e2 == null : e1.equals(e2))) {return false;}}return true;}

// Translation:
public static bool equals(object[] array1, object[] array2){if (array1 == array2){return true;}if (array1 == null || array2 == null || array1.Length != array2.Length){return false;}{for (int i = 0; i < array1.Length; i++){object e1 = array1[i];object e2 = array2[i];if (!(e1 == null ? e2 == null : e1.Equals(e2))){return false;}}}return true;}
// Original:
public boolean isSame(Formula other) {return Arrays.equals(_byteEncoding, other._byteEncoding);}

// Translation:
public bool IsSame(Formula other){return Arrays.Equals(_byteEncoding, other._byteEncoding);}
// Original:
public ObjectId idFor(TreeFormatter formatter) {return formatter.computeId(this);}

// Translation:
public override ObjectId IdFor(TreeFormatter formatter){return Delegate().IdFor(formatter);}
// Original:
public static int[] grow(int[] array) {return grow(array, 1 + array.length);}

// Translation:
public static int[] Grow(int[] array){return Grow(array, 1 + array.Length);}
// Original:
public DescribeReservedDBInstancesResult describeReservedDBInstances(DescribeReservedDBInstancesRequest request) {request = beforeClientExecution(request);return executeDescribeReservedDBInstances(request);}

// Translation:
public virtual DescribeReservedDBInstancesResponse DescribeReservedDBInstances(DescribeReservedDBInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReservedDBInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReservedDBInstancesResponseUnmarshaller.Instance;return Invoke<DescribeReservedDBInstancesResponse>(request, options);}
// Original:
public String toString() {StringBuilder b = new StringBuilder();b.append(subs.length).append(" subs: ");for(int i=0;i<subs.length;i++) {if (i != 0) {b.append("; ");}if (subs[i] == null) {b.append("s=").append(starts[i]).append(" l=null");} else {b.append("s=").append(starts[i]).append(" l=").append(subs[i].length()).append(" b=").append(subs[i]);}}b.append(" end=").append(starts[subs.length]);return b.toString();}

// Translation:
public override string ToString(){StringBuilder b = new StringBuilder();b.Append(subs.Length + " subs: ");for (int i = 0; i < subs.Length; i++){if (i != 0){b.Append("; ");}if (subs[i] == null){b.Append("s=" + starts[i] + " l=null");}else{b.Append("s=" + starts[i] + " l=" + subs[i].Length + " b=" + subs[i]);}}b.Append(" end=" + starts[subs.Length]);return b.ToString();}
// Original:
public DescribeLogStreamsRequest(String logGroupName) {setLogGroupName(logGroupName);}

// Translation:
public DescribeLogStreamsRequest(string logGroupName){_logGroupName = logGroupName;}
// Original:
public static String[] getAll() {return _formats.clone();}

// Translation:
public static String[] GetAll(){return (String[])_formats.Clone();}
// Original:
public CreateVoiceTemplateResult createVoiceTemplate(CreateVoiceTemplateRequest request) {request = beforeClientExecution(request);return executeCreateVoiceTemplate(request);}

// Translation:
public virtual CreateVoiceTemplateResponse CreateVoiceTemplate(CreateVoiceTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVoiceTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVoiceTemplateResponseUnmarshaller.Instance;return Invoke<CreateVoiceTemplateResponse>(request, options);}
// Original:
public static long getLastCommitGeneration(Directory directory) throws IOException {return getLastCommitGeneration(directory.listAll());}

// Translation:
public static long GetLastCommitGeneration(Directory directory){try{return GetLastCommitGeneration(directory.ListAll());}catch (DirectoryNotFoundException){return -1;}}
// Original:
public SearchTransitGatewayRoutesResult searchTransitGatewayRoutes(SearchTransitGatewayRoutesRequest request) {request = beforeClientExecution(request);return executeSearchTransitGatewayRoutes(request);}

// Translation:
public virtual SearchTransitGatewayRoutesResponse SearchTransitGatewayRoutes(SearchTransitGatewayRoutesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchTransitGatewayRoutesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchTransitGatewayRoutesResponseUnmarshaller.Instance;return Invoke<SearchTransitGatewayRoutesResponse>(request, options);}
// Original:
public ListCompilationJobsResult listCompilationJobs(ListCompilationJobsRequest request) {request = beforeClientExecution(request);return executeListCompilationJobs(request);}

// Translation:
public virtual ListCompilationJobsResponse ListCompilationJobs(ListCompilationJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListCompilationJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListCompilationJobsResponseUnmarshaller.Instance;return Invoke<ListCompilationJobsResponse>(request, options);}
// Original:
public static Query createJoinQuery(String fromField,boolean multipleValuesPerDocument,String toField,Query fromQuery,IndexSearcher fromSearcher,ScoreMode scoreMode) throws IOException {final GenericTermsCollector termsWithScoreCollector;if (multipleValuesPerDocument) {Function<SortedSetDocValues> mvFunction = DocValuesTermsCollector.sortedSetDocValues(fromField);termsWithScoreCollector = GenericTermsCollector.createCollectorMV(mvFunction, scoreMode);} else {Function<BinaryDocValues> svFunction = DocValuesTermsCollector.binaryDocValues(fromField);termsWithScoreCollector = GenericTermsCollector.createCollectorSV(svFunction, scoreMode);}return createJoinQuery(multipleValuesPerDocument, toField, fromQuery, fromField, fromSearcher, scoreMode, termsWithScoreCollector);}

// Translation:
public static Query CreateJoinQuery(string fromField, bool multipleValuesPerDocument, string toField, Query fromQuery, IndexSearcher fromSearcher, ScoreMode scoreMode){switch (scoreMode){case ScoreMode.None:TermsCollector termsCollector = TermsCollector.Create(fromField, multipleValuesPerDocument);fromSearcher.Search(fromQuery, termsCollector);return new TermsQuery(toField, fromQuery, termsCollector.CollectorTerms);case ScoreMode.Total:case ScoreMode.Max:case ScoreMode.Avg:TermsWithScoreCollector termsWithScoreCollector = TermsWithScoreCollector.Create(fromField, multipleValuesPerDocument, scoreMode);fromSearcher.Search(fromQuery, termsWithScoreCollector);return new TermsIncludingScoreQuery(toField, multipleValuesPerDocument, termsWithScoreCollector.CollectedTerms, termsWithScoreCollector.ScoresPerTerm, fromQuery);default:throw new System.ArgumentException(string.Format("Score mode {0} isn't supported.", scoreMode));}}
// Original:
public int serialize(int offset, byte[] data, EscherSerializationListener listener) {listener.beforeRecordSerialize(offset, getRecordId(), this);LittleEndian.putShort( data, offset, getOptions() );LittleEndian.putShort( data, offset + 2, getRecordId() );System.arraycopy( field_pictureData, 0, data, offset + 4, field_pictureData.length );listener.afterRecordSerialize(offset + 4 + field_pictureData.length, getRecordId(), field_pictureData.length + 4, this);return field_pictureData.length + 4;}

// Translation:
public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);LittleEndian.PutShort(data, offset, Options);LittleEndian.PutShort(data, offset + 2, RecordId);Array.Copy(field_pictureData, 0, data, offset + 4, field_pictureData.Length);listener.AfterRecordSerialize(offset + 4 + field_pictureData.Length, RecordId, field_pictureData.Length + 4, this);return field_pictureData.Length + 4;}
// Original:
public SeekStatus seekCeil(BytesRef term) {final int ord = findTerm(term);if (ord >= 0) {termOrd = ord;setTerm();return SeekStatus.FOUND;} else if (ord == -terms.length-1) {return SeekStatus.END;} else {termOrd = -ord - 1;setTerm();return SeekStatus.NOT_FOUND;}}

// Translation:
public override SeekStatus SeekCeil(BytesRef term){int ord = FindTerm(term);if (ord >= 0){termOrd = ord;SetTerm();return SeekStatus.FOUND;}else if (ord == -outerInstance.terms.Length - 1){return SeekStatus.END;}else{termOrd = -ord - 1;SetTerm();return SeekStatus.NOT_FOUND;}}
// Original:
public DeleteLoadBalancerResult deleteLoadBalancer(DeleteLoadBalancerRequest request) {request = beforeClientExecution(request);return executeDeleteLoadBalancer(request);}

// Translation:
public virtual DeleteLoadBalancerResponse DeleteLoadBalancer(DeleteLoadBalancerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteLoadBalancerRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteLoadBalancerResponseUnmarshaller.Instance;return Invoke<DeleteLoadBalancerResponse>(request, options);}
// Original:
public DeleteVpcPeeringAuthorizationResult deleteVpcPeeringAuthorization(DeleteVpcPeeringAuthorizationRequest request) {request = beforeClientExecution(request);return executeDeleteVpcPeeringAuthorization(request);}

// Translation:
public virtual DeleteVpcPeeringAuthorizationResponse DeleteVpcPeeringAuthorization(DeleteVpcPeeringAuthorizationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVpcPeeringAuthorizationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVpcPeeringAuthorizationResponseUnmarshaller.Instance;return Invoke<DeleteVpcPeeringAuthorizationResponse>(request, options);}
// Original:
public SendAnnouncementResult sendAnnouncement(SendAnnouncementRequest request) {request = beforeClientExecution(request);return executeSendAnnouncement(request);}

// Translation:
public virtual SendAnnouncementResponse SendAnnouncement(SendAnnouncementRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendAnnouncementRequestMarshaller.Instance;options.ResponseUnmarshaller = SendAnnouncementResponseUnmarshaller.Instance;return Invoke<SendAnnouncementResponse>(request, options);}
// Original:
@Override public int lastIndexOf(Object object) {final int size;final Object[] array;synchronized (mutex) {size = list.size();array = new Object[size];list.toArray(array);}if (object != null) {for (int i = size - 1; i >= 0; i--) {if (object.equals(array[i])) {return i;}}} else {for (int i = size - 1; i >= 0; i--) {if (array[i] == null) {return i;}}}return -1;}

// Translation:
public virtual int lastIndexOf(object @object){int size_1;object[] array;lock (mutex){size_1 = list.size();array = new object[size_1];list.toArray(array);}if (@object != null){{for (int i = size_1 - 1; i >= 0; i--){if (@object.Equals(array[i])){return i;}}}}else{{for (int i = size_1 - 1; i >= 0; i--){if (array[i] == null){return i;}}}}return -1;}
// Original:
public SortedDocValues getSortedDocValues(String field) {return getSortedDocValues(field, DocValuesType.SORTED);}

// Translation:
public override SortedDocValues GetSortedDocValues(string field){return null;}
// Original:
public void setBaseline() {setBaseline(clock.get());}

// Translation:
public virtual void SetBaseline(){SetBaseline(clock.Get());}
// Original:
public final IntBuffer put(int[] src, int srcOffset, int intCount) {throw new ReadOnlyBufferException();}

// Translation:
public sealed override java.nio.IntBuffer put(int[] src, int srcOffset, int intCount){throw new java.nio.ReadOnlyBufferException();}
// Original:
public SortingBits(final Bits in, Sorter.DocMap docMap) {this.in = in;this.docMap = docMap;}

// Translation:
public SortingBits(IBits input, Sorter.DocMap docMap){this.@in = input;this.docMap = docMap;}
// Original:
public static String quoteEscape(String original) {String result = original;if (result.indexOf('\"') >= 0) {result = result.replace("\"", ESCAPED_QUOTE);}if(result.indexOf(COMMA) >= 0) {result = "\"" + result + "\"";}return result;}

// Translation:
public static string QuoteEscape(string original){string result = original;if (result.IndexOf('\"') >= 0){result.Replace("\"", ESCAPED_QUOTE);}if (result.IndexOf(COMMA) >= 0){result = "\"" + result + "\"";}return result;}
// Original:
public static double fv(double r, double n, double y, double p, boolean t) {double retval = 0;if (r == 0) {retval = -1*(p+(n*y));}else {double r1 = r + 1;retval =((1-Math.pow(r1, n)) * (t ? r1 : 1) * y ) / r-p*Math.pow(r1, n);}return retval;}

// Translation:
public static double fv(double r, double n, double y, double p, bool t){double retval = 0;if (r == 0){retval = -1 * (p + (n * y));}else{double r1 = r + 1;retval = ((1 - Math.Pow(r1, n)) * (t ? r1 : 1) * y) / r-p * Math.Pow(r1, n);}return retval;}
// Original:
public CharBuffer put(int index, char c) {throw new ReadOnlyBufferException();}

// Translation:
public override java.nio.CharBuffer put(int index, char c){throw new java.nio.ReadOnlyBufferException();}
// Original:
public UpdateLifecyclePolicyResult updateLifecyclePolicy(UpdateLifecyclePolicyRequest request) {request = beforeClientExecution(request);return executeUpdateLifecyclePolicy(request);}

// Translation:
public virtual UpdateLifecyclePolicyResponse UpdateLifecyclePolicy(UpdateLifecyclePolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateLifecyclePolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateLifecyclePolicyResponseUnmarshaller.Instance;return Invoke<UpdateLifecyclePolicyResponse>(request, options);}
// Original:
public CreateNotebookInstanceLifecycleConfigResult createNotebookInstanceLifecycleConfig(CreateNotebookInstanceLifecycleConfigRequest request) {request = beforeClientExecution(request);return executeCreateNotebookInstanceLifecycleConfig(request);}

// Translation:
public virtual CreateNotebookInstanceLifecycleConfigResponse CreateNotebookInstanceLifecycleConfig(CreateNotebookInstanceLifecycleConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateNotebookInstanceLifecycleConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateNotebookInstanceLifecycleConfigResponseUnmarshaller.Instance;return Invoke<CreateNotebookInstanceLifecycleConfigResponse>(request, options);}
// Original:
public boolean add(String text) {return map.put(text, PLACEHOLDER) == null;}

// Translation:
public virtual bool Add(string text){return map.Put(text);}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_axisType);out.writeInt(field_2_x);out.writeInt(field_3_y);out.writeInt(field_4_width);out.writeInt(field_5_height);}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_axisType);out1.WriteInt(field_2_x);out1.WriteInt(field_3_y);out1.WriteInt(field_4_width);out1.WriteInt(field_5_height);}
// Original:
public GetJourneyResult getJourney(GetJourneyRequest request) {request = beforeClientExecution(request);return executeGetJourney(request);}

// Translation:
public virtual GetJourneyResponse GetJourney(GetJourneyRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetJourneyRequestMarshaller.Instance;options.ResponseUnmarshaller = GetJourneyResponseUnmarshaller.Instance;return Invoke<GetJourneyResponse>(request, options);}
// Original:
public PrecedenceQueryNodeProcessorPipeline(QueryConfigHandler queryConfig) {super(queryConfig);for (int i = 0 ; i < size() ; i++) {if (get(i).getClass().equals(BooleanQuery2ModifierNodeProcessor.class)) {remove(i--);}}add(new BooleanModifiersQueryNodeProcessor());}

// Translation:
public PrecedenceQueryNodeProcessorPipeline(QueryConfigHandler queryConfig): base(queryConfig){for (int i = 0; i < Count; i++){if (this[i].GetType().Equals(typeof(BooleanQuery2ModifierNodeProcessor))){RemoveAt(i--);}}Add(new BooleanModifiersQueryNodeProcessor());}
// Original:
public static boolean startsWith(byte[] ref, BytesRef prefix) {if (ref.length < prefix.length) {return false;}return Arrays.equals(ref, 0, prefix.length,prefix.bytes, prefix.offset, prefix.offset + prefix.length);}

// Translation:
public static bool StartsWith(BytesRef @ref, BytesRef prefix) {return SliceEquals(@ref, prefix, 0);}
// Original:
public DeleteUsageReportSubscriptionResult deleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request) {request = beforeClientExecution(request);return executeDeleteUsageReportSubscription(request);}

// Translation:
public virtual DeleteUsageReportSubscriptionResponse DeleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteUsageReportSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteUsageReportSubscriptionResponseUnmarshaller.Instance;return Invoke<DeleteUsageReportSubscriptionResponse>(request, options);}
// Original:
public File[] listFiles(FilenameFilter filter) {return filenamesToFiles(list(filter));}

// Translation:
public java.io.File[] listFiles(java.io.FilenameFilter filter){return filenamesToFiles(list(filter));}
// Original:
public void respondActivityTaskFailed(RespondActivityTaskFailedRequest request) {request = beforeClientExecution(request);executeRespondActivityTaskFailed(request);}

// Translation:
public virtual RespondActivityTaskFailedResponse RespondActivityTaskFailed(RespondActivityTaskFailedRequest request){var options = new InvokeOptions();options.RequestMarshaller = RespondActivityTaskFailedRequestMarshaller.Instance;options.ResponseUnmarshaller = RespondActivityTaskFailedResponseUnmarshaller.Instance;return Invoke<RespondActivityTaskFailedResponse>(request, options);}
// Original:
public ListIdentitiesResult listIdentities() {return listIdentities(new ListIdentitiesRequest());}

// Translation:
public virtual ListIdentitiesResponse ListIdentities(){return ListIdentities(new ListIdentitiesRequest());}
// Original:
@Override public int compare(T o1, T o2) {Comparable<T> c2 = (Comparable<T>) o2;return c2.compareTo(o1);}

// Translation:
public int compare(T o1, T o2){java.lang.Comparable<T> c2 = (java.lang.Comparable<T>)o2;return c2.compareTo(o1);}
// Original:
public ListFindingsResult listFindings(ListFindingsRequest request) {request = beforeClientExecution(request);return executeListFindings(request);}

// Translation:
public virtual ListFindingsResponse ListFindings(ListFindingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListFindingsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance;return Invoke<ListFindingsResponse>(request, options);}
// Original:
public boolean contains(final int o){boolean rval = false;for (int j = 0; !rval && (j < _limit); j++){if (_array[ j ] == o){rval = true;}}return rval;}

// Translation:
public bool Contains(int o){bool rval = false;for (int j = 0; !rval && (j < _limit); j++){if (_array[j] == o){rval = true;}}return rval;}
// Original:
public ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex) {if (args.length < 2) {return ErrorEval.VALUE_INVALID;}try {int ix = evaluateFirstArg(args[0], srcRowIndex, srcColumnIndex);if (ix < 1 || ix >= args.length) {return ErrorEval.VALUE_INVALID;}ValueEval result = OperandResolver.getSingleValue(args[ix], srcRowIndex, srcColumnIndex);if (result == MissingArgEval.instance) {return BlankEval.instance;}return result;} catch (EvaluationException e) {return e.getErrorEval();}}

// Translation:
public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex){if (args.Length < 2){return ErrorEval.VALUE_INVALID;}try{int ix = EvaluateFirstArg(args[0], srcRowIndex, srcColumnIndex);if (ix < 1 || ix >= args.Length){return ErrorEval.VALUE_INVALID;}ValueEval result = OperandResolver.GetSingleValue(args[ix], srcRowIndex, srcColumnIndex);if (result == MissingArgEval.instance){return BlankEval.instance;}return result;}catch (EvaluationException e){return e.GetErrorEval();}}
// Original:
public DatRecord clone() {return copy();}

// Translation:
public override Object Clone(){DatRecord rec = new DatRecord();rec.field_1_options = field_1_options;return rec;}
// Original:
public GlobalReplicationGroup createGlobalReplicationGroup(CreateGlobalReplicationGroupRequest request) {request = beforeClientExecution(request);return executeCreateGlobalReplicationGroup(request);}

// Translation:
public virtual CreateGlobalReplicationGroupResponse CreateGlobalReplicationGroup(CreateGlobalReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateGlobalReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateGlobalReplicationGroupResponseUnmarshaller.Instance;return Invoke<CreateGlobalReplicationGroupResponse>(request, options);}