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