style: use explicit type

This commit is contained in:
Paul Pacheco 2019-04-06 08:11:01 -05:00
parent a95c796407
commit 744910598d

View File

@ -216,7 +216,7 @@ void GenerateConstants()
{
ctor = md;
var ret = ctor.Body.Instructions[ctor.Body.Instructions.Count - 1];
Instruction ret = ctor.Body.Instructions[ctor.Body.Instructions.Count - 1];
if (ret.OpCode == OpCodes.Ret)
{
ctor.Body.Instructions.RemoveAt(ctor.Body.Instructions.Count - 1);