10 references to Option2
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpFormattingOptions2.cs (2)
65var option = new Option2<T>(name, defaultValue, group, LanguageNames.CSharp, isEditorConfigOption: true, serializer: serializer); 273public static readonly Option2<int> CollectionExpressionWrappingLength = new(
Microsoft.CodeAnalysis.Features (5)
Copilot\CopilotOptions.cs (1)
11public static Option2<bool> AnalyzeCopilotChanges { get; } = new Option2<bool>("dotnet_analyze_copilot_changes", defaultValue: true);
Diagnostics\Options\DiagnosticOptionsStorage.cs (1)
11public static readonly Option2<bool> LogTelemetryForBackgroundAnalyzerExecution = new(
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
53private static readonly Option2<bool> s_crashOnAnalyzerException = new("dotnet_crash_on_analyzer_exception", defaultValue: false);
SolutionCrawler\SolutionCrawlerService.cs (2)
11internal static readonly Option2<bool> EnableSolutionCrawler = new("dotnet_enable_solution_crawler", defaultValue: true); 12internal static readonly Option2<bool> ProcessRoslynSourceGeneratedFiles = new Option2<bool>("dotnet_process_roslyn_source_generated_files_in_solution_crawler", defaultValue: true);
Microsoft.CodeAnalysis.Workspaces (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (2)
126var option = new Option2<CodeStyleOption2<T>>(name, defaultValue, group, languageName, isEditorConfigOption: true, serializer: (serializerFactory ?? EditorConfigValueSerializer.CodeStyle).Invoke(defaultValue)); 138var option = new Option2<T>(name, defaultValue, group, languageName: null, isEditorConfigOption: true, serializer: serializer);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (1)
58internal static Option2<bool> InsertFinalNewLine = new(