/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Workspaces/CoreTestUtilities/VBOptionsFactory.cs
23 строки
949 B
Tomáš Matoušek
Remove fallbacks (2) (#74319)
10 июл 2024, 05:38
Не верифицирован
10 июл 2024, 05:38
6d1db01
Код
Авторство
О чём код?
// 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.CodeCleanup; using Microsoft.CodeAnalysis.CodeGeneration; using Microsoft.CodeAnalysis.ExtractMethod; namespace Microsoft.CodeAnalysis.UnitTests; /// <summary> /// Currently VB does not support required members, so it can't create instances of some of our option types. /// This class is a workaround until VB implements the feature. /// </summary> internal static class VBOptionsFactory { public static ExtractMethodGenerationOptions CreateExtractMethodGenerationOptions(CodeGenerationOptions codeGenerationOptions, CodeCleanupOptions codeCleanupOptions) => new() { CodeGenerationOptions = codeGenerationOptions, CodeCleanupOptions = codeCleanupOptions }; }