Microsoft.JScript.Vsa.VsaEngine.CreateShutdownIL C# (CSharp) Méthode

CreateShutdownIL() private méthode

private CreateShutdownIL ( ILGenerator il ) : void
il System.Reflection.Emit.ILGenerator
Résultat void
      private void CreateShutdownIL(ILGenerator il){
        // release references to global instances
        foreach (Object item in this.vsaItems){
          if (item is VsaHostObject){
            il.Emit(OpCodes.Ldnull); 
            il.Emit(OpCodes.Stsfld, ((VsaHostObject)item).Field);
          }
        }
        il.Emit(OpCodes.Ret);
      }