1 write to HasErrors
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\BoundNode.cs (1)
399
clone.
HasErrors
= true;
644 references to HasErrors
Microsoft.CodeAnalysis.CSharp (644)
Binder\Binder_Conversions.cs (9)
792
unconvertedSource.
HasErrors
);
1040
if (collectionCreation.
HasErrors
)
1445
hasErrors: projectionCall.
HasErrors
)
1889
Debug.Assert(boundExpression.
HasErrors
);
2224
Debug.Assert(call.
HasErrors
);
2435
hasErrors |= source.
HasErrors
|| destination.IsErrorType();
2482
new BoundSwitchExpressionArm(oldCase.Syntax, oldCase.Locals, oldCase.Pattern, oldCase.HasUnionMatching, oldCase.WhenClause, newValue, oldCase.Label, oldCase.
HasErrors
);
2490
source.DefaultLabel, source.ReportedNotExhaustive, destination, hasErrors || source.
HasErrors
).WithSuppression(source.IsSuppressed);
3046
var convertedNode = new BoundConvertedStackAllocExpression(syntax, elementType, boundStackAlloc.Count, boundStackAlloc.InitializerOpt, stackAllocType, boundStackAlloc.
HasErrors
);
Binder\Binder_Expressions.cs (12)
323
bool hasErrors = expression.
HasErrors
;
340
bool hasErrors = op.
HasErrors
;
382
sourceTuple.
HasErrors
).WithSuppression(sourceTuple.IsSuppressed);
3026
!underlyingExpr.
HasErrors
&& !bag.HasAnyErrors())
3973
hasErrors || interpolatedString.
HasErrors
);
6617
if (!result.
HasErrors
&&
6688
if (boundCall.
HasErrors
&& !boundCall.OriginalMethodsOpt.IsDefault)
7666
if (!boundLeft.
HasErrors
)
8259
if (!receiver.
HasErrors
)
8389
if (!boundMethodGroup.
HasErrors
&& typeArgumentsSyntax.Any(SyntaxKind.OmittedTypeArgument))
9616
if (!result.
HasErrors
&& receiver.Type?.IsPointerOrFunctionPointer() == true)
11809
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 (6)
276
if (finalConversion.
HasErrors
)
283
Debug.Assert(finalConversion.
HasErrors
|| (object)finalConversion == finalPlaceholder);
3382
bool hasErrors = resultConversion.
HasErrors
;
4064
if (!result.
HasErrors
)
5994
bool hasErrors = trueExpr.
HasErrors
| falseExpr.
HasErrors
;
Binder\Binder_Patterns.cs (5)
225
hasErrors |= pattern.
HasErrors
;
619
return !hasErrors && !lengthAccess.
HasErrors
&& !indexerAccess.
HasErrors
;
812
if (!convertedExpression.
HasErrors
&& !hasErrors)
974
if (!hasErrors && unionType is not null && !convertedExpression.
HasErrors
&& constantValue is { IsBad: false } && expression.Type is not null)
Binder\Binder_Statements.cs (4)
1448
if (!boundLeft.
HasErrors
)
1497
|| op1.
HasErrors
);
1499
if (op1.
HasErrors
)
3090
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)
366
(pattern.
HasErrors
|| pattern.InputType.Equals(input.DagTemp.Type, TypeCompareKind.AllIgnoreOptions) || pattern.InputType.IsErrorType()) :
893
Debug.Assert(constant.Value.Type is not null || constant.
HasErrors
);
928
RoslynDebug.Assert(inputTempType.IsErrorType() || recursive.
HasErrors
|| recursive.InputType.IsErrorType() || inputTempType.Equals(recursive.InputType, TypeCompareKind.AllIgnoreOptions));
1137
Debug.Assert(bin.
HasErrors
||
1165
tests.Add(new Tests.One(new BoundDagRelationalTest(rel.Syntax, rel.Relation, rel.ConstantValue, output, rel.
HasErrors
)));
1390
state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.Input, t.
HasErrors
);
Binder\DecisionDagBuilder_CheckOrReachability.cs (6)
68
if (pattern.
HasErrors
)
125
if (switchArm.Pattern.
HasErrors
)
180
if (label.Pattern.
HasErrors
)
1092
initialCheck = new BoundTypePattern(node.Syntax, node.DeclaredType, node.IsExplicitNotNullTest, isUnionMatching: false, node.InputType, node.NarrowedType, node.
HasErrors
);
1132
isUnionMatching: false, node.InputType, node.NarrowedType, node.
HasErrors
);
1167
isUnionMatching: false, node.InputType, node.NarrowedType, node.
HasErrors
);
Binder\DecisionDagBuilder_ListPatterns.cs (2)
18
Debug.Assert(inputType.IsErrorType() || list.
HasErrors
|| list.InputType.IsErrorType() ||
29
if (list.
HasErrors
)
Binder\ForEachLoopBinder.cs (2)
441
hasErrors = hasErrors || boundIterationVariableType.
HasErrors
|| iterationVariableType.Type.IsErrorType();
801
if (string.IsNullOrEmpty(collectionExprType.Name) && collectionExpr.
HasErrors
)
Binder\RefSafetyAnalysis.cs (5)
613
if (!node.
HasErrors
&& node.Operator.Method is { } compoundMethod)
859
if (!node.
HasErrors
)
975
if (node.
HasErrors
)
1046
if (!node.
HasErrors
)
1063
if (!node.
HasErrors
)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
677
if (receiverOpt?.
HasErrors
!= true)
Binder\SwitchBinder_Patterns.cs (6)
104
if (!label.
HasErrors
&& isSubsumed(label, reachableLabels) && label.Syntax.Kind() != SyntaxKind.DefaultSwitchLabel)
123
else if (!label.Pattern.
HasErrors
&& !anyPreviousErrors)
137
anyPreviousErrors |= label.
HasErrors
;
256
return new BoundSwitchLabel(node, label, pattern, hasUnionMatching, null, pattern.
HasErrors
);
262
bool hasErrors = pattern.
HasErrors
;
300
if (pattern is BoundConstantPattern {
HasErrors
: false } && IsUnderscore(expression))
Binder\SwitchExpressionArmBinder.cs (1)
49
return new BoundSwitchExpressionArm(node, locals, pattern, hasUnionMatching, whenClause, armResult, label, hasErrors | pattern.
HasErrors
);
Binder\SwitchExpressionBinder.cs (1)
77
hasErrors |= arm.
HasErrors
;
BoundTree\BoundAwaitableInfo.cs (1)
39
Debug.Assert(GetAwaiter is not null || RuntimeAsyncAwaitCall is not null || IsDynamic ||
HasErrors
);
BoundTree\BoundCall.cs (1)
17
Debug.Assert(ResultKind is LookupResultKind.Viable ||
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\BoundTypeOrValueExpression.cs (1)
15
Debug.Assert(!
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)
447
var lambda = new UnboundLambda(Syntax, data, FunctionType, WithDependencies, nullableState, getterNullResilienceData,
HasErrors
);
460
var lambda = new UnboundLambda(Syntax, data, FunctionType, WithDependencies, _nullableState, _getterNullResilienceData,
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())
777
if (!loweredBody.
HasErrors
)
1250
hasErrors = hasErrors || (hasBody && loweredBodyOpt.
HasErrors
) || diagsForCurrentMethod.HasAnyErrors();
1497
if (body.
HasErrors
)
1524
if (loweredBody.
HasErrors
)
1540
if (loweredBody.
HasErrors
)
1560
if (loweredBody.
HasErrors
)
1586
if (bodyWithoutLambdas.
HasErrors
)
1596
if (bodyWithoutIterators.
HasErrors
)
FlowAnalysis\AbstractFlowPass.cs (1)
958
({ Symbol: PropertySymbol { Name: WellKnownMemberNames.ValuePropertyName } } or { Symbol: null,
HasErrors
: true })
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 (16)
2131
Debug.Assert(node.
HasErrors
||
4238
Debug.Assert(node.
HasErrors
);
4676
Debug.Assert(objectInitializer.
HasErrors
);
5063
var arrayType = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
6481
else if (!node.
HasErrors
)
7063
if (node.
HasErrors
7643
if (node is BoundCall {
HasErrors
: true, ArgumentNamesOpt.IsDefaultOrEmpty: false, ArgsToParamsOpt.IsDefault: true } &&
7653
_disableDiagnostics |= node.
HasErrors
|| defaultArguments[i];
7692
if (!node.
HasErrors
&& !parametersOpt.IsDefault)
10147
if (!conversionOperand.
HasErrors
&& !targetType.IsErrorType())
11346
if (node.
HasErrors
)
11820
if (!node.
HasErrors
)
12291
Debug.Assert(node.
HasErrors
);
12398
Debug.Assert(node.
HasErrors
);
12405
Debug.Assert(node.
HasErrors
);
13500
var type = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
FlowAnalysis\NullableWalker_Patterns.cs (1)
1145
=> !arm.Pattern.
HasErrors
&& labelStateMap.TryGetValue(arm.Label, out var labelState) ? labelState.state : UnreachableState();
Generated\BoundNodes.xml.Generated.cs (471)
315
var result = new BoundFieldEqualsValue(this.Syntax, field, locals, value, this.
HasErrors
);
345
var result = new BoundPropertyEqualsValue(this.Syntax, property, locals, value, this.
HasErrors
);
375
var result = new BoundParameterEqualsValue(this.Syntax, parameter, locals, value, this.
HasErrors
);
403
var result = new BoundGlobalStatementInitializer(this.Syntax, statement, this.
HasErrors
);
476
var result = new BoundValuePlaceholder(this.Syntax, type, this.
HasErrors
);
504
var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, type, this.
HasErrors
);
545
var result = new BoundDeconstructValuePlaceholder(this.Syntax, variableSymbol, isDiscardExpression, type, this.
HasErrors
);
580
var result = new BoundTupleOperandPlaceholder(this.Syntax, type, this.
HasErrors
);
609
var result = new BoundAwaitableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
644
var result = new BoundDisposableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
682
var result = new BoundObjectOrCollectionValuePlaceholder(this.Syntax, isNewInstance, type, this.
HasErrors
);
717
var result = new BoundImplicitIndexerValuePlaceholder(this.Syntax, type, this.
HasErrors
);
755
var result = new BoundImplicitIndexerReceiverPlaceholder(this.Syntax, isEquivalentToThisReference, type, this.
HasErrors
);
790
var result = new BoundListPatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
825
var result = new BoundListPatternIndexPlaceholder(this.Syntax, type, this.
HasErrors
);
860
var result = new BoundSlicePatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
895
var result = new BoundSlicePatternRangePlaceholder(this.Syntax, type, this.
HasErrors
);
923
var result = new BoundCollectionBuilderElementsPlaceholder(this.Syntax, type, this.
HasErrors
);
954
var result = new BoundDup(this.Syntax, refKind, type, this.
HasErrors
);
982
var result = new BoundPassByCopy(this.Syntax, expression, type, this.
HasErrors
);
1019
var result = new BoundBadExpression(this.Syntax, resultKind, symbols, childBoundNodes, type, this.
HasErrors
);
1047
var result = new BoundBadStatement(this.Syntax, childBoundNodes, this.
HasErrors
);
1075
var result = new BoundExtractedFinallyBlock(this.Syntax, finallyBlock, this.
HasErrors
);
1110
var result = new BoundTypeExpression(this.Syntax, aliasOpt, boundContainingTypeOpt, boundDimensionsOpt, typeWithAnnotations, type, this.
HasErrors
);
1159
var result = new BoundTypeOrValueExpression(this.Syntax, binder, valueSymbol, type, this.
HasErrors
);
1200
var result = new BoundNamespaceExpression(this.Syntax, namespaceSymbol, aliasOpt, this.
HasErrors
);
1242
var result = new BoundUnaryOperator(this.Syntax, operatorKind, operand, constantValueOpt, methodOpt, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1290
var result = new BoundIncrementOperator(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1322
var result = new BoundAddressOfOperator(this.Syntax, operand, isManaged, type, this.
HasErrors
);
1351
var result = new BoundUnconvertedAddressOfOperator(this.Syntax, operand, this.
HasErrors
);
1394
var result = new BoundFunctionPointerLoad(this.Syntax, targetMethod, constrainedToTypeOpt, type, this.
HasErrors
);
1426
var result = new BoundPointerIndirectionOperator(this.Syntax, operand, refersToLocation, type, this.
HasErrors
);
1463
var result = new BoundPointerElementAccess(this.Syntax, expression, index, @checked, refersToLocation, type, this.
HasErrors
);
1500
var result = new BoundFunctionPointerInvocation(this.Syntax, invokedExpression, arguments, argumentRefKindsOpt, resultKind, type, this.
HasErrors
);
1532
var result = new BoundRefTypeOperator(this.Syntax, operand, getTypeFromHandle, type, this.
HasErrors
);
1562
var result = new BoundMakeRefOperator(this.Syntax, operand, type, this.
HasErrors
);
1594
var result = new BoundRefValueOperator(this.Syntax, nullableAnnotation, operand, type, this.
HasErrors
);
1626
var result = new BoundFromEndIndexExpression(this.Syntax, operand, methodOpt, type, this.
HasErrors
);
1659
var result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.
HasErrors
);
1716
var result = new BoundBinaryOperator(this.Syntax, operatorKind, data, resultKind, left, right, type, this.
HasErrors
);
1754
var result = new BoundTupleBinaryOperator(this.Syntax, left, right, operatorKind, operators, type, this.
HasErrors
);
1807
var result = new BoundUserDefinedConditionalLogicalOperator(this.Syntax, operatorKind, logicalOperator, trueOperator, falseOperator, trueFalseOperandPlaceholder, trueFalseOperandConversion, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, left, right, type, this.
HasErrors
);
1854
var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1888
var result = new BoundAssignmentOperator(this.Syntax, left, right, isRef, type, this.
HasErrors
);
1923
var result = new BoundDeconstructionAssignmentOperator(this.Syntax, left, right, isUsed, type, this.
HasErrors
);
1964
var result = new BoundNullCoalescingOperator(this.Syntax, leftOperand, rightOperand, leftPlaceholder, leftConversion, operatorResultKind, @checked, type, this.
HasErrors
);
1995
var result = new BoundNullCoalescingAssignmentOperator(this.Syntax, leftOperand, rightOperand, type, this.
HasErrors
);
2034
var result = new BoundUnconvertedConditionalOperator(this.Syntax, condition, consequence, alternative, constantValueOpt, noCommonTypeError, this.
HasErrors
);
2078
var result = new BoundConditionalOperator(this.Syntax, isRef, condition, consequence, alternative, constantValueOpt, naturalTypeOpt, wasTargetTyped, type, this.
HasErrors
);
2111
var result = new BoundArrayAccess(this.Syntax, expression, indices, type, this.
HasErrors
);
2140
var result = new BoundRefArrayAccess(this.Syntax, arrayAccess, this.
HasErrors
);
2170
var result = new BoundArrayLength(this.Syntax, expression, type, this.
HasErrors
);
2211
var result = new BoundAwaitableInfo(this.Syntax, awaitableInstancePlaceholder, isDynamic, getAwaiter, isCompleted, getResult, runtimeAsyncAwaitCall, runtimeAsyncAwaitCallPlaceholder, this.
HasErrors
);
2246
var result = new BoundAwaitExpression(this.Syntax, expression, awaitableInfo, debugInfo, type, this.
HasErrors
);
2299
var result = new BoundTypeOfOperator(this.Syntax, sourceType, getTypeFromHandle, type, this.
HasErrors
);
2331
var result = new BoundBlockInstrumentation(this.Syntax, locals, prologue, epilogue, this.
HasErrors
);
2375
var result = new BoundMethodDefIndex(this.Syntax, method, type, this.
HasErrors
);
2418
var result = new BoundLocalId(this.Syntax, local, hoistedField, type, this.
HasErrors
);
2461
var result = new BoundParameterId(this.Syntax, parameter, hoistedField, type, this.
HasErrors
);
2496
var result = new BoundStateMachineInstanceId(this.Syntax, type, this.
HasErrors
);
2531
var result = new BoundMaximumMethodDefIndex(this.Syntax, type, this.
HasErrors
);
2569
var result = new BoundInstrumentationPayloadRoot(this.Syntax, analysisKind, type, this.
HasErrors
);
2604
var result = new BoundThrowIfModuleCancellationRequested(this.Syntax, type, this.
HasErrors
);
2639
var result = new ModuleCancellationTokenExpression(this.Syntax, type, this.
HasErrors
);
2674
var result = new BoundModuleVersionId(this.Syntax, type, this.
HasErrors
);
2709
var result = new BoundModuleVersionIdString(this.Syntax, type, this.
HasErrors
);
2749
var result = new BoundSourceDocumentIndex(this.Syntax, document, type, this.
HasErrors
);
2792
var result = new BoundMethodInfo(this.Syntax, method, getMethodFromHandle, type, this.
HasErrors
);
2835
var result = new BoundFieldInfo(this.Syntax, field, getFieldFromHandle, type, this.
HasErrors
);
2889
var result = new BoundDefaultExpression(this.Syntax, targetType, constantValueOpt, type, this.
HasErrors
);
2924
var result = new BoundIsOperator(this.Syntax, operand, targetType, conversionKind, type, this.
HasErrors
);
2961
var result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.
HasErrors
);
2993
var result = new BoundSizeOfOperator(this.Syntax, sourceType, constantValueOpt, type, this.
HasErrors
);
3041
var result = new BoundConversion(this.Syntax, operand, conversion, isBaseConversion, @checked, explicitCastInCode, constantValueOpt, conversionGroupOpt, inConversionGroupFlags, type, this.
HasErrors
);
3074
var result = new BoundReadOnlySpanFromArray(this.Syntax, operand, conversionMethod, type, this.
HasErrors
);
3109
var result = new BoundArgList(this.Syntax, type, this.
HasErrors
);
3140
var result = new BoundArgListOperator(this.Syntax, arguments, argumentRefKindsOpt, type, this.
HasErrors
);
3179
var result = new BoundFixedLocalCollectionInitializer(this.Syntax, elementPointerType, elementPointerPlaceholder, elementPointerConversion, expression, getPinnableOpt, type, this.
HasErrors
);
3218
var result = new BoundSequencePoint(this.Syntax, statementOpt, this.
HasErrors
);
3245
var result = new BoundSequencePointWithSpan(this.Syntax, statementOpt, span, this.
HasErrors
);
3282
var result = new BoundSavePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3319
var result = new BoundRestorePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3350
var result = new BoundStepThroughSequencePoint(this.Syntax, span, this.
HasErrors
);
3386
var result = new BoundBlock(this.Syntax, locals, localFunctions, hasUnsafeModifier, instrumentation, statements, this.
HasErrors
);
3415
var result = new BoundScope(this.Syntax, locals, statements, this.
HasErrors
);
3446
var result = new BoundStateMachineScope(this.Syntax, fields, statement, this.
HasErrors
);
3482
var result = new BoundLocalDeclaration(this.Syntax, localSymbol, declaredTypeOpt, initializerOpt, argumentsOpt, inferredType, this.
HasErrors
);
3522
var result = new BoundMultipleLocalDeclarations(this.Syntax, localDeclarations, this.
HasErrors
);
3552
var result = new BoundUsingLocalDeclarations(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.
HasErrors
);
3584
var result = new BoundLocalFunctionStatement(this.Syntax, symbol, blockBody, expressionBody, this.
HasErrors
);
3615
var result = new BoundNoOpStatement(this.Syntax, flavor, this.
HasErrors
);
3648
var result = new BoundReturnStatement(this.Syntax, refKind, expressionOpt, @checked, this.
HasErrors
);
3676
var result = new BoundYieldReturnStatement(this.Syntax, expression, this.
HasErrors
);
3718
var result = new BoundThrowStatement(this.Syntax, expressionOpt, this.
HasErrors
);
3746
var result = new BoundExpressionStatement(this.Syntax, expression, this.
HasErrors
);
3783
var result = new BoundBreakStatement(this.Syntax, label, this.
HasErrors
);
3820
var result = new BoundContinueStatement(this.Syntax, label, this.
HasErrors
);
3865
var result = new BoundSwitchStatement(this.Syntax, expression, innerLocals, innerLocalFunctions, switchSections, reachabilityDecisionDag, defaultLabel, breakLabel, this.
HasErrors
);
3901
var result = new BoundSwitchDispatch(this.Syntax, expression, cases, defaultLabel, lengthBasedStringSwitchDataOpt, this.
HasErrors
);
3934
var result = new BoundIfStatement(this.Syntax, condition, consequence, alternativeOpt, this.
HasErrors
);
4014
var result = new BoundDoStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
4044
var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
4086
var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.
HasErrors
);
4135
var result = new BoundForEachStatement(this.Syntax, enumeratorInfoOpt, elementPlaceholder, elementConversion, iterationVariableType, iterationVariables, iterationErrorExpressionOpt, expression, deconstructionOpt, body, breakLabel, continueLabel, this.
HasErrors
);
4166
var result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.
HasErrors
);
4205
var result = new BoundUsingStatement(this.Syntax, locals, declarationsOpt, expressionOpt, body, awaitOpt, patternDisposeInfoOpt, this.
HasErrors
);
4239
var result = new BoundFixedStatement(this.Syntax, locals, declarations, body, this.
HasErrors
);
4270
var result = new BoundLockStatement(this.Syntax, argument, body, this.
HasErrors
);
4307
var result = new BoundTryStatement(this.Syntax, tryBlock, catchBlocks, finallyBlockOpt, finallyLabelOpt, preferFaultHandler, this.
HasErrors
);
4348
var result = new BoundCatchBlock(this.Syntax, locals, exceptionSourceOpt, exceptionTypeOpt, exceptionFilterPrologueOpt, exceptionFilterOpt, body, isSynthesizedAsyncCatchAll, this.
HasErrors
);
4379
var result = new BoundLiteral(this.Syntax, constantValueOpt, type, this.
HasErrors
);
4419
var result = new BoundUtf8String(this.Syntax, value, type, this.
HasErrors
);
4454
var result = new BoundThisReference(this.Syntax, type, this.
HasErrors
);
4489
var result = new BoundPreviousSubmissionReference(this.Syntax, type, this.
HasErrors
);
4524
var result = new BoundHostObjectMemberReference(this.Syntax, type, this.
HasErrors
);
4553
var result = new BoundBaseReference(this.Syntax, type, this.
HasErrors
);
4602
var result = new BoundLocal(this.Syntax, localSymbol, declarationKind, constantValueOpt, isNullableUnknown, type, this.
HasErrors
);
4647
var result = new BoundPseudoVariable(this.Syntax, localSymbol, emitExpressions, type, this.
HasErrors
);
4680
var result = new BoundRangeVariable(this.Syntax, rangeVariableSymbol, value, type, this.
HasErrors
);
4720
var result = new BoundParameter(this.Syntax, parameterSymbol, type, this.
HasErrors
);
4757
var result = new BoundLabelStatement(this.Syntax, label, this.
HasErrors
);
4789
var result = new BoundGotoStatement(this.Syntax, label, caseExpressionOpt, labelExpressionOpt, this.
HasErrors
);
4820
var result = new BoundLabeledStatement(this.Syntax, label, body, this.
HasErrors
);
4857
var result = new BoundLabel(this.Syntax, label, type, this.
HasErrors
);
4894
var result = new BoundStatementList(this.Syntax, statements, this.
HasErrors
);
4927
var result = new BoundConditionalGoto(this.Syntax, condition, jumpIfTrue, label, this.
HasErrors
);
4992
var result = new BoundSwitchExpressionArm(this.Syntax, locals, pattern, hasUnionMatching, whenClause, value, label, this.
HasErrors
);
5020
var result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
5054
var result = new BoundConvertedSwitchExpression(this.Syntax, naturalTypeOpt, wasTargetTyped, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
5084
var result = new BoundDecisionDag(this.Syntax, rootNode, suitableForLowering, this.
HasErrors
);
5129
var result = new BoundEvaluationDecisionDagNode(this.Syntax, evaluation, next, this.
HasErrors
);
5163
var result = new BoundTestDecisionDagNode(this.Syntax, test, whenTrue, whenFalse, this.
HasErrors
);
5198
var result = new BoundWhenDecisionDagNode(this.Syntax, bindings, whenExpression, whenTrue, whenFalse, this.
HasErrors
);
5235
var result = new BoundLeafDecisionDagNode(this.Syntax, label, this.
HasErrors
);
5281
var result = new BoundDagTemp(this.Syntax, type, source, index, this.
HasErrors
);
5310
var result = new BoundDagTypeTest(this.Syntax, type, input, this.
HasErrors
);
5338
var result = new BoundDagNonNullTest(this.Syntax, isExplicitTest, input, this.
HasErrors
);
5364
var result = new BoundDagExplicitNullTest(this.Syntax, input, this.
HasErrors
);
5393
var result = new BoundDagValueTest(this.Syntax, value, input, this.
HasErrors
);
5424
var result = new BoundDagRelationalTest(this.Syntax, operatorKind, value, input, this.
HasErrors
);
5465
var result = new BoundDagDeconstructEvaluation(this.Syntax, deconstructMethod, input, this.
HasErrors
);
5494
var result = new BoundDagTypeEvaluation(this.Syntax, type, input, this.
HasErrors
);
5523
var result = new BoundDagFieldEvaluation(this.Syntax, field, input, this.
HasErrors
);
5554
var result = new BoundDagPropertyEvaluation(this.Syntax, property, isLengthOrCount, input, this.
HasErrors
);
5585
var result = new BoundDagIndexEvaluation(this.Syntax, property, index, input, this.
HasErrors
);
5632
var result = new BoundDagIndexerEvaluation(this.Syntax, indexerType, lengthTemp, index, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5681
var result = new BoundDagSliceEvaluation(this.Syntax, sliceType, lengthTemp, startIndex, endIndex, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5710
var result = new BoundDagAssignmentEvaluation(this.Syntax, target, input, this.
HasErrors
);
5736
var result = new BoundDagPassThroughEvaluation(this.Syntax, input, this.
HasErrors
);
5768
var result = new BoundSwitchSection(this.Syntax, locals, switchLabels, statements, this.
HasErrors
);
5803
var result = new BoundSwitchLabel(this.Syntax, label, pattern, hasUnionMatching, whenClause, this.
HasErrors
);
5845
var result = new BoundSequencePointExpression(this.Syntax, expression, type, this.
HasErrors
);
5881
var result = new BoundSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5917
var result = new BoundSpillSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5956
var result = new BoundDynamicMemberAccess(this.Syntax, receiver, typeArgumentsOpt, name, invoked, indexed, type, this.
HasErrors
);
6009
var result = new BoundDynamicInvocation(this.Syntax, argumentNamesOpt, argumentRefKindsOpt, applicableMethods, expression, arguments, type, this.
HasErrors
);
6042
var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.
HasErrors
);
6083
var result = new BoundLoweredConditionalAccess(this.Syntax, receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, id, forceCopyOfNullableValueType, type, this.
HasErrors
);
6121
var result = new BoundConditionalReceiver(this.Syntax, id, type, this.
HasErrors
);
6154
var result = new BoundComplexConditionalReceiver(this.Syntax, valueTypeReceiver, referenceTypeReceiver, type, this.
HasErrors
);
6195
var result = new BoundMethodGroup(this.Syntax, typeArgumentsOpt, name, methods, lookupSymbolOpt, lookupError, flags, functionType, receiverOpt, resultKind, this.
HasErrors
);
6223
var result = new BoundPropertyGroup(this.Syntax, properties, receiverOpt, resultKind, this.
HasErrors
);
6282
var result = new BoundCall(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, method, arguments, argumentNamesOpt, argumentRefKindsOpt, isDelegateCall, expanded, invokedAsExtensionMethod, argsToParamsOpt, defaultArguments, resultKind, originalMethodsOpt, type, this.
HasErrors
);
6321
var result = new BoundEventAssignmentOperator(this.Syntax, @event, isAddition, isDynamic, receiverOpt, argument, type, this.
HasErrors
);
6366
var result = new BoundAttribute(this.Syntax, constructor, constructorArguments, constructorArgumentNamesOpt, constructorArgumentsToParamsOpt, constructorExpanded, constructorDefaultArguments, namedArguments, resultKind, type, this.
HasErrors
);
6404
var result = new BoundUnconvertedObjectCreationExpression(this.Syntax, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerOpt, binder, this.
HasErrors
);
6476
var result = new BoundObjectCreationExpression(this.Syntax, constructor, constructorsGroup, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, constantValueOpt, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6523
var result = new BoundUnconvertedCollectionExpression(this.Syntax, withElement, elements, this.
HasErrors
);
6555
var result = new BoundUnconvertedWithElement(this.Syntax, arguments, argumentNamesOpt, argumentRefKindsOpt, this.
HasErrors
);
6604
var result = new BoundCollectionExpression(this.Syntax, collectionTypeKind, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, wasTargetTyped, hasWithElement, unconvertedCollectionExpression, elements, type, this.
HasErrors
);
6632
var result = new BoundCollectionExpressionSpreadExpressionPlaceholder(this.Syntax, type, this.
HasErrors
);
6672
var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.
HasErrors
);
6717
var result = new BoundTupleLiteral(this.Syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6747
var result = new BoundConvertedTupleLiteral(this.Syntax, sourceTuple, wasTargetTyped, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6790
var result = new BoundDynamicObjectCreationExpression(this.Syntax, name, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerExpressionOpt, applicableMethods, wasTargetTyped, type, this.
HasErrors
);
6822
var result = new BoundNoPiaObjectCreationExpression(this.Syntax, guidString, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6869
var result = new BoundObjectInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
6918
var result = new BoundObjectInitializerMember(this.Syntax, memberSymbol, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, resultKind, accessorKind, receiverType, type, this.
HasErrors
);
6963
var result = new BoundDynamicObjectInitializerMember(this.Syntax, memberName, receiverType, type, this.
HasErrors
);
6991
var result = new BoundCollectionInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
7036
var result = new BoundCollectionElementInitializer(this.Syntax, addMethod, arguments, implicitReceiverOpt, expanded, argsToParamsOpt, defaultArguments, invokedAsExtensionMethod, resultKind, type, this.
HasErrors
);
7068
var result = new BoundDynamicCollectionElementInitializer(this.Syntax, applicableMethods, expression, arguments, type, this.
HasErrors
);
7103
var result = new BoundImplicitReceiver(this.Syntax, type, this.
HasErrors
);
7139
var result = new BoundAnonymousObjectCreationExpression(this.Syntax, constructor, arguments, declarations, type, this.
HasErrors
);
7179
var result = new BoundAnonymousPropertyDeclaration(this.Syntax, property, type, this.
HasErrors
);
7209
var result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
7245
var result = new BoundDelegateCreationExpression(this.Syntax, argument, methodOpt, isExtensionMethod, wasTargetTyped, type, this.
HasErrors
);
7277
var result = new BoundArrayCreation(this.Syntax, bounds, initializerOpt, type, this.
HasErrors
);
7308
var result = new BoundArrayInitialization(this.Syntax, isInferred, initializers, this.
HasErrors
);
7354
var result = new BoundStackAllocArrayCreation(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7383
var result = new BoundConvertedStackAllocExpression(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7423
var result = new BoundFieldAccess(this.Syntax, receiverOpt, fieldSymbol, constantValueOpt, resultKind, isByValue, isDeclaration, type, this.
HasErrors
);
7463
var result = new BoundHoistedFieldAccess(this.Syntax, fieldSymbol, type, this.
HasErrors
);
7501
var result = new BoundPropertyAccess(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, propertySymbol, autoPropertyAccessorKind, resultKind, type, this.
HasErrors
);
7537
var result = new BoundEventAccess(this.Syntax, receiverOpt, eventSymbol, isUsableAsField, resultKind, type, this.
HasErrors
);
7588
var result = new BoundIndexerAccess(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, indexer, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, accessorKind, argsToParamsOpt, defaultArguments, originalIndexersOpt, type, this.
HasErrors
);
7637
var result = new BoundImplicitIndexerAccess(this.Syntax, receiver, argument, lengthOrCountAccess, receiverPlaceholder, indexerOrSliceAccess, argumentPlaceholders, type, this.
HasErrors
);
7678
var result = new BoundInlineArrayAccess(this.Syntax, expression, argument, isValue, getItemOrSliceHelper, type, this.
HasErrors
);
7718
var result = new BoundDynamicIndexerAccess(this.Syntax, receiver, arguments, argumentNamesOpt, argumentRefKindsOpt, applicableIndexers, type, this.
HasErrors
);
7758
var result = new BoundLambda(this.Syntax, unboundLambda, symbol, body, diagnostics, binder, type, this.
HasErrors
);
7802
var result = new UnboundLambda(this.Syntax, data, functionType, withDependencies, this.
HasErrors
);
7843
var result = new BoundQueryClause(this.Syntax, value, definedSymbol, operation, cast, binder, unoptimizedForm, type, this.
HasErrors
);
7869
var result = new BoundTypeOrInstanceInitializers(this.Syntax, statements, this.
HasErrors
);
7906
var result = new BoundNameOfOperator(this.Syntax, argument, constantValueOpt, type, this.
HasErrors
);
7948
var result = new BoundUnconvertedInterpolatedString(this.Syntax, parts, constantValueOpt, type, this.
HasErrors
);
7976
var result = new BoundInterpolatedString(this.Syntax, interpolationData, parts, constantValueOpt, type, this.
HasErrors
);
8004
var result = new BoundInterpolatedStringHandlerPlaceholder(this.Syntax, type, this.
HasErrors
);
8042
var result = new BoundInterpolatedStringArgumentPlaceholder(this.Syntax, argumentIndex, type, this.
HasErrors
);
8077
var result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.
HasErrors
);
8121
var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, hasUnionMatching, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.
HasErrors
);
8192
var result = new BoundConstantPattern(this.Syntax, value, constantValue, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8234
var result = new BoundPatternWithUnionMatching(this.Syntax, unionMatchingInputType, leftOfPendingConjunction, valueProperty, valuePattern, inputType, narrowedType, this.
HasErrors
);
8274
var result = new BoundDiscardPattern(this.Syntax, inputType, narrowedType, this.
HasErrors
);
8329
var result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, variable, variableAccess, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8370
var result = new BoundRecursivePattern(this.Syntax, declaredType, deconstructMethod, deconstruction, properties, isExplicitNotNullTest, variable, variableAccess, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8414
var result = new BoundListPattern(this.Syntax, subpatterns, hasSlice, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8453
var result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.
HasErrors
);
8495
var result = new BoundITuplePattern(this.Syntax, getLengthMethod, getItemMethod, subpatterns, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8541
var result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.
HasErrors
);
8571
var result = new BoundPropertySubpattern(this.Syntax, member, isLengthOrCount, pattern, this.
HasErrors
);
8603
var result = new BoundPropertySubpatternMember(this.Syntax, receiver, symbol, type, this.
HasErrors
);
8641
var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8680
var result = new BoundBinaryPattern(this.Syntax, disjunction, left, right, inputType, narrowedType, this.
HasErrors
);
8716
var result = new BoundNegatedPattern(this.Syntax, negated, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8757
var result = new BoundRelationalPattern(this.Syntax, relation, value, constantValue, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8792
var result = new BoundDiscardExpression(this.Syntax, nullableAnnotation, isInferred, type, this.
HasErrors
);
8820
var result = new BoundThrowExpression(this.Syntax, expression, type, this.
HasErrors
);
8863
var result = new OutVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8889
var result = new DeconstructionVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8924
var result = new OutDeconstructVarPendingInference(this.Syntax, variableSymbol, isDiscardExpression, this.
HasErrors
);
8960
var result = new BoundNonConstructorMethodBody(this.Syntax, blockBody, expressionBody, this.
HasErrors
);
8990
var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.
HasErrors
);
9021
var result = new BoundExpressionWithNullability(this.Syntax, expression, nullableAnnotation, type, this.
HasErrors
);
9046
var result = new BoundValueForNullableAnalysis(this.Syntax, originalExpression, type, this.
HasErrors
);
9081
var result = new BoundWithExpression(this.Syntax, receiver, cloneMethod, initializerExpression, type, this.
HasErrors
);
15483
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15491
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15499
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15505
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15512
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15520
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15529
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15536
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15543
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15550
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15558
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15565
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15573
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15580
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15587
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15594
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15601
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15608
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15616
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15624
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15634
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15640
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15646
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15657
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15666
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15675
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15689
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15706
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15715
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15723
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15732
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15741
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15752
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15763
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15772
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15780
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15789
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15798
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15808
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15820
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15831
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15849
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15865
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15875
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15885
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15898
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15907
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15919
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15933
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15942
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15950
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15958
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15970
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15980
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15989
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15997
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16005
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16014
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16023
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16030
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16037
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16045
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16052
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16059
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16066
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16073
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16081
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16090
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16099
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16106
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16115
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16125
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16136
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16145
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16160
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16169
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16176
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16185
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16197
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16203
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16210
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16216
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16222
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16228
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16238
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16245
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16252
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16262
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16268
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16276
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16284
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16290
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16298
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16304
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16312
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16318
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16324
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16330
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16342
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16351
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16359
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16369
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16379
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16392
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16408
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16415
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16426
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16434
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16441
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16451
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16463
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16471
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16479
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16486
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16493
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16500
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16507
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16518
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16527
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16536
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16544
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16550
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16558
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16565
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16573
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16579
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16587
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16598
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16610
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16624
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16631
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16638
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16646
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16655
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16661
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16669
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16676
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16683
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16689
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16696
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16704
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16711
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16718
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16725
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16733
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16741
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16753
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16766
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16773
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16779
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16787
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16796
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16804
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16814
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16824
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16836
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16848
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16857
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16870
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16878
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16887
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16903
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16913
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16933
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16945
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16960
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16972
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16990
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16999
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17007
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17023
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17030
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17042
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17052
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17064
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17078
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17088
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17097
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17114
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17123
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17132
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17147
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17157
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17164
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)
17202
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17211
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17220
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17230
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17240
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17253
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17261
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17273
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17284
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17302
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17315
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17326
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17338
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17350
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17360
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17373
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17379
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17388
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17397
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17407
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17414
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17422
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17433
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17447
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17457
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17468
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17475
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17487
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17502
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17518
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17529
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17540
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17547
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17555
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17563
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17573
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17583
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17592
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17603
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17612
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17620
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17629
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17638
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17647
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17654
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17663
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17672
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17680
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17690
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)
159
if (localRewriter._needsSpilling && !loweredStatement.
HasErrors
)
213
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
231
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
243
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
284
Debug.Assert(visited == null || visited.
HasErrors
|| ReferenceEquals(visited.Type, node.Type) ||
521
Debug.Assert(value.Type is { } && (value.Type.Equals(placeholder.Type, TypeCompareKind.AllIgnoreOptions) || value.
HasErrors
));
823
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)
1092
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
)
699
hasErrors: node.
HasErrors
);
995
hasErrors: node.
HasErrors
);
1203
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
)
249
if (initializerExpressionOpt != null && !initializerExpressionOpt.
HasErrors
)
267
Debug.Assert(initializerExpression != null && !initializerExpression.
HasErrors
);
320
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
433
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (7)
80
hasErrors: conversion.
HasErrors
);
86
ImmutableArray<bool>.Empty, conversion.Type, conversion.
HasErrors
);
124
constantValueOpt: null, destElementTypes[i].Type, boundConversion.
HasErrors
);
130
ImmutableArray<bool>.Empty, expr.Type, expr.
HasErrors
);
166
ImmutableArray<bool>.Empty, tuple.Type, tuple.
HasErrors
);
222
type: eType, hasErrors: expr.
HasErrors
);
467
hasErrors: expr.
HasErrors
).WithSuppression(expr.IsSuppressed);
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (1)
38
node.
HasErrors
);
Lowering\LocalRewriter\PipelinePhaseValidator.cs (1)
97
if (node is null || node.
HasErrors
)
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
95
if (this.body.
HasErrors
)
Operations\CSharpOperationFactory.cs (1)
2518
{
HasErrors
: true } => "",
Symbols\Source\SourceComplexParameterSymbol.cs (1)
392
if (valueBeforeConversion.
HasErrors
)