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