yijunyu/c-to-rust huggingface dataset:
// Original:
public int serialize(int offset, byte[] data, EscherSerializationListener listener) {listener.beforeRecordSerialize( offset, getRecordId(), this );int pos = offset;LittleEndian.putShort( data, pos, getOptions() );     pos += 2;LittleEndian.putShort( data, pos, getRecordId() );    pos += 2;int remainingBytes = getRecordSize() - 8;LittleEndian.putInt( data, pos, remainingBytes );              pos += 4;LittleEndian.putInt( data, pos, field_1_shapeIdMax );          pos += 4;LittleEndian.putInt( data, pos, getNumIdClusters() );          pos += 4;LittleEndian.putInt( data, pos, field_3_numShapesSaved );      pos += 4;LittleEndian.putInt( data, pos, field_4_drawingsSaved );       pos += 4;for (FileIdCluster fic : field_5_fileIdClusters) {LittleEndian.putInt( data, pos, fic.getDrawingGroupId() );   pos += 4;LittleEndian.putInt( data, pos, fic.getNumShapeIdsUsed() );  pos += 4;}listener.afterRecordSerialize( pos, getRecordId(), getRecordSize(), this );return getRecordSize();}

// Translation:
public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);int pos = offset;LittleEndian.PutShort(data, pos, Options); pos += 2;LittleEndian.PutShort(data, pos, RecordId); pos += 2;int remainingBytes = RecordSize - 8;LittleEndian.PutInt(data, pos, remainingBytes); pos += 4;LittleEndian.PutInt(data, pos, field_1_shapeIdMax); pos += 4;LittleEndian.PutInt(data, pos, NumIdClusters); pos += 4;LittleEndian.PutInt(data, pos, field_3_numShapesSaved); pos += 4;LittleEndian.PutInt(data, pos, field_4_drawingsSaved); pos += 4;for (int i = 0; i < field_5_fileIdClusters.Length; i++){LittleEndian.PutInt(data, pos, field_5_fileIdClusters[i].DrawingGroupId); pos += 4;LittleEndian.PutInt(data, pos, field_5_fileIdClusters[i].NumShapeIdsUsed); pos += 4;}listener.AfterRecordSerialize(pos, RecordId, RecordSize, this);return RecordSize;}
// Original:
public LogDocMergePolicy() {minMergeSize = DEFAULT_MIN_MERGE_DOCS;maxMergeSize = Long.MAX_VALUE;maxMergeSizeForForcedMerge = Long.MAX_VALUE;}

// Translation:
public LogDocMergePolicy(){m_minMergeSize = DEFAULT_MIN_MERGE_DOCS;m_maxMergeSize = long.MaxValue;m_maxMergeSizeForForcedMerge = long.MaxValue;}
// Original:
public BM25Similarity() {this(1.2f, 0.75f);}

// Translation:
public BM25Similarity(){this.k1 = 1.2f;this.b = 0.75f;}
// Original:
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeShort(getExternSheetIndex());writeCoordinates(out);}

// Translation:
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteShort(ExternSheetIndex);WriteCoordinates(out1);}
// Original:
public String getAccessKeyId() {return accessKeyId;}

// Translation:
public string GetAccessKeyId(){return AccessKeyId;}
// Original:
public PutLifecycleHookResult putLifecycleHook(PutLifecycleHookRequest request) {request = beforeClientExecution(request);return executePutLifecycleHook(request);}

// Translation:
public virtual PutLifecycleHookResponse PutLifecycleHook(PutLifecycleHookRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutLifecycleHookRequestMarshaller.Instance;options.ResponseUnmarshaller = PutLifecycleHookResponseUnmarshaller.Instance;return Invoke<PutLifecycleHookResponse>(request, options);}
// Original:
public String toString() {return "[GRIDSET]\n" +"    .gridset        = " + getGridset() +"\n" +"[/GRIDSET]\n";}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[GRIDSET]\n");buffer.Append("    .gridset        = ").Append(Gridset).Append("\n");buffer.Append("[/GRIDSET]\n");return buffer.ToString();}
// Original:
public static int idealLongArraySize(int need) {return idealByteArraySize(need * 8) / 8;}

