Browse Source

Fix formatting in ExpressionBuilder.

pull/1600/head
Siegfried Pammer 6 years ago
parent
commit
2b6c0c3892
  1. 3
      ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs

3
ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs

@ -2185,8 +2185,7 @@ namespace ICSharpCode.Decompiler.CSharp @@ -2185,8 +2185,7 @@ namespace ICSharpCode.Decompiler.CSharp
// try via its effective base class.
arg = arg.ConvertTo(((ITypeParameter)targetType).EffectiveBaseClass, this);
}
}
else {
} else {
// Before unboxing arg must be a object
arg = arg.ConvertTo(compilation.FindType(KnownTypeCode.Object), this);
}

Loading…
Cancel
Save