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

No Imports for Unknown types

This commit is contained in:
Kevin Glynn 2011-01-14 14:38:45 +01:00
parent 7dfb0d9502
commit 549d1f59d0

View File

@ -159,7 +159,7 @@ namespace RusticiSoftware.Translator.CLR
// Java imports required to make Java translation run
private string[] _imports = null;
[XmlArrayItem("Import")]
public string[] Imports {
public virtual string[] Imports {
get {
// if _java is not set then see if we have default imports, otherwise
// assume imports is already correctly (un)set
@ -1773,6 +1773,11 @@ namespace RusticiSoftware.Translator.CLR
{
}
public override string[] Imports {
get {
return new string[0];
}
}
public override TypeRep mkEmptyRep ()
{