Fixed: default kept state between compilations

I know having a property return an instance every call is not a good
design. I get it.
This commit is contained in:
arookas 2016-02-01 05:48:12 -05:00
parent 8246538bbb
commit 5292b55078

View file

@ -5,14 +5,8 @@ using System.Linq;
namespace arookas {
public abstract class sunImportResolver {
static sunImportResolver sDefaultResolver;
public static sunImportResolver Default {
get { return sDefaultResolver; }
}
static sunImportResolver() {
sDefaultResolver = new sunDefaultImportResolver();
get { return new sunDefaultImportResolver(); }
}
public abstract void EnterFile(sunScriptFile file);