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