19 references to Block
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
AutomaticCompletion\AutomaticBraceCompletionTests.cs (3)
1123{ FormattingOptions2.SmartIndent, FormattingOptions2.IndentStyle.Block }, 1189{ FormattingOptions2.SmartIndent, FormattingOptions2.IndentStyle.Block }, 1233{ FormattingOptions2.SmartIndent, FormattingOptions2.IndentStyle.Block },
SplitStringLiteral\SplitStringLiteralCommandHandlerTests.cs (2)
463IndentStyle.Block); 539}", indentStyle: IndentStyle.Block);
Workspaces\WorkspaceTests_EditorFeatures.cs (5)
1440primaryWorkspace.Options = primaryWorkspace.Options.WithChangedOption(optionKey, FormattingOptions2.IndentStyle.Block); 1446Assert.Equal(FormattingOptions2.IndentStyle.Block, primaryWorkspace.Options.GetOption(optionKey)); 1447Assert.Equal(FormattingOptions2.IndentStyle.Block, secondaryWorkspace.Options.GetOption(optionKey)); 1459Assert.Equal(FormattingOptions2.IndentStyle.Block, primaryWorkspace.Options.GetOption(optionKey)); 1460Assert.Equal(FormattingOptions2.IndentStyle.Block, secondaryWorkspace.Options.GetOption(optionKey));
Microsoft.CodeAnalysis.CSharp.Features (2)
BraceCompletion\CurlyBraceCompletionService.cs (2)
96new BraceCompletionFormattingRule(FormattingOptions2.IndentStyle.Block), 253if (_indentStyle == FormattingOptions2.IndentStyle.Block)
Microsoft.CodeAnalysis.EditorFeatures (2)
Options\TextBufferOptionProviders.cs (2)
96FormattingOptions2.IndentStyle.Block => IndentingStyle.Block, 104IndentingStyle.Block => FormattingOptions2.IndentStyle.Block,
Microsoft.CodeAnalysis.Features (1)
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (1)
135return GetIndentationAfter(previousToken, FormattingOptions2.IndentStyle.Block);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (3)
Formatting\Indentation\SmartIndenterTests.vb (2)
2549indentStyle:=FormattingOptions2.IndentStyle.Block) 2564indentStyle:=FormattingOptions2.IndentStyle.Block)
Formatting\Indentation\SmartTokenFormatter_FormatTokenTests.vb (1)
157Await ExpectException_TestAsync(code, 4, FormattingOptions2.IndentStyle.Block)
Microsoft.CodeAnalysis.Workspaces (1)
AbstractIndentation.Indenter.cs (1)
78if (indentStyle == FormattingOptions2.IndentStyle.Block ||