79 references to FullSpan
Microsoft.CodeAnalysis (12)
Syntax\SyntaxDiffer.cs (9)
310if (sim >= Math.Max(_oldNodes.Peek().FullSpan.Length, _newNodes.Peek().FullSpan.Length)) 328if (child.FullSpan.Length > 0) 358var sim = node.FullSpan.Length; 372if (sim == node.FullSpan.Length && node.IsToken) 404similarity = node.FullSpan.Length; 490w += n2.FullSpan.Length; 544var oldSpan = removedNode.FullSpan; 547var newSpan = insertedNode.FullSpan;
Syntax\SyntaxNode.cs (2)
764Debug.Assert(childNodeOrToken.FullSpan.Contains(position), "ChildThatContainsPosition's return value does not contain the requested position."); 1486Debug.Assert(curNode.FullSpan.Contains(position));
Syntax\SyntaxNode.Iterators.cs (1)
74if (IsInSpan(in span, value.FullSpan))
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\NewLines\ConsecutiveStatementPlacement\AbstractConsecutiveStatementPlacementDiagnosticAnalyzer.cs (1)
60if (!context.ShouldAnalyzeSpan(child.FullSpan))
src\Analyzers\Core\Analyzers\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesDiagnosticAnalyzer.cs (1)
59if (!context.ShouldAnalyzeSpan(child.FullSpan))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\TextSpanExtensions.cs (2)
63var outerSpan = TextSpan.FromBounds(startNode.FullSpan.Start, endNode.FullSpan.End);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
48end: lastTokenOrNodeOfHeader.FullSpan.End);
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
147=> !spansTree.HasIntervalThatOverlapsWith(nodeOrToken.FullSpan.Start, nodeOrToken.FullSpan.Length);
Microsoft.CodeAnalysis.CSharp (1)
Parser\Blender.Reader.cs (1)
284var oldSpan = nodeOrToken.FullSpan;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\TopLevelStatementsTests.cs (2)
8809Assert.Equal(node1.FullSpan, node2.FullSpan);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
IncrementalParsing\GrammarAmbiguities.cs (2)
112Assert.Equal(expectedNode.FullSpan, actualNode.FullSpan);
Syntax\SyntaxAnnotationTests.cs (2)
360Assert.Equal(oldNode.FullSpan, annotatedNode.FullSpan);
Syntax\SyntaxNodeTests.cs (3)
997Assert.Equal(list1[i].FullSpan.Start, list2[i].FullSpan.Start); 1813Assert.Equal(namespaceNode.FullSpan, nodeOrToken.FullSpan);
Microsoft.CodeAnalysis.Features (4)
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionAnalyzer.cs (1)
68if (!context.ShouldAnalyzeSpan(child.FullSpan))
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDiagnosticAnalyzer.cs (1)
61if (!context.ShouldAnalyzeSpan(child.FullSpan))
src\Analyzers\Core\Analyzers\NewLines\ConsecutiveStatementPlacement\AbstractConsecutiveStatementPlacementDiagnosticAnalyzer.cs (1)
60if (!context.ShouldAnalyzeSpan(child.FullSpan))
src\Analyzers\Core\Analyzers\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesDiagnosticAnalyzer.cs (1)
59if (!context.ShouldAnalyzeSpan(child.FullSpan))
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\SuppressMessageAttributeTests.DiagnosticAnalyzers.cs (1)
246if (nodeOrToken.IsToken && _spans.Any(s => s.OverlapsWith(nodeOrToken.FullSpan)))
Microsoft.CodeAnalysis.UnitTests (2)
CommonSyntaxTests.cs (2)
53Assert.Equal(default(TextSpan), d.FullSpan); 70Assert.Equal(default(TextSpan), d.FullSpan);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb (4)
128If (child.FullSpan.Start < position) AndAlso (position <= child.FullSpan.End) Then 134If (trivia.SpanStart < position) AndAlso (position <= child.FullSpan.End) Then 140If (trivia.SpanStart < position) AndAlso (position <= child.FullSpan.End) Then
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\KeywordRecommenders\PreprocessorDirectives\PreprocessorHelpers.vb (1)
45If child.FullSpan.Start > _maxPosition Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (15)
Syntax\SyntaxAnnotationTests.vb (2)
334Assert.Equal(oldNode.FullSpan, annotatedNode.FullSpan)
TestSyntaxNodes.vb (13)
244Assert.Equal(expectedFullSpan.Start, list(0).FullSpan.Start) 245Assert.Equal(expectedFullSpan.End, list(list.Count - 1).FullSpan.End) 250Assert.Equal(list(i).FullSpan.End, list(i + 1).FullSpan.Start) 266Assert.Equal(expectedFullSpan.Start, list(0).FullSpan.Start) 267Assert.Equal(expectedFullSpan.End, list(list.Count - 1).FullSpan.End) 272Assert.Equal(list(i - 1).FullSpan.End, list(i).FullSpan.Start) 275Assert.Equal(list(i).FullSpan.End, list(i + 1).FullSpan.Start) 411VerifyListSpans(statements, TextSpan.FromBounds(statements(0).FullSpan.Start, statements(statements.Count - 1).FullSpan.End)) 2187Assert.Equal(sN.FullWidth, cS.FullSpan.Length)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb (4)
128If (child.FullSpan.Start < position) AndAlso (position <= child.FullSpan.End) Then 134If (trivia.SpanStart < position) AndAlso (position <= child.FullSpan.End) Then 140If (trivia.SpanStart < position) AndAlso (position <= child.FullSpan.End) Then
Microsoft.CodeAnalysis.Workspaces (19)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (1)
109if (child.FullSpan.IntersectsWith(_textSpan))
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (10)
135Contract.ThrowIfFalse(currentOld.FullSpan.Start == currentNew.FullSpan.Start); 144return currentOld.FullSpan.Start; 149return currentOld.FullSpan.Start; 190Contract.ThrowIfFalse((oldRoot.FullSpan.End - currentOld.FullSpan.End) == 191(newRoot.FullSpan.End - currentNew.FullSpan.End)); 202currentOld.FullSpan.Start >= commonLeftWidth && 203currentNew.FullSpan.Start >= commonLeftWidth) 211return oldRoot.FullSpan.End - currentOld.FullSpan.End; 216return oldRoot.FullSpan.End - currentOld.FullSpan.End;
Editing\ImportAdder.cs (1)
28return root.GetAnnotatedNodesAndTokens(annotation).Select(t => t.FullSpan);
Simplification\Simplifier.cs (2)
189return await ReduceAsync(document, root.GetAnnotatedNodesAndTokens(annotation).Select(t => t.FullSpan), optionSet, cancellationToken).ConfigureAwait(false); 196return await ReduceAsync(document, root.GetAnnotatedNodesAndTokens(annotation).Select(t => t.FullSpan), options, cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\TextSpanExtensions.cs (2)
63var outerSpan = TextSpan.FromBounds(startNode.FullSpan.Start, endNode.FullSpan.End);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
48end: lastTokenOrNodeOfHeader.FullSpan.End);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
147=> !spansTree.HasIntervalThatOverlapsWith(nodeOrToken.FullSpan.Start, nodeOrToken.FullSpan.Length);