/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/EditorFeatures/VisualBasic/AutomaticEndConstructCorrection/AutomaticEndConstructSet.vb
14 строк
737 B
Manish Vasani
Fix IDE0044 (Make Field Readonly) violations with FixAll operation
08 июл 2020, 21:54
08 июл 2020, 21:54
e1a6e33
Код
Авторство
О чём код?
' 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. Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.AutomaticEndConstructCorrection Friend Class AutomaticEndConstructSet Private Shared ReadOnly s_set As HashSet(Of String) = New HashSet(Of String)(CaseInsensitiveComparison.Comparer) _ From {"structure", "enum", "interface", "class", "module", "namespace", "sub", "function", "get", "set"} Public Shared Function Contains(keyword As String) As Boolean Return s_set.Contains(keyword) End Function End Class End Namespace