/*
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.Decompiler {
///
/// Formatter options
///
[Flags]
public enum FormatterOptions {
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
ShowModuleNames = 0x00000001,
ShowParameterTypes = 0x00000002,
ShowParameterNames = 0x00000004,
ShowDeclaringTypes = 0x00000008,
ShowReturnTypes = 0x00000010,
ShowNamespaces = 0x00000020,
ShowIntrinsicTypeKeywords = 0x00000040,
UseDecimal = 0x00000080,
ShowTokens = 0x00000100,
ShowArrayValueSizes = 0x00000200,
ShowFieldLiteralValues = 0x00000400,
ShowParameterLiteralValues = 0x00000800,
DigitSeparators = 0x00001000,
Default =
ShowParameterTypes |
ShowParameterNames |
ShowDeclaringTypes |
ShowReturnTypes |
ShowIntrinsicTypeKeywords |
ShowFieldLiteralValues,
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
}
}