17 references to TryCreateSpanForNode
Microsoft.CodeAnalysis.CSharp.Features (17)
EditAndContinue\BreakpointSpans.cs (17)
77var breakpointSpan = TryCreateSpanForNode(node, position);
275return TryCreateSpanForNode(((ElseClauseSyntax)node).Statement, position);
284return TryCreateSpanForNode(((FinallyClauseSyntax)node).Block, position);
328return TryCreateSpanForNode(accessor.Body, position);
391return TryCreateSpanForNode(fromClause.Expression, position);
395return TryCreateSpanForNode(joinClause.LeftExpression, position);
399return TryCreateSpanForNode(letClause.Expression, position);
403return TryCreateSpanForNode(whereClause.Condition, position);
408? TryCreateSpanForNode(orderByClause.Orderings.First().Expression, position)
413return TryCreateSpanForNode(selectClause.Expression, position);
417return TryCreateSpanForNode(groupClause.GroupExpression, position);
422? TryCreateSpanForNode(localFunction.Body, position)
423: TryCreateSpanForNode(localFunction.ExpressionBody!.Expression, position);
561return TryCreateSpanForNode(switchSection.Statements[0], position);
698return TryCreateSpanForNode(usingStatement.Declaration, position);
707return TryCreateSpanForNode(fixedStatement.Declaration, position);
982return TryCreateSpanForNode(accessors[i], position);