public static bool IsCSharpType(this ITextSnapshot snapshot) { return(snapshot.GetContentTypeName() == "CSharp"); }