anchor.diff:          resizeArray.[i] <- value
   
   //
  -[<CompiledName("Copy")>]
  -let inline copy (resizeArray : ResizeArray<'T>) : ResizeArray<'T> =
  -    ResizeArray (resizeArray)
  -
  -//
  -[<CompiledName("Singleton")>]
  -let singleton value : ResizeArray<'T> =
  -    let resizeArray = ResizeArray ()
  -    resizeArray.Add value
  -    resizeArray
  -
  -//
  -[<CompiledName("Iter2")>]
  -let iter2 action (resizeArray1 : ResizeArray<'T1>) (resizeArray2 : ResizeArray<'T1>) : unit =
  -    // Preconditions
  -    checkNonNull "resizeArray1" resizeArray1
  -    checkNonNull "resizeArray2" resizeArray2
  -
  -    let len = length resizeArray1
  -    if len <> length resizeArray2 then
  -        invalidArg "resizeArray2" "The ResizeArrays have different lengths."
  -
  -    let action = FSharpFunc<_,_,_>.Adapt action
  -
  -    for i = 0 to len - 1 do
  -        action.Invoke (resizeArray1.[i], resizeArray2.[i])
  -
  -//
  -[<CompiledName("Map2")>]
  -let map2 mapping (resizeArray1 : ResizeArray<'T1>) (resizeArray2 : ResizeArray<'T2>)
  -    : ResizeArray<'U> =
  -    // Preconditions
  -    checkNonNull "resizeArray1" resizeArray1
  -    checkNonNull "resizeArray2" resizeArray2
  -
  -    let len = length resizeArray1
  -    if len <> length resizeArray2 then
  -        invalidArg "resizeArray2" "The ResizeArrays have different lengths."
  -
  -    let mapping = FSharpFunc<_,_,_>.Adapt mapping
  -    let results = ResizeArray (len)
  -
  -    for i = 0 to len - 1 do
  -        mapping.Invoke (resizeArray1.[i], resizeArray2.[i])
  -        |> results.Add
  -    results
  -
  -//
   [<CompiledName("Rev")>]
   let rev (resizeArray : ResizeArray<'T>) : ResizeArray<'T> =
       // Preconditions
  
positive.code:     state
  
  //
  [<CompiledName("FoldBackSub")>]
  let foldBackSub folder (resizeArray : ResizeArray<'T>) startIndex endIndex (state : 'State) : 'State =
      // Preconditions
  
negative.code:     state
  
  //
  [<CompiledName("FoldBackIndexed")>]
  let foldiBack (folder : int -> 'T -> 'State -> 'State) (resizeArray : ResizeArray<'T>) state =
      // Preconditions
      checkNonNull "resizeArray" resizeArray
  
      let folder = FSharpFunc<_,_,_,_>.Adapt folder
  
      let mutable state = state
      for i = resizeArray.Count - 1 downto 0 do
          state <- folder.Invoke (i, resizeArray.[i], state)
      state
  
  //
  [<CompiledName("FoldBack2")>]
  let foldBack2 folder (resizeArray1 : ResizeArray<'T1>)
      (resizeArray2 : ResizeArray<'T2>) (state : 'State) : 'State =
      // Preconditions
      checkNonNull "resizeArray1" resizeArray1
      checkNonNull "resizeArray2" resizeArray2
  
      let len = length resizeArray1
      if len <> length resizeArray2 then
          invalidArg "resizeArray2" "The arrays have different lengths."
  
      let folder = FSharpFunc<_,_,_,_>.Adapt folder
      let mutable state = state
      for i = len - 1 downto 0 do
          state <- folder.Invoke (resizeArray1.[i], resizeArray2.[i], state)
      state
  
  //
  [<CompiledName("Reduce")>]
  let reduce (reduction : 'T -> 'T -> 'T) (resizeArray : ResizeArray<'T>) =
      // Preconditions
      checkNonNull "resizeArray" resizeArray
      if isEmpty resizeArray then
          invalidArg "resizeArray" "The ResizeArray is empty."
  
      let reduction = FSharpFunc<_,_,_>.Adapt reduction
  
      let mutable state = resizeArray.[0]
      let count = resizeArray.Count
      for i = 1 to count - 1 do
          state <- reduction.Invoke (state, resizeArray.[i])
      state
  
  //
  [<CompiledName("ReduceBack")>]
  let reduceBack (reduction : 'T -> 'T -> 'T) (resizeArray : ResizeArray<'T>) : 'T =
      // Preconditions
      checkNonNull "resizeArray" resizeArray
      if isEmpty resizeArray then
          invalidArg "resizeArray" "The ResizeArray is empty."
  
      let reduction = FSharpFunc<_,_,_>.Adapt reduction
  
      let count = resizeArray.Count
      let mutable state = resizeArray.[count - 1]
  
      for i = count - 2 downto 0 do
          state <- reduction.Invoke (resizeArray.[i], state)
      state
  
  //
  [<CompiledName("ScanSub")>]
  let scanSub folder (state : 'State) (resizeArray : ResizeArray<'T>) startIndex endIndex : ResizeArray<'State> =
      // Preconditions
  