From f2b07bf514b0222e4fd7efaf40a9cc867f69b5ab Mon Sep 17 00:00:00 2001 From: mterwoord_cp <7cd3fd84a0151ea055c2f79e4d2eef9576fe9afesxUZAwxD> Date: Fri, 24 Jul 2009 17:05:09 +0000 Subject: [PATCH] --- source2/IL2PCU/Cosmos.IL2CPU/ILScanner.cs | 2 ++ 1 file changed, 2 insertions(+) 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();