From ef5ef62adc8177ec25f851295ce9ebe9c1f2e6ea Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Thu, 24 Feb 2011 13:39:50 +0100 Subject: [PATCH] Fix typo in type inference for BrLogicAnd/BrLogicOr. --- ICSharpCode.Decompiler/ILAst/TypeAnalysis.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSharpCode.Decompiler/ILAst/TypeAnalysis.cs b/ICSharpCode.Decompiler/ILAst/TypeAnalysis.cs index 9cfadabe2..5f6885a2a 100644 --- a/ICSharpCode.Decompiler/ILAst/TypeAnalysis.cs +++ b/ICSharpCode.Decompiler/ILAst/TypeAnalysis.cs @@ -116,7 +116,7 @@ namespace Decompiler case ILCode.BrLogicOr: if (forceInferChildren) { InferTypeForExpression(expr.Arguments[0], typeSystem.Boolean); - InferTypeForExpression(expr.Arguments[0], typeSystem.Boolean); + InferTypeForExpression(expr.Arguments[1], typeSystem.Boolean); } return null; #endregion