static bool IsWpf(string member)
{
int colon = member.IndexOf ("::");
if (colon == -1)
return false;
int space = member.IndexOf (' ');
if (space == -1)
return false;
string fullname = member.Substring (space + 1, colon - space - 1);
return wpftypes.ContainsKey (fullname);
}