23 references to NullableNeverHasValue
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (12)
815bool leftAlwaysNull = NullableNeverHasValue(left); 816bool rightAlwaysNull = NullableNeverHasValue(right); 1317bool leftAlwaysNull = NullableNeverHasValue(left); 1318bool rightAlwaysNull = NullableNeverHasValue(right); 1376bool leftAlwaysNull = NullableNeverHasValue(left); 1377bool rightAlwaysNull = NullableNeverHasValue(right); 1624if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative)) 1669bool leftAlwaysNull = NullableNeverHasValue(left); 1670bool rightAlwaysNull = NullableNeverHasValue(right); 1772Debug.Assert(!NullableNeverHasValue(left) && !NullableNeverHasValue(right)); // We've already optimized the case where one is null. 1955if (NullableNeverHasValue(nullable))
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
383if (NullableNeverHasValue(rewrittenOperand)) 1210if (NullableNeverHasValue(operand)) 1246if (NullableNeverHasValue(operand)) 1313if (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)
1837if (LocalRewriter.NullableNeverHasValue(nullable))