3 writes to IsSuppressed
Microsoft.CodeAnalysis.CSharp (3)
BoundTree\BoundExpression.cs (1)
45
result.
IsSuppressed
= suppress;
BoundTree\BoundExpressionWithNullability.cs (1)
14
IsSuppressed
= expression.IsSuppressed;
BoundTree\BoundNode.cs (1)
158
this.
IsSuppressed
= original.IsSuppressed;
180 references to IsSuppressed
Microsoft.CodeAnalysis.CSharp (180)
Binder\Binder_Conversions.cs (1)
273
.WithSuppression(source.
IsSuppressed
);
Binder\Binder_Expressions.cs (3)
345
sourceTuple.HasErrors).WithSuppression(sourceTuple.
IsSuppressed
);
361
hasErrors: true).WithSuppression(defaultExpr.
IsSuppressed
);
3857
isSuppressed = receiver.
IsSuppressed
;
Binder\Binder_Operators.cs (2)
2451
if (expr.
IsSuppressed
)
2716
if (expr.
IsSuppressed
)
Binder\Binder_Statements.cs (1)
3421
if (expression.
IsSuppressed
)
BoundTree\BoundExpression.cs (2)
36
if (this.
IsSuppressed
== suppress)
42
Debug.Assert(suppress || !this.
IsSuppressed
);
BoundTree\BoundExpressionWithNullability.cs (1)
14
IsSuppressed = expression.
IsSuppressed
;
BoundTree\BoundNode.cs (2)
157
Debug.Assert(original is BoundExpression || !original.
IsSuppressed
);
158
this.IsSuppressed = original.
IsSuppressed
;
BoundTree\UnboundLambda.cs (1)
459
=> this.
IsSuppressed
? (BoundLambda)lambda.WithSuppression() : lambda;
FlowAnalysis\NullableWalker.cs (19)
2320
if (unwrappedValue.
IsSuppressed
)
2955
if (!expr.
IsSuppressed
&& RemoveConversion(expr, includeExplicitConversions: false).expression.Kind != BoundKind.ThrowExpression)
3557
bool shouldMakeNotNullRvalue(BoundExpression node) => node.
IsSuppressed
|| node.HasAnyErrors || !IsReachable();
6095
if (!node.
IsSuppressed
&& IsNullabilityMismatch(source, destination))
7372
if (!conversion.Exists && !argumentNoConversion.
IsSuppressed
)
7404
if (!argumentNoConversion.
IsSuppressed
)
7519
trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.
IsSuppressed
, parameterAnnotations);
7522
if (!argument.
IsSuppressed
)
7563
trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.
IsSuppressed
, parameterAnnotations);
7566
if (!argument.
IsSuppressed
)
7901
return expr.ConstantValueOpt == ConstantValue.NotAvailable || !expr.ConstantValueOpt.IsNull || expr.
IsSuppressed
? NullableAnnotation.NotAnnotated : NullableAnnotation.Annotated;
8086
if (!canConvertNestedNullability && reportMismatch && !sourceExpression.
IsSuppressed
)
8831
if (isSuppressed || conversionOperand.
IsSuppressed
)
9683
if (!group.
IsSuppressed
)
9716
if (!lambda.
IsSuppressed
)
9753
if (!arg.
IsSuppressed
&&
11018
if (!reportedDiagnostic && !(collectionExpression is BoundConversion { Operand: {
IsSuppressed
: true } }))
11106
if (node.Expression is not BoundConversion { Operand.
IsSuppressed
: true } &&
11143
isSuppressed: node.Expression is BoundConversion { Operand.
IsSuppressed
: true },
FlowAnalysis\NullableWalker_Patterns.cs (1)
1050
return node.
IsSuppressed
? GetOrCreatePlaceholderSlot(node) : MakeSlot(node);
Generated\BoundNodes.xml.Generated.cs (146)
14997
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15006
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15015
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15022
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15029
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15036
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15044
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15051
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15059
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15066
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15073
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15080
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15087
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15095
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15103
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15113
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15136
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15144
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15153
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15167
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15184
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15193
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15201
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15210
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15219
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15230
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15241
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15250
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15258
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15267
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15276
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15286
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15298
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15309
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15325
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15341
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15351
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15361
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15374
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15383
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15395
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15409
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15418
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15426
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15434
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15454
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15463
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15479
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15488
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15497
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15504
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15511
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15519
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15526
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15533
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15540
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15547
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15555
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15564
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15573
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15580
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15589
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15599
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15610
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15619
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15634
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15643
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15650
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15659
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15671
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15946
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15954
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15961
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15968
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15975
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15982
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15993
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16002
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16011
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16019
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16048
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16084
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16098
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16270
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16280
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16290
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16302
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16314
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16323
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16336
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16344
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16353
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16369
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16379
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16399
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16411
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16426
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16438
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16456
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16464
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16480
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16487
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16509
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16521
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16535
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16545
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16554
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16571
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16580
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16589
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16604
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16614
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16621
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16631
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16639
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16648
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16659
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16668
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16677
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16687
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16697
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16710
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16718
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16730
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16741
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16759
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16772
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16783
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16795
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16807
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16817
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16830
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16845
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16854
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16864
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16871
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16879
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16890
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16903
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17049
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17057
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17066
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17075
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17084
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17109
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17119
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
462
hasErrors: expr.HasErrors).WithSuppression(expr.
IsSuppressed
);