Add some comments

This commit is contained in:
Paul Pacheco 2020-09-28 20:32:38 -05:00
parent 3ccb7d9da4
commit 86df5954ac

View File

@ -122,8 +122,11 @@ static MethodDefinition GenerateArrayReadFunc(TypeReference variable)
}
// int lengh
readerFunc.Body.Variables.Add(new VariableDefinition(WeaverTypes.Import<int>()));
// T[] array
readerFunc.Body.Variables.Add(new VariableDefinition(variable));
// int i;
readerFunc.Body.Variables.Add(new VariableDefinition(WeaverTypes.Import<int>()));
ILProcessor worker = readerFunc.Body.GetILProcessor();