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)
489
int rank = arrType.
Rank
;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (2)
123
return arrSrc.
Rank
== arrDst.
Rank
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
325
if (arraySrc.
Rank
!= arrayDest.
Rank
|| arraySrc.IsSZArray != arrayDest.IsSZArray)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (6)
824
if (pArraySource.
Rank
!= pArrayDest.
Rank
|| pArraySource.IsSZArray != pArrayDest.IsSZArray)
1010
if (pArrayDest.
Rank
!= pArraySource.
Rank
|| pArrayDest.IsSZArray != pArraySource.IsSZArray)
1361
if (pArrayDest.
Rank
!= pArraySource.
Rank
|| pArrayDest.IsSZArray != pArraySource.IsSZArray)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (2)
107
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)
84
Debug.Assert(pArray.
Rank
== args);
288
return (typeDst == typeSrc) ? type : GetArray(typeDst, arr.
Rank
, arr.IsSZArray);
398
if (!(typeDst is ArrayType arrDst) || arrDst.
Rank
!= arrSrc.
Rank
|| arrDst.IsSZArray != arrSrc.IsSZArray)
766
typeDst = GetArray(destElement, typeSrc.
Rank
, typeSrc.IsSZArray);