11 references to Width
Microsoft.CodeAnalysis.Features (2)
ExtractMethod\MethodExtractor.Analyzer.SymbolMapBuilder.cs (1)
61
token.
Width
() <= 0 ||
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (1)
170
=> chunk.Sum(s => s.IsNode ? s.AsNode().Width() : s.AsToken().
Width
());
Microsoft.CodeAnalysis.VisualBasic.Features (2)
ExtractMethod\VisualBasicSelectionValidator.vb (2)
167
Dim finalFirstToken = If(selectionInfo.FirstTokenInFinalSpan.
Width
= 0,
171
Dim finalLastToken = If(selectionInfo.LastTokenInFinalSpan.
Width
= 0,
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
CaseCorrection\VisualBasicCaseCorrectionService.vb (1)
42
Dim candidates = root.DescendantTokens(span).Where(Function(tk As SyntaxToken) tk.
Width
> 0 OrElse tk.IsKind(SyntaxKind.EndOfFileToken))
Classification\Worker.vb (1)
47
If token.
Width
() > 0 AndAlso _textSpan.OverlapsWith(token.Span) Then
Formatting\Engine\Trivia\TriviaDataFactory.vb (1)
174
Dim initialColumn = If(token1.Kind = 0, 0, Me.TreeInfo.GetOriginalColumn(Me.Options.TabSize, token1) + token1.
Width
)
Microsoft.CodeAnalysis.Workspaces (4)
AbstractFormatEngine.OperationApplier.cs (2)
235
if (token.
Width
() <= 0 || operationTokens.IsEmpty())
369
if (token.RawKind == 0 || token.
Width
() <= 0)
BottomUpBaseIndentationFinder.cs (1)
76
nextToken.
Width
() <= 0)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (1)
120
if (valueText.Length != token.
Width
())