/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/EditorFeatures/CSharpTest/KeywordHighlighting/AbstractCSharpKeywordHighlighterTests.cs
25 строк
952 B
Cyrus Najmabadi
Move to file scoped namespace in tests
22 май 2024, 08:23
22 май 2024, 08:23
32e21b6
Код
Авторство
О чём код?
// 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. #nullable disable using System.Collections.Generic; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft.CodeAnalysis.Editor.UnitTests.KeywordHighlighting; using Microsoft.CodeAnalysis.Test.Utilities; namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.KeywordHighlighting; public abstract class AbstractCSharpKeywordHighlighterTests : AbstractKeywordHighlighterTests { protected override EditorTestWorkspace CreateWorkspaceFromFile(string code, ParseOptions options) => EditorTestWorkspace.CreateCSharp(code, options, composition: Composition); protected override IEnumerable<ParseOptions> GetOptions() { yield return TestOptions.Regular; yield return TestOptions.Script; } }