Microsoft.JScript.Vsa.VsaEngine.ResetCompiledState C# (CSharp) Method

ResetCompiledState() protected method

protected ResetCompiledState ( ) : void
return void
      protected override void ResetCompiledState(){
        if (this.globalScope != null){
          this.globalScope.Reset();
          this.globalScope = null;
        }
        this.classCounter = 0;
        this.haveCompiledState = false;
        this.failedCompilation = true;
        this.compiledRootNamespace = null;
        this.startupClass = null;
        this.compilerGlobals = null;
        this.globals = null;
        foreach (Object item in this.vsaItems)
          ((VsaItem)item).Reset();
        this.implicitAssemblies = null;
        this.implicitAssemblyCache = null;
        this.cachedTypeLookups = null;
        this.isEngineCompiled = false;
        this.isEngineRunning = false;
        this.isCompilerSet = false;
        this.packages = null;
        if (!this.doSaveAfterCompile)
          this.PEFileName = null;
        this.rawPE = null;
        this.rawPDB = null;
      }