anchor.diff:  
       let mutable tagStack = System.Collections.Generic.Stack()
       let currentAttributes = ResizeArray()
  -
  -    let encodeText (text: string) =
  -        text // TODO dotnet: do encode
   
       new (w) = new HtmlTextWriter(w, "\t")
   
  
positive.code:         this.WriteAttribute(name, value, false)
  
      member this.WriteAttribute(name: string, value: string, encoded: bool) =
          this.Write(" {0}=\"{1}\"", name, encodeText value)
  
  #endif
  
  
negative.code:         this.Write(">")
  
      member this.WriteEncodedText(text: string) =
          WebUtility.HtmlEncode(text, w)
  
      member this.AddAttribute(name: string, value: string) =
          currentAttributes.Add(struct (name, value))
  
  