It is there in 3.5; in 2.0 you can invoke the method (etc) directly via
Invoke, or if you absolutely *need* a delegate perhaps use an anonymous
method (and capture) to create it, i.e.
(where getter is the instance of a Getter delegate - think Func<,>)
#if CF2
getter = delegate(TEntity instance) {
return (TValue)property.GetValue(instance, null);
};
#else
getter = (Getter)Delegate.CreateDelegate(
typeof(Getter), null, method);
#endif
A bit hacky, but it should work. Actually, in my version I just use
Invoke/GetValue etc directly, but you might have different needs...
Marc