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