/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/VisualBasic/Portable/Binding/AttributeBinder.vb
47 строк
1 KB
Jonathon Marolf
update headers
23 янв 2020, 04:01
Не верифицирован
23 янв 2020, 04:01
91571a3
Код
Авторство
О чём код?
' 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.Text Imports Microsoft.CodeAnalysis.VisualBasic.Symbols Imports Microsoft.CodeAnalysis.VisualBasic.Syntax Namespace Microsoft.CodeAnalysis.VisualBasic ''' <summary> ''' Binder used for attributes ''' </summary> Friend NotInheritable Class AttributeBinder Inherits Binder ''' <summary> Root syntax node </summary> Private ReadOnly _root As VisualBasicSyntaxNode Public Sub New(containingBinder As Binder, tree As SyntaxTree, Optional node As VisualBasicSyntaxNode = Nothing) MyBase.New(containingBinder, tree) _root = node End Sub ''' <summary> Field or property declaration statement syntax node </summary> Friend ReadOnly Property Root As VisualBasicSyntaxNode Get Return _root End Get End Property ''' <summary> ''' Some nodes have special binder's for their contents ''' </summary> Public Overrides Function GetBinder(node As SyntaxNode) As Binder Return Nothing End Function Friend Overrides ReadOnly Property IsDefaultInstancePropertyAllowed As Boolean Get Return False End Get End Property End Class End Namespace