public class CompilerContext
{
readonly Report report;
- readonly ReflectionMetaImporter meta_importer;
readonly PredefinedAttributes attributes;
- readonly GlobalRootNamespace root;
- public CompilerContext (ReflectionMetaImporter metaImporter, Report report)
+ public CompilerContext (Report report)
{
- this.meta_importer = metaImporter;
this.report = report;
this.attributes = new PredefinedAttributes ();
- this.root = new GlobalRootNamespace ();
}
#region Properties
- public GlobalRootNamespace GlobalRootNamespace {
- get {
- return root;
- }
- }
+ // TODO: Obsolete, it has to go
+ public RootNamespace GlobalRootNamespace { get; set; }
public bool IsRuntimeBinder { get; set; }
- public ReflectionMetaImporter MetaImporter {
- get {
- return meta_importer;
- }
- }
-
public PredefinedAttributes PredefinedAttributes {
get {
return attributes;