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)
497
if (!arrType.
IsSZArray
)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (4)
124
&& arrSrc.
IsSZArray
== arrDst.
IsSZArray
130
if (!arrSrc.
IsSZArray
|| !typeDst.IsInterfaceType)
169
if (!arrayDest.
IsSZArray
|| !typeSrc.IsInterfaceType || aggtypeSrc.TypeArgsAll.Count != 1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (4)
239
if (!(_typeSrc is ArrayType arrSrc) || !arrSrc.
IsSZArray
|| !(_typeDest is AggregateType aggDest)
281
if (!arrayDest.
IsSZArray
|| !(_typeSrc is AggregateType aggSrc) || !aggSrc.IsInterfaceType || aggSrc.TypeArgsAll.Count != 1)
325
if (arraySrc.Rank != arrayDest.Rank || arraySrc.
IsSZArray
!= arrayDest.
IsSZArray
)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1244
if (!(substitutedArrayType is ArrayType subArr) || !subArr.
IsSZArray
)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (8)
824
if (pArraySource.Rank != pArrayDest.Rank || pArraySource.
IsSZArray
!= pArrayDest.
IsSZArray
)
1010
if (pArrayDest.Rank != pArraySource.Rank || pArrayDest.
IsSZArray
!= pArraySource.
IsSZArray
)
1023
if (!pArraySource.
IsSZArray
)
1361
if (pArrayDest.Rank != pArraySource.Rank || pArrayDest.
IsSZArray
!= pArraySource.
IsSZArray
)
1374
if (!pArrayDest.
IsSZArray
)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (3)
107
return pSource.Rank == pDest.Rank && pSource.
IsSZArray
== pDest.
IsSZArray
&&
133
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)
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
);