17 references to TryCreateSpanForNode
Microsoft.CodeAnalysis.CSharp.Features (17)
EditAndContinue\BreakpointSpans.cs (17)
76var breakpointSpan = TryCreateSpanForNode(node, position);
274return TryCreateSpanForNode(((ElseClauseSyntax)node).Statement, position);
283return TryCreateSpanForNode(((FinallyClauseSyntax)node).Block, position);
327return TryCreateSpanForNode(accessor.Body, position);
390return TryCreateSpanForNode(fromClause.Expression, position);
394return TryCreateSpanForNode(joinClause.LeftExpression, position);
398return TryCreateSpanForNode(letClause.Expression, position);
402return TryCreateSpanForNode(whereClause.Condition, position);
407? TryCreateSpanForNode(orderByClause.Orderings.First().Expression, position)
412return TryCreateSpanForNode(selectClause.Expression, position);
416return TryCreateSpanForNode(groupClause.GroupExpression, position);
421? TryCreateSpanForNode(localFunction.Body, position)
422: TryCreateSpanForNode(localFunction.ExpressionBody!.Expression, position);
560return TryCreateSpanForNode(switchSection.Statements[0], position);
697return TryCreateSpanForNode(usingStatement.Declaration, position);
706return TryCreateSpanForNode(fixedStatement.Declaration, position);
980return TryCreateSpanForNode(accessors[i], position);