2 writes to Tab
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (2)
148
result.
Tab
= 0;
186
result.
Tab
+= tab;
7 references to Tab
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (1)
138
if (result.Space > 0 || result.
Tab
> 0)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.cs (6)
117
if (result.LineBreaks == 0 && result.
Tab
> 0)
140
Debug.Assert(result.
Tab
>= 0);
143
var indentation = result.
Tab
* Options.TabSize + result.Space;
157
if (result.
Tab
> 0)
178
Debug.Assert((indentation / Options.TabSize) == result.
Tab
);
186
if (result.HasTrailingSpace || result.HasUnknownWhitespace || result.LineBreaks > 0 || result.
Tab
> 0)