1 write to PreferStaticLocalFunction
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpCodeGenerationOptions.cs (1)
62
PreferStaticLocalFunction
= options.GetOption(CSharpCodeStyleOptions.PreferStaticLocalFunction, fallbackOptions.PreferStaticLocalFunction);
3 references to PreferStaticLocalFunction
Microsoft.CodeAnalysis.CSharp.Features (2)
CSharpUseLocalFunctionCodeFixProvider.cs (1)
102
makeStaticIfPossible = options.
PreferStaticLocalFunction
.Value;
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
233
if (LocalFunction && (!Options.
PreferStaticLocalFunction
.Value || languageVersion < LanguageVersion.CSharp8))
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpCodeGenerationOptions.cs (1)
62
PreferStaticLocalFunction = options.GetOption(CSharpCodeStyleOptions.PreferStaticLocalFunction, fallbackOptions.
PreferStaticLocalFunction
);