1 write to IsSZArray
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\ArrayType.cs (1)
20
IsSZArray
= isSZArray;
26 references to IsSZArray
Microsoft.CSharp (26)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
485
if (!arrType.
IsSZArray
)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (4)
122
&& arrSrc.
IsSZArray
== arrDst.
IsSZArray
128
if (!arrSrc.
IsSZArray
|| !typeDst.IsInterfaceType)
167
if (!arrayDest.
IsSZArray
|| !typeSrc.IsInterfaceType || aggtypeSrc.TypeArgsAll.Count != 1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (4)
238
if (!(_typeSrc is ArrayType arrSrc) || !arrSrc.
IsSZArray
|| !(_typeDest is AggregateType aggDest)
280
if (!arrayDest.
IsSZArray
|| !(_typeSrc is AggregateType aggSrc) || !aggSrc.IsInterfaceType || aggSrc.TypeArgsAll.Count != 1)
324
if (arraySrc.Rank != arrayDest.Rank || arraySrc.
IsSZArray
!= arrayDest.
IsSZArray
)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1219
if (!(substitutedArrayType is ArrayType subArr) || !subArr.
IsSZArray
)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (8)
823
if (pArraySource.Rank != pArrayDest.Rank || pArraySource.
IsSZArray
!= pArrayDest.
IsSZArray
)
1009
if (pArrayDest.Rank != pArraySource.Rank || pArrayDest.
IsSZArray
!= pArraySource.
IsSZArray
)
1022
if (!pArraySource.
IsSZArray
)
1360
if (pArrayDest.Rank != pArraySource.Rank || pArrayDest.
IsSZArray
!= pArraySource.
IsSZArray
)
1373
if (!pArrayDest.
IsSZArray
)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (3)
101
return pSource.Rank == pDest.Rank && pSource.
IsSZArray
== pDest.
IsSZArray
&&
125
if (!pSource.
IsSZArray
|| !pDest.IsInterfaceType)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\ArrayType.cs (1)
55
return
IsSZArray
? elementType.MakeArrayType() : elementType.MakeArrayType(Rank);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (4)
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
);