/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/LanguageServer/Protocol/Features/Options/LanguageServerProjectSystemOptionsStorage.cs
32 строки
2 KB
Rikki Gibson
Refactor fbp workspace management (#82509)
20 мар 2026, 01:58
Не верифицирован
20 мар 2026, 01:58
7f59aed
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.LanguageServer.HostWorkspace; internal static class LanguageServerProjectSystemOptionsStorage { private static readonly OptionGroup s_optionGroup = new(name: "projects", description: ""); /// <summary> /// A folder to log binlogs to when running design-time builds. /// </summary> public static readonly Option2<string?> BinaryLogPath = new("dotnet_binary_log_path", defaultValue: null, s_optionGroup); /// <summary> /// Whether or not automatic nuget restore is enabled. /// </summary> public static readonly Option2<bool> EnableAutomaticRestore = new("dotnet_enable_automatic_restore", defaultValue: true, s_optionGroup); /// <summary> /// Whether to use the new 'dotnet run app.cs' (file-based programs) experience. /// </summary> public static readonly Option2<bool> EnableFileBasedPrograms = new("dotnet_enable_file_based_programs", defaultValue: true, s_optionGroup); /// <summary> /// Controls whether to show semantic errors in miscellaneous files with top-level statements and no #: directives. /// </summary> public static readonly Option2<bool> EnableSemanticErrorsInMiscellaneousFiles = new("dotnet_enable_file_based_programs_when_ambiguous", defaultValue: true, s_optionGroup); }