61 references to IsArrayType
Microsoft.CodeAnalysis.VisualBasic (60)
Binding\Binder_Conversions.vb (2)
1737
If sourceType.
IsArrayType
() AndAlso targetType.
IsArrayType
() Then
Binding\Binder_Expressions.vb (6)
672
If typeSym.
IsArrayType
AndAlso DirectCast(typeSym, ArrayTypeSymbol).ElementType.SpecialType = SpecialType.System_Void Then
2782
If leftTypeSymbol.
IsArrayType
() Then
3849
If type.
IsArrayType
() Then
3871
If type.
IsArrayType
() Then
4525
Not (expressionType.
IsArrayType
() AndAlso DirectCast(expressionType, ArrayTypeSymbol).ElementType.IsVoidType()) Then
4573
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)
713
If redimTargetType.
IsArrayType
Then
778
Not target.Type.
IsArrayType
() AndAlso
1205
If type.
IsArrayType
Then
1238
errSyntax = If(asClauseOpt IsNot Nothing AndAlso Not type.
IsArrayType
, DirectCast(asClauseOpt.Type, VisualBasicSyntaxNode), name)
1593
valueType.
IsArrayType
AndAlso
1599
ElseIf nameIsArrayType AndAlso Not valueType.
IsArrayType
Then
1633
Debug.Assert(nameIsArrayType AndAlso valueType.
IsArrayType
, "both the name and the value should be arrays")
1643
If Not rhsElementType.
IsArrayType
Then
1681
If lhsType.
IsArrayType
AndAlso rhsType.
IsArrayType
Then
1693
ElseIf rhsType.
IsArrayType
OrElse Not lhsType.
IsArrayType
Then
3747
Not collectionType.
IsArrayType
AndAlso
3784
(Not collection.IsNothingLiteral AndAlso Not collectionType.
IsArrayType
AndAlso IsOrInheritsFromOrImplementsInterface(collectionType, ienumerable, useSiteInfo, matchingInterfaces)) Then
3946
If collectionType.
IsArrayType
() Then
3980
If collectionType Is Nothing OrElse Not collectionType.
IsArrayType
Then
4538
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)
804
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)
1381
If (Not (expr.Type.
IsArrayType
OrElse expr.Type.IsInterfaceType OrElse expr.Type.IsDelegateType)) Then
1451
If (toType.
IsArrayType
) Then
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
441
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)
789
Debug.Assert(array.Type IsNot Nothing AndAlso array.Type.
IsArrayType
())
Semantics\CompileTimeCalculations.vb (1)
693
Not targetType.
IsArrayType
() AndAlso
Semantics\OverloadResolution.vb (2)
4535
If leftType.
IsArrayType
AndAlso rightType.
IsArrayType
Then
Semantics\TypeInference\TypeArgumentInference.vb (4)
1257
While paramType.
IsArrayType
()
1259
If Not argumentType.
IsArrayType
() Then
1562
ElseIf parameterType.
IsArrayType
() Then
1563
If argumentType.
IsArrayType
() Then
Symbols\Attributes\SourceAttributeData.vb (2)
174
ElseIf parameterType.
IsArrayType
Then
246
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)
114
If varType.
IsArrayType
Then
211
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",
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Retargeting\RetargetingTests.vb (1)
1756
If t.
IsArrayType
Then RetValue = True