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