I am using the type reflection based approach to convert ReactiveUI's EventBuilder over to use Stubble, previously it was using Mustache.
What this event builder does is generate code based around events in a class.
The ReflectionHelper.GetMemberFunctionLookup() can't handle this case at the moment due to just directly adding to the dictionary and not checking to see if the key already exists. It's crashing for me on get_DeclaredType().
Adding a ContainsValue() check can eliminate the crash. Not sure if that's quite desired functionality.
I am using the type reflection based approach to convert ReactiveUI's EventBuilder over to use Stubble, previously it was using Mustache.
What this event builder does is generate code based around events in a class.
The ReflectionHelper.GetMemberFunctionLookup() can't handle this case at the moment due to just directly adding to the dictionary and not checking to see if the key already exists. It's crashing for me on get_DeclaredType().
Adding a ContainsValue() check can eliminate the crash. Not sure if that's quite desired functionality.