23 references to HasNoValue
Microsoft.CodeAnalysis.VisualBasic (23)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (7)
810Dim leftHasNoValue = HasNoValue(left) 811Dim rightHasNoValue = HasNoValue(right) 879HasValue(whenNotNull) AndAlso HasNoValue(whenNull) Then 1324If HasNoValue(operand) Then 1342If HasNoValue(whenNull) Then 1398Dim leftHasNoValue As Boolean = HasNoValue(left) 1399Dim rightHasNoValue As Boolean = HasNoValue(right)
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (1)
52If HasNoValue(rewrittenReceiver) Then
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (3)
213If HasNoValue(rewrittenLeft) Then 220If HasNoValue(whenNull) Then 227Debug.Assert(Not HasNoValue(whenNotNull)) ' Not optimizing for this case
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (4)
440If HasNoValue(rewrittenOperand) Then 489ElseIf HasNoValue(rewrittenOperand) Then 497If HasValue(whenNotNull) AndAlso HasNoValue(whenNull) Then 633If HasNoValue(rewrittenOperand) Then
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (5)
54Debug.Assert(Not HasNoValue(operand), "processing nullable operand when it is known to be null") 178If IsConditionalAccess(expr, whenNotNull, whenNull) AndAlso HasNoValue(whenNull) Then 179Debug.Assert(Not HasNoValue(whenNotNull)) 267Debug.Assert(Not HasNoValue(expr)) 304Debug.Assert(HasNoValue(candidateNullExpression))
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (3)
31If HasNoValue(operand) Then 167If HasNoValue(operand) Then 245Dim operandHasNoValue As Boolean = HasNoValue(operand)