1 write to HasErrors
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\BoundNode.cs (1)
399
clone.
HasErrors
= true;
620 references to HasErrors
Microsoft.CodeAnalysis.CSharp (620)
Binder\Binder_Conversions.cs (8)
723
unconvertedSource.
HasErrors
);
898
if (collectionCreation.
HasErrors
)
1317
Debug.Assert(boundExpression.
HasErrors
);
1651
Debug.Assert(call.
HasErrors
);
1934
hasErrors |= source.
HasErrors
|| destination.IsErrorType();
1981
new BoundSwitchExpressionArm(oldCase.Syntax, oldCase.Locals, oldCase.Pattern, oldCase.WhenClause, newValue, oldCase.Label, oldCase.
HasErrors
);
1989
source.DefaultLabel, source.ReportedNotExhaustive, destination, hasErrors || source.
HasErrors
).WithSuppression(source.IsSuppressed);
2418
var convertedNode = new BoundConvertedStackAllocExpression(syntax, elementType, boundStackAlloc.Count, boundStackAlloc.InitializerOpt, stackAllocType, boundStackAlloc.
HasErrors
);
Binder\Binder_Expressions.cs (10)
299
bool hasErrors = expression.
HasErrors
;
312
bool hasErrors = op.
HasErrors
;
350
sourceTuple.
HasErrors
).WithSuppression(sourceTuple.IsSuppressed);
2952
!underlyingExpr.
HasErrors
&& !bag.HasAnyErrors())
3895
hasErrors || interpolatedString.
HasErrors
);
6455
if (!result.
HasErrors
&&
6526
if (boundCall.
HasErrors
&& !boundCall.OriginalMethodsOpt.IsDefault)
8026
if (!receiver.
HasErrors
)
8156
if (!boundMethodGroup.
HasErrors
&& typeArgumentsSyntax.Any(SyntaxKind.OmittedTypeArgument))
11491
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 (14)
115
else if (!alignment.
HasErrors
)
273
unconvertedInterpolatedString.
HasErrors
);
303
fillin.
HasErrors
||
323
parts.Any(static p => p.
HasErrors
||
359
construction.
HasErrors
? BindingDiagnosticBag.Discarded : diagnostics,
368
unconvertedSource.
HasErrors
);
385
if (fillin.Alignment != null && !fillin.Alignment.
HasErrors
)
390
if (fillin.Format != null && !fillin.Format.
HasErrors
)
537
expression.
HasErrors
);
552
original.
HasErrors
);
598
unconvertedInterpolatedString.
HasErrors
);
670
Debug.Assert(appendCallsArray.All(appendCalls => appendCalls.All(a => a is {
HasErrors
: true } or BoundCall { Arguments: { Length: > 0 } } or BoundDynamicInvocation)));
799
Debug.Assert(constructorCall.
HasErrors
|| constructorCall is BoundObjectCreationExpression or BoundDynamicObjectCreationExpression);
979
Debug.Assert(call is BoundCall or BoundDynamicInvocation or {
HasErrors
: true });
Binder\Binder_Operators.cs (5)
271
if (finalConversion.
HasErrors
)
278
Debug.Assert(finalConversion.
HasErrors
|| (object)finalConversion == finalPlaceholder);
3249
bool hasErrors = resultConversion.
HasErrors
;
5770
bool hasErrors = trueExpr.
HasErrors
| falseExpr.
HasErrors
;
Binder\Binder_Patterns.cs (4)
40
hasErrors |= pattern.
HasErrors
;
399
return !hasErrors && !lengthAccess.
HasErrors
&& !indexerAccess.
HasErrors
;
557
if (!convertedExpression.
HasErrors
&& !hasErrors)
Binder\Binder_Statements.cs (4)
1442
if (!boundLeft.
HasErrors
)
1491
|| op1.
HasErrors
);
1493
if (op1.
HasErrors
)
3078
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)
287
Debug.Assert(pattern.
HasErrors
|| pattern.InputType.Equals(input.Type, TypeCompareKind.AllIgnoreOptions) || pattern.InputType.IsErrorType());
500
Debug.Assert(constant.Value.Type is not null || constant.
HasErrors
);
522
RoslynDebug.Assert(input.Type.IsErrorType() || recursive.
HasErrors
|| recursive.InputType.IsErrorType() || input.Type.Equals(recursive.InputType, TypeCompareKind.AllIgnoreOptions));
697
Debug.Assert(bin.
HasErrors
|| output.Type.Equals(bin.NarrowedType, TypeCompareKind.AllIgnoreOptions));
721
tests.Add(new Tests.One(new BoundDagRelationalTest(rel.Syntax, rel.Relation, rel.ConstantValue, output, rel.
HasErrors
)));
958
state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.Input, t.
HasErrors
);
Binder\DecisionDagBuilder_ListPatterns.cs (2)
16
Debug.Assert(input.Type.IsErrorType() || list.
HasErrors
|| list.InputType.IsErrorType() ||
27
if (list.
HasErrors
)
Binder\ForEachLoopBinder.cs (2)
441
hasErrors = hasErrors || boundIterationVariableType.
HasErrors
|| iterationVariableType.Type.IsErrorType();
793
if (string.IsNullOrEmpty(collectionExprType.Name) && collectionExpr.
HasErrors
)
Binder\RefSafetyAnalysis.cs (5)
593
if (!node.
HasErrors
&& node.Operator.Method is { } compoundMethod)
811
if (!node.
HasErrors
)
928
if (node.
HasErrors
)
1000
if (!node.
HasErrors
)
1018
if (!node.
HasErrors
)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
654
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)
68
hasErrors |= arm.
HasErrors
;
BoundTree\BoundAwaitableInfo.cs (1)
39
Debug.Assert(GetAwaiter is not null || RuntimeAsyncAwaitCall is not null || IsDynamic ||
HasErrors
);
BoundTree\BoundExpressionExtensions.cs (1)
65
if (member.
HasErrors
)
BoundTree\BoundNode.cs (2)
106
if (this.
HasErrors
|| this.Syntax != null && this.Syntax.HasErrors)
395
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)
429
var lambda = new UnboundLambda(Syntax, data, FunctionType, WithDependencies, nullableState,
HasErrors
);
442
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();
107
hasErrors: this.
HasErrors
|| inferenceFailed);
Compiler\MethodCompiler.cs (9)
264
if (body.
HasErrors
|| diagnostics.HasAnyErrors())
775
if (!loweredBody.
HasErrors
)
1248
hasErrors = hasErrors || (hasBody && loweredBodyOpt.
HasErrors
) || diagsForCurrentMethod.HasAnyErrors();
1487
if (body.
HasErrors
)
1512
if (loweredBody.
HasErrors
)
1528
if (loweredBody.
HasErrors
)
1548
if (loweredBody.
HasErrors
)
1574
if (bodyWithoutLambdas.
HasErrors
)
1582
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 (17)
2112
Debug.Assert(node.
HasErrors
||
4063
Debug.Assert(node.
HasErrors
);
4782
var arrayType = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
6198
else if (!node.
HasErrors
)
6577
suppressAdjustmentForNewExtension: node.
HasErrors
,
6733
if (node.
HasErrors
7320
if (node is BoundCall {
HasErrors
: true, ArgumentNamesOpt.IsDefaultOrEmpty: false, ArgsToParamsOpt.IsDefault: true } &&
7330
_disableDiagnostics |= node.
HasErrors
|| defaultArguments[i];
7369
if (!node.
HasErrors
&& !parametersOpt.IsDefault)
9597
if (!conversionOperand.
HasErrors
&& !targetType.IsErrorType())
10642
if (node.
HasErrors
)
11107
if (!node.
HasErrors
)
11548
Debug.Assert(node.
HasErrors
);
11657
Debug.Assert(node.
HasErrors
);
11664
Debug.Assert(node.
HasErrors
);
12252
if (node.Type.IsValueType || node.
HasErrors
|| awaitableInfo.GetResult is null)
12764
var type = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
FlowAnalysis\NullableWalker_Patterns.cs (1)
1047
=> !arm.Pattern.
HasErrors
&& labelStateMap.TryGetValue(arm.Label, out var labelState) ? labelState.state : UnreachableState();
Generated\BoundNodes.xml.Generated.cs (461)
310
var result = new BoundFieldEqualsValue(this.Syntax, field, locals, value, this.
HasErrors
);
340
var result = new BoundPropertyEqualsValue(this.Syntax, property, locals, value, this.
HasErrors
);
370
var result = new BoundParameterEqualsValue(this.Syntax, parameter, locals, value, this.
HasErrors
);
398
var result = new BoundGlobalStatementInitializer(this.Syntax, statement, this.
HasErrors
);
471
var result = new BoundValuePlaceholder(this.Syntax, type, this.
HasErrors
);
501
var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, localScopeDepth, type, this.
HasErrors
);
542
var result = new BoundDeconstructValuePlaceholder(this.Syntax, variableSymbol, isDiscardExpression, type, this.
HasErrors
);
577
var result = new BoundTupleOperandPlaceholder(this.Syntax, type, this.
HasErrors
);
606
var result = new BoundAwaitableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
641
var result = new BoundDisposableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
679
var result = new BoundObjectOrCollectionValuePlaceholder(this.Syntax, isNewInstance, type, this.
HasErrors
);
714
var result = new BoundImplicitIndexerValuePlaceholder(this.Syntax, type, this.
HasErrors
);
752
var result = new BoundImplicitIndexerReceiverPlaceholder(this.Syntax, isEquivalentToThisReference, type, this.
HasErrors
);
787
var result = new BoundListPatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
822
var result = new BoundListPatternIndexPlaceholder(this.Syntax, type, this.
HasErrors
);
857
var result = new BoundSlicePatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
892
var result = new BoundSlicePatternRangePlaceholder(this.Syntax, type, this.
HasErrors
);
923
var result = new BoundDup(this.Syntax, refKind, type, this.
HasErrors
);
951
var result = new BoundPassByCopy(this.Syntax, expression, type, this.
HasErrors
);
984
var result = new BoundBadExpression(this.Syntax, resultKind, symbols, childBoundNodes, type, this.
HasErrors
);
1012
var result = new BoundBadStatement(this.Syntax, childBoundNodes, this.
HasErrors
);
1040
var result = new BoundExtractedFinallyBlock(this.Syntax, finallyBlock, this.
HasErrors
);
1075
var result = new BoundTypeExpression(this.Syntax, aliasOpt, boundContainingTypeOpt, boundDimensionsOpt, typeWithAnnotations, type, this.
HasErrors
);
1113
var result = new BoundTypeOrValueExpression(this.Syntax, data, type, this.
HasErrors
);
1154
var result = new BoundNamespaceExpression(this.Syntax, namespaceSymbol, aliasOpt, this.
HasErrors
);
1196
var result = new BoundUnaryOperator(this.Syntax, operatorKind, operand, constantValueOpt, methodOpt, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1244
var result = new BoundIncrementOperator(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1276
var result = new BoundAddressOfOperator(this.Syntax, operand, isManaged, type, this.
HasErrors
);
1305
var result = new BoundUnconvertedAddressOfOperator(this.Syntax, operand, this.
HasErrors
);
1348
var result = new BoundFunctionPointerLoad(this.Syntax, targetMethod, constrainedToTypeOpt, type, this.
HasErrors
);
1380
var result = new BoundPointerIndirectionOperator(this.Syntax, operand, refersToLocation, type, this.
HasErrors
);
1417
var result = new BoundPointerElementAccess(this.Syntax, expression, index, @checked, refersToLocation, type, this.
HasErrors
);
1454
var result = new BoundFunctionPointerInvocation(this.Syntax, invokedExpression, arguments, argumentRefKindsOpt, resultKind, type, this.
HasErrors
);
1486
var result = new BoundRefTypeOperator(this.Syntax, operand, getTypeFromHandle, type, this.
HasErrors
);
1516
var result = new BoundMakeRefOperator(this.Syntax, operand, type, this.
HasErrors
);
1548
var result = new BoundRefValueOperator(this.Syntax, nullableAnnotation, operand, type, this.
HasErrors
);
1580
var result = new BoundFromEndIndexExpression(this.Syntax, operand, methodOpt, type, this.
HasErrors
);
1613
var result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.
HasErrors
);
1666
var result = new BoundBinaryOperator(this.Syntax, operatorKind, data, resultKind, left, right, type, this.
HasErrors
);
1704
var result = new BoundTupleBinaryOperator(this.Syntax, left, right, operatorKind, operators, type, this.
HasErrors
);
1757
var result = new BoundUserDefinedConditionalLogicalOperator(this.Syntax, operatorKind, logicalOperator, trueOperator, falseOperator, trueFalseOperandPlaceholder, trueFalseOperandConversion, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, left, right, type, this.
HasErrors
);
1804
var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1838
var result = new BoundAssignmentOperator(this.Syntax, left, right, isRef, type, this.
HasErrors
);
1873
var result = new BoundDeconstructionAssignmentOperator(this.Syntax, left, right, isUsed, type, this.
HasErrors
);
1914
var result = new BoundNullCoalescingOperator(this.Syntax, leftOperand, rightOperand, leftPlaceholder, leftConversion, operatorResultKind, @checked, type, this.
HasErrors
);
1945
var result = new BoundNullCoalescingAssignmentOperator(this.Syntax, leftOperand, rightOperand, type, this.
HasErrors
);
1984
var result = new BoundUnconvertedConditionalOperator(this.Syntax, condition, consequence, alternative, constantValueOpt, noCommonTypeError, this.
HasErrors
);
2028
var result = new BoundConditionalOperator(this.Syntax, isRef, condition, consequence, alternative, constantValueOpt, naturalTypeOpt, wasTargetTyped, type, this.
HasErrors
);
2061
var result = new BoundArrayAccess(this.Syntax, expression, indices, type, this.
HasErrors
);
2090
var result = new BoundRefArrayAccess(this.Syntax, arrayAccess, this.
HasErrors
);
2120
var result = new BoundArrayLength(this.Syntax, expression, type, this.
HasErrors
);
2161
var result = new BoundAwaitableInfo(this.Syntax, awaitableInstancePlaceholder, isDynamic, getAwaiter, isCompleted, getResult, runtimeAsyncAwaitCall, runtimeAsyncAwaitCallPlaceholder, this.
HasErrors
);
2196
var result = new BoundAwaitExpression(this.Syntax, expression, awaitableInfo, debugInfo, type, this.
HasErrors
);
2249
var result = new BoundTypeOfOperator(this.Syntax, sourceType, getTypeFromHandle, type, this.
HasErrors
);
2281
var result = new BoundBlockInstrumentation(this.Syntax, locals, prologue, epilogue, this.
HasErrors
);
2325
var result = new BoundMethodDefIndex(this.Syntax, method, type, this.
HasErrors
);
2368
var result = new BoundLocalId(this.Syntax, local, hoistedField, type, this.
HasErrors
);
2411
var result = new BoundParameterId(this.Syntax, parameter, hoistedField, type, this.
HasErrors
);
2446
var result = new BoundStateMachineInstanceId(this.Syntax, type, this.
HasErrors
);
2481
var result = new BoundMaximumMethodDefIndex(this.Syntax, type, this.
HasErrors
);
2519
var result = new BoundInstrumentationPayloadRoot(this.Syntax, analysisKind, type, this.
HasErrors
);
2554
var result = new BoundThrowIfModuleCancellationRequested(this.Syntax, type, this.
HasErrors
);
2589
var result = new ModuleCancellationTokenExpression(this.Syntax, type, this.
HasErrors
);
2624
var result = new BoundModuleVersionId(this.Syntax, type, this.
HasErrors
);
2659
var result = new BoundModuleVersionIdString(this.Syntax, type, this.
HasErrors
);
2699
var result = new BoundSourceDocumentIndex(this.Syntax, document, type, this.
HasErrors
);
2742
var result = new BoundMethodInfo(this.Syntax, method, getMethodFromHandle, type, this.
HasErrors
);
2785
var result = new BoundFieldInfo(this.Syntax, field, getFieldFromHandle, type, this.
HasErrors
);
2839
var result = new BoundDefaultExpression(this.Syntax, targetType, constantValueOpt, type, this.
HasErrors
);
2874
var result = new BoundIsOperator(this.Syntax, operand, targetType, conversionKind, type, this.
HasErrors
);
2911
var result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.
HasErrors
);
2943
var result = new BoundSizeOfOperator(this.Syntax, sourceType, constantValueOpt, type, this.
HasErrors
);
2985
var result = new BoundConversion(this.Syntax, operand, conversion, isBaseConversion, @checked, explicitCastInCode, constantValueOpt, conversionGroupOpt, type, this.
HasErrors
);
3018
var result = new BoundReadOnlySpanFromArray(this.Syntax, operand, conversionMethod, type, this.
HasErrors
);
3053
var result = new BoundArgList(this.Syntax, type, this.
HasErrors
);
3084
var result = new BoundArgListOperator(this.Syntax, arguments, argumentRefKindsOpt, type, this.
HasErrors
);
3123
var result = new BoundFixedLocalCollectionInitializer(this.Syntax, elementPointerType, elementPointerPlaceholder, elementPointerConversion, expression, getPinnableOpt, type, this.
HasErrors
);
3162
var result = new BoundSequencePoint(this.Syntax, statementOpt, this.
HasErrors
);
3189
var result = new BoundSequencePointWithSpan(this.Syntax, statementOpt, span, this.
HasErrors
);
3226
var result = new BoundSavePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3263
var result = new BoundRestorePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3294
var result = new BoundStepThroughSequencePoint(this.Syntax, span, this.
HasErrors
);
3330
var result = new BoundBlock(this.Syntax, locals, localFunctions, hasUnsafeModifier, instrumentation, statements, this.
HasErrors
);
3359
var result = new BoundScope(this.Syntax, locals, statements, this.
HasErrors
);
3390
var result = new BoundStateMachineScope(this.Syntax, fields, statement, this.
HasErrors
);
3426
var result = new BoundLocalDeclaration(this.Syntax, localSymbol, declaredTypeOpt, initializerOpt, argumentsOpt, inferredType, this.
HasErrors
);
3466
var result = new BoundMultipleLocalDeclarations(this.Syntax, localDeclarations, this.
HasErrors
);
3496
var result = new BoundUsingLocalDeclarations(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.
HasErrors
);
3528
var result = new BoundLocalFunctionStatement(this.Syntax, symbol, blockBody, expressionBody, this.
HasErrors
);
3559
var result = new BoundNoOpStatement(this.Syntax, flavor, this.
HasErrors
);
3588
var result = new BoundReturnStatement(this.Syntax, refKind, expressionOpt, @checked, this.
HasErrors
);
3616
var result = new BoundYieldReturnStatement(this.Syntax, expression, this.
HasErrors
);
3658
var result = new BoundThrowStatement(this.Syntax, expressionOpt, this.
HasErrors
);
3686
var result = new BoundExpressionStatement(this.Syntax, expression, this.
HasErrors
);
3723
var result = new BoundBreakStatement(this.Syntax, label, this.
HasErrors
);
3760
var result = new BoundContinueStatement(this.Syntax, label, this.
HasErrors
);
3805
var result = new BoundSwitchStatement(this.Syntax, expression, innerLocals, innerLocalFunctions, switchSections, reachabilityDecisionDag, defaultLabel, breakLabel, this.
HasErrors
);
3841
var result = new BoundSwitchDispatch(this.Syntax, expression, cases, defaultLabel, lengthBasedStringSwitchDataOpt, this.
HasErrors
);
3874
var result = new BoundIfStatement(this.Syntax, condition, consequence, alternativeOpt, this.
HasErrors
);
3954
var result = new BoundDoStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
3984
var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
4026
var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.
HasErrors
);
4077
var result = new BoundForEachStatement(this.Syntax, enumeratorInfoOpt, elementPlaceholder, elementConversion, iterationVariableType, iterationVariables, iterationErrorExpressionOpt, expression, deconstructionOpt, awaitOpt, body, breakLabel, continueLabel, this.
HasErrors
);
4108
var result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.
HasErrors
);
4147
var result = new BoundUsingStatement(this.Syntax, locals, declarationsOpt, expressionOpt, body, awaitOpt, patternDisposeInfoOpt, this.
HasErrors
);
4181
var result = new BoundFixedStatement(this.Syntax, locals, declarations, body, this.
HasErrors
);
4212
var result = new BoundLockStatement(this.Syntax, argument, body, this.
HasErrors
);
4249
var result = new BoundTryStatement(this.Syntax, tryBlock, catchBlocks, finallyBlockOpt, finallyLabelOpt, preferFaultHandler, this.
HasErrors
);
4290
var result = new BoundCatchBlock(this.Syntax, locals, exceptionSourceOpt, exceptionTypeOpt, exceptionFilterPrologueOpt, exceptionFilterOpt, body, isSynthesizedAsyncCatchAll, this.
HasErrors
);
4321
var result = new BoundLiteral(this.Syntax, constantValueOpt, type, this.
HasErrors
);
4361
var result = new BoundUtf8String(this.Syntax, value, type, this.
HasErrors
);
4396
var result = new BoundThisReference(this.Syntax, type, this.
HasErrors
);
4431
var result = new BoundPreviousSubmissionReference(this.Syntax, type, this.
HasErrors
);
4466
var result = new BoundHostObjectMemberReference(this.Syntax, type, this.
HasErrors
);
4495
var result = new BoundBaseReference(this.Syntax, type, this.
HasErrors
);
4544
var result = new BoundLocal(this.Syntax, localSymbol, declarationKind, constantValueOpt, isNullableUnknown, type, this.
HasErrors
);
4589
var result = new BoundPseudoVariable(this.Syntax, localSymbol, emitExpressions, type, this.
HasErrors
);
4622
var result = new BoundRangeVariable(this.Syntax, rangeVariableSymbol, value, type, this.
HasErrors
);
4662
var result = new BoundParameter(this.Syntax, parameterSymbol, type, this.
HasErrors
);
4699
var result = new BoundLabelStatement(this.Syntax, label, this.
HasErrors
);
4731
var result = new BoundGotoStatement(this.Syntax, label, caseExpressionOpt, labelExpressionOpt, this.
HasErrors
);
4762
var result = new BoundLabeledStatement(this.Syntax, label, body, this.
HasErrors
);
4799
var result = new BoundLabel(this.Syntax, label, type, this.
HasErrors
);
4836
var result = new BoundStatementList(this.Syntax, statements, this.
HasErrors
);
4869
var result = new BoundConditionalGoto(this.Syntax, condition, jumpIfTrue, label, this.
HasErrors
);
4932
var result = new BoundSwitchExpressionArm(this.Syntax, locals, pattern, whenClause, value, label, this.
HasErrors
);
4960
var result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
4994
var result = new BoundConvertedSwitchExpression(this.Syntax, naturalTypeOpt, wasTargetTyped, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
5022
var result = new BoundDecisionDag(this.Syntax, rootNode, this.
HasErrors
);
5067
var result = new BoundEvaluationDecisionDagNode(this.Syntax, evaluation, next, this.
HasErrors
);
5101
var result = new BoundTestDecisionDagNode(this.Syntax, test, whenTrue, whenFalse, this.
HasErrors
);
5136
var result = new BoundWhenDecisionDagNode(this.Syntax, bindings, whenExpression, whenTrue, whenFalse, this.
HasErrors
);
5173
var result = new BoundLeafDecisionDagNode(this.Syntax, label, this.
HasErrors
);
5219
var result = new BoundDagTemp(this.Syntax, type, source, index, this.
HasErrors
);
5248
var result = new BoundDagTypeTest(this.Syntax, type, input, this.
HasErrors
);
5276
var result = new BoundDagNonNullTest(this.Syntax, isExplicitTest, input, this.
HasErrors
);
5302
var result = new BoundDagExplicitNullTest(this.Syntax, input, this.
HasErrors
);
5331
var result = new BoundDagValueTest(this.Syntax, value, input, this.
HasErrors
);
5362
var result = new BoundDagRelationalTest(this.Syntax, operatorKind, value, input, this.
HasErrors
);
5403
var result = new BoundDagDeconstructEvaluation(this.Syntax, deconstructMethod, input, this.
HasErrors
);
5432
var result = new BoundDagTypeEvaluation(this.Syntax, type, input, this.
HasErrors
);
5461
var result = new BoundDagFieldEvaluation(this.Syntax, field, input, this.
HasErrors
);
5492
var result = new BoundDagPropertyEvaluation(this.Syntax, property, isLengthOrCount, input, this.
HasErrors
);
5523
var result = new BoundDagIndexEvaluation(this.Syntax, property, index, input, this.
HasErrors
);
5570
var result = new BoundDagIndexerEvaluation(this.Syntax, indexerType, lengthTemp, index, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5619
var result = new BoundDagSliceEvaluation(this.Syntax, sliceType, lengthTemp, startIndex, endIndex, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5648
var result = new BoundDagAssignmentEvaluation(this.Syntax, target, input, this.
HasErrors
);
5680
var result = new BoundSwitchSection(this.Syntax, locals, switchLabels, statements, this.
HasErrors
);
5713
var result = new BoundSwitchLabel(this.Syntax, label, pattern, whenClause, this.
HasErrors
);
5755
var result = new BoundSequencePointExpression(this.Syntax, expression, type, this.
HasErrors
);
5791
var result = new BoundSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5827
var result = new BoundSpillSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5866
var result = new BoundDynamicMemberAccess(this.Syntax, receiver, typeArgumentsOpt, name, invoked, indexed, type, this.
HasErrors
);
5919
var result = new BoundDynamicInvocation(this.Syntax, argumentNamesOpt, argumentRefKindsOpt, applicableMethods, expression, arguments, type, this.
HasErrors
);
5952
var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.
HasErrors
);
5993
var result = new BoundLoweredConditionalAccess(this.Syntax, receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, id, forceCopyOfNullableValueType, type, this.
HasErrors
);
6031
var result = new BoundConditionalReceiver(this.Syntax, id, type, this.
HasErrors
);
6064
var result = new BoundComplexConditionalReceiver(this.Syntax, valueTypeReceiver, referenceTypeReceiver, type, this.
HasErrors
);
6105
var result = new BoundMethodGroup(this.Syntax, typeArgumentsOpt, name, methods, lookupSymbolOpt, lookupError, flags, functionType, receiverOpt, resultKind, this.
HasErrors
);
6133
var result = new BoundPropertyGroup(this.Syntax, properties, receiverOpt, resultKind, this.
HasErrors
);
6188
var result = new BoundCall(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, method, arguments, argumentNamesOpt, argumentRefKindsOpt, isDelegateCall, expanded, invokedAsExtensionMethod, argsToParamsOpt, defaultArguments, resultKind, originalMethodsOpt, type, this.
HasErrors
);
6227
var result = new BoundEventAssignmentOperator(this.Syntax, @event, isAddition, isDynamic, receiverOpt, argument, type, this.
HasErrors
);
6272
var result = new BoundAttribute(this.Syntax, constructor, constructorArguments, constructorArgumentNamesOpt, constructorArgumentsToParamsOpt, constructorExpanded, constructorDefaultArguments, namedArguments, resultKind, type, this.
HasErrors
);
6310
var result = new BoundUnconvertedObjectCreationExpression(this.Syntax, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerOpt, binder, this.
HasErrors
);
6382
var result = new BoundObjectCreationExpression(this.Syntax, constructor, constructorsGroup, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, constantValueOpt, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6423
var result = new BoundUnconvertedCollectionExpression(this.Syntax, elements, this.
HasErrors
);
6468
var result = new BoundCollectionExpression(this.Syntax, collectionTypeKind, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, wasTargetTyped, unconvertedCollectionExpression, elements, type, this.
HasErrors
);
6496
var result = new BoundCollectionExpressionSpreadExpressionPlaceholder(this.Syntax, type, this.
HasErrors
);
6536
var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.
HasErrors
);
6581
var result = new BoundTupleLiteral(this.Syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6611
var result = new BoundConvertedTupleLiteral(this.Syntax, sourceTuple, wasTargetTyped, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6654
var result = new BoundDynamicObjectCreationExpression(this.Syntax, name, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerExpressionOpt, applicableMethods, wasTargetTyped, type, this.
HasErrors
);
6686
var result = new BoundNoPiaObjectCreationExpression(this.Syntax, guidString, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6733
var result = new BoundObjectInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
6782
var result = new BoundObjectInitializerMember(this.Syntax, memberSymbol, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, resultKind, accessorKind, receiverType, type, this.
HasErrors
);
6827
var result = new BoundDynamicObjectInitializerMember(this.Syntax, memberName, receiverType, type, this.
HasErrors
);
6855
var result = new BoundCollectionInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
6900
var result = new BoundCollectionElementInitializer(this.Syntax, addMethod, arguments, implicitReceiverOpt, expanded, argsToParamsOpt, defaultArguments, invokedAsExtensionMethod, resultKind, type, this.
HasErrors
);
6932
var result = new BoundDynamicCollectionElementInitializer(this.Syntax, applicableMethods, expression, arguments, type, this.
HasErrors
);
6967
var result = new BoundImplicitReceiver(this.Syntax, type, this.
HasErrors
);
7003
var result = new BoundAnonymousObjectCreationExpression(this.Syntax, constructor, arguments, declarations, type, this.
HasErrors
);
7043
var result = new BoundAnonymousPropertyDeclaration(this.Syntax, property, type, this.
HasErrors
);
7073
var result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
7109
var result = new BoundDelegateCreationExpression(this.Syntax, argument, methodOpt, isExtensionMethod, wasTargetTyped, type, this.
HasErrors
);
7141
var result = new BoundArrayCreation(this.Syntax, bounds, initializerOpt, type, this.
HasErrors
);
7172
var result = new BoundArrayInitialization(this.Syntax, isInferred, initializers, this.
HasErrors
);
7218
var result = new BoundStackAllocArrayCreation(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7247
var result = new BoundConvertedStackAllocExpression(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7287
var result = new BoundFieldAccess(this.Syntax, receiverOpt, fieldSymbol, constantValueOpt, resultKind, isByValue, isDeclaration, type, this.
HasErrors
);
7327
var result = new BoundHoistedFieldAccess(this.Syntax, fieldSymbol, type, this.
HasErrors
);
7365
var result = new BoundPropertyAccess(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, propertySymbol, autoPropertyAccessorKind, resultKind, type, this.
HasErrors
);
7401
var result = new BoundEventAccess(this.Syntax, receiverOpt, eventSymbol, isUsableAsField, resultKind, type, this.
HasErrors
);
7452
var result = new BoundIndexerAccess(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, indexer, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, accessorKind, argsToParamsOpt, defaultArguments, originalIndexersOpt, type, this.
HasErrors
);
7501
var result = new BoundImplicitIndexerAccess(this.Syntax, receiver, argument, lengthOrCountAccess, receiverPlaceholder, indexerOrSliceAccess, argumentPlaceholders, type, this.
HasErrors
);
7542
var result = new BoundInlineArrayAccess(this.Syntax, expression, argument, isValue, getItemOrSliceHelper, type, this.
HasErrors
);
7582
var result = new BoundDynamicIndexerAccess(this.Syntax, receiver, arguments, argumentNamesOpt, argumentRefKindsOpt, applicableIndexers, type, this.
HasErrors
);
7622
var result = new BoundLambda(this.Syntax, unboundLambda, symbol, body, diagnostics, binder, type, this.
HasErrors
);
7666
var result = new UnboundLambda(this.Syntax, data, functionType, withDependencies, this.
HasErrors
);
7707
var result = new BoundQueryClause(this.Syntax, value, definedSymbol, operation, cast, binder, unoptimizedForm, type, this.
HasErrors
);
7733
var result = new BoundTypeOrInstanceInitializers(this.Syntax, statements, this.
HasErrors
);
7766
var result = new BoundNameOfOperator(this.Syntax, argument, constantValueOpt, type, this.
HasErrors
);
7808
var result = new BoundUnconvertedInterpolatedString(this.Syntax, parts, constantValueOpt, type, this.
HasErrors
);
7836
var result = new BoundInterpolatedString(this.Syntax, interpolationData, parts, constantValueOpt, type, this.
HasErrors
);
7864
var result = new BoundInterpolatedStringHandlerPlaceholder(this.Syntax, type, this.
HasErrors
);
7902
var result = new BoundInterpolatedStringArgumentPlaceholder(this.Syntax, argumentIndex, type, this.
HasErrors
);
7937
var result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.
HasErrors
);
7979
var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.
HasErrors
);
8044
var result = new BoundConstantPattern(this.Syntax, value, constantValue, inputType, narrowedType, this.
HasErrors
);
8084
var result = new BoundDiscardPattern(this.Syntax, inputType, narrowedType, this.
HasErrors
);
8137
var result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8178
var result = new BoundRecursivePattern(this.Syntax, declaredType, deconstructMethod, deconstruction, properties, isExplicitNotNullTest, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8222
var result = new BoundListPattern(this.Syntax, subpatterns, hasSlice, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8261
var result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.
HasErrors
);
8301
var result = new BoundITuplePattern(this.Syntax, getLengthMethod, getItemMethod, subpatterns, inputType, narrowedType, this.
HasErrors
);
8343
var result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.
HasErrors
);
8373
var result = new BoundPropertySubpattern(this.Syntax, member, isLengthOrCount, pattern, this.
HasErrors
);
8405
var result = new BoundPropertySubpatternMember(this.Syntax, receiver, symbol, type, this.
HasErrors
);
8441
var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.
HasErrors
);
8480
var result = new BoundBinaryPattern(this.Syntax, disjunction, left, right, inputType, narrowedType, this.
HasErrors
);
8514
var result = new BoundNegatedPattern(this.Syntax, negated, inputType, narrowedType, this.
HasErrors
);
8553
var result = new BoundRelationalPattern(this.Syntax, relation, value, constantValue, inputType, narrowedType, this.
HasErrors
);
8588
var result = new BoundDiscardExpression(this.Syntax, nullableAnnotation, isInferred, type, this.
HasErrors
);
8616
var result = new BoundThrowExpression(this.Syntax, expression, type, this.
HasErrors
);
8659
var result = new OutVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8685
var result = new DeconstructionVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8720
var result = new OutDeconstructVarPendingInference(this.Syntax, variableSymbol, isDiscardExpression, this.
HasErrors
);
8756
var result = new BoundNonConstructorMethodBody(this.Syntax, blockBody, expressionBody, this.
HasErrors
);
8786
var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.
HasErrors
);
8817
var result = new BoundExpressionWithNullability(this.Syntax, expression, nullableAnnotation, type, this.
HasErrors
);
8852
var result = new BoundWithExpression(this.Syntax, receiver, cloneMethod, initializerExpression, type, this.
HasErrors
);
15144
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15152
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15160
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15166
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15173
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15182
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15191
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15198
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15205
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15212
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15220
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15227
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15235
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15242
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15249
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15256
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15263
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15271
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15279
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15289
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15295
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15301
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15312
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15320
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15329
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15343
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15360
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15369
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15377
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15386
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15395
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15406
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15417
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15426
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)
15462
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15474
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15485
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15503
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15519
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15529
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15539
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15552
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15561
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15573
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15587
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15596
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15604
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15612
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15624
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15634
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15643
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15651
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15659
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15668
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15677
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15684
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15691
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15699
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15706
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15713
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15720
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15727
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15735
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15744
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15753
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15760
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15769
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15779
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15790
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15799
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15813
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15822
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15829
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15838
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15850
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15856
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15863
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15869
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15875
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15881
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15891
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15898
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15905
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15915
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15921
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15929
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15937
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15943
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15951
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15957
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15965
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15971
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15977
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15983
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15995
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16004
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16012
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16022
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16032
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16045
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16062
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16069
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16080
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16088
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16095
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16105
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16117
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16125
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16133
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16140
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16147
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16154
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16161
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16172
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16181
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16190
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16198
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16204
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16212
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16219
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16227
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16233
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16241
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16251
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16263
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16277
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16283
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16290
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16298
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16307
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16313
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16321
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16328
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16335
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16341
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16348
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16356
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16363
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16370
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16377
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16385
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16393
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16405
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16418
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16425
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16433
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16441
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16449
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16459
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16469
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16481
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16493
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16502
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16515
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16523
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16532
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16548
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16558
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16578
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16590
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16605
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16617
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16635
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16643
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16659
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16666
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16678
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16688
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16700
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16714
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16724
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16733
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16750
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16759
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16768
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16783
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16793
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16800
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16810
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16818
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16827
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16838
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16847
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16856
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16866
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16876
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16889
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16897
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16909
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16920
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16938
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16951
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16962
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16974
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16986
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16996
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17009
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17015
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17024
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17033
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17043
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17050
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17058
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17069
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17082
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17091
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17098
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17109
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17123
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17138
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17149
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17159
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17166
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17174
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17182
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17191
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17201
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17209
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17219
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17228
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17236
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17245
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17254
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17263
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17270
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17279
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17288
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17298
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
Lowering\ClosureConversion\ClosureConversion.cs (2)
829
return new BoundParameter(node.Syntax, replacementParameter, node.
HasErrors
);
1323
return new BoundBlock(node.Syntax, newLocals.ToImmutableAndFree(), newStatements.ToImmutableAndFree(), node.
HasErrors
);
Lowering\Instrumentation\DebugInfoInjector.cs (1)
367
original.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter.cs (7)
153
if (localRewriter._needsSpilling && !loweredStatement.
HasErrors
)
209
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
227
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
239
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
280
Debug.Assert(visited == null || visited.
HasErrors
|| ReferenceEquals(visited.Type, node.Type) ||
512
Debug.Assert(value.Type is { } && (value.Type.Equals(placeholder.Type, TypeCompareKind.AllIgnoreOptions) || value.
HasErrors
));
814
return new BoundStatementList(node.Syntax, rewrittenStatements, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_Block.cs (1)
58
return new BoundBlock(node.Syntax, locals, 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)
1027
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)
37
if (node.
HasErrors
)
687
hasErrors: node.
HasErrors
);
983
hasErrors: node.
HasErrors
);
1191
hasErrors: node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (2)
189
node.ContinueLabel, node.
HasErrors
);
271
return new BoundBlock(syntax, node.OuterLocals, statements, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (1)
116
return new BoundStatementList(node.Syntax, builder.ToImmutableAndFree(), 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)
166
node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_MultipleLocalDeclarations.cs (1)
45
return BoundStatementList.Synthesized(node.Syntax, node.
HasErrors
, inits.ToImmutableAndFree());
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
167
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
)
123
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
244
if (initializerExpressionOpt != null && !initializerExpressionOpt.
HasErrors
)
262
Debug.Assert(initializerExpression != null && !initializerExpression.
HasErrors
);
315
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
424
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
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\StateMachineRewriter\StateMachineRewriter.cs (1)
95
if (this.body.
HasErrors
)
Operations\CSharpOperationFactory.cs (1)
2452
{
HasErrors
: true } => "",
Symbols\Source\SourceComplexParameterSymbol.cs (1)
392
if (valueBeforeConversion.
HasErrors
)