Implemented interface member:
property
IsSZArray
Microsoft.CodeAnalysis.Symbols.IArrayTypeSymbolInternal.IsSZArray
2 overrides of IsSZArray
Microsoft.CodeAnalysis.CSharp (2)
Symbols\ArrayTypeSymbol.cs (2)
541public override bool IsSZArray 588public sealed override bool IsSZArray
43 references to IsSZArray
Microsoft.CodeAnalysis.CSharp (43)
Binder\Binder_Conversions.cs (1)
657method.Parameters[0].Type is ArrayTypeSymbol { IsSZArray: true, ElementType: TypeParameterSymbol });
Binder\Binder_Invocation.cs (1)
1841if (collectionType is ArrayTypeSymbol { IsSZArray: true })
Binder\DecisionDagBuilder.cs (2)
2709array1.IsSZArray == array2.IsSZArray &&
Binder\Semantics\Conversions\ConversionsBase.cs (6)
1675if (arrayType.IsSZArray) 2567if (!source.IsSZArray) 3789if ((object)sourceArray != null && sourceArray.IsSZArray && destination.IsPossibleArrayGenericInterface()) 3801if ((object)destinationArray != null && destinationArray.IsSZArray) 3981if (source is ArrayTypeSymbol { IsSZArray: true, ElementTypeWithAnnotations: { } elementType }) 4046if (source is ArrayTypeSymbol { IsSZArray: true, ElementTypeWithAnnotations: { } elementType } &&
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
2096if (!source.IsSZArray)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3251if (type is ArrayTypeSymbol { IsSZArray: true } arrayType)
CodeGen\EmitAddress.cs (1)
403if (((ArrayTypeSymbol)arrayAccess.Expression.Type).IsSZArray)
CodeGen\EmitExpression.cs (3)
1025if (((ArrayTypeSymbol)arrayAccess.Expression.Type).IsSZArray) 2410if (arrayType.IsSZArray) 3241if (arrayType.IsSZArray)
Compilation\CSharpCompilation.cs (1)
2356return (array.IsSZArray && array.ElementType.SpecialType == SpecialType.System_String, returnsTaskOrTaskOfInt);
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.cs (1)
46if (symbol.IsSZArray)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
173if (symbol.IsSZArray) 878if (symbol.IsSZArray)
Emitter\Model\ArrayTypeSymbolAdapter.cs (1)
43return AdaptedArrayTypeSymbol.IsSZArray;
FlowAnalysis\DefiniteAssignment.cs (1)
858type is not ArrayTypeSymbol { IsSZArray: true, ElementType.SpecialType: SpecialType.System_Byte })
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
350if (arrayType.IsSZArray)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
81if (_inExpressionLambda && node.InitializerOpt != null && !arrayType.IsSZArray)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
990if (type is ArrayTypeSymbol { IsSZArray: true } arrayType 1522if (arrayType.IsSZArray)
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
142Debug.Assert(byteArray.IsSZArray);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
532if (arrayType.IsSZArray)
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (3)
48if (arrayType.IsSZArray) 910Debug.Assert(arrayType is { IsSZArray: true }); 1060Debug.Assert(!arrayType.IsSZArray);
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.cs (1)
40if (asArrayType.IsSZArray)
Lowering\SyntheticBoundNodeFactory.cs (1)
284Debug.Assert(!(receiverOpt is { Type: ArrayTypeSymbol { IsSZArray: true } } &&
Symbols\AbstractTypeMap.cs (1)
193if (t.IsSZArray)
Symbols\ArrayTypeSymbol.cs (2)
142return Rank == other.Rank && IsSZArray == other.IsSZArray;
Symbols\Compilation_WellKnownMembers.cs (2)
1120if (array.IsSZArray) 1205if (!array.IsSZArray)
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
320arrayType.IsSZArray ?
Symbols\PublicModel\ArrayTypeSymbol.cs (1)
37bool IArrayTypeSymbol.IsSZArray => _underlying.IsSZArray;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
705if (type.IsSZArray)
Symbols\TypeSymbolExtensions.cs (2)
288if (!arrayType.IsSZArray) 398return type.TypeKind == TypeKind.Array && ((ArrayTypeSymbol)type).IsSZArray;