yijunyu/c-to-rust huggingface dataset:
// Original:
public static boolean equals(byte[] array1, byte[] 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++) {if (array1[i] != array2[i]) {return false;}}return true;}

// Translation:
public static bool equals(byte[] array1, byte[] 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++){if (array1[i] != array2[i]){return false;}}}return true;}
// Original:
public boolean isExpectDataAfterPackFooter() {return expectDataAfterPackFooter;}

// Translation:
public virtual bool IsExpectDataAfterPackFooter(){return expectDataAfterPackFooter;}
// Original:
public ListIncomingTypedLinksResult listIncomingTypedLinks(ListIncomingTypedLinksRequest request) {request = beforeClientExecution(request);return executeListIncomingTypedLinks(request);}

// Translation:
public virtual ListIncomingTypedLinksResponse ListIncomingTypedLinks(ListIncomingTypedLinksRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListIncomingTypedLinksRequestMarshaller.Instance;options.ResponseUnmarshaller = ListIncomingTypedLinksResponseUnmarshaller.Instance;return Invoke<ListIncomingTypedLinksResponse>(request, options);}
// Original:
public void removeRevNumber() {remove1stProperty(PropertyIDMap.PID_REVNUMBER);}

// Translation:
public void RemoveRevNumber(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_REVNUMBER);}
// Original:
public DeleteMonitoringScheduleResult deleteMonitoringSchedule(DeleteMonitoringScheduleRequest request) {request = beforeClientExecution(request);return executeDeleteMonitoringSchedule(request);}

// Translation:
public virtual DeleteMonitoringScheduleResponse DeleteMonitoringSchedule(DeleteMonitoringScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteMonitoringScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteMonitoringScheduleResponseUnmarshaller.Instance;return Invoke<DeleteMonitoringScheduleResponse>(request, options);}
// Original:
public synchronized boolean put(FacetLabel categoryPath, int ordinal) {boolean ret = cache.put(categoryPath, ordinal);if (ret) {cache.makeRoomLRU();}return ret;}

// Translation:
public virtual bool Put(FacetLabel categoryPath, int ordinal){lock (this){bool ret = cache.Put(categoryPath, ordinal);if (ret){cache.MakeRoomLRU();}return ret;}}
// Original:
public void pushNewRecursionContext(ParserRuleContext localctx, int state, int ruleIndex) {ParserRuleContext previous = _ctx;previous.parent = localctx;previous.invokingState = state;previous.stop = _input.LT(-1);_ctx = localctx;_ctx.start = previous.start;if (_buildParseTrees) {_ctx.addChild(previous);}if ( _parseListeners != null ) {triggerEnterRuleEvent(); }}

// Translation:
public virtual void PushNewRecursionContext(ParserRuleContext localctx, int state, int ruleIndex){ParserRuleContext previous = _ctx;previous.Parent = localctx;previous.invokingState = state;previous.Stop = _input.LT(-1);_ctx = localctx;_ctx.Start = previous.Start;if (_buildParseTrees){_ctx.AddChild(previous);}if (_parseListeners != null){TriggerEnterRuleEvent();}}
// Original:
public Writer() {output = new ByteArrayOutputStream();}

// Translation:
protected internal Writer(){@lock = this;}
// Original:
public String getSignerType() {return null;}

// Translation:
public override string GetSignerType(){return null;}
// Original:
public void add(Ptg token) {if (token == null) {throw new IllegalArgumentException("token must not be null");}_ptgs[_offset] = token;_offset++;}

// Translation:
public void Add(Ptg token){if (token == null){throw new ArgumentException("token must not be null");}_ptgs[_offset] = token;_offset++;}
// Original:
public Repository build() throws IOException {FileRepository repo = new FileRepository(setup());if (isMustExist() && !repo.getObjectDatabase().exists())throw new RepositoryNotFoundException(getGitDir());return repo;}

