public void Write(ISyntaxHighlightOutput output, TypeFormatFlags flags) { debugger.Dispatcher.UI(() => code.Write(new OutputConverter(output), (TypePrinterFlags)flags)); }