23 references to NullableNeverHasValue
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (12)
827bool leftAlwaysNull = NullableNeverHasValue(left); 828bool rightAlwaysNull = NullableNeverHasValue(right); 1329bool leftAlwaysNull = NullableNeverHasValue(left); 1330bool rightAlwaysNull = NullableNeverHasValue(right); 1388bool leftAlwaysNull = NullableNeverHasValue(left); 1389bool rightAlwaysNull = NullableNeverHasValue(right); 1636if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative)) 1681bool leftAlwaysNull = NullableNeverHasValue(left); 1682bool rightAlwaysNull = NullableNeverHasValue(right); 1784Debug.Assert(!NullableNeverHasValue(left) && !NullableNeverHasValue(right)); // We've already optimized the case where one is null. 1967if (NullableNeverHasValue(nullable))
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
383if (NullableNeverHasValue(rewrittenOperand)) 1214if (NullableNeverHasValue(operand)) 1250if (NullableNeverHasValue(operand)) 1317if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\LocalRewriter\LocalRewriter_Index.cs (1)
22if (NullableNeverHasValue(operand))
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
103(conditionalAccess.WhenNullOpt == null || NullableNeverHasValue(conditionalAccess.WhenNullOpt)))
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
58if (NullableNeverHasValue(operand))
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
366if (NullableNeverHasValue(expr))
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
250if (NullableNeverHasValue(loweredOperand)) 331if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\SyntheticBoundNodeFactory.cs (1)
1847if (LocalRewriter.NullableNeverHasValue(nullable))