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;
}
}
}
Cannot create project from assembly
-
- Newbie
- Posts: 41
- Joined: Wed Jun 23, 2004 4:00 am
- Location: www.adventurerland.com
- Contact:
Also having problems...
I also have problems, especially if the project is using generic types... Please, say there will be an updated version soon
. / Anders

-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Anders,
I've just sent you a TeeGofer upgrade which fixes this issue.
I've just sent you a TeeGofer upgrade which fixes this issue.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
![]() ![]() ![]() ![]() ![]() ![]() |
Instructions - How to post in this forum |
Many thanks!
Fast fix
- Many thanks. / Anders
