public static string activeDocument_FullName(this VisualStudio_2010 visualStudio) { var activeDocument = visualStudio.activeDocument(); if (activeDocument.notNull()) { return(activeDocument.FullName); } return(null); }