32 references to AllowEmbeddedStatementsOnSameLine
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (13)
CodeActions\InitializeParameter\AddParameterCheckTests.cs (13)
2396{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, false }, 2430{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, false }, 2466{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, false }, 2499{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, true }, 2532{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, true }, 2568{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, true }, 2606{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, false }, 2646{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, false }, 2688{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, false }, 2727{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, true }, 2766{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, true }, 2808{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, true }, 2845{ CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, true },
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (1)
27public CodeStyleOption2<bool> AllowEmbeddedStatementsOnSameLine => GetOption(CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine);
src\Analyzers\CSharp\Analyzers\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementDiagnosticAnalyzer.cs (1)
21CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine,
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (12)
src\Analyzers\CSharp\Tests\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementTests.cs (12)
35Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 61Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 77Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, true, NotificationOption2.Suggestion } } 96Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 126Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 154Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 180Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 208Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 235Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 268Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 297Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } } 328Options = { { CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CodeStyleOption2.FalseWithSuggestionEnforcement } }
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (1)
46AllowEmbeddedStatementsOnSameLine = options.GetOption(CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
162yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CSharpVSResources.Allow_embedded_statements_on_same_line, options, updater);
Options\AutomationObject\AutomationObject.Style.cs (2)
404get { return GetXmlOption(CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine); } 405set { SetXmlOption(CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, value); }
Options\Formatting\StyleViewModel.cs (1)
2334CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, CSharpVSResources.Allow_embedded_statements_on_same_line, s_allow_embedded_statements_on_same_line_true, s_allow_embedded_statements_on_same_line_false, this, optionStore, newLinePreferencesGroupTitle));