37 references to BoundTypeExpression
Microsoft.CodeAnalysis.VisualBasic (37)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1371
Public Overrides Function VisitTypeExpression(node As
BoundTypeExpression
) As BoundNode
Binding\Binder_Expressions.vb (6)
122
Dim asType = DirectCast(operand,
BoundTypeExpression
)
1019
Dim instance As BoundExpression = TryDefaultInstanceProperty(DirectCast(expr,
BoundTypeExpression
), diagnostics)
1058
Friend Function TryDefaultInstanceProperty(typeExpr As
BoundTypeExpression
, diagnostics As BindingDiagnosticBag) As BoundExpression
2902
type = DirectCast(left,
BoundTypeExpression
).Type
3665
Dim instance As BoundExpression = TryDefaultInstanceProperty(DirectCast(receiver,
BoundTypeExpression
), diagnostics)
3675
receiver = New BoundTypeAsValueExpression(receiver.Syntax, DirectCast(receiver,
BoundTypeExpression
), receiver.Type).MakeCompilerGenerated()
Binding\Binder_Invocation.vb (6)
210
Dim typeExp As
BoundTypeExpression
= DirectCast(target,
BoundTypeExpression
)
1197
Optional boundTypeExpression As
BoundTypeExpression
= Nothing,
1228
Optional boundTypeExpression As
BoundTypeExpression
= Nothing,
1276
Optional boundTypeExpression As
BoundTypeExpression
= Nothing,
1352
Optional boundTypeExpression As
BoundTypeExpression
= Nothing,
Binding\MemberSemanticModel.vb (1)
2308
Public Overrides Function VisitTypeExpression(node As
BoundTypeExpression
) As BoundNode
BoundTree\BoundTreeVisitor.vb (1)
26
Return VisitTypeExpression(CType(node,
BoundTypeExpression
), arg)
Compilation\SemanticModel.vb (1)
1048
Dim boundType = DirectCast(boundNodes.LowestBoundNode,
BoundTypeExpression
)
Generated\BoundNodes.xml.Generated.vb (19)
849
Public Sub New(syntax As SyntaxNode, sourceType As
BoundTypeExpression
, getTypeFromHandle As MethodSymbol, type As TypeSymbol, Optional hasErrors As Boolean = False)
860
Private ReadOnly _SourceType As
BoundTypeExpression
861
Public ReadOnly Property SourceType As
BoundTypeExpression
879
Public Function Update(sourceType As
BoundTypeExpression
, getTypeFromHandle As MethodSymbol, type As TypeSymbol) As BoundGetType
1020
Public Function Update(unevaluatedReceiverOpt As BoundExpression, aliasOpt As AliasSymbol, type As TypeSymbol) As
BoundTypeExpression
9202
Public Sub New(syntax As SyntaxNode, expression As
BoundTypeExpression
, type As TypeSymbol, Optional hasErrors As Boolean = False)
9217
Private ReadOnly _Expression As
BoundTypeExpression
9218
Public ReadOnly Property Expression As
BoundTypeExpression
9229
Public Function Update(expression As
BoundTypeExpression
, type As TypeSymbol) As BoundTypeAsValueExpression
9377
Return VisitTypeExpression(CType(node,
BoundTypeExpression
), arg)
9767
Public Overridable Function VisitTypeExpression(node As
BoundTypeExpression
, arg As A) As R
10470
Public Overridable Function VisitTypeExpression(node As
BoundTypeExpression
) As BoundNode
11184
Public Overrides Function VisitTypeExpression(node As
BoundTypeExpression
) As BoundNode
12133
Dim sourceType As
BoundTypeExpression
= DirectCast(Me.Visit(node.SourceType),
BoundTypeExpression
)
12148
Public Overrides Function VisitTypeExpression(node As
BoundTypeExpression
) As BoundNode
13121
Dim expression As
BoundTypeExpression
= DirectCast(Me.Visit(node.Expression),
BoundTypeExpression
)
13272
Public Overrides Function VisitTypeExpression(node As
BoundTypeExpression
, arg As Object) As TreeDumperNode
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
273
node = gt.Update(gt.SourceType.MemberwiseClone(Of
BoundTypeExpression
)(), gt.GetTypeFromHandle, gt.Type)
Lowering\SyntheticBoundNodeFactory.vb (1)
836
Public Function Type(typeSym As TypeSymbol) As
BoundTypeExpression