3 types derived from LocalSymbol
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Source\LocalSymbol.vb (2)
483Inherits LocalSymbol 946Inherits LocalSymbol
Symbols\SynthesizedSymbols\SynthesizedLocal.vb (1)
14Inherits LocalSymbol
3 instantiations of LocalSymbol
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Source\LocalSymbol.vb (2)
494MyBase.New(containingSymbol, type) 951MyBase.New(originalVariable._container, type)
Symbols\SynthesizedSymbols\SynthesizedLocal.vb (1)
25MyBase.New(container, type)
48 references to LocalSymbol
Microsoft.CodeAnalysis.VisualBasic (48)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (11)
49Return New BoundBlock(syntax, Nothing, ImmutableArray(Of LocalSymbol).Empty, statements.ToImmutableAndFree()).MakeCompilerGenerated() 78Return New BoundBlock(syntax, Nothing, ImmutableArray(Of LocalSymbol).Empty, 177ImmutableArray(Of LocalSymbol).Empty, 195Dim localMyFieldBoxed As LocalSymbol = New SynthesizedLocal(Me, objectType, SynthesizedLocalKind.LoweringTemp) 196Dim localOtherFieldBoxed As LocalSymbol = New SynthesizedLocal(Me, objectType, SynthesizedLocalKind.LoweringTemp) 230localMyFieldBoxed As LocalSymbol, localOtherFieldBoxed As LocalSymbol, booleanType As TypeSymbol) As BoundExpression 258boundNothing As BoundExpression, localMyFieldBoxed As LocalSymbol, localOtherFieldBoxed As LocalSymbol, 295Return New BoundSequence(syntax, ImmutableArray(Of LocalSymbol).Empty, 384ImmutableArray(Of LocalSymbol).Empty,
Binding\SyntheticBoundTrees\SynthesizedConstructorSymbol.vb (1)
19Return New BoundBlock(Me.Syntax, Nothing, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundStatement)(returnStmt))
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (6)
27Return (New BoundBlock(syntax, Nothing, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray(Of BoundStatement).Empty, hasErrors:=True)).MakeCompilerGenerated() 69Dim locals As ImmutableArray(Of LocalSymbol) 85locals = ImmutableArray.Create(Of LocalSymbol)(local) 103Dim temps As ArrayBuilder(Of LocalSymbol) = Nothing 167temps = ArrayBuilder(Of LocalSymbol).GetInstance 353locals = If(temps Is Nothing, ImmutableArray(Of LocalSymbol).Empty, temps.ToImmutableAndFree)
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (3)
57Dim i As LocalSymbol = F.SynthesizedLocal(Me.ContainingAssembly.GetSpecialType(SpecialType.System_Int32)) 58Dim hashCode As LocalSymbol = F.SynthesizedLocal(Me.ContainingAssembly.GetSpecialType(SpecialType.System_UInt32)) 95ImmutableArray.Create(Of LocalSymbol)(hashCode, i),
Symbols\Source\LocalDeclarationKind.vb (1)
13''' Check the value of <see cref="LocalSymbol.SynthesizedKind"/> for the kind of synthesized variable.
Symbols\Source\LocalSymbol.vb (9)
36declarationKind As LocalDeclarationKind) As LocalSymbol 48type As TypeSymbol) As LocalSymbol 62name As String) As LocalSymbol 70Friend Shared Function Create(originalVariable As LocalSymbol, type As TypeSymbol) As LocalSymbol 82stepClauseOpt As ForStepClauseSyntax) As LocalSymbol 93expression As ExpressionSyntax) As LocalSymbol 948Private ReadOnly _originalVariable As LocalSymbol 950Public Sub New(originalVariable As LocalSymbol, type As TypeSymbol)
Symbols\Source\SourceMethodSymbol.vb (1)
1199Return New BoundBlock(methodBlock, methodBlock.Statements, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(boundStatement))
Symbols\Source\SynthesizedEntryPointSymbol.vb (2)
307ImmutableArray.Create(Of LocalSymbol)(scriptLocal.LocalSymbol), 387ImmutableArray.Create(Of LocalSymbol)(submissionLocal.LocalSymbol),
Symbols\Source\SynthesizedEventAccessorSymbol.vb (7)
127ImmutableArray(Of LocalSymbol).Empty, 232locals:=ImmutableArray(Of LocalSymbol).Empty, 244locals:=ImmutableArray(Of LocalSymbol).Empty, 298ImmutableArray(Of LocalSymbol).Empty, 363ImmutableArray(Of LocalSymbol).Empty, 376Dim tmps As LocalSymbol() = New LocalSymbol(numTemps - 1) {}
Symbols\Source\SynthesizedInteractiveInitializerMethod.vb (1)
15Friend ReadOnly FunctionLocal As LocalSymbol
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
82Return New BoundBlock(syntaxNode, Nothing, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(statement, New BoundReturnStatement(syntaxNode, Nothing, Nothing, Nothing)))
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
128Return New BoundBlock(accessorBlock, Nothing, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundStatement)(boundStatement))
Symbols\Source\SynthesizedStaticLocalBackingField.vb (3)
27implicitlyDefinedBy As LocalSymbol, 46Friend Overloads ReadOnly Property ImplicitlyDefinedBy As LocalSymbol 48Return DirectCast(_implicitlyDefinedBy, LocalSymbol)
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (1)
51ImmutableArray(Of LocalSymbol).Empty,