2 overrides of IsSZArray
Microsoft.CodeAnalysis.CSharp (2)
Symbols\ArrayTypeSymbol.cs (2)
540public override bool IsSZArray 587public sealed override bool IsSZArray
43 references to IsSZArray
Microsoft.CodeAnalysis.CSharp (43)
Binder\Binder_Conversions.cs (1)
580method.Parameters[0].Type is ArrayTypeSymbol { IsSZArray: true, ElementType: TypeParameterSymbol });
Binder\Binder_Invocation.cs (1)
1722if (collectionType is ArrayTypeSymbol { IsSZArray: true })
Binder\DecisionDagBuilder.cs (2)
1553array1.IsSZArray == array2.IsSZArray &&
Binder\Semantics\Conversions\ConversionsBase.cs (6)
1662if (arrayType.IsSZArray) 2547if (!source.IsSZArray) 3769if ((object)sourceArray != null && sourceArray.IsSZArray && destination.IsPossibleArrayGenericInterface()) 3781if ((object)destinationArray != null && destinationArray.IsSZArray) 3961if (source is ArrayTypeSymbol { IsSZArray: true, ElementTypeWithAnnotations: { } elementType }) 4026if (source is ArrayTypeSymbol { IsSZArray: true, ElementTypeWithAnnotations: { } elementType } &&
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
2066if (!source.IsSZArray)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3210if (type is ArrayTypeSymbol { IsSZArray: true } arrayType)
CodeGen\EmitAddress.cs (1)
403if (((ArrayTypeSymbol)arrayAccess.Expression.Type).IsSZArray)
CodeGen\EmitExpression.cs (3)
1014if (((ArrayTypeSymbol)arrayAccess.Expression.Type).IsSZArray) 2378if (arrayType.IsSZArray) 3197if (arrayType.IsSZArray)
Compilation\CSharpCompilation.cs (1)
2253return (array.IsSZArray && array.ElementType.SpecialType == SpecialType.System_String, returnsTaskOrTaskOfInt);
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.cs (1)
47if (symbol.IsSZArray)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
158if (symbol.IsSZArray) 864if (symbol.IsSZArray)
Emitter\Model\ArrayTypeSymbolAdapter.cs (1)
43return AdaptedArrayTypeSymbol.IsSZArray;
FlowAnalysis\DefiniteAssignment.cs (1)
906type is not ArrayTypeSymbol { IsSZArray: true, ElementType.SpecialType: SpecialType.System_Byte })
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
343if (arrayType.IsSZArray)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
81if (_inExpressionLambda && node.InitializerOpt != null && !arrayType.IsSZArray)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
858if (type is ArrayTypeSymbol { IsSZArray: true } arrayType 1355if (arrayType.IsSZArray)
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
144Debug.Assert(byteArray.IsSZArray);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
531if (arrayType.IsSZArray)
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (3)
47if (arrayType.IsSZArray) 911Debug.Assert(arrayType is { IsSZArray: true }); 1061Debug.Assert(!arrayType.IsSZArray);
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.cs (1)
40if (asArrayType.IsSZArray)
Lowering\SyntheticBoundNodeFactory.cs (1)
271Debug.Assert(!(receiverOpt is { Type: ArrayTypeSymbol { IsSZArray: true } } &&
Symbols\AbstractTypeMap.cs (1)
193if (t.IsSZArray)
Symbols\ArrayTypeSymbol.cs (2)
141return Rank == other.Rank && IsSZArray == other.IsSZArray;
Symbols\Compilation_WellKnownMembers.cs (2)
1078if (array.IsSZArray) 1163if (!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)
270if (!arrayType.IsSZArray) 375return type.TypeKind == TypeKind.Array && ((ArrayTypeSymbol)type).IsSZArray;