2 instantiations of DimensionSize
Microsoft.CodeAnalysis.VisualBasic (2)
Binding\Binder_Expressions.vb (2)
4059
Return New
DimensionSize
(size, SizeKind.Constant)
4063
Return New
DimensionSize
(0, SizeKind.NotConstant)
15 references to DimensionSize
Microsoft.CodeAnalysis.VisualBasic (15)
Binding\Binder_Expressions.vb (15)
1560
Dim knownSizes(sourceType.Rank - 1) As
DimensionSize
4058
Public Shared Function ConstantSize(size As Integer) As
DimensionSize
4062
Public Shared Function VariableSize() As
DimensionSize
4084
Dim knownSizes(arrayType.Rank - 1) As
DimensionSize
4109
Dim knownSizes(rank - 1) As
DimensionSize
4127
Private Function CreateArrayBounds(node As SyntaxNode, knownSizes() As
DimensionSize
, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of BoundExpression)
4179
knownSizes As
DimensionSize
(),
4198
knownSizes As
DimensionSize
(),
4227
knownSizes As
DimensionSize
(),
4296
If curSize.Kind =
DimensionSize
.SizeKind.Unknown Then
4297
knownSizes(dimension - 1) =
DimensionSize
.ConstantSize(initializers.Count)
4299
ElseIf curSize.Kind =
DimensionSize
.SizeKind.NotConstant Then
4337
Optional knownSizes As
DimensionSize
() = Nothing,
4425
knownSizes(i) =
DimensionSize
.ConstantSize(value.Int32Value)
4427
knownSizes(i) =
DimensionSize
.VariableSize