anchor.diff:          Log.run (fun () ->
             use _c = Log.colored ConsoleColor.Red
             printfn "\nProcessing the file '%s' failed\nSource written to: '%s'\nCompilation errors:" source csharp
  -          for error in ex.Errors do
  +          for error in ex.CompilerErrors do
               let errorType = if error.IsWarning then "warning" else "error"
               printfn " - %s: (%d, %d) %s" errorType error.Line error.Column error.ErrorText
             printfn ""
  
positive.code:   do namespaces |> Seq.iter (config.Namespaces.Add >> ignore)
    do config.BaseTemplateType <- typedefof<DocPageTemplateBase<_>>
    do config.Debug <- true 
    let templateservice = new MyTemplateService(config)
  
    let handleCompile source f =
      try
  
negative.code:       
    member internal x.HandleCompile source f = handleCompile source f
    member internal x.TemplateName = templateName
    member internal x.WithProperties properties = withProperties properties x.ViewBag
  
    /// Dynamic object with more properties (?)
    member val ViewBag = new DynamicViewBag() with get, set
  
    member x.ProcessFile(?properties) = x.ProcessFileModel(null, null, ?properties = properties)
    member x.ProcessFileDynamic(model:obj,?properties) = x.ProcessFileModel(null, model, ?properties = properties)
        
    member x.ProcessFileModel(modelType : System.Type,model:obj,?properties) =
      handleCompile templateName (fun _ ->
        razorEngine.RunCompile(templateName, modelType, model, x.WithProperties(properties)))
  
  and RazorRender<'model>(layoutRoots, namespaces, templateName, ?references) =
      inherit RazorRender(layoutRoots, namespaces, templateName, modeltype = typeof<'model>, ?references = references)
  
      member x.ProcessFile(model:'model, ?properties) = 
        x.ProcessFileModel(typeof<'model>, model, ?properties = properties)
  
  and StringDictionary(dict:IDictionary<string, string>) =
    member x.Dictionary = dict
  