343 references to Rank
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
141if (array.Rank != 1)
Microsoft.Build.Framework (5)
SegmentedArray.cs (1)
135if (typeof(T[]) != destinationArray.GetType() && destinationArray.Rank != 1)
SegmentedDictionary`2.cs (3)
852if (array.Rank != 1) 1333if (array.Rank != 1) 1533if (array.Rank != 1)
SegmentedList`1.cs (1)
383if ((array != null) && (array.Rank != 1))
Microsoft.CodeAnalysis (5)
src\Dependencies\Collections\SegmentedArray.cs (1)
141if (typeof(T[]) != destinationArray.GetType() && destinationArray.Rank != 1)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
880if (array.Rank != 1) 1375if (array.Rank != 1) 1583if (array.Rank != 1)
src\Dependencies\Collections\SegmentedList`1.cs (1)
454if ((array != null) && (array.Rank != 1))
Microsoft.CodeAnalysis.CodeStyle (5)
src\Dependencies\Collections\SegmentedArray.cs (1)
141if (typeof(T[]) != destinationArray.GetType() && destinationArray.Rank != 1)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
880if (array.Rank != 1) 1375if (array.Rank != 1) 1583if (array.Rank != 1)
src\Dependencies\Collections\SegmentedList`1.cs (1)
454if ((array != null) && (array.Rank != 1))
Microsoft.CodeAnalysis.Collections.Package (5)
SegmentedArray.cs (1)
141if (typeof(T[]) != destinationArray.GetType() && destinationArray.Rank != 1)
SegmentedDictionary`2.cs (3)
880if (array.Rank != 1) 1375if (array.Rank != 1) 1583if (array.Rank != 1)
SegmentedList`1.cs (1)
454if ((array != null) && (array.Rank != 1))
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (2)
Debugger\Engine\DkmClrValue.cs (2)
592int rank = array.Rank; 612int rank = array.Rank;
Microsoft.CodeAnalysis.Scripting (4)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (4)
567if (array.Rank > 1) 646Debug.Assert(array.Rank > 1); 656int[] indices = new int[array.Rank]; 657for (int i = array.Rank - 1; i >= 0; i--)
Microsoft.CodeAnalysis.UnitTests (2)
Collections\List\ICollection.NonGeneric.Tests.cs (2)
193Assert.Equal(2, arr.Rank); 204Assert.Equal(1, arr.Rank);
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\SegmentedArray.cs (1)
141if (typeof(T[]) != destinationArray.GetType() && destinationArray.Rank != 1)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
880if (array.Rank != 1) 1375if (array.Rank != 1) 1583if (array.Rank != 1)
src\Dependencies\Collections\SegmentedList`1.cs (1)
454if ((array != null) && (array.Rank != 1))
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Dependencies\Collections\SegmentedArray.cs (1)
141if (typeof(T[]) != destinationArray.GetType() && destinationArray.Rank != 1)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
880if (array.Rank != 1) 1375if (array.Rank != 1) 1583if (array.Rank != 1)
src\Dependencies\Collections\SegmentedList`1.cs (1)
454if ((array != null) && (array.Rank != 1))
Microsoft.VisualBasic.Core (23)
Microsoft\VisualBasic\CompilerServices\CharArrayType.vb (1)
33If CharArray IsNot Nothing AndAlso CharArray.Rank = 1 Then
Microsoft\VisualBasic\CompilerServices\Conversions.vb (1)
2125If ArrayValue IsNot Nothing AndAlso ArrayValue.Rank = 1 Then
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (2)
525If ArgCount <> ary.Rank Then 773If ArgCount <> ary.Rank Then
Microsoft\VisualBasic\CompilerServices\ObjectType.vb (3)
387ElseIf TypeOf obj1 Is Char() AndAlso CType(obj1, Array).Rank = 1 Then 399ElseIf TypeOf obj2 Is Char() AndAlso CType(obj2, Array).Rank = 1 Then 434ElseIf TypeOf obj1 Is Char() AndAlso CType(obj1, Array).Rank = 1 Then
Microsoft\VisualBasic\CompilerServices\StringType.vb (1)
154If CharArray IsNot Nothing AndAlso CharArray.Rank = 1 Then
Microsoft\VisualBasic\CompilerServices\Symbols.vb (2)
1154Dim rank As Integer = arrayInstance.Rank 1203Dim rank As Integer = arrayInstance.Rank
Microsoft\VisualBasic\CompilerServices\Utils.vb (5)
89If aryDest.Rank() <> arySrc.Rank() Then 93For iDim = 0 To aryDest.Rank() - 2 101If arySrc.Rank > 1 Then 102Dim lastRank As Integer = arySrc.Rank
Microsoft\VisualBasic\CompilerServices\VB6File.vb (1)
2295If TypeOf value Is Char() AndAlso CType(value, Array).Rank = 1 Then
Microsoft\VisualBasic\Financial.vb (2)
378If ValueArray.Rank <> 1 Then 505If ValueArray.Rank <> 1 Then
Microsoft\VisualBasic\Information.vb (2)
490If ary.Rank = 1 Then 493Result = Result & "[" & (New String(","c, ary.Rank - 1)) & "]"
Microsoft\VisualBasic\Interaction.vb (1)
153If Choice.Rank <> 1 Then
Microsoft\VisualBasic\Strings.vb (2)
326If Source.Rank <> 1 Then 504If SourceArray.Rank <> 1 Then
PresentationCore (41)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
719if (array.Rank != 1)
MS\Internal\FontFace\TypefaceCollection.cs (1)
60if (array.Rank != 1)
MS\Internal\PartialArray.cs (1)
127if (array.Rank != 1)
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
168if (array.Rank != 1)
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
113if (array.Rank != 1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (1)
39if (array.Rank != 1)
System\Windows\FreezableCollection.cs (1)
480if (array.Rank != 1)
System\Windows\Generated\TextDecorationCollection.cs (1)
388if (array.Rank != 1)
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
387if (array.Rank != 1)
System\Windows\Media\CharacterMetricsDictionary.cs (1)
202if (array.Rank != 1)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
165if (array.Rank != 1)
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
387if (array.Rank != 1)
System\Windows\Media\FamilyMapCollection.cs (1)
91if (array.Rank != 1)
System\Windows\Media\FamilyTypefaceCollection.cs (1)
369if (array.Rank != 1)
System\Windows\Media\Fonts.cs (1)
314if (array.Rank != 1)
System\Windows\Media\Generated\DoubleCollection.cs (1)
355if (array.Rank != 1)
System\Windows\Media\Generated\DrawingCollection.cs (1)
400if (array.Rank != 1)
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
385if (array.Rank != 1)
System\Windows\Media\Generated\GeometryCollection.cs (1)
400if (array.Rank != 1)
System\Windows\Media\Generated\GradientStopCollection.cs (1)
386if (array.Rank != 1)
System\Windows\Media\Generated\Int32Collection.cs (1)
354if (array.Rank != 1)
System\Windows\Media\Generated\PathFigureCollection.cs (1)
391if (array.Rank != 1)
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
385if (array.Rank != 1)
System\Windows\Media\Generated\PointCollection.cs (1)
354if (array.Rank != 1)
System\Windows\Media\Generated\TextEffectCollection.cs (1)
385if (array.Rank != 1)
System\Windows\Media\Generated\TransformCollection.cs (1)
400if (array.Rank != 1)
System\Windows\Media\Generated\VectorCollection.cs (1)
354if (array.Rank != 1)
System\Windows\Media\GlyphTypeface.cs (2)
1812if (array.Rank != 1) 1897if (array.Rank != 1)
System\Windows\Media\Imaging\BitmapSource.cs (1)
642if (pixels.Rank != 1)
System\Windows\Media\Imaging\CachedBitmap.cs (1)
115if (pixels.Rank != 1)
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
1069if (sourceBuffer.Rank == 1) 1096else if (sourceBuffer.Rank == 2)
System\Windows\Media\VisualCollection.cs (1)
178if (array.Rank != 1)
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
385if (array.Rank != 1)
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
400if (array.Rank != 1)
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
400if (array.Rank != 1)
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
355if (array.Rank != 1)
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
400if (array.Rank != 1)
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
355if (array.Rank != 1)
System\Windows\Media3D\Visual3DCollection.cs (1)
160if (array.Rank != 1)
PresentationFramework (6)
MS\Internal\Data\IndexedEnumerable.cs (1)
304Invariant.Assert(array.Rank == 1, "expected array of rank=1");
MS\Internal\Documents\ContentElementCollection.cs (1)
68if (array.Rank != 1)
System\Windows\Controls\ColumnDefinition.cs (1)
79if (array.Rank != 1)
System\Windows\Controls\ItemCollection.cs (1)
289if (array.Rank > 1)
System\Windows\Controls\RowDefinition.cs (1)
79if (array.Rank != 1)
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
351if (array != null && array.Rank != 1)
System.Collections (14)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
21if (array.Rank != 1)
System\Collections\BitArray.cs (1)
754if (array.Rank != 1)
System\Collections\Generic\LinkedList.cs (1)
451if (array.Rank != 1)
System\Collections\Generic\OrderedDictionary.cs (3)
1280if (array.Rank != 1) 1523if (array.Rank != 1) 1832if (array.Rank != 1)
System\Collections\Generic\PriorityQueue.cs (1)
953if (array.Rank != 1)
System\Collections\Generic\SortedDictionary.cs (2)
554if (array.Rank != 1) 715if (array.Rank != 1)
System\Collections\Generic\SortedList.cs (3)
456if (array.Rank != 1) 1054if (array != null && array.Rank != 1) 1168if (array != null && array.Rank != 1)
System\Collections\Generic\SortedSet.cs (1)
544if (array.Rank != 1)
System\Collections\Generic\Stack.cs (1)
124if (array.Rank != 1)
System.Collections.Immutable (2)
System\Collections\Frozen\FrozenDictionary.cs (1)
352if (array.Rank != 1)
System\Collections\Frozen\FrozenSet.cs (1)
286if (array != null && array.Rank != 1)
System.Collections.NonGeneric (5)
System\Collections\Queue.cs (1)
132if (array.Rank != 1)
System\Collections\SortedList.cs (3)
338if (array.Rank != 1) 940if (array != null && array.Rank != 1) 1043if (array != null && array.Rank != 1)
System\Collections\Stack.cs (1)
118if (array.Rank != 1)
System.Collections.Specialized (3)
System\Collections\Specialized\NameObjectCollectionBase.cs (2)
375if (array.Rank != 1) 599if (array.Rank != 1)
System\Collections\Specialized\NameValueCollection.cs (1)
200if (dest.Rank != 1)
System.Data.Common (3)
System\Data\DataRowComparer.cs (3)
55(1 != a.Rank) || 56(1 != b.Rank) || 197if (array.Rank > 1)
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
355if (array.Rank != 1)
System.Numerics.Tensors (21)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (9)
148TensorSpanHelpers.FillLengths(array.Rank <= TensorShape.MaxInlineRank ? 149stackalloc nint[array.Rank] : 150new nint[array.Rank], array), 167array.Rank <= TensorShape.MaxInlineRank ? stackalloc nint[array.Rank] : new nint[array.Rank], 215array.Rank <= TensorShape.MaxInlineRank ? stackalloc nint[array.Rank] : new nint[array.Rank],
System\Numerics\Tensors\netcore\TensorSpan.cs (9)
151TensorSpanHelpers.FillLengths(array.Rank <= TensorShape.MaxInlineRank ? stackalloc nint[array.Rank] : new nint[array.Rank], array), 168array.Rank < TensorShape.MaxInlineRank ? stackalloc nint[array.Rank] : new nint[array.Rank], 217array.Rank <= TensorShape.MaxInlineRank ? stackalloc nint[array.Rank] : new nint[array.Rank],
System\Numerics\Tensors\netcore\TensorSpanHelpers.cs (3)
127Debug.Assert(array.Rank == indexes.Length || indexes.Length == 0); 151Debug.Assert(array.Rank == indexes.Length || indexes.Length == 0); 278Debug.Assert(array.Rank == lengths.Length);
System.ObjectModel (1)
System\Collections\CollectionHelpers.cs (1)
14if (array.Rank != 1)
System.Private.CoreLib (48)
src\libraries\System.Private.CoreLib\src\System\Array.cs (17)
426if (Rank != indices.Length) 434if (Rank != 1) 442if (Rank != 2) 450if (Rank != 3) 458if (Rank != 1) 466if (Rank != 2) 474if (Rank != 3) 484if (Rank != indices.Length) 532if (Rank != indices.Length) 592if (Rank != indices.Length) 853if (array.Rank != 1) 1047if (array != null && array.Rank != 1) 1367if (array.Rank != 1) 1600if (array.Rank != 1) 1835if (array.Rank != 1) 2008if (keys.Rank != 1 || (items != null && items.Rank != 1))
src\libraries\System.Private.CoreLib\src\System\Attribute.cs (2)
116Debug.Assert(thisValueArray.Rank == 1 && thatValueArray.Rank == 1);
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (5)
251if ((array != null) && (array.Rank != 1)) 266if ((array != null) && (array.Rank != 1)) 827if (array.Rank != 1) 2281if (array.Rank != 1) 2295if (array.Rank != 1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1469if (array.Rank != 1) 1958if (array.Rank != 1) 2152if (array.Rank != 1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
389if ((array != null) && (array.Rank != 1))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
125if (array.Rank != 1)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (6)
537Debug.Assert(array.Rank == 1); 556Debug.Assert(array.Rank == 1); 576if (array.Rank != 1) 608Debug.Assert(array.Rank == 1); 1193if (array.Rank != 1) 1228if (array.Rank != 1)
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (2)
152if (array.Rank != 1) 307if (array.Rank != 1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
177if (array.Rank != 1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
21if (array.Rank != 1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
107if (array.Rank != 1)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ArrayWithOffset.cs (1)
23if (array is not Array arrayObj || (arrayObj.Rank != 1) || !Marshal.IsPinnable(arrayObj))
src\System\Array.CoreCLR.cs (6)
45if (sourceArray.GetType() != destinationArray.GetType() && sourceArray.Rank != destinationArray.Rank) 114Debug.Assert(sourceArray.Rank == destinationArray.Rank); 413Debug.Assert(Rank == 1); 429Debug.Assert(indices.Length == Rank);
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
40if (array.Rank != 1)
System.Private.Windows.Core (11)
Windows\Win32\System\Variant\VARIANT.cs (11)
280if (array.Rank == 1) 442if (array.Rank <= 32) 454Span<int> indices = stackalloc int[array.Rank]; 455Span<int> lower = stackalloc int[array.Rank]; 456Span<int> upper = stackalloc int[array.Rank]; 462int[] indices = new int[array.Rank]; 463int[] lower = new int[array.Rank]; 464int[] upper = new int[array.Rank]; 470int lastIndex = array.Rank - 1; 472for (i = 0; i < array.Rank; i++) 514for (int i = array.Rank; i >= 1; i--)
System.Security.Cryptography (4)
System\Security\Cryptography\AsnEncodedDataCollection.cs (1)
70if (array.Rank != 1)
System\Security\Cryptography\OidCollection.cs (1)
76if (array.Rank != 1)
System\Security\Cryptography\X509Certificates\X509ChainElementCollection.cs (1)
62if (array.Rank != 1)
System\Security\Cryptography\X509Certificates\X509ExtensionCollection.cs (1)
81if (array.Rank != 1)
System.Security.Cryptography.Pkcs (4)
System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (1)
143if (array.Rank != 1)
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
95if (array.Rank != 1)
System\Security\Cryptography\Pkcs\RecipientInfoCollection.cs (1)
64if (array.Rank != 1)
System\Security\Cryptography\Pkcs\SignerInfoCollection.cs (1)
61if (array.Rank != 1)
System.Windows.Forms (1)
misc\CollectionHelper.cs (1)
18if (target.Rank != 1)
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (2)
390if (array.Rank != 1) 392manager.ReportError(string.Format(SR.SerializerInvalidArrayRank, array.Rank.ToString(CultureInfo.InvariantCulture)));
System.Windows.Forms.Primitives.Tests (103)
Interop\Oleaut32\VARIANTTests.cs (103)
2008Assert.Equal(1, array.Rank); 2027Assert.Equal(1, array.Rank); 2060Assert.Equal(2, array.Rank); 2079Assert.Equal(2, array.Rank); 2097Assert.Equal(1, array.Rank); 2114Assert.Equal(1, array.Rank); 2151Assert.Equal(2, array.Rank); 2178Assert.Equal(2, array.Rank); 2204Assert.Equal(1, array.Rank); 2229Assert.Equal(1, array.Rank); 2266Assert.Equal(2, array.Rank); 2293Assert.Equal(2, array.Rank); 2319Assert.Equal(1, array.Rank); 2344Assert.Equal(1, array.Rank); 2381Assert.Equal(2, array.Rank); 2408Assert.Equal(2, array.Rank); 2434Assert.Equal(1, array.Rank); 2459Assert.Equal(1, array.Rank); 2496Assert.Equal(2, array.Rank); 2523Assert.Equal(2, array.Rank); 2549Assert.Equal(1, array.Rank); 2574Assert.Equal(1, array.Rank); 2598Assert.Equal(2, array.Rank); 2625Assert.Equal(2, array.Rank); 2651Assert.Equal(1, array.Rank); 2676Assert.Equal(1, array.Rank); 2713Assert.Equal(2, array.Rank); 2740Assert.Equal(2, array.Rank); 2766Assert.Equal(1, array.Rank); 2791Assert.Equal(1, array.Rank); 2815Assert.Equal(2, array.Rank); 2842Assert.Equal(2, array.Rank); 2868Assert.Equal(1, array.Rank); 2893Assert.Equal(1, array.Rank); 2930Assert.Equal(2, array.Rank); 2957Assert.Equal(2, array.Rank); 2983Assert.Equal(1, array.Rank); 3008Assert.Equal(1, array.Rank); 3032Assert.Equal(2, array.Rank); 3059Assert.Equal(2, array.Rank); 3085Assert.Equal(1, array.Rank); 3110Assert.Equal(1, array.Rank); 3147Assert.Equal(2, array.Rank); 3174Assert.Equal(2, array.Rank); 3200Assert.Equal(1, array.Rank); 3225Assert.Equal(1, array.Rank); 3249Assert.Equal(2, array.Rank); 3276Assert.Equal(2, array.Rank); 3302Assert.Equal(1, array.Rank); 3327Assert.Equal(1, array.Rank); 3364Assert.Equal(2, array.Rank); 3391Assert.Equal(2, array.Rank); 3416Assert.Equal(1, array.Rank); 3441Assert.Equal(1, array.Rank); 3478Assert.Equal(2, array.Rank); 3505Assert.Equal(2, array.Rank); 3531Assert.Equal(1, array.Rank); 3556Assert.Equal(1, array.Rank); 3593Assert.Equal(2, array.Rank); 3620Assert.Equal(2, array.Rank); 3646Assert.Equal(1, array.Rank); 3671Assert.Equal(1, array.Rank); 3708Assert.Equal(2, array.Rank); 3735Assert.Equal(2, array.Rank); 3761Assert.Equal(1, array.Rank); 3786Assert.Equal(1, array.Rank); 3823Assert.Equal(2, array.Rank); 3850Assert.Equal(2, array.Rank); 3883Assert.Equal(1, array.Rank); 3909Assert.Equal(1, array.Rank); 3952Assert.Equal(2, array.Rank); 3979Assert.Equal(2, array.Rank); 4016Assert.Equal(1, array.Rank); 4042Assert.Equal(1, array.Rank); 4091Assert.Equal(2, array.Rank); 4119Assert.Equal(2, array.Rank); 4145Assert.Equal(1, array.Rank); 4170Assert.Equal(1, array.Rank); 4212Assert.Equal(2, array.Rank); 4239Assert.Equal(2, array.Rank); 4265Assert.Equal(1, array.Rank); 4290Assert.Equal(1, array.Rank); 4339Assert.Equal(2, array.Rank); 4366Assert.Equal(2, array.Rank); 4395Assert.Equal(1, array.Rank); 4422Assert.Equal(1, array.Rank); 4457Assert.Equal(2, array.Rank); 4494Assert.Equal(2, array.Rank); 4527Assert.Equal(1, array.Rank); 4564Assert.Equal(1, array.Rank); 4611Assert.Equal(2, array.Rank); 4668Assert.Equal(2, array.Rank); 4709Assert.Equal(1, array.Rank); 4746Assert.Equal(1, array.Rank); 4793Assert.Equal(2, array.Rank); 4850Assert.Equal(2, array.Rank); 4892Assert.Equal(1, array.Rank); 4930Assert.Equal(1, array.Rank); 4978Assert.Equal(2, array.Rank); 5036Assert.Equal(2, array.Rank); 5098Assert.Equal(1, array.Rank); 5150Assert.Equal(1, array.Rank); 5233Assert.Equal(2, array.Rank);
System.Windows.Forms.Tests (2)
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (1)
397result.Rank.Should().Be(2);
System\Windows\Forms\ClipboardTests.cs (1)
865result.Rank.Should().Be(2);
System.Xaml (1)
System\Xaml\XamlObjectReader.cs (1)
1795if (value.Rank > 1)
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (3)
412if (a1.Length != a2.Length || a1.Rank != a2.Rank) 418for (int i = 0; i < a1.Rank; i++)
xunit.assert (5)
Sdk\CollectionTracker.cs (5)
145 if (expectedArray.Rank == 1 && expectedArray.GetLowerBound(0) == 0 && 146 actualArray.Rank == 1 && actualArray.GetLowerBound(0) == 0) 149 if (expectedArray.Rank != actualArray.Rank) 154 for (var rank = 0; rank < expectedArray.Rank; rank++)