public static SourceRange GetKeywordRange(this LanguageElement element) { return(new SourceRange(element.RecoveredRange.Start, element.RecoveredRange.Start.OffsetPoint(0, element.GetKeywordLength()))); }