2 instantiations of DimensionSize
Microsoft.CodeAnalysis.VisualBasic (2)
Binding\Binder_Expressions.vb (2)
4032
Return New
DimensionSize
(size, SizeKind.Constant)
4036
Return New
DimensionSize
(0, SizeKind.NotConstant)
15 references to DimensionSize
Microsoft.CodeAnalysis.VisualBasic (15)
Binding\Binder_Expressions.vb (15)
1535
Dim knownSizes(sourceType.Rank - 1) As
DimensionSize
4031
Public Shared Function ConstantSize(size As Integer) As
DimensionSize
4035
Public Shared Function VariableSize() As
DimensionSize
4057
Dim knownSizes(arrayType.Rank - 1) As
DimensionSize
4082
Dim knownSizes(rank - 1) As
DimensionSize
4100
Private Function CreateArrayBounds(node As SyntaxNode, knownSizes() As
DimensionSize
, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of BoundExpression)
4152
knownSizes As
DimensionSize
(),
4171
knownSizes As
DimensionSize
(),
4200
knownSizes As
DimensionSize
(),
4269
If curSize.Kind =
DimensionSize
.SizeKind.Unknown Then
4270
knownSizes(dimension - 1) =
DimensionSize
.ConstantSize(initializers.Count)
4272
ElseIf curSize.Kind =
DimensionSize
.SizeKind.NotConstant Then
4310
Optional knownSizes As
DimensionSize
() = Nothing,
4398
knownSizes(i) =
DimensionSize
.ConstantSize(value.Int32Value)
4400
knownSizes(i) =
DimensionSize
.VariableSize