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
);
3860
isSuppressed = receiver.
IsSuppressed
;
Binder\Binder_Operators.cs (2)
2456
if (expr.
IsSuppressed
)
2721
if (expr.
IsSuppressed
)
Binder\Binder_Statements.cs (1)
3424
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)
2381
if (unwrappedValue.
IsSuppressed
)
3016
if (!expr.
IsSuppressed
&& RemoveConversion(expr, includeExplicitConversions: false).expression.Kind != BoundKind.ThrowExpression)
3618
bool shouldMakeNotNullRvalue(BoundExpression node) => node.
IsSuppressed
|| node.HasAnyErrors || !IsReachable();
6156
if (!node.
IsSuppressed
&& IsNullabilityMismatch(source, destination))
7430
if (!conversion.Exists && !argumentNoConversion.
IsSuppressed
)
7462
if (!argumentNoConversion.
IsSuppressed
)
7577
trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.
IsSuppressed
, parameterAnnotations);
7580
if (!argument.
IsSuppressed
)
7621
trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.
IsSuppressed
, parameterAnnotations);
7624
if (!argument.
IsSuppressed
)
7959
return expr.ConstantValueOpt == ConstantValue.NotAvailable || !expr.ConstantValueOpt.IsNull || expr.
IsSuppressed
? NullableAnnotation.NotAnnotated : NullableAnnotation.Annotated;
8144
if (!canConvertNestedNullability && reportMismatch && !sourceExpression.
IsSuppressed
)
8889
if (isSuppressed || conversionOperand.
IsSuppressed
)
9741
if (!group.
IsSuppressed
)
9774
if (!lambda.
IsSuppressed
)
9811
if (!arg.
IsSuppressed
&&
11076
if (!reportedDiagnostic && !(collectionExpression is BoundConversion { Operand: {
IsSuppressed
: true } }))
11164
if (node.Expression is not BoundConversion { Operand.
IsSuppressed
: true } &&
11201
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)
15034
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15043
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15052
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),
15081
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15088
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15096
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15103
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15110
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15117
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15124
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15132
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15140
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15150
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15173
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15181
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15190
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15204
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15221
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15230
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15238
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15247
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15256
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15267
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15278
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15287
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15295
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15304
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15313
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15323
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15335
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15346
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15362
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15378
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15388
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15398
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15411
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15420
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15432
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15446
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15455
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15463
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15471
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15491
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15500
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15516
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15525
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15534
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15541
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15548
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15556
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15563
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15570
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15577
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15584
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15592
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15601
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15610
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15617
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15626
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15636
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15647
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15656
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15671
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15680
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15687
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15696
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15708
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15983
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15991
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15998
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16005
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16012
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16019
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16030
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16039
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16048
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16056
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16085
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16121
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16135
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16307
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16317
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16327
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16339
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16351
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16360
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16373
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16381
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16390
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16406
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16416
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16436
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16448
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16463
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16475
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16493
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16501
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16517
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16524
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16546
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16558
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16572
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16582
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16591
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16608
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16617
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16626
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16641
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16651
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16658
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16668
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16676
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16685
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16696
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16705
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16714
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16724
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16734
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16747
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16755
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16767
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16778
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16796
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16809
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16820
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16832
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16844
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16854
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16867
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16882
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16891
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16901
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16908
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16916
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16927
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16940
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17086
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17094
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17103
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17112
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17121
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17146
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17156
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
462
hasErrors: expr.HasErrors).WithSuppression(expr.
IsSuppressed
);