Page 1 of 1

Cannot create project from assembly

Posted: Fri Apr 07, 2006 11:39 am
by 8727948
The following code crashes TeeGofer

using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;

namespace ClassLibrary2
{
public abstract class ModelElementCollection<T> : ReadOnlyCollection<T>
{
private Dictionary<int, T> elementsById = new Dictionary<int, T>();

// Constructor
protected ModelElementCollection(IList<T> list)
: base(list)
{
}

// Find
public T Find(int id)
{
T result;
elementsById.TryGetValue(id, out result);
return result;
}
}
}

Also having problems...

Posted: Sun Jul 16, 2006 2:31 pm
by 8719699
I also have problems, especially if the project is using generic types... Please, say there will be an updated version soon :). / Anders

Posted: Mon Jul 17, 2006 10:38 am
by narcis
Hi Anders,

I've just sent you a TeeGofer upgrade which fixes this issue.

Many thanks!

Posted: Mon Jul 17, 2006 12:06 pm
by 8719699
Fast fix :D - Many thanks. / Anders