// Translation:
public static int idealLongArraySize(int need){return idealByteArraySize(need * 8) / 8;}
// Original:
public int size() {return mSize;}

// Translation:
public virtual int size(){return mSize;}
// Original:
public String toString() {String biffName = getBiffName(_sid);if (biffName == null) {biffName = "UNKNOWNRECORD";}StringBuilder sb = new StringBuilder();sb.append('[').append(biffName).append("] (0x");sb.append(Integer.toHexString(_sid).toUpperCase(Locale.ROOT)).append(")\n");if (_rawData.length > 0) {sb.append("  rawData=").append(HexDump.toHex(_rawData)).append("\n");}sb.append("[/").append(biffName).append("]\n");return sb.toString();}

// Translation:
public override String ToString(){String biffName = GetBiffName(_sid);if (biffName == null){biffName = "UNKNOWNRECORD";}StringBuilder sb = new StringBuilder();sb.Append("[").Append(biffName).Append("] (0x");sb.Append(StringUtil.ToHexString(_sid).ToUpper() + ")\n");if (_rawData.Length > 0){sb.Append("  rawData=").Append(HexDump.ToHex(_rawData)).Append("\n");}sb.Append("[/").Append(biffName).Append("]\n");return sb.ToString();}
// Original:
public int nextPosition() throws IOException {if (doc != 0) {throw new IllegalStateException();} else if (i >= termFreq - 1) {throw new IllegalStateException("Read past last position");}++i;if (payloadIndex != null) {payload.offset = basePayloadOffset + payloadIndex[positionIndex + i];payload.length = payloadIndex[positionIndex + i + 1] - payloadIndex[positionIndex + i];}if (positions == null) {return -1;} else {return positions[positionIndex + i];}}

// Translation:
public override int NextPosition(){if (doc != 0){throw new Exception();}else if (i >= termFreq - 1){throw new Exception("Read past last position");}++i;if (payloadIndex != null){payload.Offset = basePayloadOffset + payloadIndex[positionIndex + i];payload.Length = payloadIndex[positionIndex + i + 1] - payloadIndex[positionIndex + i];}if (positions == null){return -1;}else{return positions[positionIndex + i];}}
// Original:
public MergeDeveloperIdentitiesResult mergeDeveloperIdentities(MergeDeveloperIdentitiesRequest request) {request = beforeClientExecution(request);return executeMergeDeveloperIdentities(request);}

// Translation:
public virtual MergeDeveloperIdentitiesResponse MergeDeveloperIdentities(MergeDeveloperIdentitiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = MergeDeveloperIdentitiesRequestMarshaller.Instance;options.ResponseUnmarshaller = MergeDeveloperIdentitiesResponseUnmarshaller.Instance;return Invoke<MergeDeveloperIdentitiesResponse>(request, options);}
// Original:
public CreateUserRequest(String userName) {setUserName(userName);}

// Translation:
public CreateUserRequest(string userName){_userName = userName;}
// Original:
public ReplaceNetworkAclEntryResult replaceNetworkAclEntry(ReplaceNetworkAclEntryRequest request) {request = beforeClientExecution(request);return executeReplaceNetworkAclEntry(request);}

// Translation:
public virtual ReplaceNetworkAclEntryResponse ReplaceNetworkAclEntry(ReplaceNetworkAclEntryRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReplaceNetworkAclEntryRequestMarshaller.Instance;options.ResponseUnmarshaller = ReplaceNetworkAclEntryResponseUnmarshaller.Instance;return Invoke<ReplaceNetworkAclEntryResponse>(request, options);}
// Original:
public boolean isFastForward() {return fastForward;}

// Translation:
public virtual bool IsFastForward(){return fastForward;}
// Original:
public List<Integer> getLLDecisions() {DecisionInfo[] decisions = atnSimulator.getDecisionInfo();List<Integer> LL = new ArrayList<Integer>();for (int i=0; i<decisions.length; i++) {long fallBack = decisions[i].LL_Fallback;if ( fallBack>0 ) LL.add(i);}return LL;}

