7 references to Width
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
719Assert.True(syntaxTree.GetRoot().Width() > 0, "syntaxTree.GetRoot().Width should be > 0");
Microsoft.CodeAnalysis.CSharp.Features (5)
Completion\KeywordRecommenders\EqualsKeywordRecommender.cs (1)
31if (join.LeftExpression.Width() > 0 &&
Completion\KeywordRecommenders\IntoKeywordRecommender.cs (3)
33if (select.Expression.Width() == 0) 66if (group.ByExpression.Width() == 0 || 67group.GroupExpression.Width() == 0)
Completion\KeywordRecommenders\OnKeywordRecommender.cs (1)
35if (join.InExpression.Width() > 0 &&
Microsoft.CodeAnalysis.Features (1)
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (1)
175=> chunk.Sum(s => s.IsNode ? s.AsNode().Width() : s.AsToken().Width());