Merge Delegate.Version

When a Delegate is defined multiple times in the spec, we should check
if any of these definitions contains a proper Delegate.Version and
store that. This improves the self-documentation aspect of the bindings.
This commit is contained in:
Stefanos A 2013-11-03 20:41:29 +01:00
parent 7322828304
commit 7978627ad4
3 changed files with 4150 additions and 4145 deletions

View file

@ -311,11 +311,16 @@ namespace Bind.Structures
else
{
// Function redefined with identical parameters:
// merge the categories and ignore the second definition.
// merge their version and category properties and
// discard the duplicate definition
if (!list[index].Category.Contains(d.Category))
{
list[index].Category += "|" + d.Category;
}
if (String.IsNullOrEmpty(list[index].Version))
{
list[index].Version = d.Version;
}
}
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff