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