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