6 references to ToPublicOption
Microsoft.CodeAnalysis.Workspaces (6)
Formatting\FormattingOptions.cs (4)
16public static PerLanguageOption<bool> UseTabs { get; } = FormattingOptions2.UseTabs.ToPublicOption(); 19public static PerLanguageOption<int> TabSize { get; } = FormattingOptions2.TabSize.ToPublicOption(); 22public static PerLanguageOption<int> IndentationSize { get; } = FormattingOptions2.IndentationSize.ToPublicOption(); 25public static PerLanguageOption<string> NewLine { get; } = FormattingOptions2.NewLine.ToPublicOption();
Recommendations\RecommendationOptions.cs (2)
13public static PerLanguageOption<bool> HideAdvancedMembers { get; } = RecommendationOptions2.HideAdvancedMembers.ToPublicOption(); 14public static PerLanguageOption<bool> FilterOutOfScopeLocals { get; } = RecommendationOptions2.FilterOutOfScopeLocals.ToPublicOption();