6 references to WithHasErrors
Microsoft.CodeAnalysis.CSharp (6)
BoundTree\BoundExpression.cs (1)
69return (BoundExpression)base.WithHasErrors();
Compiler\MethodCompiler.cs (1)
1073body = (BoundBlock)body.WithHasErrors();
Lowering\AsyncRewriter\AsyncRewriter.cs (2)
69return (BoundStatement)bodyWithAwaitLifted.WithHasErrors(); 85return (BoundStatement)bodyWithAwaitLifted.WithHasErrors();
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
89return (BoundStatement)body.WithHasErrors();
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (1)
48return node.Update(rewrittenArgument, rewrittenBody).WithHasErrors();