Add some comments

This commit is contained in:
Paul Pacheco 2020-09-28 20:44:18 -05:00
parent 86df5954ac
commit 4a710b2eea

View File

@ -309,9 +309,11 @@ static MethodDefinition GenerateListReadFunc(TypeReference variable)
return readerFunc;
}
// int i
readerFunc.Body.Variables.Add(new VariableDefinition(WeaverTypes.Import<int>()));
// List<T> list;
readerFunc.Body.Variables.Add(new VariableDefinition(variable));
// int length
readerFunc.Body.Variables.Add(new VariableDefinition(WeaverTypes.Import<int>()));
ILProcessor worker = readerFunc.Body.GetILProcessor();