Example #1
0
 void Initialize(string filename)
 {
     try {
         using (var reader = new ECallListReader(filename)) {
             foreach (var ecc in reader.List)
             {
                 var  fname = ecc.FullName;
                 bool b     = classToFuncsDict.ContainsKey(fname);
                 Debug.Assert(!b);
                 if (!b)
                 {
                     classToFuncsDict[fname] = ecc.Functions;
                 }
             }
         }
     }
     catch {
     }
 }
Example #2
0
		void Initialize(string filename) {
			try {
				using (var reader = new ECallListReader(filename)) {
					foreach (var ecc in reader.List) {
						var fname = ecc.FullName;
						bool b = classToFuncsDict.ContainsKey(fname);
						Debug.Assert(!b);
						if (!b)
							classToFuncsDict[fname] = ecc.Functions;
					}
				}
			}
			catch {
			}
		}