diff --git a/source2/IL2PCU/Cosmos.IL2CPU/ILScanner.cs b/source2/IL2PCU/Cosmos.IL2CPU/ILScanner.cs index 608762b75..00ace96a0 100644 --- a/source2/IL2PCU/Cosmos.IL2CPU/ILScanner.cs +++ b/source2/IL2PCU/Cosmos.IL2CPU/ILScanner.cs @@ -18,6 +18,8 @@ namespace Cosmos.IL2CPU { // need to hash on some UID instead of the refernce. Do not use strings, they are // super slow. private HashSet mMethodsSet = new HashSet(); + // we also need a List`1, to provide an easy way to do scanning. a list doesn't + // change position of it's elements. private List mMethods = new List(); private HashSet mTypesSet = new HashSet(); private HashSet mFieldsSet = new HashSet();