// Translation:
public override FileRepository Build(){FileRepository repo = new FileRepository(Setup());if (IsMustExist() && !((ObjectDirectory)repo.ObjectDatabase).Exists()){throw new RepositoryNotFoundException(GetGitDir());}return repo;}
// Original:
public List<WeightedFragInfo> getWeightedFragInfoList( List<WeightedFragInfo> src ) {Collections.sort( src, new ScoreComparator() );return src;}

// Translation:
public override IList<WeightedFragInfo> GetWeightedFragInfoList(IList<WeightedFragInfo> src){CollectionUtil.TimSort(src, new ScoreComparer());return src;}
// Original:
public String toString() {return "epsilon";}

// Translation:
public override string ToString(){return "epsilon";}
// Original:
public DescribeDBLogFilesResult describeDBLogFiles(DescribeDBLogFilesRequest request) {request = beforeClientExecution(request);return executeDescribeDBLogFiles(request);}

// Translation:
public virtual DescribeDBLogFilesResponse DescribeDBLogFiles(DescribeDBLogFilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBLogFilesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBLogFilesResponseUnmarshaller.Instance;return Invoke<DescribeDBLogFilesResponse>(request, options);}
// Original:
public NoteRecord(RecordInputStream in) {field_1_row = in.readUShort();field_2_col = in.readShort();field_3_flags = in.readShort();field_4_shapeid = in.readUShort();int length = in.readShort();field_5_hasMultibyte = in.readByte() != 0x00;if (field_5_hasMultibyte) {field_6_author = StringUtil.readUnicodeLE(in, length);} else {field_6_author = StringUtil.readCompressedUnicode(in, length);}if (in.available() == 1) {field_7_padding = Byte.valueOf(in.readByte());} else if (in.available() == 2 && length == 0) {field_7_padding = Byte.valueOf(in.readByte());in.readByte();}}

// Translation:
public NoteRecord(RecordInputStream in1){field_1_row = in1.ReadShort();field_2_col = in1.ReadUShort();field_3_flags = in1.ReadShort();field_4_shapeid = in1.ReadUShort();int length = in1.ReadShort();field_5_hasMultibyte = in1.ReadByte() != 0x00;if (field_5_hasMultibyte) {field_6_author = StringUtil.ReadUnicodeLE(in1, length);} else {field_6_author = StringUtil.ReadCompressedUnicode(in1, length);}if (in1.Available() == 1) {field_7_padding = (byte)in1.ReadByte();}else if (in1.Available() == 2 && length == 0){field_7_padding = (byte)in1.ReadByte();in1.ReadByte();}}
// Original:
public CherryPickCommand setOurCommitName(String ourCommitName) {this.ourCommitName = ourCommitName;return this;}

// Translation:
public virtual NGit.Api.CherryPickCommand SetOurCommitName(string ourCommitName){this.ourCommitName = ourCommitName;return this;}
// Original:
public GetCloudFormationStackRecordsResult getCloudFormationStackRecords(GetCloudFormationStackRecordsRequest request) {request = beforeClientExecution(request);return executeGetCloudFormationStackRecords(request);}

// Translation:
public virtual GetCloudFormationStackRecordsResponse GetCloudFormationStackRecords(GetCloudFormationStackRecordsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCloudFormationStackRecordsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCloudFormationStackRecordsResponseUnmarshaller.Instance;return Invoke<GetCloudFormationStackRecordsResponse>(request, options);}
// Original:
public XPathTokenAnywhereElement(String tokenName, int tokenType) {super(tokenName);this.tokenType = tokenType;}

// Translation:
public XPathTokenAnywhereElement(string tokenName, int tokenType): base(tokenName){this.tokenType = tokenType;}
// Original:
public boolean isExpired() {long now = System.currentTimeMillis();return now >= expiration - refreshIntervalInMillSeconds;}

// Translation:
public bool IsExpired(){return refreshIntervalInMillSeconds * 1000 * 10 >= RemainTicks();}
// Original:
public ListDetectorsResult listDetectors(ListDetectorsRequest request) {request = beforeClientExecution(request);return executeListDetectors(request);}

