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