|
|
|
@ -1,14 +1,14 @@
@@ -1,14 +1,14 @@
|
|
|
|
|
using System; |
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
using System.Diagnostics; |
|
|
|
|
using System.Linq; |
|
|
|
|
using Ast = ICSharpCode.NRefactory.CSharp; |
|
|
|
|
using ICSharpCode.NRefactory.CSharp; |
|
|
|
|
using Cecil = Mono.Cecil; |
|
|
|
|
using Mono.Cecil; |
|
|
|
|
using Mono.Cecil.Cil; |
|
|
|
|
using Mono.Cecil.Rocks; |
|
|
|
|
using Decompiler.ControlFlow; |
|
|
|
|
using System; |
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
using System.Diagnostics; |
|
|
|
|
using System.Linq; |
|
|
|
|
using Ast = ICSharpCode.NRefactory.CSharp; |
|
|
|
|
using ICSharpCode.NRefactory.CSharp; |
|
|
|
|
using Cecil = Mono.Cecil; |
|
|
|
|
using Mono.Cecil; |
|
|
|
|
using Mono.Cecil.Cil; |
|
|
|
|
using Mono.Cecil.Rocks; |
|
|
|
|
using Decompiler.ControlFlow; |
|
|
|
|
|
|
|
|
|
namespace Decompiler |
|
|
|
|
{ |
|
|
|
@ -79,8 +79,8 @@ namespace Decompiler
@@ -79,8 +79,8 @@ namespace Decompiler
|
|
|
|
|
if (!typeNames.ContainsKey(name)) { |
|
|
|
|
typeNames.Add(name, 0); |
|
|
|
|
} |
|
|
|
|
int count = typeNames[name]; |
|
|
|
|
if (count > 0) { |
|
|
|
|
int count = ++(typeNames[name]); |
|
|
|
|
if (count > 1) { |
|
|
|
|
name += count.ToString(); |
|
|
|
|
} |
|
|
|
|
varDef.Name = name; |
|
|
|
|