27 references to InferredType
Microsoft.CodeAnalysis.VisualBasic (27)
Binding\Binder_Expressions.vb (10)
130Dim reclassified = ReclassifyArrayLiteralExpression(SyntaxKind.CTypeKeyword, arrayLiteral.Syntax, ConversionKind.Widening, False, arrayLiteral, arrayLiteral.InferredType, diagnostics) 548expressionType = DirectCast(expression, BoundArrayLiteral).InferredType 1507ReportNoConversionError(arrayLiteral.Syntax, arrayLiteral.InferredType, destination, diagnostics, Nothing) 1511Dim argument As BoundExpression = ApplyImplicitConversion(arrayLiteral.Syntax, arrayLiteral.InferredType, arrayLiteral, BindingDiagnosticBag.Discarded) 1527Dim sourceType = arrayLiteral.InferredType 1598If targetArrayType Is arrayLiteral.InferredType Then 1606Dim targetElementType = arrayLiteral.InferredType.ElementType 1687arrayLiteral.InferredType, 4599dominantType = anEmptyArray.InferredType 4621dominantType = arrayLiteralType.ArrayLiteral.InferredType
Binding\Binder_Statements.vb (1)
1399inferredType = arrayLiteral.InferredType
BoundTree\BoundArrayLiteral.vb (1)
16Return InferredType.Rank = 1 AndAlso Initializer.Initializers.Length = 0
Generated\BoundNodes.xml.Generated.vb (3)
4093If hasDominantType <> Me.HasDominantType OrElse numberOfCandidates <> Me.NumberOfCandidates OrElse inferredType IsNot Me.InferredType OrElse bounds <> Me.Bounds OrElse initializer IsNot Me.Initializer OrElse binder IsNot Me.Binder Then 12511Return node.Update(node.HasDominantType, node.NumberOfCandidates, node.InferredType, bounds, initializer, node.Binder) 13767New TreeDumperNode("inferredType", node.InferredType, Nothing),
Semantics\Conversions.vb (8)
1173Dim sourceType = source.InferredType 4521Return _arrayLiteral.InferredType.IsSZArray 4527Return _arrayLiteral.InferredType.Rank 4533Return _arrayLiteral.InferredType.HasDefaultSizesAndLowerBounds 4539Return _arrayLiteral.InferredType.InterfacesNoUseSiteDiagnostics 4545Return _arrayLiteral.InferredType.BaseTypeNoUseSiteDiagnostics 4551Return _arrayLiteral.InferredType.CustomModifiers 4557Return _arrayLiteral.InferredType.ElementType
Semantics\OverloadResolution.vb (1)
2148Dim argType As TypeSymbol = If(argument.Kind <> BoundKind.ArrayLiteral, argument.Type, DirectCast(argument, BoundArrayLiteral).InferredType)
Semantics\TypeInference\TypeArgumentInference.vb (3)
183Dim arrayType = arrayLiteral.InferredType 195inferredType = arrayLiteral.InferredType 1247argumentType = DirectCast(argument, BoundArrayLiteral).InferredType