public static string parentClassSignature(this O2MappedAstData astData, INode iNode) { var typeDeclaration = iNode.parent <TypeDeclaration>(); if (typeDeclaration.notNull()) { var iClass = astData.iClass(typeDeclaration); if (iClass.notNull()) { return(iClass.DotNetName); } } return(""); }