// Translation:
public virtual ListDetectorsResponse ListDetectors(ListDetectorsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDetectorsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDetectorsResponseUnmarshaller.Instance;return Invoke<ListDetectorsResponse>(request, options);}
// Original:
public void add(int index, T element) {if (index == size) {add(element);} else if (index < 0 || size < index) {throw new IndexOutOfBoundsException(String.valueOf(index));} else {add(null); for (int oldIdx = size - 2; index <= oldIdx; oldIdx--)set(oldIdx + 1, get(oldIdx));set(index, element);}}

// Translation:
public override void Add(int index, T element){if (index == size){AddItem(element);}else{if (index < 0 || size < index){throw new IndexOutOfRangeException(index.ToString());}else{AddItem(default(T));for (int oldIdx = size - 2; index <= oldIdx; oldIdx--){Set(oldIdx + 1, this[oldIdx]);}Set(index, element);}}}
// Original:
public static int intersect(CellRangeAddress crA, CellRangeAddress crB ){int firstRow = crB.getFirstRow();int lastRow  = crB.getLastRow();int firstCol = crB.getFirstColumn();int lastCol  = crB.getLastColumn();if (gt(crA.getFirstRow(),    lastRow) || lt(crA.getLastRow(),    firstRow) ||gt(crA.getFirstColumn(), lastCol) || lt(crA.getLastColumn(), firstCol)){return NO_INTERSECTION;}else if( contains(crA, crB) ){return INSIDE;}else if( contains(crB, crA)){return ENCLOSES;}else{return OVERLAP;}}

// Translation:
public static int Intersect(CellRangeAddress crA, CellRangeAddress crB){int firstRow = crB.FirstRow;int lastRow = crB.LastRow;int firstCol = crB.FirstColumn;int lastCol = crB.LastColumn;if(gt(crA.FirstRow, lastRow) ||lt(crA.LastRow, firstRow) ||gt(crA.FirstColumn, lastCol) ||lt(crA.LastColumn, firstCol)){return NO_INTERSECTION;}else if (Contains(crA, crB)){return INSIDE;}else if (Contains(crB, crA)){return ENCLOSES;}else{return OVERLAP;}}
// Original:
public short getXFAt(int coffset) {return _xfs[coffset];}

// Translation:
public short GetXFAt(int coffset){return _xfs[coffset];}
// Original:
public static final boolean isId(@Nullable String id) {if (id == null) {return false;}if (id.length() != Constants.OBJECT_ID_STRING_LENGTH)return false;try {for (int i = 0; i < Constants.OBJECT_ID_STRING_LENGTH; i++) {RawParseUtils.parseHexInt4((byte) id.charAt(i));}return true;} catch (ArrayIndexOutOfBoundsException e) {return false;}}

// Translation:
public static bool IsId(string id){if (id.Length != Constants.OBJECT_ID_STRING_LENGTH){return false;}try{for (int i = 0; i < Constants.OBJECT_ID_STRING_LENGTH; i++){RawParseUtils.ParseHexInt4(unchecked((byte)id[i]));}return true;}catch (IndexOutOfRangeException){return false;}}
// Original:
@Override public boolean isEmpty() {return countMap.isEmpty();}

// Translation:
public override bool isEmpty(){return this._enclosing._size == 0;}
// Original:
public ByteVector(byte[] a, int capacity) {if (capacity > 0) {blockSize = capacity;} else {blockSize = DEFAULT_BLOCK_SIZE;}array = a;n = 0;}

// Translation:
public ByteVector(byte[] a, int capacity){if (capacity > 0){blockSize = capacity;}else{blockSize = DEFAULT_BLOCK_SIZE;}array = a;n = 0;}
// Original:
public void write(int oneByte) throws IOException {write(new byte[] { (byte) oneByte }, 0, 1);}

// Translation:
public override void write(int oneByte){throw new System.NotImplementedException();}
// Original:
public SegmentCommitInfo info(int i) {return segments.get(i);}

