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

Changes necessary to ensure that mono and windows both serialize templates identically

This commit is contained in:
Kevin Glynn 2011-09-07 11:12:05 +02:00
parent 87625a5c48
commit 3ad0b16e4b

View File

@ -1274,6 +1274,7 @@ namespace Twiglet.CS2J.Translator.TypeRep
set { _javaGet = value; }
}
/*
public override string Java
{
get
@ -1281,6 +1282,7 @@ namespace Twiglet.CS2J.Translator.TypeRep
return JavaGet;
}
}
*/
protected string _javaSet = null;
[XmlElementAttribute("Set")]
@ -1348,7 +1350,7 @@ namespace Twiglet.CS2J.Translator.TypeRep
public override string mkJava ()
{
// favour JavaGet
return null;
return JavaGet;
}
#region Equality
@ -2647,6 +2649,7 @@ namespace Twiglet.CS2J.Translator.TypeRep
}
}
[XmlArrayItem("Cast")]
public override List<CastRepTemplate> Casts {
get {
if (_casts == null)