/*
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.Disassembly.Viewer {
///
/// Disassembly options
///
[Flags]
public enum DisassemblyContentFormatterOptions : uint {
///
/// No option is enabled
///
None = 0,
///
/// Add an empty line between basic blocks (overrides global options)
///
EmptyLineBetweenBasicBlocks = 0x00000001,
///
/// Don't add an empty line between basic blocks (overrides global options)
///
NoEmptyLineBetweenBasicBlocks = 0x00000002,
///
/// Show instruction addresses (overrides global options)
///
InstructionAddresses = 0x00000004,
///
/// Don't show instruction addresses (overrides global options)
///
NoInstructionAddresses = 0x00000008,
///
/// Show instruction bytes (overrides global options)
///
InstructionBytes = 0x00000010,
///
/// Don't show instruction bytes (overrides global options)
///
NoInstructionBytes = 0x00000020,
///
/// Add labels to the disassembled code (overrides global options)
///
AddLabels = 0x00000040,
///
/// Don't add labels to the disassembled code (overrides global options)
///
NoAddLabels = 0x00000080,
}
}