// Translation:
public List<int> getLLDecisions(){DecisionInfo[] decisions = atnSimulator.getDecisionInfo();List<int> LL = new List<int>();for (int i = 0; i < decisions.Length; i++){long fallBack = decisions[i].LL_Fallback;if (fallBack > 0) LL.Add(i);}return LL;}
// Original:
public UpdateModelResult updateModel(UpdateModelRequest request) {request = beforeClientExecution(request);return executeUpdateModel(request);}

// Translation:
public virtual UpdateModelResponse UpdateModel(UpdateModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateModelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance;return Invoke<UpdateModelResponse>(request, options);}
// Original:
public int getEndIndex() {return end;}

// Translation:
public int getEndIndex(){return end;}
// Original:
public DeleteVPCAssociationAuthorizationResult deleteVPCAssociationAuthorization(DeleteVPCAssociationAuthorizationRequest request) {request = beforeClientExecution(request);return executeDeleteVPCAssociationAuthorization(request);}

// Translation:
public virtual DeleteVPCAssociationAuthorizationResponse DeleteVPCAssociationAuthorization(DeleteVPCAssociationAuthorizationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVPCAssociationAuthorizationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVPCAssociationAuthorizationResponseUnmarshaller.Instance;return Invoke<DeleteVPCAssociationAuthorizationResponse>(request, options);}
// Original:
public GetMediaResult getMedia(GetMediaRequest request) {request = beforeClientExecution(request);return executeGetMedia(request);}

// Translation:
public virtual GetMediaResponse GetMedia(GetMediaRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMediaRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMediaResponseUnmarshaller.Instance;return Invoke<GetMediaResponse>(request, options);}
// Original:
public DeltaRecord clone() {return copy();}

// Translation:
public override Object Clone(){return this;}
// Original:
public TableRestoreStatus restoreTableFromClusterSnapshot(RestoreTableFromClusterSnapshotRequest request) {request = beforeClientExecution(request);return executeRestoreTableFromClusterSnapshot(request);}

// Translation:
public virtual RestoreTableFromClusterSnapshotResponse RestoreTableFromClusterSnapshot(RestoreTableFromClusterSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestoreTableFromClusterSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = RestoreTableFromClusterSnapshotResponseUnmarshaller.Instance;return Invoke<RestoreTableFromClusterSnapshotResponse>(request, options);}
// Original:
public void writeInt(int v) {int b3 = (v >>> 24) & 0xFF;int b2 = (v >>> 16) & 0xFF;int b1 = (v >>>  8) & 0xFF;int b0 = (v) & 0xFF;try {out.write(b0);out.write(b1);out.write(b2);out.write(b3);} catch (IOException e) {throw new RuntimeException(e);}}

// Translation:
public void WriteInt(int v){int b3 = (v >> 24) & 0xFF;int b2 = (v >> 16) & 0xFF;int b1 = (v >> 8) & 0xFF;int b0 = (v >> 0) & 0xFF;try{out1.WriteByte((byte)b0);out1.WriteByte((byte)b1);out1.WriteByte((byte)b2);out1.WriteByte((byte)b3);}catch (IOException e){throw new RuntimeException(e);}}
// Original:
public static Query parse(String[] queries, String[] fields, Analyzer analyzer)throws QueryNodeException {if (queries.length != fields.length)throw new IllegalArgumentException("queries.length != fields.length");BooleanQuery.Builder bQuery = new BooleanQuery.Builder();StandardQueryParser qp = new StandardQueryParser();qp.setAnalyzer(analyzer);for (int i = 0; i < fields.length; i++) {Query q = qp.parse(queries[i], fields[i]);if (q != null) { bQuery.add(q, BooleanClause.Occur.SHOULD);}}return bQuery.build();}