// Translation:
public SegmentCommitInfo Info(int i) {return segments[i];}
// Original:
public ListDistributionsByWebACLIdResult listDistributionsByWebACLId(ListDistributionsByWebACLIdRequest request) {request = beforeClientExecution(request);return executeListDistributionsByWebACLId(request);}

// Translation:
public virtual ListDistributionsByWebACLIdResponse ListDistributionsByWebACLId(ListDistributionsByWebACLIdRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDistributionsByWebACLIdRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDistributionsByWebACLIdResponseUnmarshaller.Instance;return Invoke<ListDistributionsByWebACLIdResponse>(request, options);}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(rt);out.writeShort(grbitFrt);out.writeShort(iObjectKind);out.writeShort(iObjectContext);out.writeShort(iObjectInstance1);out.writeShort(iObjectInstance2);}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(rt);out1.WriteShort(grbitFrt);out1.WriteShort(iObjectKind);out1.WriteShort(iObjectContext);out1.WriteShort(iObjectInstance1);out1.WriteShort(iObjectInstance2);}
// Original:
public CreateDeliveryStreamResult createDeliveryStream(CreateDeliveryStreamRequest request) {request = beforeClientExecution(request);return executeCreateDeliveryStream(request);}

// Translation:
public virtual CreateDeliveryStreamResponse CreateDeliveryStream(CreateDeliveryStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDeliveryStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDeliveryStreamResponseUnmarshaller.Instance;return Invoke<CreateDeliveryStreamResponse>(request, options);}
// Original:
public ResetDBParameterGroupResult resetDBParameterGroup(ResetDBParameterGroupRequest request) {request = beforeClientExecution(request);return executeResetDBParameterGroup(request);}

// Translation:
public virtual ResetDBParameterGroupResponse ResetDBParameterGroup(ResetDBParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResetDBParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ResetDBParameterGroupResponseUnmarshaller.Instance;return Invoke<ResetDBParameterGroupResponse>(request, options);}
// Original:
public DescribeDocumentClassificationJobResult describeDocumentClassificationJob(DescribeDocumentClassificationJobRequest request) {request = beforeClientExecution(request);return executeDescribeDocumentClassificationJob(request);}

// Translation:
public virtual DescribeDocumentClassificationJobResponse DescribeDocumentClassificationJob(DescribeDocumentClassificationJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDocumentClassificationJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDocumentClassificationJobResponseUnmarshaller.Instance;return Invoke<DescribeDocumentClassificationJobResponse>(request, options);}
// Original:
public DescribeSecurityGroupsResult describeSecurityGroups(DescribeSecurityGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeSecurityGroups(request);}

// Translation:
public virtual DescribeSecurityGroupsResponse DescribeSecurityGroups(DescribeSecurityGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSecurityGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSecurityGroupsResponseUnmarshaller.Instance;return Invoke<DescribeSecurityGroupsResponse>(request, options);}
// Original:
public UpdateTrafficPolicyInstanceResult updateTrafficPolicyInstance(UpdateTrafficPolicyInstanceRequest request) {request = beforeClientExecution(request);return executeUpdateTrafficPolicyInstance(request);}

// Translation:
public virtual UpdateTrafficPolicyInstanceResponse UpdateTrafficPolicyInstance(UpdateTrafficPolicyInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateTrafficPolicyInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateTrafficPolicyInstanceResponseUnmarshaller.Instance;return Invoke<UpdateTrafficPolicyInstanceResponse>(request, options);}
// Original:
public BinaryHunk getForwardBinaryHunk() {return forwardBinaryHunk;}

// Translation:
public virtual BinaryHunk GetForwardBinaryHunk(){return forwardBinaryHunk;}
// Original:
public static ByteBuffer allocateDirect(int capacity) {if (capacity < 0) {throw new IllegalArgumentException();}return new ReadWriteDirectByteBuffer(capacity);}

