public static ImmutableArray <CodeAction> GetCodeActions(this CodeAction codeAction) { if (codeAction == null) { throw new ArgumentNullException(nameof(codeAction)); } return(codeAction.GetCodeActions()); }