// Translation:
public static Query Parse(string[] queries, string[] fields, Analyzer analyzer){if (queries.Length != fields.Length)throw new ArgumentException("queries.length != fields.length");BooleanQuery bQuery = new BooleanQuery();StandardQueryParser qp = new StandardQueryParser();qp.Analyzer = analyzer;for (int i = 0; i < fields.Length; i++){Query q = qp.Parse(queries[i], fields[i]);if (q != null && (!(q is BooleanQuery) || ((BooleanQuery)q).Clauses.Count > 0)){bQuery.Add(q, Occur.SHOULD);}}return bQuery;}
// Original:
public UpdateQualificationTypeResult updateQualificationType(UpdateQualificationTypeRequest request) {request = beforeClientExecution(request);return executeUpdateQualificationType(request);}

// Translation:
public virtual UpdateQualificationTypeResponse UpdateQualificationType(UpdateQualificationTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateQualificationTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateQualificationTypeResponseUnmarshaller.Instance;return Invoke<UpdateQualificationTypeResponse>(request, options);}
// Original:
public void removeTemplate() {remove1stProperty(PropertyIDMap.PID_TEMPLATE);}

// Translation:
public void RemoveTemplate(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_TEMPLATE);}
// Original:
public ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex) {int nInnerArgs = args.length-1; if (nInnerArgs < 1) {return ErrorEval.VALUE_INVALID;}final Function innerFunc;int functionCode = 0;try {ValueEval ve = OperandResolver.getSingleValue(args[0], srcRowIndex, srcColumnIndex);functionCode = OperandResolver.coerceValueToInt(ve);innerFunc = findFunction(functionCode);} catch (EvaluationException e) {return e.getErrorEval();}final List<ValueEval> list = new ArrayList<>(Arrays.asList(args).subList(1, args.length));Iterator<ValueEval> it = list.iterator();while(it.hasNext()) {ValueEval eval = it.next();if(eval instanceof LazyRefEval) {LazyRefEval lazyRefEval = (LazyRefEval) eval;if(lazyRefEval.isSubTotal()) {it.remove();}if (functionCode > 100 && lazyRefEval.isRowHidden()) {it.remove();}}}return innerFunc.evaluate(list.toArray(new ValueEval[0]), srcRowIndex, srcColumnIndex);}

// Translation:
public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex){int nInnerArgs = args.Length - 1; if (nInnerArgs < 1){return ErrorEval.VALUE_INVALID;}Function innerFunc;try{ValueEval ve = OperandResolver.GetSingleValue(args[0], srcRowIndex, srcColumnIndex);int functionCode = OperandResolver.CoerceValueToInt(ve);innerFunc = FindFunction(functionCode);}catch (EvaluationException e){return e.GetErrorEval();}ValueEval[] innerArgs = new ValueEval[nInnerArgs];Array.Copy(args, 1, innerArgs, 0, nInnerArgs);return innerFunc.Evaluate(innerArgs, srcRowIndex, srcColumnIndex);}
// Original:
public InstanceGroupConfig(InstanceRoleType instanceRole, String instanceType, Integer instanceCount) {setInstanceRole(instanceRole.toString());setInstanceType(instanceType);setInstanceCount(instanceCount);}

// Translation:
public InstanceGroupConfig(InstanceRoleType instanceRole, string instanceType, int instanceCount){_instanceRole = instanceRole;_instanceType = instanceType;_instanceCount = instanceCount;}
// Original:
public LeftMarginRecord(RecordInputStream in) {field_1_margin = in.readDouble();}

// Translation:
public LeftMarginRecord(RecordInputStream in1){field_1_margin = in1.ReadDouble();}
// Original:
public DescribeTrialComponentResult describeTrialComponent(DescribeTrialComponentRequest request) {request = beforeClientExecution(request);return executeDescribeTrialComponent(request);}

// Translation:
public virtual DescribeTrialComponentResponse DescribeTrialComponent(DescribeTrialComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTrialComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTrialComponentResponseUnmarshaller.Instance;return Invoke<DescribeTrialComponentResponse>(request, options);}
// Original:
public AssociateSubnetCidrBlockResult associateSubnetCidrBlock(AssociateSubnetCidrBlockRequest request) {request = beforeClientExecution(request);return executeAssociateSubnetCidrBlock(request);}

