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