anchor.diff:          System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(
               System.Runtime.InteropServices.OSPlatform.OSX)
       #else
  -        (Environment.OSVersion.Platform = PlatformID.MacOSX) ||
  +        (System.Environment.OSVersion.Platform = PlatformID.MacOSX) ||
               // osascript is the AppleScript interpreter on OS X
               File.Exists "/usr/bin/osascript"
       #endif
  
positive.code:         System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(
              System.Runtime.InteropServices.OSPlatform.OSX)
      #else
          int Environment.OSVersion.Platform |> fun p -> (p = 4) || (p = 6) || (p = 128)
      #endif
  
      /// Determines if the current system is a MacOs system
  
negative.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 = System.Environment.ProcessorCount
            Is64bit = System.Environment.Is64BitOperatingSystem
            OperatingSystem = System.Environment.OSVersion.ToString()
            MachineName = System.Environment.MachineName
            NETFrameworks = getInstalledDotNetFrameworks()
            UserDomainName = System.Environment.UserDomainName
            AgentVersion = 
                sprintf "%A" ((System.Reflection.Assembly.GetAssembly(typedefof<MachineDetails>)).GetName().Version)
            DriveInfo = getDrivesInfo() }
  