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