60 references to IsArrayType
Microsoft.CodeAnalysis.VisualBasic (60)
Binding\Binder_Conversions.vb (2)
1758
If sourceType.
IsArrayType
() AndAlso targetType.
IsArrayType
() Then
Binding\Binder_Expressions.vb (6)
693
If typeSym.
IsArrayType
AndAlso DirectCast(typeSym, ArrayTypeSymbol).ElementType.SpecialType = SpecialType.System_Void Then
2813
If leftTypeSymbol.
IsArrayType
() Then
3880
If type.
IsArrayType
() Then
3902
If type.
IsArrayType
() Then
4556
Not (expressionType.
IsArrayType
() AndAlso DirectCast(expressionType, ArrayTypeSymbol).ElementType.IsVoidType()) Then
4604
Debug.Assert(dominantType.
IsArrayType
AndAlso DirectCast(dominantType, ArrayTypeSymbol).Rank = 1 AndAlso DirectCast(dominantType, ArrayTypeSymbol).ElementType.SpecialType = SpecialType.System_Object)
Binding\Binder_Initializers.vb (1)
146
Debug.Assert(fieldSymbol.Type.
IsArrayType
())
Binding\Binder_Invocation.vb (1)
280
If targetType.
IsArrayType
Then
Binding\Binder_Statements.vb (17)
744
If redimTargetType.
IsArrayType
Then
809
Not target.Type.
IsArrayType
() AndAlso
1236
If type.
IsArrayType
Then
1269
errSyntax = If(asClauseOpt IsNot Nothing AndAlso Not type.
IsArrayType
, DirectCast(asClauseOpt.Type, VisualBasicSyntaxNode), name)
1622
valueType.
IsArrayType
AndAlso
1628
ElseIf nameIsArrayType AndAlso Not valueType.
IsArrayType
Then
1662
Debug.Assert(nameIsArrayType AndAlso valueType.
IsArrayType
, "both the name and the value should be arrays")
1672
If Not rhsElementType.
IsArrayType
Then
1710
If lhsType.
IsArrayType
AndAlso rhsType.
IsArrayType
Then
1722
ElseIf rhsType.
IsArrayType
OrElse Not lhsType.
IsArrayType
Then
3776
Not collectionType.
IsArrayType
AndAlso
3813
(Not collection.IsNothingLiteral AndAlso Not collectionType.
IsArrayType
AndAlso IsOrInheritsFromOrImplementsInterface(collectionType, ienumerable, useSiteInfo, matchingInterfaces)) Then
3975
If collectionType.
IsArrayType
() Then
4009
If collectionType Is Nothing OrElse Not collectionType.
IsArrayType
Then
4567
If declarationType.
IsArrayType
Then
Binding\Binder_Symbols.vb (1)
298
Not typeSymbol.
IsArrayType
() AndAlso Not typeSymbol.IsTupleType AndAlso typeSymbol.IsDefinition Then
Binding\Binder_Utils.vb (2)
505
ElseIf asClauseOrValueType.
IsArrayType
Then
1093
If paramType.
IsArrayType
() Then
Binding\MemberSemanticModel.vb (1)
803
If(enumeratorInfo.NeedToDispose OrElse (originalCollection.Type IsNot Nothing AndAlso originalCollection.Type.
IsArrayType
()),
CodeGen\EmitConversion.vb (2)
394
If typeFrom.
IsArrayType
() Then
398
If typeTo.
IsArrayType
() AndAlso
CodeGen\EmitExpression.vb (2)
1525
If (Not (expr.Type.
IsArrayType
OrElse expr.Type.IsInterfaceType OrElse expr.Type.IsDelegateType)) Then
1595
If (toType.
IsArrayType
) Then
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
467
If type.
IsArrayType
OrElse type.IsTypeParameter Then
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (4)
35
(operand.Type.
IsArrayType
OrElse operand.Type.IsStringType) Then
129
If collectionType.
IsArrayType
AndAlso DirectCast(collectionType, ArrayTypeSymbol).IsSZArray Then
203
If Not conversion.ExplicitCastInCode AndAlso conversion.Operand.Type.
IsArrayType
Then
210
(collectionType.
IsArrayType
AndAlso DirectCast(collectionType, ArrayTypeSymbol).IsSZArray))
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.vb (1)
17
If receiverOpt IsNot Nothing AndAlso receiverOpt.Type.
IsArrayType
Then
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (1)
252
If secondArgumentType.
IsArrayType
Then
Lowering\SyntheticBoundNodeFactory.vb (1)
793
Debug.Assert(array.Type IsNot Nothing AndAlso array.Type.
IsArrayType
())
Semantics\CompileTimeCalculations.vb (1)
693
Not targetType.
IsArrayType
() AndAlso
Semantics\OverloadResolution.vb (2)
4936
If leftType.
IsArrayType
AndAlso rightType.
IsArrayType
Then
Semantics\TypeInference\TypeArgumentInference.vb (4)
1252
While paramType.
IsArrayType
()
1254
If Not argumentType.
IsArrayType
() Then
1557
ElseIf parameterType.
IsArrayType
() Then
1558
If argumentType.
IsArrayType
() Then
Symbols\Attributes\SourceAttributeData.vb (2)
190
ElseIf parameterType.
IsArrayType
Then
262
foundMatch = parameterType.
IsArrayType
Symbols\MethodSymbolExtensions.vb (1)
33
If Not type.
IsArrayType
OrElse Not DirectCast(type, ArrayTypeSymbol).IsSZArray Then
Symbols\PropertySymbolExtensions.vb (1)
31
If Not type.
IsArrayType
OrElse Not DirectCast(type, ArrayTypeSymbol).IsSZArray Then
Symbols\Source\SourceMemberFieldSymbol.vb (2)
128
If varType.
IsArrayType
Then
225
If varType.
IsArrayType
Then
Symbols\TypeSymbolExtensions.vb (4)
169
If type.
IsArrayType
() Then
670
Do While typeWithContainingAssembly.
IsArrayType
911
If type.
IsArrayType
Then
1123
If(type.
IsArrayType
, "t_array",