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