/* 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 { /// /// Decompiler constants /// public static class DecompilerConstants { /// Order of C# language (ILSpy) public static readonly double CSHARP_ILSPY_ORDERUI = 0; /// Order of Visual Basic language (ILSpy) public static readonly double VISUALBASIC_ILSPY_ORDERUI = 100; /// Order of IL language (ILSpy) public static readonly double IL_ILSPY_ORDERUI = 200; /// Order of C# debug languages (ILSpy) public static readonly double CSHARP_ILSPY_DEBUG_ORDERUI = 10000; /// Order of ILAst debug languages (ILSpy) public static readonly double ILAST_ILSPY_DEBUG_ORDERUI = 20000; /// IL language public static readonly Guid LANGUAGE_IL = new Guid("9EF276FD-3293-42A4-B48A-1D6A69086B3D"); /// IL language (ILSpy) public static readonly Guid LANGUAGE_IL_ILSPY = new Guid("A4F35508-691F-4BD0-B74D-D5D5D1D0E8E6"); /// ILAst language (ILSpy) public static readonly Guid LANGUAGE_ILAST_ILSPY = new Guid("CA52A515-12AE-4182-BC88-81ED037C3D32"); /// C# language public static readonly Guid LANGUAGE_CSHARP = new Guid("F5A318D4-4B2A-48D2-AE33-F4D2B1EFF4B0"); /// C# language (ILSpy) public static readonly Guid LANGUAGE_CSHARP_ILSPY = new Guid("4162DADA-67C3-4DE4-A5F3-6552C8353ECE"); /// Visual Basic language public static readonly Guid LANGUAGE_VISUALBASIC = new Guid("B6849618-8239-4FBB-8DFF-D45EB023C193"); /// Visual Basic language (ILSpy) public static readonly Guid LANGUAGE_VISUALBASIC_ILSPY = new Guid("BBA40092-76B2-4184-8E81-0F1E3ED14E72"); /// Name of IL language returned by public static readonly string GENERIC_NAMEUI_IL = "IL"; /// Name of C# language returned by public static readonly string GENERIC_NAMEUI_CSHARP = "C#"; /// Name of Visual Basic language returned by public static readonly string GENERIC_NAMEUI_VISUALBASIC = "Visual Basic"; } }