anchor.diff:                  yield!
                       // it might be that a specific assembly has multiple attributes of the same name
                       // if more than one occurences appear, append numerical suffixes to avoid compile errors
  -                    attributes
  -                    |> Seq.mapi (fun index a -> index,a)
  -                    |> Seq.groupBy (fun (_,attr) -> attr.StaticPropertyName)
  -                    |> Seq.collect (fun (_,group) -> group |> Seq.mapi (fun i a -> i,a))
  -                    |> Seq.sortBy (fun (_,(index,_)) -> index)
  -                    |> Seq.map (fun (id,(_,attr)) ->
  -                        let name = if id = 0 then attr.StaticPropertyName else sprintf "%s_%d" attr.StaticPropertyName id
  -                        sprintf "    let [<Literal>] %s = %s" name attr.StaticPropertyValue)
  +                    attributes 
  +                    |> getSortedAndNumberedAttributes 
  +                    |> Seq.map (fun (name, _, value) -> sprintf "    let [<Literal>] %s = %s" name value) 
           ]
   
       sourceLines |> writeToFile outputFileName
  
positive.code:     | Some attr -> attr.Value
      | None _ -> getAssemblyVersionInfo attributes
  
  /// Creates a C# AssemblyInfo file with the given attributes and configuration.
  /// The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
  let CreateCSharpAssemblyInfoWithConfig outputFileName attributes (config : AssemblyInfoFileConfig) =
  
negative.code:         if generateClass then
              let consts =
                  attributes
                  |> getSortedAndNumberedAttributes 
                  |> Seq.map (fun (name, attrtype, value) ->
                      sprintf "        internal const %s %s = %s;" attrtype name value)
                  |> Seq.toList
              [ sprintf "namespace %s {" useNamespace
                "    internal static class AssemblyVersionInformation {" ]
  