static string FilenameFromSpan(CppSourceSpan cppSpan) { var span = cppSpan.ToString(); span = span.Substring(0, span.IndexOf("(")); return(Path.GetFileName(span)); }
public static string FilePath(this CppSourceSpan cppSpan) { var span = cppSpan.ToString(); return(span.Substring(0, span.IndexOf("("))); }