29 references to NullableAlwaysHasValue
Microsoft.CodeAnalysis.CSharp (29)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (17)
821
BoundExpression? leftNonNull =
NullableAlwaysHasValue
(left);
822
BoundExpression? rightNonNull =
NullableAlwaysHasValue
(right);
994
BoundExpression? xNonNull =
NullableAlwaysHasValue
(loweredLeft);
995
BoundExpression? yNonNull =
NullableAlwaysHasValue
(loweredRight);
1190
BoundExpression? xNonNull =
NullableAlwaysHasValue
(loweredLeft);
1191
BoundExpression? yNonNull =
NullableAlwaysHasValue
(loweredRight);
1322
BoundExpression? leftNonNull =
NullableAlwaysHasValue
(left);
1323
BoundExpression? rightNonNull =
NullableAlwaysHasValue
(right);
1381
BoundExpression? neverNull =
NullableAlwaysHasValue
(notAlwaysNull);
1442
BoundExpression? leftNeverNull =
NullableAlwaysHasValue
(loweredLeft);
1443
BoundExpression? rightNeverNull =
NullableAlwaysHasValue
(loweredRight);
1607
BoundExpression? nonNullRight =
NullableAlwaysHasValue
(right);
1618
if (
NullableAlwaysHasValue
(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
1688
BoundExpression? neverNull =
NullableAlwaysHasValue
(notAlwaysNull);
1762
BoundExpression? leftNonNull =
NullableAlwaysHasValue
(left);
1763
BoundExpression? rightNonNull =
NullableAlwaysHasValue
(right);
1954
BoundExpression? nonNullValue =
NullableAlwaysHasValue
(nullable);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (5)
390
BoundExpression? nullableValue =
NullableAlwaysHasValue
(rewrittenOperand);
1075
BoundExpression? value =
NullableAlwaysHasValue
(rewrittenOperand);
1219
BoundExpression? nonNullValue =
NullableAlwaysHasValue
(operand);
1256
BoundExpression? nonNullValue =
NullableAlwaysHasValue
(operand);
1315
if (
NullableAlwaysHasValue
(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\LocalRewriter\LocalRewriter_Index.cs (1)
27
operand =
NullableAlwaysHasValue
(operand) ?? operand;
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
105
var notNullAccess =
NullableAlwaysHasValue
(conditionalAccess.WhenNotNull);
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
64
operand =
NullableAlwaysHasValue
(operand) ?? operand;
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
376
if (
NullableAlwaysHasValue
(expr) is BoundExpression knownValue)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
259
BoundExpression? neverNull =
NullableAlwaysHasValue
(loweredOperand);
331
if (
NullableAlwaysHasValue
(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\SyntheticBoundNodeFactory.cs (1)
1834
BoundExpression nonNullValue = LocalRewriter.
NullableAlwaysHasValue
(nullable);