void FormatType(DmdType type) { var typeOptions = options.ToTypeFormatterOptions(showArrayValueSizes: false); if (Edit) { typeOptions |= TypeFormatterOptions.Namespaces; typeOptions &= ~TypeFormatterOptions.Tokens; } new VisualBasicTypeFormatter(output, typeOptions, cultureInfo).Format(type, null); }
void FormatTypeName(DbgDotNetValue value) { OutputWrite(TypeNameOpenParen, DbgTextColor.Error); new VisualBasicTypeFormatter(output, options.ToTypeFormatterOptions(showArrayValueSizes: true), cultureInfo).Format(value.Type, value); OutputWrite(TypeNameCloseParen, DbgTextColor.Error); }