150 references to Rank
mscorlib (67)
system\array.cs (31)
80
Contract.Ensures(Contract.Result<Array>().
Rank
== 1);
97
Contract.Ensures(Contract.Result<Array>().
Rank
== 2);
122
Contract.Ensures(Contract.Result<Array>().
Rank
== 3);
147
Contract.Ensures(Contract.Result<Array>().
Rank
== lengths.Length);
174
Contract.Ensures(Contract.Result<Array>().
Rank
== lengths.Length);
205
Contract.Ensures(Contract.Result<Array>().
Rank
== lengths.Length);
357
if (
Rank
!= indices.Length)
370
if (
Rank
!= 1)
382
if (
Rank
!= 2)
398
if (
Rank
!= 3)
453
if (
Rank
!= indices.Length)
474
if (
Rank
!= 1)
486
if (
Rank
!= 2)
502
if (
Rank
!= 3)
521
if (
Rank
!= indices.Length)
572
if (
Rank
!= indices.Length)
920
if (array.
Rank
!= 1)
1060
if (array != null && array.
Rank
!= 1)
1271
if (
Rank
== 1 && lowerBound == 0)
1318
if (array.
Rank
!= 1)
1470
if (array.
Rank
!= 1)
1601
if (array.
Rank
!= 1)
1738
if (keys.
Rank
!= 1 || (items != null && items.
Rank
!= 1))
2578
Contract.Assert(array.
Rank
== 1 && array.GetLowerBound(0) == 0, "SZArrayEnumerator only works on single dimension arrays w/ a lower bound of zero.");
2624
_indices = new int[array.
Rank
];
2626
for(int i=0; i<array.
Rank
; i++) {
2645
int rank = array.
Rank
;
2686
for(int i=0; i<array.
Rank
; i++) {
2761
if (array != null && array.
Rank
!= 1)
2863
Contract.Assert((array == null && endIndex == -1) || (array.
Rank
== 1 && array.GetLowerBound(0) == 0),
system\attribute.cs (2)
889
Contract.Assert(thisValueArray.
Rank
== 1 && thatValueArray.
Rank
== 1);
system\collections\arraylist.cs (5)
320
if ((array != null) && (array.
Rank
!= 1))
334
if ((array != null) && (array.
Rank
!= 1))
918
if (array.
Rank
!= 1)
2271
if (array.
Rank
!= 1)
2286
if (array.
Rank
!= 1)
system\collections\bitarray.cs (1)
363
if (array.
Rank
!= 1)
system\collections\emptyreadonlydictionaryinternal.cs (1)
43
if (array.
Rank
!= 1)
system\collections\generic\dictionary.cs (3)
533
if (array.
Rank
!= 1) {
874
if (array.
Rank
!= 1) {
1061
if (array.
Rank
!= 1) {
system\collections\generic\list.cs (1)
368
if ((array != null) && (array.
Rank
!= 1)) {
system\collections\hashtable.cs (6)
560
Contract.Requires(array.
Rank
== 1);
576
Contract.Requires(array.
Rank
== 1);
594
if (array.
Rank
!= 1)
629
Contract.Requires(array.
Rank
== 1);
1310
if (array.
Rank
!= 1)
1351
if (array.
Rank
!= 1)
system\collections\listdictionaryinternal.cs (2)
201
if (array.
Rank
!= 1)
336
if (array.
Rank
!= 1)
system\collections\objectmodel\collection.cs (1)
179
if (array.
Rank
!= 1) {
system\collections\objectmodel\readonlycollection.cs (1)
124
if (array.
Rank
!= 1) {
system\collections\objectmodel\readonlydictionary.cs (2)
236
if (array.
Rank
!= 1) {
564
if (array.
Rank
!= 1) {
system\collections\queue.cs (1)
140
if (array.
Rank
!= 1)
system\collections\sortedlist.cs (3)
331
if (array.
Rank
!= 1)
866
if (array != null && array.
Rank
!= 1)
953
if (array != null && array.
Rank
!= 1)
system\collections\stack.cs (1)
127
if (array.
Rank
!= 1)
system\runtime\interopservices\windowsruntime\bindablevectortocollectionadapter.cs (1)
76
if (array.
Rank
!= 1)
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (1)
376
Contract.Assert(obj.
Rank
== 1 && obj.GetLowerBound(0) == 0 && !type.IsArray);
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
762
int rank = array.
Rank
;
system\security\accesscontrol\acl.cs (1)
178
if ( array.
Rank
!= 1 )
system\security\permissions\keycontainerpermission.cs (1)
302
if (array.
Rank
!= 1)
system\security\policy\applicationtrust.cs (1)
619
if (array.
Rank
!= 1)
PresentationCore (41)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
808
if (array.
Rank
!= 1)
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
80
if (array.
Rank
!= 1)
Core\CSharp\MS\Internal\PartialArray.cs (1)
146
if (array.
Rank
!= 1)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
193
if (array.
Rank
!= 1)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
134
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\FreezableCollection.cs (1)
526
if (array.
Rank
!= 1)
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
423
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
431
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
220
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
186
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
430
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (1)
108
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (1)
389
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Fonts.cs (1)
347
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
397
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
444
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
432
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
444
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
432
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
397
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
433
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
432
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
397
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
432
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
444
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
397
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
2202
if (array.
Rank
!= 1)
2291
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
717
if (pixels.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (1)
159
if (pixels.
Rank
!= 1)
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
1274
if (sourceBuffer.
Rank
== 1)
1301
else if (sourceBuffer.
Rank
== 2)
Core\CSharp\System\Windows\Media\VisualCollection.cs (1)
201
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
428
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
440
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
440
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
393
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
440
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
393
if (array.
Rank
!= 1)
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
185
if (array.
Rank
!= 1)
Shared\MS\Internal\SequentialUshortCollection.cs (1)
58
if (array.
Rank
!= 1)
PresentationFramework (4)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (1)
318
Invariant.Assert(array.
Rank
== 1, "expected array of rank=1");
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
79
if (array.
Rank
!= 1)
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
306
if (array.
Rank
> 1)
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
375
if (array != null && array.
Rank
!= 1)
System (18)
compmod\system\collections\generic\linkedlist.cs (1)
402
if (array.
Rank
!= 1) {
compmod\system\collections\generic\queue.cs (1)
161
if (array.
Rank
!= 1) {
compmod\system\collections\generic\sorteddictionary.cs (2)
491
if (array.
Rank
!= 1) {
646
if (array.
Rank
!= 1) {
compmod\system\collections\generic\sortedlist.cs (3)
430
if (array.
Rank
!= 1) {
961
if (array != null && array.
Rank
!= 1)
1061
if (array != null && array.
Rank
!= 1)
compmod\system\collections\generic\sortedset.cs (1)
623
if (array.
Rank
!= 1) {
compmod\system\collections\generic\stack.cs (1)
159
if (array.
Rank
!= 1) {
compmod\system\collections\specialized\nameobjectcollectionbase.cs (2)
506
if (array.
Rank
!= 1) {
723
if (array.
Rank
!= 1) {
compmod\system\collections\specialized\namevaluecollection.cs (1)
216
if (dest.
Rank
!= 1) {
net\System\Net\_SpnDictionary.cs (1)
213
if (array.
Rank
!= 1)
regex\system\text\regularexpressions\RegexMatchCollection.cs (1)
167
if ((array != null) && (array.
Rank
!= 1))
security\system\security\cryptography\asnencodeddata.cs (1)
168
if (array.
Rank
!= 1)
security\system\security\cryptography\oid.cs (1)
185
if (array.
Rank
!= 1)
security\system\security\cryptography\x509\x509chainelement.cs (1)
115
if (array.
Rank
!= 1)
security\system\security\cryptography\x509\x509extension.cs (1)
674
if (array.
Rank
!= 1)
System.Activities (1)
System\Activities\Hosting\SymbolResolver.cs (1)
153
if (array.
Rank
> 1)
System.Core (1)
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
358
ContractUtils.Requires(array.
Rank
== 1, "array");
System.Data.DataSetExtensions (3)
System\Data\DataRowComparer.cs (3)
59
(1 != a.
Rank
) ||
60
(1 != b.
Rank
) ||
218
if (array.
Rank
> 1)
System.IO.Log (1)
System\IO\Log\ReservationCollection.cs (1)
156
if (array.
Rank
!= 1)
System.Security (4)
system\security\cryptography\cryptographicattribute.cs (1)
210
if (array.
Rank
!= 1)
system\security\cryptography\pkcs\pkcs7recipient.cs (1)
145
if (array.
Rank
!= 1)
system\security\cryptography\pkcs\recipientinfo.cs (1)
492
if (array.
Rank
!= 1)
system\security\cryptography\pkcs\signerinfo.cs (1)
818
if (array.
Rank
!= 1)
System.ServiceModel.Internals (1)
System\Runtime\Collections\OrderedDictionary.cs (1)
173
if (array.
Rank
> 1 || arrayIndex >= array.Length || array.Length - arrayIndex < this.privateDictionary.Count)
System.Web (2)
UI\ControlCollection.cs (1)
242
if ((array != null) && (array.
Rank
!= 1))
UI\ObjectStateFormatter.cs (1)
1045
if (((Array)value).
Rank
> 1) {
System.Workflow.Activities (1)
Task.cs (1)
1117
if (array.
Rank
!= 1)
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (2)
25
if (xArray == null || yArray == null || xArray.
Rank
!= 1 || yArray.
Rank
!= 1)
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (3)
432
if (a1.Length != a2.Length || a1.
Rank
!= a2.
Rank
)
438
for (int i = 0; i < a1.
Rank
; i++)
WindowsBase (1)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
153
if (array.
Rank
!= 1) {