1 override of LowerBounds
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ArrayTypeSymbol.cs (1)
644public override ImmutableArray<int> LowerBounds
33 references to LowerBounds
Microsoft.CodeAnalysis.CSharp (10)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
376return ArrayTypeSymbol.CreateMDArray(_otherAssembly, symbol.ElementTypeWithAnnotations.WithTypeAndModifiers(otherElementType, otherModifiers), symbol.Rank, symbol.Sizes, symbol.LowerBounds); 1069return 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)
222t.LowerBounds,
Symbols\ArrayTypeSymbol.cs (3)
176var thisLowerBounds = this.LowerBounds; 180return other.LowerBounds.IsDefault; 183var 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);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenFunctionPointersTests.cs (2)
7067Assert.Equal(5, array.LowerBounds[0]); 7069Assert.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)
2642Assert.Equal(5, array.LowerBounds[0]); 2644Assert.Equal(2, array.LowerBounds[1]);