/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/EditorFeatures/VisualBasicTest/BracePairs/VisualBasicBracePairsTests.vb
27 строк
925 B
Cyrus Najmabadi
Organize VB imports
27 июн 2025, 21:53
27 июн 2025, 21:53
e9c47fd
Код
Авторство
О чём код?
' 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. Imports Microsoft.CodeAnalysis.Test.Utilities.BracePairs Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.BracePairs Public Class VisualBasicBracePairsTests Inherits AbstractBracePairsTests Protected Overrides Function CreateWorkspace(input As String) As EditorTestWorkspace Return EditorTestWorkspace.CreateVisualBasic(input) End Function <Fact> Public Async Function Test1() As Task Await Test(" {|a:<|}Attr{|a:>|} class C sub Goo{|b:(|}i as List{|c:(|}of Bar{|c:)|}{|b:)|} dim x = new Goo{|d:(|}{|d:)|} From {|e:{|} 1, 2, 3 {|e:}|} end sub end class ") End Function End Class End Namespace