// Translation:
public static java.nio.ByteBuffer allocateDirect(int capacity_1){if (capacity_1 < 0){throw new System.ArgumentException();}return new java.nio.ReadWriteHeapByteBuffer(capacity_1);}
// Original:
public void drawString(String str, int x, int y){if (str == null || str.isEmpty())return;Font excelFont = font;if ( font.getName().equals( "SansSerif" ) ){excelFont = new Font( "Arial", font.getStyle(), (int) ( font.getSize() / verticalPixelsPerPoint ) );}else{excelFont = new Font( font.getName(), font.getStyle(), (int) ( font.getSize() / verticalPixelsPerPoint ));}FontDetails d = StaticFontMetrics.getFontDetails( excelFont );int width = d.getStringWidth( str ) * 8  + 12;int height = (int) ( ( font.getSize() / verticalPixelsPerPoint ) + 6 ) * 2;y -= ( font.getSize() / verticalPixelsPerPoint ) + 2 * verticalPixelsPerPoint;    HSSFTextbox textbox = escherGroup.createTextbox( new HSSFChildAnchor( x, y, x + width, y + height ) );textbox.setNoFill( true );textbox.setLineStyle( HSSFShape.LINESTYLE_NONE );HSSFRichTextString s = new HSSFRichTextString( str );HSSFFont hssfFont = matchFont( excelFont );s.applyFont( hssfFont );textbox.setString( s );}

// Translation:
public void DrawString(String str, int x, int y){if (string.IsNullOrEmpty(str))return;using (Font excelFont = new Font(font.Name.Equals("SansSerif") ? "Arial" : font.Name, (int)(font.Size / verticalPixelsPerPoint), font.Style)){FontDetails d = StaticFontMetrics.GetFontDetails(excelFont);int width = (int)((d.GetStringWidth(str) * 8) + 12);int height = (int)((font.Size / verticalPixelsPerPoint) + 6) * 2;y -= Convert.ToInt32((font.Size / verticalPixelsPerPoint) + 2 * verticalPixelsPerPoint);    HSSFTextbox textbox = escherGroup.CreateTextbox(new HSSFChildAnchor(x, y, x + width, y + height));textbox.IsNoFill = (true);textbox.LineStyle = LineStyle.None;HSSFRichTextString s = new HSSFRichTextString(str);HSSFFont hssfFont = MatchFont(excelFont);s.ApplyFont(hssfFont);textbox.String = (s);}}
// Original:
public Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf) {List<Query> luceneSubQueries = makeLuceneSubQueriesField(fieldName, qf);BooleanQuery.Builder bq = new BooleanQuery.Builder();bq.add( luceneSubQueries.get(0), BooleanClause.Occur.MUST);SrndBooleanQuery.addQueriesToBoolean(bq,luceneSubQueries.subList(1, luceneSubQueries.size()),BooleanClause.Occur.MUST_NOT);return bq.build();}

// Translation:
public override Search.Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf){var luceneSubQueries = MakeLuceneSubQueriesField(fieldName, qf);BooleanQuery bq = new BooleanQuery();bq.Add(luceneSubQueries.FirstOrDefault(), Occur.MUST);SrndBooleanQuery.AddQueriesToBoolean(bq,luceneSubQueries.Skip(1).ToList(),Occur.MUST_NOT);return bq;}
// Original:
public void reset(byte[] treeData) {attributesNode = null;raw = treeData;prevPtr = -1;currPtr = 0;if (eof())nextPtr = 0;elseparseEntry();}

// Translation:
public virtual void Reset(byte[] treeData){raw = treeData;prevPtr = -1;currPtr = 0;if (Eof){nextPtr = 0;}else{ParseEntry();}}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_save_link_values);}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_save_link_values);}
// Original:
public static Boolean toBooleanOrNull(String stringValue) {if (stringValue == null)return null;if (equalsIgnoreCase("yes", stringValue) || equalsIgnoreCase("true", stringValue) || equalsIgnoreCase("1", stringValue) || equalsIgnoreCase("on", stringValue)) return Boolean.TRUE;else if (equalsIgnoreCase("no", stringValue) || equalsIgnoreCase("false", stringValue) || equalsIgnoreCase("0", stringValue) || equalsIgnoreCase("off", stringValue)) return Boolean.FALSE;elsereturn null;}

