37 references to LocalSymbol
Microsoft.CodeAnalysis.VisualBasic (37)
Analysis\FlowAnalysis\AbstractRegionDataFlowPass.vb (2)
58
Return declarations(0).
LocalSymbol
63
locals(i) = declarations(i).
LocalSymbol
Analysis\FlowAnalysis\DataFlowPass.vb (11)
334
Return DirectCast(node, BoundLocalDeclaration).
LocalSymbol
1344
Dim symbol = local.
LocalSymbol
1609
Dim local As LocalSymbol = node.
LocalSymbol
1884
Dim local = variableDeclaration.
LocalSymbol
1894
Dim local = DirectCast(variableDeclarations, BoundLocalDeclaration).
LocalSymbol
1911
NoteRead(variableDeclaration.
LocalSymbol
)
1914
NoteRead(DirectCast(variableDeclarations, BoundLocalDeclaration).
LocalSymbol
)
2056
GetOrCreateSlot(localDeclaration.
LocalSymbol
)
2079
Assign(localDecl, node.Initializer, ConsiderLocalInitiallyAssigned(localDecl.
LocalSymbol
) OrElse variableIsUsedDirectlyAndIsAlwaysAssigned)
2097
Assign(localDecl, node.Initializer, ConsiderLocalInitiallyAssigned(localDecl.
LocalSymbol
) OrElse variableIsUsedDirectlyAndIsAlwaysAssigned)
2113
Return declarations(0).
LocalSymbol
Analysis\FlowAnalysis\VariablesDeclaredWalker.vb (1)
39
_variablesDeclared.Add(node.
LocalSymbol
)
Binding\Binder_Statements.vb (6)
1070
locals(0) = var0.Update(var0.
LocalSymbol
, Nothing, var0.IdentifierInitializerOpt, True)
2118
locals.Add(DirectCast(localDecl, BoundLocalDeclaration).
LocalSymbol
)
2122
locals.Add(DirectCast(decl, BoundLocalDeclaration).
LocalSymbol
)
2975
declaredOrInferredLocalOpt = localDeclaration.
LocalSymbol
4494
boundLocalDeclaration.
LocalSymbol
,
4506
localDeclaration.
LocalSymbol
,
BoundTree\BoundLocalDeclaration.vb (4)
40
Debug.Assert(
LocalSymbol
.IsConst AndAlso InitializerOpt.IsStrictNothingLiteral())
42
Debug.Assert(
LocalSymbol
.Type.IsSameTypeIgnoringAll(InitializerOpt.Type) OrElse InitializerOpt.Type.IsErrorType() OrElse
43
(
LocalSymbol
.IsConst AndAlso
LocalSymbol
.Type.SpecialType = SpecialType.System_Object AndAlso
Generated\BoundNodes.xml.Generated.vb (3)
4509
If localSymbol IsNot Me.
LocalSymbol
OrElse declarationInitializerOpt IsNot Me.DeclarationInitializerOpt OrElse identifierInitializerOpt IsNot Me.IdentifierInitializerOpt OrElse initializedByAsNew <> Me.InitializedByAsNew Then
12553
Return node.Update(node.
LocalSymbol
, declarationInitializerOpt, identifierInitializerOpt, node.InitializedByAsNew)
13832
New TreeDumperNode("localSymbol", node.
LocalSymbol
, Nothing),
Lowering\LocalRewriter\LocalRewriter_AsNewLocalDeclarations.vb (1)
25
Dim localSymbol = localDeclaration.
LocalSymbol
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (5)
16
Dim localSymbol = node.
LocalSymbol
102
node.
LocalSymbol
,
103
node.
LocalSymbol
.Type
108
type:=node.
LocalSymbol
.Type
113
If node.
LocalSymbol
.IsStatic Then
Lowering\LocalRewriter\LocalRewriter_Using.vb (3)
96
placeholderInfo = node.UsingInfo.PlaceholderInfo(localVariableDeclaration.
LocalSymbol
.Type)
100
localVariableDeclaration.
LocalSymbol
,
115
localAsNewDeclaration.LocalDeclarations(initializedVariableIndex).
LocalSymbol
,
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
85
Dim localSymbol = node.
LocalSymbol