コード例 #1
0
        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);
        }
コード例 #2
0
 void FormatTypeName(DbgDotNetValue value)
 {
     OutputWrite(TypeNameOpenParen, DbgTextColor.Error);
     new VisualBasicTypeFormatter(output, options.ToTypeFormatterOptions(showArrayValueSizes: true), cultureInfo).Format(value.Type, value);
     OutputWrite(TypeNameCloseParen, DbgTextColor.Error);
 }