private string GetGenericNameFromMemberReference(TypeReference type)
 {
     IGenericDefinition genericDefinition = type.Resolve();
     if (genericDefinition != null)
     {
         return genericDefinition.GetGenericName(Language, "(Of ", ")");
     }
     else
     {
         return type.GetGenericName(Language, "(Of ", ")");
     }
 }
 private string GetGenericNameFromMemberReference(TypeReference type)
 {
     IGenericDefinition genericInstance = type.Resolve();
     if (genericInstance != null)
     {
         return genericInstance.GetGenericName(Language);
     }
     else
     {
         return type.GetGenericName(Language);
     }
 }