anchor.diff:      #endif
   
       /// Retrieves the environment variable with the given name
  -    let environVar name = Environment.GetEnvironmentVariable name
  +    let environVar name = System.Environment.GetEnvironmentVariable name
   
       /// Retrieves all environment variables from the given target
       let environVars () = 
  -        let vars = Environment.GetEnvironmentVariables ()
  +        let vars = System.Environment.GetEnvironmentVariables ()
           [ for e in vars -> 
                 let e1 = e :?> Collections.DictionaryEntry
                 e1.Key, e1.Value ]
  
positive.code:     [<Obsolete("Will no longer be available in dotnetcore, target package is currently unknown")>]
      /// Retrieves lots of machine specific information like machine name, processor count etc.
      let getMachineEnvironment() = 
          { ProcessorCount = Environment.ProcessorCount
            Is64bit = Environment.Is64BitOperatingSystem
            OperatingSystem = Environment.OSVersion.ToString()
            MachineName = Environment.MachineName
            NETFrameworks = getInstalledDotNetFrameworks()
            UserDomainName = Environment.UserDomainName
            AgentVersion = 
                sprintf "%A" ((System.Reflection.Assembly.GetAssembly(typedefof<MachineDetails>)).GetName().Version)
            DriveInfo = getDrivesInfo() }
  
negative.code:         System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(
              System.Runtime.InteropServices.OSPlatform.Windows)
      #else
          match System.Environment.OSVersion.Platform with
          | PlatformID.Win32NT | PlatformID.Win32S | PlatformID.Win32Windows | PlatformID.WinCE -> true
          | _ -> false
      #endif
  