I am still struggling to implement multiple custom enums.
@joreg you mentioned that I am missing a “create default” attribute in my code, but the example in demo.lib is also missing this, and works flawlessly, even on latest previews. (btw, this is also the implementation I need. Being able to add and remove entries at runtime.)
I tried adding the attribute to the code, but it is not getting recognised as such. The “Serializable” registers as attribute, “Create default” just points to the function.
When I use my dll (demo.lib implementation) with latest previews I get a new error message:
" AmbiguousMatchException: "Ambiguous match found."
StackTrace:
System.RuntimeType { protected virtual System.Reflection.PropertyInfo GetPropertyImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { ... } }
System.Type { public virtual System.Reflection.PropertyInfo GetProperty(string name, System.Reflection.BindingFlags bindingAttr) { ... } }
VL.Lib.Collections.DynamicEnumExtensions { public static VL.Lib.Collections.IDynamicEnumDefinition GetDynamicEnumDefinition(System.Type type) { ... } }
"
idk where this ambiguous match is originating from. The DLL. is referenced once in my VL project. I thought maybe it’s the exposed “create default” functions in the definitions and renamed them. Still, no change.

