4 references to PreferTopLevelStatements
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (1)
37
public CodeStyleOption2<bool> PreferTopLevelStatements => GetOption(CSharpCodeStyleOptions.
PreferTopLevelStatements
);
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertToProgramMainDiagnosticAnalyzer.cs (1)
23
CSharpCodeStyleOptions.
PreferTopLevelStatements
,
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertToTopLevelStatementsDiagnosticAnalyzer.cs (1)
25
CSharpCodeStyleOptions.
PreferTopLevelStatements
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
114
PreferTopLevelStatements = options.GetOption(CSharpCodeStyleOptions.
PreferTopLevelStatements
);