anchor.diff:              [<Struct>] type MyRecord = { MyField : int }
               """
   
  -    let nonStructRecord =
  -        FSharp
  -            """
  -            module Test
  -
  -            type MyRecord = { MyField : int }
  -            """
  -
  -    let structAnonRecord =
  -        FSharp
  -            """
  -            module Test
  -
  -            let myRecord = struct {| MyField = 3 |}
  -            """
  -
  -    let nonStructAnonRecord =
  -        FSharp
  -            """
  -            module Test
  -
  -            let myRecord = {| MyField = 3 |}
  -            """
  -
  -    let structNonRecord =
  -        FSharp
  -            """
  -            module Test
  -
  -            [<Struct>]
  -            type MyStruct =
  -                val MyField: int
  -            """
  -
  -    let structWithCustomGetter =
  -        FSharp
  -            """
  -            module Test
  -
  -            [<Struct>]
  -            type MyStruct =
  -                val mutable x: int
  -                member this.MyField with get () = this.x <- 4
  -            """
  -
       [<Fact>]
       let ``Struct record has readonly attribute on getter`` () =
           structRecord
  
positive.code:               IL_0006:  ret
              }""" ]
  
      [<Fact>]
      let ``Non-struct record doesn't have readonly getters in IL`` () =
          nonStructRecord
  
negative.code:         |> getType "Test+MyRecord"
          |> getMethod "get_MyField"
          |> should haveAttribute "IsReadOnlyAttribute"
  
      [<Fact>]
      let ``Struct record has readonly attribute on getter in IL`` () =
  