Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

New Post: Entity Framework calls AssemblyName.ReferenceMatchesDefinition which is undefined in Mono

$
0
0
I wonder if something like this would work (assuming parameters are not null):
return reference.Equals(definition) || string.Equals(reference.FullName, definition.FullName, StringComparison.InvariantCultureIgnoreCase);
In your code you are missing some cases - e.g. if reference.Version is null but definition.Version is not you would return true which would be not correct (checks for other name parts seem to have the same issue)?

Pawel

Viewing all articles
Browse latest Browse all 10318

Trending Articles