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