From eee2794eb44e8fced5c12a29744d48bf4ac73841 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Tue, 1 Oct 2013 15:11:03 +0200 Subject: [PATCH] Fix typos in comments --- ICSharpCode.Decompiler/ILAst/ILAstBuilder.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ICSharpCode.Decompiler/ILAst/ILAstBuilder.cs b/ICSharpCode.Decompiler/ILAst/ILAstBuilder.cs index cbdc5d771f..6e6760d9c0 100644 --- a/ICSharpCode.Decompiler/ILAst/ILAstBuilder.cs +++ b/ICSharpCode.Decompiler/ILAst/ILAstBuilder.cs @@ -413,11 +413,11 @@ List StackAnalysis(MethodDefinition methodDef) } } - // Occasionally the compilers or obfuscators generate unreachable code (which might be intentonally invalid) - // I belive it is safe to just remove it + // Occasionally the compilers or obfuscators generate unreachable code (which might be intentionally invalid) + // I believe it is safe to just remove it body.RemoveAll(b => b.StackBefore == null); - // Genertate temporary variables to replace stack + // Generate temporary variables to replace stack foreach(ByteCode byteCode in body) { int argIdx = 0; int popCount = byteCode.PopCount ?? byteCode.StackBefore.Length;