5 references to PreferTopLevelStatements
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
ConvertToProgramMainDiagnosticAnalyzer.cs (1)
23
CSharpCodeStyleOptions.
PreferTopLevelStatements
,
ConvertToTopLevelStatementsDiagnosticAnalyzer.cs (1)
25
CSharpCodeStyleOptions.
PreferTopLevelStatements
,
CSharpAnalyzerOptionsProvider.cs (1)
60
public CodeStyleOption2<bool> PreferTopLevelStatements => GetOption(CSharpCodeStyleOptions.
PreferTopLevelStatements
, FallbackSyntaxFormattingOptions.PreferTopLevelStatements);
CSharpSyntaxFormattingOptions.cs (1)
113
PreferTopLevelStatements = options.GetOption(CSharpCodeStyleOptions.
PreferTopLevelStatements
, fallbackOptions.PreferTopLevelStatements);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpCodeFixOptionsProvider.cs (1)
66
public CodeStyleOption2<bool> PreferTopLevelStatements => GetOption(CSharpCodeStyleOptions.
PreferTopLevelStatements
, FallbackSyntaxFormattingOptions.PreferTopLevelStatements);