4 instantiations of FieldOrPropertyInitializer
Microsoft.CodeAnalysis.VisualBasic (4)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2619
Return New
FieldOrPropertyInitializer
(binder.GetSyntaxReference(memberSyntax), precedingInitializersLength)
2654
Return New
FieldOrPropertyInitializer
(propertySymbol, initializerOptRef, precedingInitializersLength)
Symbols\Source\SourceMemberFieldSymbol.vb (2)
612
Return New
FieldOrPropertyInitializer
(fieldSymbol, modifiedIdentifierRef, precedingInitializersLength)
648
Return New
FieldOrPropertyInitializer
(fieldOrWithEventSymbols.AsImmutableOrNull, initializerOptRef, precedingInitializersLength)
39 references to FieldOrPropertyInitializer
Microsoft.CodeAnalysis.VisualBasic (38)
Binding\Binder_Initializers.vb (1)
86
initializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
)),
Compilation\MethodCompiler.vb (1)
457
Private Sub AssertAllInitializersAreConstants(initializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
)))
Symbols\FieldOrPropertyInitializer.vb (3)
49
''' Initializes a new instance of the <see cref="
FieldOrPropertyInitializer
" /> structure.
66
''' Initializes a new instance of the <see cref="
FieldOrPropertyInitializer
" /> structure.
78
''' Initializes a new instance of the <see cref="
FieldOrPropertyInitializer
" /> structure.
Symbols\Source\ImplicitNamedTypeSymbol.vb (2)
176
Dim staticInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
) = Nothing
177
Dim instanceInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
) = Nothing
Symbols\Source\SourceMemberContainerTypeSymbol.vb (25)
1508
Friend ReadOnly StaticInitializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
))
1509
Friend ReadOnly InstanceInitializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
))
1521
staticInitializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
)),
1522
instanceInitializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
)),
1542
Friend Property StaticInitializers As ArrayBuilder(Of ImmutableArray(Of
FieldOrPropertyInitializer
))
1543
Friend Property InstanceInitializers As ArrayBuilder(Of ImmutableArray(Of
FieldOrPropertyInitializer
))
1572
Friend Shared Sub AddInitializer(ByRef initializers As ArrayBuilder(Of
FieldOrPropertyInitializer
), computeInitializer As Func(Of Integer,
FieldOrPropertyInitializer
), ByRef aggregateSyntaxLength As Integer)
1576
initializers = ArrayBuilder(Of
FieldOrPropertyInitializer
).GetInstance()
1599
Friend Shared Sub AddInitializers(ByRef allInitializers As ArrayBuilder(Of ImmutableArray(Of
FieldOrPropertyInitializer
)), siblings As ArrayBuilder(Of
FieldOrPropertyInitializer
))
1602
allInitializers = New ArrayBuilder(Of ImmutableArray(Of
FieldOrPropertyInitializer
))()
2345
initializerSet As IEnumerable(Of ImmutableArray(Of
FieldOrPropertyInitializer
)),
2528
ByRef staticInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
),
2529
ByRef instanceInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
),
2634
ByRef staticInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
),
2635
ByRef instanceInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
))
2711
initializers As ArrayBuilder(Of ImmutableArray(Of
FieldOrPropertyInitializer
)),
3215
Public ReadOnly Property StaticInitializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
))
3224
Public ReadOnly Property InstanceInitializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
))
3294
Private Shared Function GetInitializersInSourceTree(tree As SyntaxTree, initializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
))) As ImmutableArray(Of
FieldOrPropertyInitializer
)
3295
Dim builder = ArrayBuilder(Of
FieldOrPropertyInitializer
).GetInstance()
3296
For Each siblingInitializers As ImmutableArray(Of
FieldOrPropertyInitializer
) In initializers
3305
Private Shared Function IndexOfInitializerContainingPosition(initializers As ImmutableArray(Of
FieldOrPropertyInitializer
), position As Integer) As Integer
Symbols\Source\SourceMemberFieldSymbol.vb (2)
395
ByRef staticInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
),
396
ByRef instanceInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
),
Symbols\Source\SourceNamedTypeSymbol.vb (4)
180
Dim staticInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
) = Nothing
181
Dim instanceInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
) = Nothing
230
ByRef staticInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
),
231
ByRef instanceInitializers As ArrayBuilder(Of
FieldOrPropertyInitializer
),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\FieldInitializerBindingTests.vb (1)
1579
Private Shared Function BindInitializersWithoutDiagnostics(typeSymbol As SourceNamedTypeSymbol, initializers As ImmutableArray(Of ImmutableArray(Of
FieldOrPropertyInitializer
))) As ImmutableArray(Of BoundInitializer)