diff --git a/ILSpy/DecompileEventArgs.cs b/ILSpy/DecompileEventArgs.cs new file mode 100644 index 000000000..64d783f78 --- /dev/null +++ b/ILSpy/DecompileEventArgs.cs @@ -0,0 +1,55 @@ +// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of this +// software and associated documentation files (the "Software"), to deal in the Software +// without restriction, including without limitation the rights to use, copy, modify, merge, +// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons +// to whom the Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies or +// substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using ICSharpCode.Decompiler; +using ICSharpCode.Decompiler.ILAst; +using ICSharpCode.NRefactory.CSharp; +using Mono.Cecil; + +namespace ICSharpCode.ILSpy +{ + /// + /// Decompilation event arguments. + /// + [Obsolete] + public sealed class DecompileEventArgs : EventArgs + { + /// + /// Gets or sets the code mappings + /// + public Dictionary> CodeMappings { get; internal set; } + + /// + /// Gets or sets the local variables. + /// + public ConcurrentDictionary> LocalVariables { get; internal set; } + + /// + /// Gets the list of MembeReferences that are decompiled (TypeDefinitions, MethodDefinitions, etc) + /// + public Dictionary DecompiledMemberReferences { get; internal set; } + + /// + /// Gets (or internal sets) the AST nodes. + /// + public IEnumerable AstNodes { get; internal set; } + } +} \ No newline at end of file diff --git a/ILSpy/Languages/Language.cs b/ILSpy/Languages/Language.cs index 4333b69e1..45cfa8c6d 100644 --- a/ILSpy/Languages/Language.cs +++ b/ILSpy/Languages/Language.cs @@ -17,43 +17,13 @@ // DEALINGS IN THE SOFTWARE. using System; -using System.Collections.Concurrent; using System.Collections.Generic; using ICSharpCode.Decompiler; -using ICSharpCode.Decompiler.ILAst; -using ICSharpCode.NRefactory.CSharp; using Mono.Cecil; namespace ICSharpCode.ILSpy { - /// - /// Decompilation event arguments. - /// - [Obsolete] - public sealed class DecompileEventArgs : EventArgs - { - /// - /// Gets ot sets the code mappings - /// - public Dictionary> CodeMappings { get; internal set; } - - /// - /// Gets or sets the local variables. - /// - public ConcurrentDictionary> LocalVariables { get; internal set; } - - /// - /// Gets the list of MembeReferences that are decompiled (TypeDefinitions, MethodDefinitions, etc) - /// - public Dictionary DecompiledMemberReferences { get; internal set; } - - /// - /// Gets (or internal sets) the AST nodes. - /// - public IEnumerable AstNodes { get; internal set; } - } - /// /// Base class for language-specific decompiler implementations. ///