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;
185 references to IsSuppressed
Microsoft.CodeAnalysis.CSharp (185)
Binder\Binder_Conversions.cs (5)
273.WithSuppression(source.IsSuppressed); 994elementPlaceholder = (BoundValuePlaceholder)elementPlaceholder.WithSuppression(element.Expression.IsSuppressed); 1959.WithSuppression(source.IsSuppressed); 1989source.DefaultLabel, source.ReportedNotExhaustive, destination, hasErrors || source.HasErrors).WithSuppression(source.IsSuppressed); 2498targetType).WithSuppression(sourceTuple.IsSuppressed);
Binder\Binder_Expressions.cs (4)
350sourceTuple.HasErrors).WithSuppression(sourceTuple.IsSuppressed); 366hasErrors: true).WithSuppression(defaultExpr.IsSuppressed); 3851isSuppressed = receiver.IsSuppressed; 3860isSuppressed = arguments[argumentIndex].IsSuppressed;
Binder\Binder_Operators.cs (2)
3878if (expr.IsSuppressed) 4143if (expr.IsSuppressed)
Binder\Binder_Statements.cs (1)
3463if (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)
2424if (unwrappedValue.IsSuppressed) 3119if (!expr.IsSuppressed && RemoveConversion(expr, includeExplicitConversions: false).expression.Kind != BoundKind.ThrowExpression) 3721bool shouldMakeNotNullRvalue(BoundExpression node) => node.IsSuppressed || node.HasAnyErrors || !IsReachable(); 6377if (!node.IsSuppressed && IsNullabilityMismatch(source, destination)) 7828if (!conversion.Exists && !argumentNoConversion.IsSuppressed) 7860if (!argumentNoConversion.IsSuppressed) 7975trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations); 7978if (!argument.IsSuppressed) 8019trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations); 8022if (!argument.IsSuppressed) 8362return expr.ConstantValueOpt == ConstantValue.NotAvailable || !expr.ConstantValueOpt.IsNull || expr.IsSuppressed ? NullableAnnotation.NotAnnotated : NullableAnnotation.Annotated; 8580if (!canConvertNestedNullability && reportMismatch && !sourceExpression.IsSuppressed) 9327if (isSuppressed || conversionOperand.IsSuppressed) 10187if (!group.IsSuppressed) 10220if (!lambda.IsSuppressed) 10257if (!arg.IsSuppressed && 11731if (!reportedDiagnostic && !(collectionExpression is BoundConversion { Operand: { IsSuppressed: true } })) 11819if (node.Expression is not BoundConversion { Operand.IsSuppressed: true } && 11856isSuppressed: node.Expression is BoundConversion { Operand.IsSuppressed: true },
FlowAnalysis\NullableWalker_Patterns.cs (1)
1052return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) : MakeSlot(node);
Generated\BoundNodes.xml.Generated.cs (146)
15172new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15181new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15190new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15197new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15204new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15211new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15219new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15226new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15234new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15241new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15248new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15255new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15262new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15270new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15278new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15288new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15311new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15319new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15328new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15342new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15359new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15368new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15376new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15385new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15394new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15405new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15416new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15425new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15433new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15442new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15451new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15461new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15473new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15484new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15502new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15518new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15528new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15538new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15551new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15560new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15572new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15586new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15595new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15603new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15611new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15633new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15642new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15658new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15667new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15676new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15683new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15690new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15698new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15705new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15712new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15719new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15726new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15734new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15743new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15752new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15759new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15768new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15778new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15789new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15798new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15812new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15821new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15828new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15837new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 15849new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16124new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16132new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16139new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16146new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16153new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16160new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16171new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16180new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16189new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16197new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16226new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16262new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16276new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16448new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16458new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16468new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16480new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16492new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16501new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16514new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16522new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16531new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16547new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16557new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16577new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16589new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16604new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16616new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16634new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16642new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16658new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16665new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16687new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16699new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16713new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16723new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16732new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16749new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16758new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16767new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16782new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16792new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16799new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16809new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16817new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16826new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16837new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16846new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16855new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16865new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16875new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16888new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16896new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16908new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16919new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16937new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16950new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16961new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16973new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16985new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 16995new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17008new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17023new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17032new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17042new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17049new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17057new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17068new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17081new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17227new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17235new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17244new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17253new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17262new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17287new TreeDumperNode("isSuppressed", node.IsSuppressed, null), 17297new TreeDumperNode("isSuppressed", node.IsSuppressed, null),
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
462hasErrors: expr.HasErrors).WithSuppression(expr.IsSuppressed);