anchor.diff:          |> ignoreWarnings
           |> compile
           |> shouldFail
  -        |> withErrorCode 101
  -        |> withErrorMessage "This construct is deprecated. Use B instead"
  +        |> withDiagnostics [
  +            (Error 101, Line 10, Col 1, Line 10, Col 2, "This construct is deprecated. Use B instead")
  +        ]
           
       [<Fact>]
       let ``Obsolete attribute is taken into account when used on a record member and method invocation`` () =
           Fsx """
   open System
  -
   
   type C = 
       {  X : int }
  
positive.code: 
  let c = C()
  c.Update()
  
          """
          |> ignoreWarnings
          |> compile
          |> shouldFail
          |> withErrorCodes [ 101; 101]
          |> withErrorMessages [ "This construct is deprecated. Use B instead"; "This construct is deprecated. Use B instead"]
  
  
      [<Fact>]
      let ``Obsolete attribute is taken into account when used on struct type and instantiate the type`` () =
  
negative.code:         |> ignoreWarnings
          |> compile
          |> shouldFail
          |> withDiagnostics [
              (Error 101, Line 9, Col 9, Line 9, Col 10, "This construct is deprecated. Use B instead")
          ]
  
      [<Fact>]
      let ``Obsolete attribute is taken into account when used on a member and invoking the member`` () =
  