// Translation:
public virtual AssociateSubnetCidrBlockResponse AssociateSubnetCidrBlock(AssociateSubnetCidrBlockRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateSubnetCidrBlockRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateSubnetCidrBlockResponseUnmarshaller.Instance;return Invoke<AssociateSubnetCidrBlockResponse>(request, options);}
// Original:
@Override public Iterator<E> iterator() {return new MapBasedMultisetIterator();}

// Translation:
public override java.util.Iterator<java.util.MapClass.Entry<K, V>> iterator(){return new java.util.Hashtable<K, V>.EntryIterator(this._enclosing);}
// Original:
public GetQueueAttributesResult getQueueAttributes(String queueUrl, java.util.List<String> attributeNames) {return getQueueAttributes(new GetQueueAttributesRequest().withQueueUrl(queueUrl).withAttributeNames(attributeNames));}

// Translation:
public virtual GetQueueAttributesResponse GetQueueAttributes(string queueUrl, List<string> attributeNames){var request = new GetQueueAttributesRequest();request.QueueUrl = queueUrl;request.AttributeNames = attributeNames;return GetQueueAttributes(request);}
// Original:
public final int getBeginA() {return beginA;}

// Translation:
public int GetBeginA(){return beginA;}
// Original:
public String toString() {return "NoLock";}

// Translation:
public override string ToString(){return "NoLock";}
// Original:
public boolean contains(Object object) {return backingMap.containsKey(object);}

// Translation:
public override bool contains(object @object){return backingMap.containsKey(@object);}
// Original:
public String toString() {return "arc=" + fstArc + " state=" + fsaState;}

// Translation:
public override string ToString(){return "arc=" + arc + " state=" + state;}
// Original:
public void clear() {ArrayList <HSSFShape> copy = new ArrayList<>(shapes);for (HSSFShape shape: copy){removeShape(shape);}}

// Translation:
public void Clear(){List<HSSFShape> copy = new List<HSSFShape>(shapes);foreach (HSSFShape shape in copy){RemoveShape(shape);}}
// Original:
public String toString() {return "PerFieldAnalyzerWrapper(" + fieldAnalyzers + ", default=" + defaultAnalyzer + ")";}

// Translation:
public override string ToString(){return "PerFieldAnalyzerWrapper(" + fieldAnalyzers + ", default=" + defaultAnalyzer + ")";}
// Original:
public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) {int bytesRemaining = readHeader( data, offset );int available = data.length - (offset + 8);if (bytesRemaining > available) {bytesRemaining = available;}if (isContainerRecord()) {int bytesWritten = 0;thedata = new byte[0];offset += 8;bytesWritten += 8;while ( bytesRemaining > 0 ) {EscherRecord child = recordFactory.createRecord( data, offset );int childBytesWritten = child.fillFields( data, offset, recordFactory );bytesWritten += childBytesWritten;offset += childBytesWritten;bytesRemaining -= childBytesWritten;getChildRecords().add( child );}return bytesWritten;}if (bytesRemaining < 0) {bytesRemaining = 0;}thedata = IOUtils.safelyAllocate(bytesRemaining, MAX_RECORD_LENGTH);System.arraycopy( data, offset + 8, thedata, 0, bytesRemaining );return bytesRemaining + 8;}

// Translation:
public override int FillFields(byte[] data, int offset, IEscherRecordFactory recordFactory){int bytesRemaining = ReadHeader(data, offset);int avaliable = data.Length - (offset + 8);if (bytesRemaining > avaliable){bytesRemaining = avaliable;}if (IsContainerRecord){int bytesWritten = 0;_thedata = new byte[0];offset += 8;bytesWritten += 8;while (bytesRemaining > 0){EscherRecord child = recordFactory.CreateRecord(data, offset);int childBytesWritten = child.FillFields(data, offset, recordFactory);bytesWritten += childBytesWritten;offset += childBytesWritten;bytesRemaining -= childBytesWritten;ChildRecords.Add(child);}return bytesWritten;}else{_thedata = new byte[bytesRemaining];Array.Copy(data, offset + 8, _thedata, 0, bytesRemaining);return bytesRemaining + 8;}}
// Original:
public AssociatePhoneNumberWithUserResult associatePhoneNumberWithUser(AssociatePhoneNumberWithUserRequest request) {request = beforeClientExecution(request);return executeAssociatePhoneNumberWithUser(request);}

