protected ITreeNode GetTypeDeclarationIdentifierNode(IType type) { ITypeElement typeElement = type.GetTypeElement(); IClassLikeDeclaration declaration = typeElement?.GetSingleDeclaration <IClassLikeDeclaration>(); return(declaration?.NameIdentifier); }