public static bool ReferenceMatchesDefinition(AssemblyName reference, AssemblyName definition) { if (reference == definition) { return(true); } return(AssemblyName.ReferenceMatchesDefinitionInternal(reference, definition, true)); }