1 write to HasErrors
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\BoundNode.cs (1)
344
clone.
HasErrors
= true;
594 references to HasErrors
Microsoft.CodeAnalysis.CSharp (591)
Binder\Binder_Conversions.cs (5)
195
unconvertedSource.
HasErrors
);
421
hasErrors |= source.
HasErrors
|| destination.IsErrorType();
467
new BoundSwitchExpressionArm(oldCase.Syntax, oldCase.Locals, oldCase.Pattern, oldCase.WhenClause, newValue, oldCase.Label, oldCase.
HasErrors
);
474
source.DefaultLabel, source.ReportedNotExhaustive, destination, hasErrors || source.
HasErrors
).WithSuppression(source.IsSuppressed);
887
var convertedNode = new BoundConvertedStackAllocExpression(syntax, elementType, boundStackAlloc.Count, boundStackAlloc.InitializerOpt, stackAllocType, boundStackAlloc.
HasErrors
);
Binder\Binder_Expressions.cs (7)
291
bool hasErrors = expression.
HasErrors
;
304
bool hasErrors = op.
HasErrors
;
342
sourceTuple.
HasErrors
).WithSuppression(sourceTuple.IsSuppressed);
2686
!underlyingExpr.
HasErrors
&& !bag.HasAnyErrors())
5545
if (boundCall.
HasErrors
&& !boundCall.OriginalMethodsOpt.IsDefault)
6918
if (!boundMethodGroup.
HasErrors
&& typeArgumentsSyntax.Any(SyntaxKind.OmittedTypeArgument))
9494
receiver = new BoundConditionalReceiver(receiver.Syntax, 0, receiverType ?? CreateErrorType(), hasErrors: receiver.
HasErrors
) { WasCompilerGenerated = true };
Binder\Binder_Initializers.cs (1)
263
statement = new BoundExpressionStatement(statement.Syntax, expression, expression.
HasErrors
);
Binder\Binder_InterpolatedString.cs (9)
115
else if (!alignment.
HasErrors
)
270
unconvertedInterpolatedString.
HasErrors
);
391
expression.
HasErrors
);
406
original.
HasErrors
);
452
unconvertedInterpolatedString.
HasErrors
);
524
Debug.Assert(appendCallsArray.All(appendCalls => appendCalls.All(a => a is {
HasErrors
: true } or BoundCall { Arguments: { Length: > 0 } } or BoundDynamicInvocation)));
653
Debug.Assert(constructorCall.
HasErrors
|| constructorCall is BoundObjectCreationExpression or BoundDynamicObjectCreationExpression);
811
Debug.Assert(call is BoundCall or BoundDynamicInvocation or {
HasErrors
: true });
1057
hasErrors || interpolatedString.
HasErrors
);
Binder\Binder_Operators.cs (5)
205
if (finalConversion.
HasErrors
)
212
Debug.Assert(finalConversion.
HasErrors
|| (object)finalConversion == finalPlaceholder);
2308
bool hasErrors = resultConversion.
HasErrors
;
4271
bool hasErrors = trueExpr.
HasErrors
| falseExpr.
HasErrors
;
Binder\Binder_Patterns.cs (4)
39
hasErrors |= pattern.
HasErrors
;
398
return !hasErrors && !lengthAccess.
HasErrors
&& !indexerAccess.
HasErrors
;
556
if (!convertedExpression.
HasErrors
&& !hasErrors)
Binder\Binder_Statements.cs (2)
1451
if (!boundLeft.
HasErrors
)
2940
hasErrors |= arg.
HasErrors
|| ((object)arg.Type != null && arg.Type.IsErrorType());
Binder\Binder_TupleOperators.cs (1)
65
tuple.Syntax, tuple, wasTargetTyped: false, builder.ToImmutableAndFree(), tuple.ArgumentNamesOpt, tuple.InferredNamesOpt, tuple.Type, tuple.
HasErrors
);
Binder\DecisionDagBuilder.cs (6)
284
Debug.Assert(pattern.
HasErrors
|| pattern.InputType.Equals(input.Type, TypeCompareKind.AllIgnoreOptions) || pattern.InputType.IsErrorType());
497
Debug.Assert(constant.Value.Type is not null || constant.
HasErrors
);
519
RoslynDebug.Assert(input.Type.IsErrorType() || recursive.
HasErrors
|| recursive.InputType.IsErrorType() || input.Type.Equals(recursive.InputType, TypeCompareKind.AllIgnoreOptions));
669
Debug.Assert(bin.
HasErrors
|| output.Type.Equals(bin.NarrowedType, TypeCompareKind.AllIgnoreOptions));
691
tests.Add(new Tests.One(new BoundDagRelationalTest(rel.Syntax, rel.Relation, rel.ConstantValue, output, rel.
HasErrors
)));
908
state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.Input, t.
HasErrors
);
Binder\DecisionDagBuilder_ListPatterns.cs (2)
15
Debug.Assert(input.Type.IsErrorType() || list.
HasErrors
|| list.InputType.IsErrorType() ||
26
if (list.
HasErrors
)
Binder\ForEachLoopBinder.cs (2)
409
hasErrors = hasErrors || boundIterationVariableType.
HasErrors
|| iterationVariableType.Type.IsErrorType();
716
if (string.IsNullOrEmpty(collectionExprType.Name) && collectionExpr.
HasErrors
)
Binder\RefSafetyAnalysis.cs (4)
586
if (!node.
HasErrors
)
640
if (!node.
HasErrors
)
663
if (!node.
HasErrors
)
686
if (!node.
HasErrors
)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
633
if (receiverOpt?.
HasErrors
!= true)
Binder\SwitchBinder_Patterns.cs (6)
97
if (!label.
HasErrors
&& isSubsumed(label, reachableLabels) && label.Syntax.Kind() != SyntaxKind.DefaultSwitchLabel)
114
else if (!label.Pattern.
HasErrors
&& !anyPreviousErrors)
127
anyPreviousErrors |= label.
HasErrors
;
245
return new BoundSwitchLabel(node, label, pattern, null, pattern.
HasErrors
);
251
bool hasErrors = pattern.
HasErrors
;
288
if (pattern is BoundConstantPattern {
HasErrors
: false } && IsUnderscore(expression))
Binder\SwitchExpressionArmBinder.cs (1)
48
return new BoundSwitchExpressionArm(node, locals, pattern, whenClause, armResult, label, hasErrors | pattern.
HasErrors
);
Binder\SwitchExpressionBinder.cs (1)
67
hasErrors |= arm.
HasErrors
;
BoundTree\BoundExpressionExtensions.cs (1)
47
if (member.
HasErrors
)
BoundTree\BoundNode.cs (2)
99
if (this.
HasErrors
|| this.Syntax != null && this.Syntax.HasErrors)
340
if (this.
HasErrors
)
BoundTree\BoundNodeExtensions.cs (2)
26
if (nodeArray[i].
HasErrors
)
36
return node != null && node.
HasErrors
;
BoundTree\BoundSpillSequence.cs (1)
29
expression => new BoundExpressionStatement(expression.Syntax, expression, expression.
HasErrors
));
BoundTree\OutDeconstructVarPendingInference.cs (1)
18
Placeholder = new BoundDeconstructValuePlaceholder(this.Syntax, variableSymbol: VariableSymbol, isDiscardExpression: IsDiscardExpression, type.Type, hasErrors: this.
HasErrors
|| !success);
BoundTree\UnboundLambda.cs (2)
430
var lambda = new UnboundLambda(Syntax, data, FunctionType, WithDependencies, nullableState,
HasErrors
);
443
var lambda = new UnboundLambda(Syntax, data, FunctionType, WithDependencies, _nullableState,
HasErrors
);
BoundTree\VariablePendingInference.cs (2)
76
return new BoundLocal(this.Syntax, localSymbol, BoundLocalDeclarationKind.WithInferredType, constantValueOpt: null, isNullableUnknown: false, type: type.Type, hasErrors: this.
HasErrors
|| inferenceFailed).WithWasConverted();
105
hasErrors: this.
HasErrors
|| inferenceFailed);
Compiler\MethodCompiler.cs (8)
251
if (body.
HasErrors
|| diagnostics.HasAnyErrors())
750
if (!loweredBody.
HasErrors
)
1245
hasErrors = hasErrors || (hasBody && loweredBodyOpt.
HasErrors
) || diagsForCurrentMethod.HasAnyErrors();
1420
if (body.
HasErrors
)
1445
if (loweredBody.
HasErrors
)
1465
if (loweredBody.
HasErrors
)
1490
if (bodyWithoutLambdas.
HasErrors
)
1498
if (bodyWithoutIterators.
HasErrors
)
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
51
if (reachableLabels.Contains(label.Label) || label.
HasErrors
||
166
if (!reachableLabels.Contains(arm.Label) || arm.Pattern.
HasErrors
)
FlowAnalysis\FlowAnalysisPass.cs (1)
59
Debug.Assert(method is not SourceMemberMethodSymbol { SyntaxNode: ConstructorDeclarationSyntax { Initializer: not null } } || block.
HasErrors
);
FlowAnalysis\NullableWalker.cs (15)
1960
Debug.Assert(node.
HasErrors
||
4152
var arrayType = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
5439
else if (!node.
HasErrors
)
5466
if (node.
HasErrors
|| wasTargetTyped)
5720
if (node.
HasErrors
6253
_disableDiagnostics |= node.
HasErrors
|| defaultArguments[i];
6288
if (!node.
HasErrors
&& !parametersOpt.IsDefault)
8212
if (!conversionOperand.
HasErrors
&& !targetType.IsErrorType())
9044
left = new BoundPropertyAccess(fieldAccess.Syntax, fieldAccess.ReceiverOpt, autoProperty, LookupResultKind.Viable, autoProperty.Type, fieldAccess.
HasErrors
);
9047
left = new BoundEventAccess(fieldAccess.Syntax, fieldAccess.ReceiverOpt, @event, isUsableAsField: true, LookupResultKind.Viable, @event.Type, fieldAccess.
HasErrors
);
9225
if (node.
HasErrors
)
9609
if (!node.
HasErrors
)
9957
Debug.Assert(node.
HasErrors
);
10514
if (node.Type.IsValueType || node.
HasErrors
|| awaitableInfo.GetResult is null)
11028
var type = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
FlowAnalysis\NullableWalker_Patterns.cs (1)
1000
=> !arm.Pattern.
HasErrors
&& labelStateMap.TryGetValue(arm.Label, out var labelState) ? labelState.state : UnreachableState();
Generated\BoundNodes.xml.Generated.cs (445)
316
var result = new BoundFieldEqualsValue(this.Syntax, field, locals, value, this.
HasErrors
);
346
var result = new BoundPropertyEqualsValue(this.Syntax, property, locals, value, this.
HasErrors
);
376
var result = new BoundParameterEqualsValue(this.Syntax, parameter, locals, value, this.
HasErrors
);
404
var result = new BoundGlobalStatementInitializer(this.Syntax, statement, this.
HasErrors
);
477
var result = new BoundValuePlaceholder(this.Syntax, type, this.
HasErrors
);
507
var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, localScopeDepth, type, this.
HasErrors
);
548
var result = new BoundDeconstructValuePlaceholder(this.Syntax, variableSymbol, isDiscardExpression, type, this.
HasErrors
);
583
var result = new BoundTupleOperandPlaceholder(this.Syntax, type, this.
HasErrors
);
612
var result = new BoundAwaitableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
647
var result = new BoundDisposableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
685
var result = new BoundObjectOrCollectionValuePlaceholder(this.Syntax, isNewInstance, type, this.
HasErrors
);
720
var result = new BoundImplicitIndexerValuePlaceholder(this.Syntax, type, this.
HasErrors
);
758
var result = new BoundImplicitIndexerReceiverPlaceholder(this.Syntax, isEquivalentToThisReference, type, this.
HasErrors
);
793
var result = new BoundListPatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
828
var result = new BoundListPatternIndexPlaceholder(this.Syntax, type, this.
HasErrors
);
863
var result = new BoundSlicePatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
898
var result = new BoundSlicePatternRangePlaceholder(this.Syntax, type, this.
HasErrors
);
929
var result = new BoundDup(this.Syntax, refKind, type, this.
HasErrors
);
957
var result = new BoundPassByCopy(this.Syntax, expression, type, this.
HasErrors
);
990
var result = new BoundBadExpression(this.Syntax, resultKind, symbols, childBoundNodes, type, this.
HasErrors
);
1018
var result = new BoundBadStatement(this.Syntax, childBoundNodes, this.
HasErrors
);
1046
var result = new BoundExtractedFinallyBlock(this.Syntax, finallyBlock, this.
HasErrors
);
1081
var result = new BoundTypeExpression(this.Syntax, aliasOpt, boundContainingTypeOpt, boundDimensionsOpt, typeWithAnnotations, type, this.
HasErrors
);
1119
var result = new BoundTypeOrValueExpression(this.Syntax, data, type, this.
HasErrors
);
1160
var result = new BoundNamespaceExpression(this.Syntax, namespaceSymbol, aliasOpt, this.
HasErrors
);
1202
var result = new BoundUnaryOperator(this.Syntax, operatorKind, operand, constantValueOpt, methodOpt, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1250
var result = new BoundIncrementOperator(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1282
var result = new BoundAddressOfOperator(this.Syntax, operand, isManaged, type, this.
HasErrors
);
1311
var result = new BoundUnconvertedAddressOfOperator(this.Syntax, operand, this.
HasErrors
);
1354
var result = new BoundFunctionPointerLoad(this.Syntax, targetMethod, constrainedToTypeOpt, type, this.
HasErrors
);
1386
var result = new BoundPointerIndirectionOperator(this.Syntax, operand, refersToLocation, type, this.
HasErrors
);
1423
var result = new BoundPointerElementAccess(this.Syntax, expression, index, @checked, refersToLocation, type, this.
HasErrors
);
1460
var result = new BoundFunctionPointerInvocation(this.Syntax, invokedExpression, arguments, argumentRefKindsOpt, resultKind, type, this.
HasErrors
);
1492
var result = new BoundRefTypeOperator(this.Syntax, operand, getTypeFromHandle, type, this.
HasErrors
);
1522
var result = new BoundMakeRefOperator(this.Syntax, operand, type, this.
HasErrors
);
1554
var result = new BoundRefValueOperator(this.Syntax, nullableAnnotation, operand, type, this.
HasErrors
);
1586
var result = new BoundFromEndIndexExpression(this.Syntax, operand, methodOpt, type, this.
HasErrors
);
1619
var result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.
HasErrors
);
1672
var result = new BoundBinaryOperator(this.Syntax, operatorKind, data, resultKind, left, right, type, this.
HasErrors
);
1710
var result = new BoundTupleBinaryOperator(this.Syntax, left, right, operatorKind, operators, type, this.
HasErrors
);
1755
var result = new BoundUserDefinedConditionalLogicalOperator(this.Syntax, operatorKind, logicalOperator, trueOperator, falseOperator, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, left, right, type, this.
HasErrors
);
1802
var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1836
var result = new BoundAssignmentOperator(this.Syntax, left, right, isRef, type, this.
HasErrors
);
1871
var result = new BoundDeconstructionAssignmentOperator(this.Syntax, left, right, isUsed, type, this.
HasErrors
);
1912
var result = new BoundNullCoalescingOperator(this.Syntax, leftOperand, rightOperand, leftPlaceholder, leftConversion, operatorResultKind, @checked, type, this.
HasErrors
);
1943
var result = new BoundNullCoalescingAssignmentOperator(this.Syntax, leftOperand, rightOperand, type, this.
HasErrors
);
1982
var result = new BoundUnconvertedConditionalOperator(this.Syntax, condition, consequence, alternative, constantValueOpt, noCommonTypeError, this.
HasErrors
);
2026
var result = new BoundConditionalOperator(this.Syntax, isRef, condition, consequence, alternative, constantValueOpt, naturalTypeOpt, wasTargetTyped, type, this.
HasErrors
);
2059
var result = new BoundArrayAccess(this.Syntax, expression, indices, type, this.
HasErrors
);
2089
var result = new BoundArrayLength(this.Syntax, expression, type, this.
HasErrors
);
2122
var result = new BoundAwaitableInfo(this.Syntax, awaitableInstancePlaceholder, isDynamic, getAwaiter, isCompleted, getResult, this.
HasErrors
);
2155
var result = new BoundAwaitExpression(this.Syntax, expression, awaitableInfo, type, this.
HasErrors
);
2208
var result = new BoundTypeOfOperator(this.Syntax, sourceType, getTypeFromHandle, type, this.
HasErrors
);
2242
var result = new BoundBlockInstrumentation(this.Syntax, local, prologue, epilogue, this.
HasErrors
);
2282
var result = new BoundMethodDefIndex(this.Syntax, method, type, this.
HasErrors
);
2325
var result = new BoundLocalId(this.Syntax, local, hoistedField, type, this.
HasErrors
);
2368
var result = new BoundParameterId(this.Syntax, parameter, hoistedField, type, this.
HasErrors
);
2403
var result = new BoundStateMachineInstanceId(this.Syntax, type, this.
HasErrors
);
2438
var result = new BoundMaximumMethodDefIndex(this.Syntax, type, this.
HasErrors
);
2476
var result = new BoundInstrumentationPayloadRoot(this.Syntax, analysisKind, type, this.
HasErrors
);
2511
var result = new BoundModuleVersionId(this.Syntax, type, this.
HasErrors
);
2546
var result = new BoundModuleVersionIdString(this.Syntax, type, this.
HasErrors
);
2586
var result = new BoundSourceDocumentIndex(this.Syntax, document, type, this.
HasErrors
);
2629
var result = new BoundMethodInfo(this.Syntax, method, getMethodFromHandle, type, this.
HasErrors
);
2672
var result = new BoundFieldInfo(this.Syntax, field, getFieldFromHandle, type, this.
HasErrors
);
2726
var result = new BoundDefaultExpression(this.Syntax, targetType, constantValueOpt, type, this.
HasErrors
);
2761
var result = new BoundIsOperator(this.Syntax, operand, targetType, conversionKind, type, this.
HasErrors
);
2798
var result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.
HasErrors
);
2830
var result = new BoundSizeOfOperator(this.Syntax, sourceType, constantValueOpt, type, this.
HasErrors
);
2874
var result = new BoundConversion(this.Syntax, operand, conversion, isBaseConversion, @checked, explicitCastInCode, constantValueOpt, conversionGroupOpt, originalUserDefinedConversionsOpt, type, this.
HasErrors
);
2907
var result = new BoundReadOnlySpanFromArray(this.Syntax, operand, conversionMethod, type, this.
HasErrors
);
2942
var result = new BoundArgList(this.Syntax, type, this.
HasErrors
);
2973
var result = new BoundArgListOperator(this.Syntax, arguments, argumentRefKindsOpt, type, this.
HasErrors
);
3012
var result = new BoundFixedLocalCollectionInitializer(this.Syntax, elementPointerType, elementPointerPlaceholder, elementPointerConversion, expression, getPinnableOpt, type, this.
HasErrors
);
3051
var result = new BoundSequencePoint(this.Syntax, statementOpt, this.
HasErrors
);
3078
var result = new BoundSequencePointWithSpan(this.Syntax, statementOpt, span, this.
HasErrors
);
3115
var result = new BoundSavePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3152
var result = new BoundRestorePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3183
var result = new BoundStepThroughSequencePoint(this.Syntax, span, this.
HasErrors
);
3219
var result = new BoundBlock(this.Syntax, locals, localFunctions, hasUnsafeModifier, instrumentation, statements, this.
HasErrors
);
3248
var result = new BoundScope(this.Syntax, locals, statements, this.
HasErrors
);
3279
var result = new BoundStateMachineScope(this.Syntax, fields, statement, this.
HasErrors
);
3315
var result = new BoundLocalDeclaration(this.Syntax, localSymbol, declaredTypeOpt, initializerOpt, argumentsOpt, inferredType, this.
HasErrors
);
3355
var result = new BoundMultipleLocalDeclarations(this.Syntax, localDeclarations, this.
HasErrors
);
3385
var result = new BoundUsingLocalDeclarations(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.
HasErrors
);
3417
var result = new BoundLocalFunctionStatement(this.Syntax, symbol, blockBody, expressionBody, this.
HasErrors
);
3448
var result = new BoundNoOpStatement(this.Syntax, flavor, this.
HasErrors
);
3477
var result = new BoundReturnStatement(this.Syntax, refKind, expressionOpt, @checked, this.
HasErrors
);
3505
var result = new BoundYieldReturnStatement(this.Syntax, expression, this.
HasErrors
);
3547
var result = new BoundThrowStatement(this.Syntax, expressionOpt, this.
HasErrors
);
3575
var result = new BoundExpressionStatement(this.Syntax, expression, this.
HasErrors
);
3612
var result = new BoundBreakStatement(this.Syntax, label, this.
HasErrors
);
3649
var result = new BoundContinueStatement(this.Syntax, label, this.
HasErrors
);
3694
var result = new BoundSwitchStatement(this.Syntax, expression, innerLocals, innerLocalFunctions, switchSections, reachabilityDecisionDag, defaultLabel, breakLabel, this.
HasErrors
);
3730
var result = new BoundSwitchDispatch(this.Syntax, expression, cases, defaultLabel, lengthBasedStringSwitchDataOpt, this.
HasErrors
);
3763
var result = new BoundIfStatement(this.Syntax, condition, consequence, alternativeOpt, this.
HasErrors
);
3843
var result = new BoundDoStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
3873
var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
3915
var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.
HasErrors
);
3966
var result = new BoundForEachStatement(this.Syntax, enumeratorInfoOpt, elementPlaceholder, elementConversion, iterationVariableType, iterationVariables, iterationErrorExpressionOpt, expression, deconstructionOpt, awaitOpt, body, breakLabel, continueLabel, this.
HasErrors
);
3997
var result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.
HasErrors
);
4036
var result = new BoundUsingStatement(this.Syntax, locals, declarationsOpt, expressionOpt, body, awaitOpt, patternDisposeInfoOpt, this.
HasErrors
);
4070
var result = new BoundFixedStatement(this.Syntax, locals, declarations, body, this.
HasErrors
);
4101
var result = new BoundLockStatement(this.Syntax, argument, body, this.
HasErrors
);
4138
var result = new BoundTryStatement(this.Syntax, tryBlock, catchBlocks, finallyBlockOpt, finallyLabelOpt, preferFaultHandler, this.
HasErrors
);
4179
var result = new BoundCatchBlock(this.Syntax, locals, exceptionSourceOpt, exceptionTypeOpt, exceptionFilterPrologueOpt, exceptionFilterOpt, body, isSynthesizedAsyncCatchAll, this.
HasErrors
);
4210
var result = new BoundLiteral(this.Syntax, constantValueOpt, type, this.
HasErrors
);
4250
var result = new BoundUtf8String(this.Syntax, value, type, this.
HasErrors
);
4285
var result = new BoundThisReference(this.Syntax, type, this.
HasErrors
);
4320
var result = new BoundPreviousSubmissionReference(this.Syntax, type, this.
HasErrors
);
4355
var result = new BoundHostObjectMemberReference(this.Syntax, type, this.
HasErrors
);
4384
var result = new BoundBaseReference(this.Syntax, type, this.
HasErrors
);
4433
var result = new BoundLocal(this.Syntax, localSymbol, declarationKind, constantValueOpt, isNullableUnknown, type, this.
HasErrors
);
4478
var result = new BoundPseudoVariable(this.Syntax, localSymbol, emitExpressions, type, this.
HasErrors
);
4511
var result = new BoundRangeVariable(this.Syntax, rangeVariableSymbol, value, type, this.
HasErrors
);
4551
var result = new BoundParameter(this.Syntax, parameterSymbol, type, this.
HasErrors
);
4588
var result = new BoundLabelStatement(this.Syntax, label, this.
HasErrors
);
4620
var result = new BoundGotoStatement(this.Syntax, label, caseExpressionOpt, labelExpressionOpt, this.
HasErrors
);
4651
var result = new BoundLabeledStatement(this.Syntax, label, body, this.
HasErrors
);
4688
var result = new BoundLabel(this.Syntax, label, type, this.
HasErrors
);
4725
var result = new BoundStatementList(this.Syntax, statements, this.
HasErrors
);
4758
var result = new BoundConditionalGoto(this.Syntax, condition, jumpIfTrue, label, this.
HasErrors
);
4821
var result = new BoundSwitchExpressionArm(this.Syntax, locals, pattern, whenClause, value, label, this.
HasErrors
);
4849
var result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
4883
var result = new BoundConvertedSwitchExpression(this.Syntax, naturalTypeOpt, wasTargetTyped, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
4911
var result = new BoundDecisionDag(this.Syntax, rootNode, this.
HasErrors
);
4956
var result = new BoundEvaluationDecisionDagNode(this.Syntax, evaluation, next, this.
HasErrors
);
4990
var result = new BoundTestDecisionDagNode(this.Syntax, test, whenTrue, whenFalse, this.
HasErrors
);
5025
var result = new BoundWhenDecisionDagNode(this.Syntax, bindings, whenExpression, whenTrue, whenFalse, this.
HasErrors
);
5062
var result = new BoundLeafDecisionDagNode(this.Syntax, label, this.
HasErrors
);
5108
var result = new BoundDagTemp(this.Syntax, type, source, index, this.
HasErrors
);
5137
var result = new BoundDagTypeTest(this.Syntax, type, input, this.
HasErrors
);
5165
var result = new BoundDagNonNullTest(this.Syntax, isExplicitTest, input, this.
HasErrors
);
5191
var result = new BoundDagExplicitNullTest(this.Syntax, input, this.
HasErrors
);
5220
var result = new BoundDagValueTest(this.Syntax, value, input, this.
HasErrors
);
5251
var result = new BoundDagRelationalTest(this.Syntax, operatorKind, value, input, this.
HasErrors
);
5292
var result = new BoundDagDeconstructEvaluation(this.Syntax, deconstructMethod, input, this.
HasErrors
);
5321
var result = new BoundDagTypeEvaluation(this.Syntax, type, input, this.
HasErrors
);
5350
var result = new BoundDagFieldEvaluation(this.Syntax, field, input, this.
HasErrors
);
5381
var result = new BoundDagPropertyEvaluation(this.Syntax, property, isLengthOrCount, input, this.
HasErrors
);
5412
var result = new BoundDagIndexEvaluation(this.Syntax, property, index, input, this.
HasErrors
);
5459
var result = new BoundDagIndexerEvaluation(this.Syntax, indexerType, lengthTemp, index, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5508
var result = new BoundDagSliceEvaluation(this.Syntax, sliceType, lengthTemp, startIndex, endIndex, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5537
var result = new BoundDagAssignmentEvaluation(this.Syntax, target, input, this.
HasErrors
);
5569
var result = new BoundSwitchSection(this.Syntax, locals, switchLabels, statements, this.
HasErrors
);
5602
var result = new BoundSwitchLabel(this.Syntax, label, pattern, whenClause, this.
HasErrors
);
5644
var result = new BoundSequencePointExpression(this.Syntax, expression, type, this.
HasErrors
);
5680
var result = new BoundSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5716
var result = new BoundSpillSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5755
var result = new BoundDynamicMemberAccess(this.Syntax, receiver, typeArgumentsOpt, name, invoked, indexed, type, this.
HasErrors
);
5808
var result = new BoundDynamicInvocation(this.Syntax, argumentNamesOpt, argumentRefKindsOpt, applicableMethods, expression, arguments, type, this.
HasErrors
);
5841
var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.
HasErrors
);
5882
var result = new BoundLoweredConditionalAccess(this.Syntax, receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, id, forceCopyOfNullableValueType, type, this.
HasErrors
);
5920
var result = new BoundConditionalReceiver(this.Syntax, id, type, this.
HasErrors
);
5953
var result = new BoundComplexConditionalReceiver(this.Syntax, valueTypeReceiver, referenceTypeReceiver, type, this.
HasErrors
);
5994
var result = new BoundMethodGroup(this.Syntax, typeArgumentsOpt, name, methods, lookupSymbolOpt, lookupError, flags, functionType, receiverOpt, resultKind, this.
HasErrors
);
6022
var result = new BoundPropertyGroup(this.Syntax, properties, receiverOpt, resultKind, this.
HasErrors
);
6075
var result = new BoundCall(this.Syntax, receiverOpt, method, arguments, argumentNamesOpt, argumentRefKindsOpt, isDelegateCall, expanded, invokedAsExtensionMethod, argsToParamsOpt, defaultArguments, resultKind, originalMethodsOpt, type, this.
HasErrors
);
6114
var result = new BoundEventAssignmentOperator(this.Syntax, @event, isAddition, isDynamic, receiverOpt, argument, type, this.
HasErrors
);
6159
var result = new BoundAttribute(this.Syntax, constructor, constructorArguments, constructorArgumentNamesOpt, constructorArgumentsToParamsOpt, constructorExpanded, constructorDefaultArguments, namedArguments, resultKind, type, this.
HasErrors
);
6197
var result = new BoundUnconvertedObjectCreationExpression(this.Syntax, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerOpt, binder, this.
HasErrors
);
6269
var result = new BoundObjectCreationExpression(this.Syntax, constructor, constructorsGroup, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, constantValueOpt, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6314
var result = new BoundTupleLiteral(this.Syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6344
var result = new BoundConvertedTupleLiteral(this.Syntax, sourceTuple, wasTargetTyped, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6387
var result = new BoundDynamicObjectCreationExpression(this.Syntax, name, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerExpressionOpt, applicableMethods, wasTargetTyped, type, this.
HasErrors
);
6419
var result = new BoundNoPiaObjectCreationExpression(this.Syntax, guidString, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6466
var result = new BoundObjectInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
6513
var result = new BoundObjectInitializerMember(this.Syntax, memberSymbol, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, resultKind, receiverType, type, this.
HasErrors
);
6558
var result = new BoundDynamicObjectInitializerMember(this.Syntax, memberName, receiverType, type, this.
HasErrors
);
6586
var result = new BoundCollectionInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
6631
var result = new BoundCollectionElementInitializer(this.Syntax, addMethod, arguments, implicitReceiverOpt, expanded, argsToParamsOpt, defaultArguments, invokedAsExtensionMethod, resultKind, type, this.
HasErrors
);
6663
var result = new BoundDynamicCollectionElementInitializer(this.Syntax, applicableMethods, expression, arguments, type, this.
HasErrors
);
6698
var result = new BoundImplicitReceiver(this.Syntax, type, this.
HasErrors
);
6734
var result = new BoundAnonymousObjectCreationExpression(this.Syntax, constructor, arguments, declarations, type, this.
HasErrors
);
6774
var result = new BoundAnonymousPropertyDeclaration(this.Syntax, property, type, this.
HasErrors
);
6804
var result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6840
var result = new BoundDelegateCreationExpression(this.Syntax, argument, methodOpt, isExtensionMethod, wasTargetTyped, type, this.
HasErrors
);
6872
var result = new BoundArrayCreation(this.Syntax, bounds, initializerOpt, type, this.
HasErrors
);
6903
var result = new BoundArrayInitialization(this.Syntax, isInferred, initializers, this.
HasErrors
);
6949
var result = new BoundStackAllocArrayCreation(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
6978
var result = new BoundConvertedStackAllocExpression(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7018
var result = new BoundFieldAccess(this.Syntax, receiverOpt, fieldSymbol, constantValueOpt, resultKind, isByValue, isDeclaration, type, this.
HasErrors
);
7058
var result = new BoundHoistedFieldAccess(this.Syntax, fieldSymbol, type, this.
HasErrors
);
7092
var result = new BoundPropertyAccess(this.Syntax, receiverOpt, propertySymbol, resultKind, type, this.
HasErrors
);
7128
var result = new BoundEventAccess(this.Syntax, receiverOpt, eventSymbol, isUsableAsField, resultKind, type, this.
HasErrors
);
7175
var result = new BoundIndexerAccess(this.Syntax, receiverOpt, indexer, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, originalIndexersOpt, type, this.
HasErrors
);
7224
var result = new BoundImplicitIndexerAccess(this.Syntax, receiver, argument, lengthOrCountAccess, receiverPlaceholder, indexerOrSliceAccess, argumentPlaceholders, type, this.
HasErrors
);
7264
var result = new BoundDynamicIndexerAccess(this.Syntax, receiver, arguments, argumentNamesOpt, argumentRefKindsOpt, applicableIndexers, type, this.
HasErrors
);
7304
var result = new BoundLambda(this.Syntax, unboundLambda, symbol, body, diagnostics, binder, type, this.
HasErrors
);
7348
var result = new UnboundLambda(this.Syntax, data, functionType, withDependencies, this.
HasErrors
);
7389
var result = new BoundQueryClause(this.Syntax, value, definedSymbol, operation, cast, binder, unoptimizedForm, type, this.
HasErrors
);
7415
var result = new BoundTypeOrInstanceInitializers(this.Syntax, statements, this.
HasErrors
);
7448
var result = new BoundNameOfOperator(this.Syntax, argument, constantValueOpt, type, this.
HasErrors
);
7490
var result = new BoundUnconvertedInterpolatedString(this.Syntax, parts, constantValueOpt, type, this.
HasErrors
);
7518
var result = new BoundInterpolatedString(this.Syntax, interpolationData, parts, constantValueOpt, type, this.
HasErrors
);
7546
var result = new BoundInterpolatedStringHandlerPlaceholder(this.Syntax, type, this.
HasErrors
);
7584
var result = new BoundInterpolatedStringArgumentPlaceholder(this.Syntax, argumentIndex, type, this.
HasErrors
);
7619
var result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.
HasErrors
);
7661
var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.
HasErrors
);
7722
var result = new BoundConstantPattern(this.Syntax, value, constantValue, inputType, narrowedType, this.
HasErrors
);
7758
var result = new BoundDiscardPattern(this.Syntax, inputType, narrowedType, this.
HasErrors
);
7807
var result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
7844
var result = new BoundRecursivePattern(this.Syntax, declaredType, deconstructMethod, deconstruction, properties, isExplicitNotNullTest, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
7888
var result = new BoundListPattern(this.Syntax, subpatterns, hasSlice, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
7927
var result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.
HasErrors
);
7963
var result = new BoundITuplePattern(this.Syntax, getLengthMethod, getItemMethod, subpatterns, inputType, narrowedType, this.
HasErrors
);
8005
var result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.
HasErrors
);
8035
var result = new BoundPropertySubpattern(this.Syntax, member, isLengthOrCount, pattern, this.
HasErrors
);
8067
var result = new BoundPropertySubpatternMember(this.Syntax, receiver, symbol, type, this.
HasErrors
);
8099
var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.
HasErrors
);
8134
var result = new BoundBinaryPattern(this.Syntax, disjunction, left, right, inputType, narrowedType, this.
HasErrors
);
8164
var result = new BoundNegatedPattern(this.Syntax, negated, inputType, narrowedType, this.
HasErrors
);
8199
var result = new BoundRelationalPattern(this.Syntax, relation, value, constantValue, inputType, narrowedType, this.
HasErrors
);
8234
var result = new BoundDiscardExpression(this.Syntax, nullableAnnotation, isInferred, type, this.
HasErrors
);
8262
var result = new BoundThrowExpression(this.Syntax, expression, type, this.
HasErrors
);
8305
var result = new OutVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8331
var result = new DeconstructionVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8366
var result = new OutDeconstructVarPendingInference(this.Syntax, variableSymbol, isDiscardExpression, this.
HasErrors
);
8402
var result = new BoundNonConstructorMethodBody(this.Syntax, blockBody, expressionBody, this.
HasErrors
);
8432
var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.
HasErrors
);
8463
var result = new BoundExpressionWithNullability(this.Syntax, expression, nullableAnnotation, type, this.
HasErrors
);
8498
var result = new BoundWithExpression(this.Syntax, receiver, cloneMethod, initializerExpression, type, this.
HasErrors
);
14432
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14440
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14448
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14454
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14461
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14470
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14479
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14486
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14493
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14500
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14508
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14515
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14523
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14530
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14537
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14544
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14551
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14559
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14567
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14577
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14583
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14589
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14600
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14608
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14617
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14631
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14648
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14657
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14665
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14674
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14683
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14694
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14705
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14714
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14722
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14731
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14740
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14750
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14762
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14773
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14789
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14805
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14815
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14825
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14838
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14847
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14859
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14873
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14882
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14890
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14900
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14909
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14918
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14926
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14934
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14943
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14952
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14959
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14966
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14974
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14981
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14988
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
14996
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15005
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15014
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15021
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15030
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15040
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15051
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15060
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15075
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15084
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15091
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15100
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15112
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15118
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15125
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15131
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15137
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15143
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15153
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15160
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15167
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15177
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15183
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15191
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15199
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15205
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15213
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15219
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15227
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15233
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15239
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15245
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15257
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15266
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15274
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15284
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15294
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15307
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15324
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15331
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15342
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15350
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15357
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15367
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15379
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15387
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15395
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15402
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15409
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15416
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15423
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15434
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15443
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15452
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15460
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15466
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15474
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15481
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15489
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15495
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15503
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15513
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15525
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15539
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15545
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15552
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15560
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15569
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15575
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15583
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15590
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15597
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15603
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15610
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15618
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15625
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15632
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15639
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15647
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15655
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15667
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15680
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15687
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15695
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15703
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15711
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15721
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15731
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15743
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15755
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15764
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15777
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15785
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15794
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15810
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15820
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15839
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15851
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15866
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15878
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15896
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15906
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15918
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15932
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15942
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15951
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15967
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15976
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15985
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16000
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16010
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16017
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16027
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16035
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16044
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16055
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16064
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16073
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16083
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16093
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16106
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16114
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16124
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16135
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16151
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16164
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16176
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16188
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16198
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16211
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16217
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16226
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16235
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16245
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16252
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16260
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16271
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16284
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16293
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16300
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16311
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16325
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16340
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16351
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16361
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16368
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16376
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16384
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16393
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16403
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16411
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16421
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16430
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16438
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16447
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16456
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16465
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16472
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16481
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16490
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16500
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
Lowering\ClosureConversion\ClosureConversion.cs (2)
809
return new BoundParameter(node.Syntax, replacementParameter, node.
HasErrors
);
1304
return new BoundBlock(node.Syntax, newLocals.ToImmutableAndFree(), newStatements.ToImmutableAndFree(), node.
HasErrors
);
Lowering\Instrumentation\DebugInfoInjector.cs (1)
322
original.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter.cs (7)
132
if (localRewriter._needsSpilling && !loweredStatement.
HasErrors
)
188
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
206
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
218
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
242
Debug.Assert(visited == null || visited.
HasErrors
|| ReferenceEquals(visited.Type, node.Type) ||
442
Debug.Assert(value.Type is { } && (value.Type.Equals(placeholder.Type, TypeCompareKind.AllIgnoreOptions) || value.
HasErrors
));
691
return new BoundStatementList(node.Syntax, rewrittenStatements, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_Block.cs (1)
42
return new BoundBlock(node.Syntax, node.Locals.AddRange(additionalLocals), node.LocalFunctions, node.HasUnsafeModifier, instrumentation, builder.ToImmutableAndFree(), node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_BreakStatement.cs (1)
15
BoundStatement result = new BoundGotoStatement(node.Syntax, node.Label, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_ContinueStatement.cs (1)
15
BoundStatement result = new BoundGotoStatement(node.Syntax, node.Label, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
883
hasErrors: conversion.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
101
if (!returnValue!.
HasErrors
)
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (2)
57
return BoundStatementList.Synthesized(syntax, node.
HasErrors
,
65
return BoundStatementList.Synthesized(syntax, node.
HasErrors
,
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.cs (1)
43
if (expression.
HasErrors
)
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (4)
32
if (node.
HasErrors
)
617
hasErrors: node.
HasErrors
);
796
hasErrors: node.
HasErrors
);
979
hasErrors: node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (2)
186
node.ContinueLabel, node.
HasErrors
);
268
return new BoundBlock(syntax, node.OuterLocals, statements, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (1)
32
var result = RewriteIfStatement(syntax, rewrittenCondition, rewrittenConsequence, rewrittenAlternative, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
16
return RewriteLocalDeclaration(node, node.Syntax, node.LocalSymbol, VisitExpression(node.InitializerOpt), node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (1)
121
node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_MultipleLocalDeclarations.cs (1)
45
return BoundStatementList.Synthesized(node.Syntax, node.
HasErrors
, inits.ToImmutableAndFree());
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
158
Debug.Assert(convertedLeft.
HasErrors
|| convertedLeft.Type!.Equals(rewrittenResultType, TypeCompareKind.IgnoreDynamicAndTupleNames | TypeCompareKind.IgnoreNullableModifiersForReferenceTypes));
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (6)
23
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
116
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
237
if (initializerExpressionOpt != null && !initializerExpressionOpt.
HasErrors
)
255
Debug.Assert(initializerExpression != null && !initializerExpression.
HasErrors
);
308
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
414
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
339
Debug.Assert(loweredArgs.All(a => a.
HasErrors
|| a.Type is { } && a.Type.IsStringType()));
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (3)
195
fillin.
HasErrors
||
223
if (fillin.Alignment != null && !fillin.Alignment.
HasErrors
)
228
if (fillin.Format != null && !fillin.Format.
HasErrors
)
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (7)
79
hasErrors: conversion.
HasErrors
);
85
ImmutableArray<bool>.Empty, conversion.Type, conversion.
HasErrors
);
121
syntax, fieldAccess, elementConversions[i], boundConversion.Checked, boundConversion.ExplicitCastInCode, null, null, destElementTypes[i].Type, boundConversion.
HasErrors
);
127
ImmutableArray<bool>.Empty, expr.Type, expr.
HasErrors
);
163
ImmutableArray<bool>.Empty, tuple.Type, tuple.
HasErrors
);
217
type: eType, hasErrors: expr.
HasErrors
);
462
hasErrors: expr.
HasErrors
).WithSuppression(expr.IsSuppressed);
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (1)
38
node.
HasErrors
);
Lowering\MethodToClassRewriter.cs (1)
440
return new BoundLocal(node.Syntax, replacementLocal, node.ConstantValueOpt, replacementLocal.Type, node.
HasErrors
);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
95
if (this.body.
HasErrors
)
Operations\CSharpOperationFactory.cs (1)
2335
{
HasErrors
: true } => "",
Symbols\Source\SourceComplexParameterSymbol.cs (1)
378
if (valueBeforeConversion.
HasErrors
)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (3)
Symbols\EEMethodSymbol.cs (3)
577
Debug.Assert(!body.
HasErrors
);
599
if (body.
HasErrors
)
638
if (body.
HasErrors
)