System.Xml.Serialization.TypeDesc.CheckSupported might throw a
NotSupportedException, so catch it and ignore the current type
Console.WriteLine (" - Warning: ignoring '" + t + "'");
Console.WriteLine (" " + ex.Message);
}
+ } catch (NotSupportedException ex) {
+ if (verbose)
+ Console.WriteLine (" - Warning: " + ex.Message);
}
}
} else {
Console.WriteLine (" - Warning: ignoring '" + type + "'");
Console.WriteLine (" " + ex.Message);
}
+ } catch (NotSupportedException ex) {
+ if (verbose)
+ Console.WriteLine (" - Warning: " + ex.Message);
}
}
}