static bool LoadWpfExclusions()
{
bool loaded = false;
try {
using (StreamReader reader = new StreamReader ("wpf-exclusions.txt")) {
string line;
while ((line = reader.ReadLine ()) != null)
wpftypes.Add (line, line);
}
loaded = true;
} catch (Exception exc) {
Console.Error.WriteLine ("Error loading WPF exclusions file: {0}", exc.Message);
}
return loaded;
}