/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/VisualBasic/Portable/Symbols/Source/LocalDeclarationKind.vb
39 строк
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. Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols ''' <summary> ''' Specifies the syntax that a user defined variable comes from. ''' </summary> Friend Enum LocalDeclarationKind As Byte ''' <summary> ''' The local is not user defined nor it is a copy of a user defined local (e.g. with a substituted type). ''' Check the value of <see cref="LocalSymbol.SynthesizedKind"/> for the kind of synthesized variable. ''' </summary> None Variable ''' <summary> ''' Implicitly declared variable (w/o variable declaration). ''' </summary> ImplicitVariable Constant [Static] [Using] [Catch] [For] ForEach FunctionValue ''' <summary> ''' Only used in flow analysis for the pseudo-local representing a symbol ''' of the implicit receiver in case Dim statement defines more than one ''' variable, but uses the same object initializer for all of them, like in: ''' Dim a,b As New C() With { .X = .Y } ''' </summary> AmbiguousLocals End Enum End Namespace