// Translation:
public virtual AssociatePhoneNumberWithUserResponse AssociatePhoneNumberWithUser(AssociatePhoneNumberWithUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociatePhoneNumberWithUserRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociatePhoneNumberWithUserResponseUnmarshaller.Instance;return Invoke<AssociatePhoneNumberWithUserResponse>(request, options);}
// Original:
public FieldQuery getFieldQuery( Query query ) {try {return getFieldQuery(query, null);} catch (IOException e) {throw new RuntimeException (e);}}

// Translation:
public virtual FieldQuery GetFieldQuery(Query query){try{return new FieldQuery(query, null, phraseHighlight, fieldMatch);}catch (IOException e){throw new Exception(e.ToString(), e);}}
// Original:
public int getXBATEntriesPerBlock() {return getBATEntriesPerBlock() - 1;}

// Translation:
public int GetXBATEntriesPerBlock(){return GetBATEntriesPerBlock() - 1;}
// Original:
public static CellRangeAddress createEnclosingCellRange(CellRangeAddress crA, CellRangeAddress crB) {if( crB == null) {return crA.copy();}int minRow = lt(crB.getFirstRow(),   crA.getFirstRow())   ?crB.getFirstRow()   :crA.getFirstRow();int maxRow = gt(crB.getLastRow(),    crA.getLastRow())    ?crB.getLastRow()    :crA.getLastRow();int minCol = lt(crB.getFirstColumn(),crA.getFirstColumn())?crB.getFirstColumn():crA.getFirstColumn();int maxCol = gt(crB.getLastColumn(), crA.getLastColumn()) ?crB.getLastColumn() :crA.getLastColumn();return new CellRangeAddress(minRow, maxRow, minCol, maxCol);}

// Translation:
public static CellRangeAddress CreateEnclosingCellRange(CellRangeAddress crA, CellRangeAddress crB){if (crB == null){return crA.Copy();}returnnew CellRangeAddress(lt(crB.FirstRow, crA.FirstRow) ? crB.FirstRow : crA.FirstRow,gt(crB.LastRow, crA.LastRow) ? crB.LastRow : crA.LastRow,lt(crB.FirstColumn, crA.FirstColumn) ? crB.FirstColumn : crA.FirstColumn,gt(crB.LastColumn, crA.LastColumn) ? crB.LastColumn : crA.LastColumn);}
// Original:
public static char[] grow(char[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Character.BYTES));} elsereturn array;}

// Translation:
public static char[] Grow(char[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){char[] newArray = new char[Oversize(minSize, RamUsageEstimator.NUM_BYTES_CHAR)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}
// Original:
public void setLineStyleColor(int red, int green, int blue) {int lineStyleColor = ((blue) << 16) | ((green) << 8) | red;setPropertyValue(new EscherRGBProperty(EscherPropertyTypes.LINESTYLE__COLOR, lineStyleColor));}

// Translation:
public void SetLineStyleColor(int red, int green, int blue){int lineStyleColor = ((blue) << 16) | ((green) << 8) | red;SetPropertyValue(new EscherRGBProperty(EscherProperties.LINESTYLE__COLOR, lineStyleColor));}
// Original:
public CreateFileSystemResult createFileSystem(CreateFileSystemRequest request) {request = beforeClientExecution(request);return executeCreateFileSystem(request);}

// Translation:
public virtual CreateFileSystemResponse CreateFileSystem(CreateFileSystemRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateFileSystemRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateFileSystemResponseUnmarshaller.Instance;return Invoke<CreateFileSystemResponse>(request, options);}
// Original:
public DeleteVaultRequest(String accountId, String vaultName) {setAccountId(accountId);setVaultName(vaultName);}

// Translation:
public DeleteVaultRequest(string accountId, string vaultName){_accountId = accountId;_vaultName = vaultName;}