6 references to FailInference
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Deconstruct.cs (1)
415
variables[i] = new DeconstructionVariable(pending.
FailInference
(this, diagnostics), pending.Syntax);
Binder\Binder_Expressions.cs (1)
9400
return ((BoundDiscardExpression)index).
FailInference
(this, diagnostics);
Binder\Binder_Invocation.cs (2)
532
BoundDiscardExpression discard when !discard.HasExpressionType() => discard.
FailInference
(this, diagnostics),
2075
newArguments[i] = ((BoundDiscardExpression)argument).
FailInference
(this, null);
Binder\Binder_Statements.cs (1)
1462
return op1.
FailInference
(this, diagnostics);
Binder\ForEachLoopBinder.cs (1)
402
iterationErrorExpression = ((BoundDiscardExpression)iterationErrorExpression).
FailInference
(this, diagnosticsOpt: null);