21 references to SpanStart
AnalyzerRunner (1)
CodeRefactoringRunner.cs (1)
89var context = new CodeRefactoringContext(document, new TextSpan(node.SpanStart, 0), codeActions.Add, cancellationToken);
Microsoft.CodeAnalysis.CSharp (2)
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (2)
64startPos = startFallbackOpt.SpanStart; 68startPos = endOpt.SpanStart;
Microsoft.CodeAnalysis.CSharp.Features (5)
EditAndContinue\BreakpointSpans.cs (2)
132startPos = startFallbackOpt.SpanStart; 136startPos = endOpt.SpanStart;
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1940=> TextSpan.FromBounds((modifiers.Count != 0) ? modifiers.First().SpanStart : start.SpanStart, end.Span.End);
InlineHints\CSharpInlineTypeHintsService.cs (1)
143return new TextSpan(normalSpan.SpanStart, 0);
Structure\CSharpStructureHelpers.cs (1)
379return TextSpan.FromBounds(child.SpanStart, endPos);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\SyntaxAnnotationTests.cs (2)
351var annotatedNodesOrTokens = newRoot.GetAnnotatedNodesAndTokens(annotation).OrderBy(t => t.SpanStart).ToList(); 352var actualNodesOrTokens = GetAllNodesAndTokens(oldRoot).OrderBy(t => t.SpanStart).ToList();
Microsoft.CodeAnalysis.Features (1)
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (1)
85OriginalSourceText.GetOffset(firstPeriod.SpanStart).CreateIndentationString(options.FormattingOptions.UseTabs, options.FormattingOptions.TabSize)));
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.ConditionalSymbolsMap.vb (1)
160Dim position As Integer = node.SpanStart
Microsoft.CodeAnalysis.VisualBasic.Features (2)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1334Return TextSpan.FromBounds(If(modifiers.Count <> 0, modifiers.First.SpanStart, start.SpanStart),
Structure\VisualBasicStructureHelpers.vb (1)
219Return TextSpan.FromBounds(child.SpanStart, blockNode.Span.End)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (6)
Syntax\SyntaxAnnotationTests.vb (2)
326Dim annotatedNodesOrTokens = newRoot.GetAnnotatedNodesAndTokens(annotation).OrderBy(Function(x) x.SpanStart) 327Dim actualNodesOrTokens = GetAllNodesAndTokens(oldRoot).OrderBy(Function(x) x.SpanStart)
TestSyntaxNodes.vb (4)
639Assert.Equal(4, sepList.GetWithSeparators(1).SpanStart) 641Assert.Equal(10, sepList.GetWithSeparators(3).SpanStart) 663Assert.Equal(9 + 4, sepList.GetWithSeparators(1).SpanStart) 665Assert.Equal(9 + 10, sepList.GetWithSeparators(3).SpanStart)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
ParserTestUtilities.vb (1)
857Assert.True(node.SpanStart >= node.Parent.SpanStart AndAlso