4 references to PreferExpressionBodiedLambdas
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (1)
78
public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedLambdas => GetOption(CSharpCodeStyleOptions.
PreferExpressionBodiedLambdas
);
src\Analyzers\CSharp\Analyzers\UseExpressionBodyForLambda\UseExpressionBodyForLambdaDiagnosticAnalyzer.cs (2)
24
(s_useExpressionBodyForLambda, CSharpCodeStyleOptions.
PreferExpressionBodiedLambdas
),
25
(s_useBlockBodyForLambda, CSharpCodeStyleOptions.
PreferExpressionBodiedLambdas
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpCodeGenerationOptions.cs (1)
52
PreferExpressionBodiedLambdas = options.GetOption(CSharpCodeStyleOptions.
PreferExpressionBodiedLambdas
);