/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
dnSpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with dnSpy. If not, see .
*/
using System;
namespace dnSpy.Contracts.Debugger.Evaluation {
///
/// Value formatter options
///
[Flags]
public enum DbgValueFormatterOptions {
///
/// No bit is set
///
None = 0,
///
/// Set if it should be formatted so it can be edited
///
Edit = 0x00000001,
///
/// Set if integers are shown in decimal, clear if integers are shown in hexadecimal
///
Decimal = 0x00000002,
///
/// Set to allow function evaluations (calling methods in the debugged process)
///
FuncEval = 0x00000004,
///
/// Set to allow calling methods to get a string representation of the value. must also be set.
/// If it's a simple type (eg. an integer), it's formatted without calling any methods in the debugged process and
/// this flag is ignored.
///
ToString = 0x00000008,
///
/// Use digit separators. This flag is ignored if is set and the language doesn't support digit separators
///
DigitSeparators = 0x00000010,
///
/// Don't show string quotes, just the raw string value
///
NoStringQuotes = 0x00000020,
///
/// Don't use debugger display attributes
///
NoDebuggerDisplay = 0x00000040,
///
/// Show the full string value even if it's a very long string
///
FullString = 0x00000080,
///
/// Show namespaces. Only used if is clear
///
Namespaces = 0x20000000,
///
/// Show intrinsic type keywords (eg. int instead of Int32)
///
IntrinsicTypeKeywords = 0x40000000,
///
/// Show tokens. Only used if is clear
///
Tokens = int.MinValue,
}
}