예제 #1
0
        protected override IEnumerable <ICodeAction> GetRefactorings(SemanticModel semanticModel, int position, WildcardSelectColumnSyntax node)
        {
            var columnInstances = semanticModel.GetColumnInstances(node).ToImmutableArray();

            if (!columnInstances.Any())
            {
                return(Enumerable.Empty <ICodeAction>());
            }

            return(new[] { new ExpandWildcardCodeAction(node, columnInstances) });
        }