anchor.diff:  
   Add-Type -TypeDefinition $hostSource -Language CSharp
   
  -function Invoke-PowerShellUserCode
  -{
  -  [CmdletBinding()]
  -  param(
  -    [String]
  -    $Code,
  -
  -    [String]
  -    $EventName,
  -
  -    [Int]
  -    $TimeoutMilliseconds
  -  )
  -
  -  #this is a string so we can import into our dynamic PS instance
  -  $ourFunctions = @'
  +#this is a string so we can import into our dynamic PS instance
  +$global:ourFunctions = @'
   function Get-ProcessEnvironmentVariables
   {
     $processVars = [Environment]::GetEnvironmentVariables('Process').Keys |
  
positive.code: }
  '@
  
    $event = [System.Threading.EventWaitHandle]::OpenExisting($EventName)
  
    if ($global:runspace -eq $null){
  
negative.code: 
      $ps = [System.Management.Automation.PowerShell]::Create()
      $ps.Runspace = $global:runspace
      [Void]$ps.AddScript($global:ourFunctions)
      $ps.Invoke()
  
  
  