Ignore it if there's two properties on a type with the same name
This commit is contained in:
parent
812ec7137b
commit
72623036a8
|
@ -94,7 +94,9 @@ namespace Upsilon.BoundTypes
|
|||
});
|
||||
foreach (var f in properties)
|
||||
{
|
||||
obj.Properties.Add(f.Name.ToLowerInvariant(), f);
|
||||
var lowerPropertyName = f.Name.ToLowerInvariant();
|
||||
if (!obj.Properties.ContainsKey(lowerPropertyName))
|
||||
obj.Properties.Add(lowerPropertyName, f);
|
||||
}
|
||||
var methods = new Dictionary<string, UserDataBoundMethod>();
|
||||
var backingMethods = backingType.GetMethods(generalBindAttributes);
|
||||
|
|
Loading…
Reference in New Issue