anchor.diff:          checkNonNull "set" set
   
           set.ToArray ()
  -
  -    /// Builds a Set that contains the same elements as the given IntSet.
  +        |> retype
  +
  +    /// Builds a Set that contains the same elements as the given TagSet.
       [<CompiledName("ToSet")>]
  -    let inline toSet (set : TagSet<'Tag>) =
  +    let inline toSet (set : TagSet<'Tag>) : Set<int<'Tag>> =
           // Retype as IntSet
           let set : IntSet = retype set
   
  
positive.code:         checkNonNull "set" set
  
          set.ToSet ()
  
      /// Applies the given function to each element of the set,
      /// in order according to the comparison function.
  
negative.code: 
      /// Builds a list that contains the elements of the set in order.
      [<CompiledName("ToList")>]
      let inline toList (set : TagSet<'Tag>) : int<'Tag> list =
          // Retype as IntSet
          let set : IntSet = retype set
  
  