1 override of LowerBounds
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ArrayTypeSymbol.cs (1)
660public override ImmutableArray<int> LowerBounds
34 references to LowerBounds
Microsoft.CodeAnalysis.CSharp (11)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
170return ArrayTypeSymbol.CreateMDArray(_otherAssembly, symbol.ElementTypeWithAnnotations.WithTypeAndModifiers(otherElementType, otherModifiers), symbol.Rank, symbol.Sizes, symbol.LowerBounds); 876return ArrayTypeSymbol.CreateMDArray(symbol.BaseTypeNoUseSiteDiagnostics.ContainingAssembly, symbol.ElementTypeWithAnnotations.WithTypeAndModifiers(translatedElementType, translatedModifiers), symbol.Rank, symbol.Sizes, symbol.LowerBounds);
Emitter\Model\ArrayTypeSymbolAdapter.cs (1)
47ImmutableArray<int> Cci.IArrayTypeReference.LowerBounds => AdaptedArrayTypeSymbol.LowerBounds;
Symbols\AbstractTypeMap.cs (1)
223t.LowerBounds,
Symbols\ArrayTypeSymbol.cs (3)
178var thisLowerBounds = this.LowerBounds; 182return other.LowerBounds.IsDefault; 185var otherLowerBounds = other.LowerBounds;
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
322ArrayTypeSymbol.CreateMDArray(_containingAssembly, arrayType.ElementTypeWithAnnotations.WithTypeAndModifiers(transformedElementType, arrayType.ElementTypeWithAnnotations.CustomModifiers), arrayType.Rank, arrayType.Sizes, arrayType.LowerBounds);
Symbols\PublicModel\ArrayTypeSymbol.cs (1)
39ImmutableArray<int> IArrayTypeSymbol.LowerBounds => _underlying.LowerBounds;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
710return ArrayTypeSymbol.CreateMDArray(this.RetargetingAssembly, newElement, type.Rank, type.Sizes, type.LowerBounds);
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (1)
296Debug.Assert(array.Sizes.IsEmpty && array.LowerBounds.IsDefault); // We only deal with source array types
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenFunctionPointersTests.cs (2)
7081Assert.Equal(5, array.LowerBounds[0]); 7083Assert.Equal(2, array.LowerBounds[1]);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\MultiDimensionalArrayTests.cs (19)
540Assert.True(szArray.LowerBounds.IsDefault); 547Assert.True(mdArray.LowerBounds.IsDefault); 1098Assert.True(array.LowerBounds.IsEmpty); 1105Assert.True(array.LowerBounds.IsEmpty); 1112Assert.True(array.LowerBounds.IsEmpty); 1119Assert.Equal(new[] { 0 }, array.LowerBounds); 1126Assert.Equal(new[] { 0 }, array.LowerBounds); 1133Assert.True(array.LowerBounds.IsDefault); 1140Assert.Equal(new[] { 0, 2 }, array.LowerBounds); 1147Assert.Equal(new[] { 0, 2 }, array.LowerBounds); 1154Assert.Equal(new[] { 1 }, array.LowerBounds); 1161Assert.Equal(new[] { 1 }, array.LowerBounds); 1168Assert.Equal(new[] { 1, 0 }, array.LowerBounds); 1175Assert.Equal(new[] { 1, 2 }, array.LowerBounds); 1182Assert.Equal(new[] { 1, 2 }, array.LowerBounds); 1189Assert.Equal(new[] { 1 }, array.LowerBounds); 1196Assert.Equal(new[] { 1 }, array.LowerBounds); 1203Assert.Equal(new[] { 1, 2 }, array.LowerBounds); 1210Assert.Equal(new[] { 1 }, array.LowerBounds);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\ExtendedPartialMethodsTests.cs (2)
3050Assert.Equal(5, array.LowerBounds[0]); 3052Assert.Equal(2, array.LowerBounds[1]);