1 write to Option
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\SuppressOperation.cs (1)
27
this.
Option
= option;
7 references to Option
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (4)
285
if (operation.ContainsElasticTrivia(TokenStream) && !operation.
Option
.IsOn(SuppressOption.IgnoreElasticWrapping))
309
var option = operation.
Option
;
336
var option = operation.
Option
;
356
var option = operation.
Option
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (2)
174
if (operation.ContainsElasticTrivia(tuple.tokenStream) && !operation.
Option
.IsOn(SuppressOption.IgnoreElasticWrapping))
177
if (!operation.
Option
.IsMaskOn(tuple.mask))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\SuppressOperation.cs (1)
35
=> $"Suppress {TextSpan} from '{StartToken}' to '{EndToken}' with '{
Option
}'";