module RootModle =
  open System
  open System.Collections.Generic

  let foo () =
    Regex(*-2,|-2*)

  type T = {
    Value: Regex(*-5,2*)
  }
  with
    member _.Foo () =
      Regex(*-9,2*)

  module Nested1 =

    let foo =
      Regex(*-2,|-2*)

    type T = {
      Value: Regex(*-5,|-2*)
    }
    with
      member _.Foo () =
        Regex(*-9,|-4*)
