14 references to ReturnType
Microsoft.CodeAnalysis.VisualBasic (14)
Binding\Binder_Conversions.vb (1)
1423If unboundLambda.ReturnType IsNot Nothing OrElse unboundLambda.Flags <> (SourceMemberFlags.Async Or SourceMemberFlags.Iterator) Then
Binding\Binder_Lambda.vb (7)
159If source.ReturnType IsNot Nothing Then 160targetReturnType = source.ReturnType 289If source.ReturnType Is Nothing AndAlso target.ReturnType.SpecialType <> SpecialType.System_Void Then 858If source.ReturnType IsNot Nothing Then 859commonReturnType = If(source.IsFunctionLambda AndAlso source.ReturnType.IsVoidType(), LambdaSymbol.ReturnTypeVoidReplacement, source.ReturnType) 890source.ReturnType Is Nothing AndAlso targetParameters.ReturnType.IsVoidType())
BoundTree\UnboundLambda.vb (3)
63If Me.ReturnType IsNot Nothing Then 64Dim result = New KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol))(If(Me.IsFunctionLambda AndAlso Me.ReturnType.IsVoidType(), 66Me.ReturnType),
Generated\BoundNodes.xml.Generated.vb (3)
6863If binder IsNot Me.Binder OrElse flags <> Me.Flags OrElse parameters <> Me.Parameters OrElse returnType IsNot Me.ReturnType OrElse bindingCache IsNot Me.BindingCache Then 12819Dim returnType as TypeSymbol = Me.VisitType(node.ReturnType) 14196New TreeDumperNode("returnType", node.ReturnType, Nothing),