6 references to Width
Microsoft.CodeAnalysis.Features (2)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
294token.Width() <= 0 ||
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (1)
175=> chunk.Sum(s => s.IsNode ? s.AsNode().Width() : s.AsToken().Width());
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (1)
131if (valueText.Length != token.Width())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (1)
76nextToken.Width() <= 0)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
226if (token.Width() <= 0 || operationTokens.IsEmpty()) 360if (token.RawKind == 0 || token.Width() <= 0)