private static void RegisterAdditionalDependencies(
     this ITypeDiscoveryContext context,
     DefinitionBase definition)
 {
     context.RegisterDependencyRange(definition.GetDependencies());
 }