private void InitBlock(AverageGuessMemoryModel enclosingInstance) { this.enclosingInstance = enclosingInstance; Add(typeof(bool), 1); Add(typeof(byte), 1); Add(typeof(sbyte), 1); Add(typeof(char), 2); Add(typeof(short), 2); Add(typeof(int), 4); Add(typeof(float), 4); Add(typeof(double), 8); Add(typeof(long), 8); }
public AnonymousClassIdentityHashMap(AverageGuessMemoryModel enclosingInstance) { InitBlock(enclosingInstance); }