1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

Java for Property getters setters serialize as Set Get like current cs2j

This commit is contained in:
Kevin Glynn 2010-10-20 18:51:14 +02:00
parent 01ab36f9a6
commit ce5f462672

View File

@ -625,7 +625,8 @@ namespace RusticiSoftware.Translator.CLR
public class PropRepTemplate : FieldRepTemplate, IEquatable<PropRepTemplate>
{
private string _javaGet = null;
private string _javaGet = null;
[XmlElementAttribute("Get")]
public string JavaGet {
get {
if (!CanRead) return null;
@ -645,6 +646,7 @@ namespace RusticiSoftware.Translator.CLR
}
private string _javaSet = null;
[XmlElementAttribute("Set")]
public string JavaSet {
get {
if (_javaSet == null) {