1 write to Rank
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\ArrayType.cs (1)
19
Rank
= rank;
19 references to Rank
Microsoft.CSharp (19)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
477
int rank = arrType.
Rank
;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (2)
121
return arrSrc.
Rank
== arrDst.
Rank
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
324
if (arraySrc.
Rank
!= arrayDest.
Rank
|| arraySrc.IsSZArray != arrayDest.IsSZArray)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (6)
823
if (pArraySource.
Rank
!= pArrayDest.
Rank
|| pArraySource.IsSZArray != pArrayDest.IsSZArray)
1009
if (pArrayDest.
Rank
!= pArraySource.
Rank
|| pArrayDest.IsSZArray != pArraySource.IsSZArray)
1360
if (pArrayDest.
Rank
!= pArraySource.
Rank
|| pArrayDest.IsSZArray != pArraySource.IsSZArray)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (2)
101
return pSource.
Rank
== pDest.
Rank
&& pSource.IsSZArray == pDest.IsSZArray &&
Microsoft\CSharp\RuntimeBinder\Semantics\Types\ArrayType.cs (1)
55
return IsSZArray ? elementType.MakeArrayType() : elementType.MakeArrayType(
Rank
);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (5)
83
Debug.Assert(pArray.
Rank
== args);
274
return (typeDst == typeSrc) ? type : GetArray(typeDst, arr.
Rank
, arr.IsSZArray);
383
if (!(typeDst is ArrayType arrDst) || arrDst.
Rank
!= arrSrc.
Rank
|| arrDst.IsSZArray != arrSrc.IsSZArray)
738
typeDst = GetArray(destElement, typeSrc.
Rank
, typeSrc.IsSZArray);