public IEnumerable<Declaration> MatchTypeName(string name)
{
return MatchName(name).Where(declaration =>
declaration.DeclarationType == DeclarationType.Class ||
declaration.DeclarationType == DeclarationType.UserDefinedType ||
declaration.DeclarationType == DeclarationType.Enumeration);
}