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)
2451
if (expr.
IsSuppressed
)
2716
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)
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))
7369
if (!conversion.Exists && !argumentNoConversion.
IsSuppressed
)
7401
if (!argumentNoConversion.
IsSuppressed
)
7516
trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.
IsSuppressed
, parameterAnnotations);
7519
if (!argument.
IsSuppressed
)
7560
trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.
IsSuppressed
, parameterAnnotations);
7563
if (!argument.
IsSuppressed
)
7898
return expr.ConstantValueOpt == ConstantValue.NotAvailable || !expr.ConstantValueOpt.IsNull || expr.
IsSuppressed
? NullableAnnotation.NotAnnotated : NullableAnnotation.Annotated;
8083
if (!canConvertNestedNullability && reportMismatch && !sourceExpression.
IsSuppressed
)
8828
if (isSuppressed || conversionOperand.
IsSuppressed
)
9680
if (!group.
IsSuppressed
)
9713
if (!lambda.
IsSuppressed
)
9750
if (!arg.
IsSuppressed
&&
11015
if (!reportedDiagnostic && !(collectionExpression is BoundConversion { Operand: {
IsSuppressed
: true } }))
11103
if (node.Expression is not BoundConversion { Operand.
IsSuppressed
: true } &&
11140
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)
14998
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15007
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15016
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15023
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15030
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15037
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15045
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15052
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15060
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15067
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15074
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),
15104
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15114
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15137
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15145
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15154
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15168
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15185
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15194
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15202
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15211
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15220
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15231
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15242
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15251
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15259
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15268
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15277
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15287
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15299
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15310
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15326
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15342
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15352
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15362
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15375
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15384
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15396
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15410
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15419
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15427
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15435
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15455
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15464
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15480
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15489
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15498
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15505
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15512
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15520
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15527
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),
15565
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15574
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15581
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15590
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15600
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15611
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15620
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15635
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15644
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15651
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15660
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15672
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15947
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15955
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15962
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15969
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15976
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15983
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
15994
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16003
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16012
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16020
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16049
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16085
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16099
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16271
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16281
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16291
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16303
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16315
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16324
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16337
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16345
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16354
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16370
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16380
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16400
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16412
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16427
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16439
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16457
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16465
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16481
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16488
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16510
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16522
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16536
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16546
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16555
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16572
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16581
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16590
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16605
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16615
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16622
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16632
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16640
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16649
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16660
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16669
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16678
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16688
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16698
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16711
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16719
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16731
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16742
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16760
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16773
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16784
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16796
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16808
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16818
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16831
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16846
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16855
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16865
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16872
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16880
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16891
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
16904
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17050
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17058
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17067
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17076
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17085
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17110
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
17120
new TreeDumperNode("isSuppressed", node.
IsSuppressed
, null),
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
462
hasErrors: expr.HasErrors).WithSuppression(expr.
IsSuppressed
);