21 references to CSharpCodeStyleOptions
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpCodeGenerationOptions.cs (10)
45PreferExpressionBodiedMethods = options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedMethods); 46PreferExpressionBodiedAccessors = options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedAccessors); 47PreferExpressionBodiedProperties = options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedProperties); 48PreferExpressionBodiedIndexers = options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedIndexers); 49PreferExpressionBodiedConstructors = options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedConstructors); 50PreferExpressionBodiedOperators = options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedOperators); 51PreferExpressionBodiedLocalFunctions = options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedLocalFunctions); 52PreferExpressionBodiedLambdas = options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedLambdas); 53PreferStaticLocalFunction = options.GetOption(CSharpCodeStyleOptions.PreferStaticLocalFunction); 54NamespaceDeclarations = options.GetOption(CSharpCodeStyleOptions.NamespaceDeclarations);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\PreferBracesPreference.cs (1)
11/// Defines the known values for <see cref="CSharpCodeStyleOptions.PreferBraces"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (2)
113NamespaceDeclarations = options.GetOption(CSharpCodeStyleOptions.NamespaceDeclarations); 114PreferTopLevelStatements = options.GetOption(CSharpCodeStyleOptions.PreferTopLevelStatements);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (7)
39VarForBuiltInTypes = options.GetOption(CSharpCodeStyleOptions.VarForBuiltInTypes); 40VarWhenTypeIsApparent = options.GetOption(CSharpCodeStyleOptions.VarWhenTypeIsApparent); 41VarElsewhere = options.GetOption(CSharpCodeStyleOptions.VarElsewhere); 42PreferSimpleDefaultExpression = options.GetOption(CSharpCodeStyleOptions.PreferSimpleDefaultExpression); 43AllowEmbeddedStatementsOnSameLine = options.GetOption(CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine); 44PreferBraces = options.GetOption(CSharpCodeStyleOptions.PreferBraces); 45PreferThrowExpression = options.GetOption(CSharpCodeStyleOptions.PreferThrowExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (1)
33=> configOptions.GetOption(CSharpCodeStyleOptions.PreferredUsingDirectivePlacement);