public CommonTableExpressionSymbol GetDeclaredSymbol(CommonTableExpressionSyntax commonTableExpression) { if (commonTableExpression == null) { throw new ArgumentNullException(nameof(commonTableExpression)); } var result = _bindingResult.GetBoundNode(commonTableExpression) as BoundCommonTableExpression; return(result?.TableSymbol); }
private void ClassifyCommonTableExpression(CommonTableExpressionSyntax node) { var symbol = _semanticModel.GetDeclaredSymbol(node); if (symbol != null) { AddClassification(node.Name, symbol); } VisitChildren(node); }
public virtual void VisitCommonTableExpression(CommonTableExpressionSyntax node) { DefaultVisit(node); }
public virtual TResult VisitCommonTableExpression(CommonTableExpressionSyntax node) { return(DefaultVisit(node)); }
public RemoveCommonTableExpressionCodeAction(CommonTableExpressionSyntax node) : base(node.SyntaxTree) { _node = node; }
public InsertMissingRecursiveKeywordCodeAction(CommonTableExpressionSyntax node) : base(node.SyntaxTree) { _node = node; }
public RecursiveCommonTableExpressionChecker(CommonTableExpressionSyntax syntax, List <Diagnostic> diagnostics, CommonTableExpressionSymbol symbol) { _syntax = syntax; _diagnostics = diagnostics; _symbol = symbol; }