// Translation:
public static bool? ToBooleanOrNull(string stringValue){if (stringValue == null){return null;}if (EqualsIgnoreCase("yes", stringValue) || EqualsIgnoreCase("true", stringValue)|| EqualsIgnoreCase("1", stringValue) || EqualsIgnoreCase("on", stringValue)){return true;}else{if (EqualsIgnoreCase("no", stringValue) || EqualsIgnoreCase("false", stringValue)|| EqualsIgnoreCase("0", stringValue) || EqualsIgnoreCase("off", stringValue)){return false;}else{return null;}}}
// Original:
public RevObject lookupOrNull(AnyObjectId id) {return objects.get(id);}

// Translation:
public virtual RevObject LookupOrNull(AnyObjectId id){return objects.Get(id);}
// Original:
public void cloneStyleFrom(FontRecord source) {field_1_font_height         = source.field_1_font_height;field_2_attributes          = source.field_2_attributes;field_3_color_palette_index = source.field_3_color_palette_index;field_4_bold_weight         = source.field_4_bold_weight;field_5_super_sub_script    = source.field_5_super_sub_script;field_6_underline           = source.field_6_underline;field_7_family              = source.field_7_family;field_8_charset             = source.field_8_charset;field_9_zero                = source.field_9_zero;field_11_font_name          = source.field_11_font_name;}

// Translation:
public void CloneStyleFrom(FontRecord source){field_1_font_height = source.field_1_font_height;field_2_attributes = source.field_2_attributes;field_3_color_palette_index = source.field_3_color_palette_index;field_4_bold_weight = source.field_4_bold_weight;field_5_base_sub_script = source.field_5_base_sub_script;field_6_underline = source.field_6_underline;field_7_family = source.field_7_family;field_8_charset = source.field_8_charset;field_9_zero = source.field_9_zero;field_11_font_name = source.field_11_font_name;}
// Original:
public BrazilianStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public BrazilianStemFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public static byte lookupCharacterClass(String characterClassName) {return (byte) CharacterClass.valueOf(characterClassName).ordinal();}

// Translation:
public static byte LookupCharacterClass(string characterClassName){return (byte)Enum.Parse(typeof(CharacterClass), characterClassName, true);}
// Original:
public ArrayList(int capacity) {if (capacity < 0) {throw new IllegalArgumentException();}array = (capacity == 0 ? EmptyArray.OBJECT : new Object[capacity]);}

// Translation:
public ArrayList(int capacity){if (capacity < 0){throw new System.ArgumentException();}array = (capacity == 0 ? libcore.util.EmptyArray.OBJECT : new object[capacity]);}
// Original:
public CreateHumanTaskUiResult createHumanTaskUi(CreateHumanTaskUiRequest request) {request = beforeClientExecution(request);return executeCreateHumanTaskUi(request);}

// Translation:
public virtual CreateHumanTaskUiResponse CreateHumanTaskUi(CreateHumanTaskUiRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHumanTaskUiRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHumanTaskUiResponseUnmarshaller.Instance;return Invoke<CreateHumanTaskUiResponse>(request, options);}
// Original:
public GetSoftwareUpdatesResult getSoftwareUpdates(GetSoftwareUpdatesRequest request) {request = beforeClientExecution(request);return executeGetSoftwareUpdates(request);}

// Translation:
public virtual GetSoftwareUpdatesResponse GetSoftwareUpdates(GetSoftwareUpdatesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSoftwareUpdatesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSoftwareUpdatesResponseUnmarshaller.Instance;return Invoke<GetSoftwareUpdatesResponse>(request, options);}
// Original:
public NamePtg createPtg() {return new NamePtg(_index);}

// Translation:
public NamePtg CreatePtg(){return new NamePtg(_index);}