17 references to TryCreateSpanForNode
Microsoft.CodeAnalysis.CSharp.Features (17)
EditAndContinue\BreakpointSpans.cs (17)
68var breakpointSpan = TryCreateSpanForNode(node, position);
168return TryCreateSpanForNode(((ElseClauseSyntax)node).Statement, position);
177return TryCreateSpanForNode(((FinallyClauseSyntax)node).Block, position);
221return TryCreateSpanForNode(accessor.Body, position);
284return TryCreateSpanForNode(fromClause.Expression, position);
288return TryCreateSpanForNode(joinClause.LeftExpression, position);
292return TryCreateSpanForNode(letClause.Expression, position);
296return TryCreateSpanForNode(whereClause.Condition, position);
301? TryCreateSpanForNode(orderByClause.Orderings.First().Expression, position)
306return TryCreateSpanForNode(selectClause.Expression, position);
310return TryCreateSpanForNode(groupClause.GroupExpression, position);
315? TryCreateSpanForNode(localFunction.Body, position)
316: TryCreateSpanForNode(localFunction.ExpressionBody!.Expression, position);
379return TryCreateSpanForNode(switchSection.Statements[0], position);
516return TryCreateSpanForNode(usingStatement.Declaration, position);
525return TryCreateSpanForNode(fixedStatement.Declaration, position);
782return TryCreateSpanForNode(accessors[i], position);