private Bug421071Test.TopLevelScope CreateGlobalScope() { factory = new Bug421071Test.DynamicScopeContextFactory(); Context context = factory.EnterContext(); // noinspection deprecation Bug421071Test.TopLevelScope globalScope = new Bug421071Test.TopLevelScope(this, context); Context.Exit(); return globalScope; }
protected virtual void SetUp() { globalScope = CreateGlobalScope(); }