anchor.diff:                IL_0006:  ret
               }""" ]
   
  +    let nonStructRecord =
  +        FSharp
  +            """
  +            module Test
  +
  +            type MyRecord = { MyField : int }
  +            """
  +
  +    [<Fact>]
  +    let ``Non-struct record doesn't have readonly getters`` () =
  +        nonStructRecord
  +        |> compileAssembly
  +        |> getType "Test+MyRecord"
  +        |> getMethod "get_MyField"
  +        |> shouldn't haveAttribute "IsReadOnlyAttribute"
  +
       [<Fact>]
       let ``Non-struct record doesn't have readonly getters in IL`` () =
           nonStructRecord
  
positive.code:               IL_0001:  ldfld      int32 Test/MyRecord::MyField@
                IL_0006:  ret
              } """ ]
  
negative.code:             [<Struct>] type MyRecord = { MyField : int }
              """
  
      [<Fact>]
      let ``Struct record has readonly attribute on getter`` () =
          structRecord
  