/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/VisualBasic/Portable/Binding/TopLevelCodeBinder.vb
34 строки
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.VisualBasic.Symbols Namespace Microsoft.CodeAnalysis.VisualBasic ''' <summary> ''' Provides context for binding top-level statements in a script. ''' </summary> Friend NotInheritable Class TopLevelCodeBinder Inherits SubOrFunctionBodyBinder ''' <summary> ''' Create binder for binding the body of a method. ''' </summary> Public Sub New(scriptInitializer As MethodSymbol, containingBinder As Binder) MyBase.New(scriptInitializer, scriptInitializer.Syntax, containingBinder) Debug.Assert(scriptInitializer.ContainingType.IsScriptClass) End Sub Public Overrides Function GetLocalForFunctionValue() As LocalSymbol Return Nothing End Function Public Overrides ReadOnly Property IsInQuery As Boolean Get Return False End Get End Property End Class End Namespace