anchor.diff:  let ``ErasingProvider generates for Portable Profile 7 F# 4.0 correctly``() : unit = 
     // disabled on Linux for now because the standard packages don't come with F# PCL FSharp.Core.dll for this profile
     if Environment.OSVersion.Platform <> PlatformID.Unix then 
  -    let res = testCrossTargeting Targets.Portable7FSharp40Refs ErasingProvider [| |]
  +    let res = testCrossTargeting Targets.Portable7FSharp40Refs (fun args -> new ErasingProvider(args)) [| |]
       Assert.True(res.Contains "[FSharp.Core, Version=3.7.4.0")
       Assert.False(res.Contains "[FSharp.Core, Version=4.3.1.0")
       Assert.False(res.Contains "[FSharp.Core, Version=4.4.4.0")
  
positive.code: let ``ErasingConstructorProvider generates for Portable Profile 259 F# 3.1 correctly``() : unit = 
    // disabled on Linux for now because the standard packages don't come with F# PCL FSharp.Core.dll for this profile
    if Environment.OSVersion.Platform <> PlatformID.Unix then 
      let res = testCrossTargeting Targets.Portable259FSharp31Refs ErasingConstructorProvider [| |]
      Assert.True(res.Contains "[FSharp.Core, Version=3.259.3.1")
      Assert.False(res.Contains "[FSharp.Core, Version=4.3.1.0")
      Assert.False(res.Contains "[FSharp.Core, Version=4.4.4.0")
  
negative.code: let ``ErasingConstructorProvider generates for Portable Profile 259 F# 4.0 correctly``() : unit = 
    // disabled on Linux for now because the standard packages don't come with F# PCL FSharp.Core.dll for this profile
    if Environment.OSVersion.Platform <> PlatformID.Unix then 
      let res = testCrossTargeting Targets.Portable259FSharp40Refs (fun args -> new ErasingConstructorProvider(args)) [| |]
      Assert.True(res.Contains "[FSharp.Core, Version=3.259.4.0")
      Assert.False(res.Contains "[FSharp.Core, Version=4.3.1.0")
      Assert.False(res.Contains "[FSharp.Core, Version=4.4.4.0")
  