21 references to CSharpCodeStyleOptions
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpCodeGenerationOptions.cs (10)
45
PreferExpressionBodiedMethods = options.GetOption(
CSharpCodeStyleOptions
.PreferExpressionBodiedMethods);
46
PreferExpressionBodiedAccessors = options.GetOption(
CSharpCodeStyleOptions
.PreferExpressionBodiedAccessors);
47
PreferExpressionBodiedProperties = options.GetOption(
CSharpCodeStyleOptions
.PreferExpressionBodiedProperties);
48
PreferExpressionBodiedIndexers = options.GetOption(
CSharpCodeStyleOptions
.PreferExpressionBodiedIndexers);
49
PreferExpressionBodiedConstructors = options.GetOption(
CSharpCodeStyleOptions
.PreferExpressionBodiedConstructors);
50
PreferExpressionBodiedOperators = options.GetOption(
CSharpCodeStyleOptions
.PreferExpressionBodiedOperators);
51
PreferExpressionBodiedLocalFunctions = options.GetOption(
CSharpCodeStyleOptions
.PreferExpressionBodiedLocalFunctions);
52
PreferExpressionBodiedLambdas = options.GetOption(
CSharpCodeStyleOptions
.PreferExpressionBodiedLambdas);
53
PreferStaticLocalFunction = options.GetOption(
CSharpCodeStyleOptions
.PreferStaticLocalFunction);
54
NamespaceDeclarations = 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)
113
NamespaceDeclarations = options.GetOption(
CSharpCodeStyleOptions
.NamespaceDeclarations);
114
PreferTopLevelStatements = options.GetOption(
CSharpCodeStyleOptions
.PreferTopLevelStatements);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (7)
39
VarForBuiltInTypes = options.GetOption(
CSharpCodeStyleOptions
.VarForBuiltInTypes);
40
VarWhenTypeIsApparent = options.GetOption(
CSharpCodeStyleOptions
.VarWhenTypeIsApparent);
41
VarElsewhere = options.GetOption(
CSharpCodeStyleOptions
.VarElsewhere);
42
PreferSimpleDefaultExpression = options.GetOption(
CSharpCodeStyleOptions
.PreferSimpleDefaultExpression);
43
AllowEmbeddedStatementsOnSameLine = options.GetOption(
CSharpCodeStyleOptions
.AllowEmbeddedStatementsOnSameLine);
44
PreferBraces = options.GetOption(
CSharpCodeStyleOptions
.PreferBraces);
45
PreferThrowExpression = options.GetOption(
CSharpCodeStyleOptions
.PreferThrowExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (1)
33
=> configOptions.GetOption(
CSharpCodeStyleOptions
.PreferredUsingDirectivePlacement);