1 write to HasErrors
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\BoundNode.cs (1)
399
clone.
HasErrors
= true;
605 references to HasErrors
Microsoft.CodeAnalysis.CSharp (605)
Binder\Binder_Expressions.cs (10)
299
bool hasErrors = expression.
HasErrors
;
312
bool hasErrors = op.
HasErrors
;
350
sourceTuple.
HasErrors
).WithSuppression(sourceTuple.IsSuppressed);
2950
!underlyingExpr.
HasErrors
&& !bag.HasAnyErrors())
3884
hasErrors || interpolatedString.
HasErrors
);
6446
if (!result.
HasErrors
&&
6517
if (boundCall.
HasErrors
&& !boundCall.OriginalMethodsOpt.IsDefault)
8017
if (!receiver.
HasErrors
)
8149
if (!boundMethodGroup.
HasErrors
&& typeArgumentsSyntax.Any(SyntaxKind.OmittedTypeArgument))
11485
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)
205
if (finalConversion.
HasErrors
)
212
Debug.Assert(finalConversion.
HasErrors
|| (object)finalConversion == finalPlaceholder);
2344
bool hasErrors = resultConversion.
HasErrors
;
4348
bool hasErrors = trueExpr.
HasErrors
| falseExpr.
HasErrors
;
Binder\Binder_Patterns.cs (4)
39
hasErrors |= pattern.
HasErrors
;
398
return !hasErrors && !lengthAccess.
HasErrors
&& !indexerAccess.
HasErrors
;
556
if (!convertedExpression.
HasErrors
&& !hasErrors)
Binder\Binder_Statements.cs (4)
1442
if (!boundLeft.
HasErrors
)
1491
|| op1.
HasErrors
);
1493
if (op1.
HasErrors
)
3057
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)
15
Debug.Assert(input.Type.IsErrorType() || list.
HasErrors
|| list.InputType.IsErrorType() ||
26
if (list.
HasErrors
)
Binder\ForEachLoopBinder.cs (2)
441
hasErrors = hasErrors || boundIterationVariableType.
HasErrors
|| iterationVariableType.Type.IsErrorType();
789
if (string.IsNullOrEmpty(collectionExprType.Name) && collectionExpr.
HasErrors
)
Binder\RefSafetyAnalysis.cs (4)
681
if (!node.
HasErrors
)
779
if (!node.
HasErrors
)
864
if (!node.
HasErrors
)
887
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\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\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)
259
if (body.
HasErrors
|| diagnostics.HasAnyErrors())
762
if (!loweredBody.
HasErrors
)
1228
hasErrors = hasErrors || (hasBody && loweredBodyOpt.
HasErrors
) || diagsForCurrentMethod.HasAnyErrors();
1464
if (body.
HasErrors
)
1489
if (loweredBody.
HasErrors
)
1505
if (loweredBody.
HasErrors
)
1525
if (loweredBody.
HasErrors
)
1551
if (bodyWithoutLambdas.
HasErrors
)
1559
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 (14)
2091
Debug.Assert(node.
HasErrors
||
3987
Debug.Assert(node.
HasErrors
);
4705
var arrayType = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
6063
else if (!node.
HasErrors
)
6459
if (node.
HasErrors
7032
if (node is BoundCall {
HasErrors
: true, ArgumentNamesOpt.IsDefaultOrEmpty: false, ArgsToParamsOpt.IsDefault: true } &&
7042
_disableDiagnostics |= node.
HasErrors
|| defaultArguments[i];
7077
if (!node.
HasErrors
&& !parametersOpt.IsDefault)
9263
if (!conversionOperand.
HasErrors
&& !targetType.IsErrorType())
10289
if (node.
HasErrors
)
10674
if (!node.
HasErrors
)
11019
Debug.Assert(node.
HasErrors
);
11613
if (node.Type.IsValueType || node.
HasErrors
|| awaitableInfo.GetResult is null)
12125
var type = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
FlowAnalysis\NullableWalker_Patterns.cs (1)
1045
=> !arm.Pattern.
HasErrors
&& labelStateMap.TryGetValue(arm.Label, out var labelState) ? labelState.state : UnreachableState();
Generated\BoundNodes.xml.Generated.cs (461)
329
var result = new BoundFieldEqualsValue(this.Syntax, field, locals, value, this.
HasErrors
);
359
var result = new BoundPropertyEqualsValue(this.Syntax, property, locals, value, this.
HasErrors
);
389
var result = new BoundParameterEqualsValue(this.Syntax, parameter, locals, value, this.
HasErrors
);
417
var result = new BoundGlobalStatementInitializer(this.Syntax, statement, this.
HasErrors
);
490
var result = new BoundValuePlaceholder(this.Syntax, type, this.
HasErrors
);
520
var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, localScopeDepth, type, this.
HasErrors
);
561
var result = new BoundDeconstructValuePlaceholder(this.Syntax, variableSymbol, isDiscardExpression, type, this.
HasErrors
);
596
var result = new BoundTupleOperandPlaceholder(this.Syntax, type, this.
HasErrors
);
625
var result = new BoundAwaitableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
660
var result = new BoundDisposableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
698
var result = new BoundObjectOrCollectionValuePlaceholder(this.Syntax, isNewInstance, type, this.
HasErrors
);
733
var result = new BoundImplicitIndexerValuePlaceholder(this.Syntax, type, this.
HasErrors
);
771
var result = new BoundImplicitIndexerReceiverPlaceholder(this.Syntax, isEquivalentToThisReference, type, this.
HasErrors
);
806
var result = new BoundListPatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
841
var result = new BoundListPatternIndexPlaceholder(this.Syntax, type, this.
HasErrors
);
876
var result = new BoundSlicePatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
911
var result = new BoundSlicePatternRangePlaceholder(this.Syntax, type, this.
HasErrors
);
942
var result = new BoundDup(this.Syntax, refKind, type, this.
HasErrors
);
970
var result = new BoundPassByCopy(this.Syntax, expression, type, this.
HasErrors
);
1003
var result = new BoundBadExpression(this.Syntax, resultKind, symbols, childBoundNodes, type, this.
HasErrors
);
1031
var result = new BoundBadStatement(this.Syntax, childBoundNodes, this.
HasErrors
);
1059
var result = new BoundExtractedFinallyBlock(this.Syntax, finallyBlock, this.
HasErrors
);
1094
var result = new BoundTypeExpression(this.Syntax, aliasOpt, boundContainingTypeOpt, boundDimensionsOpt, typeWithAnnotations, type, this.
HasErrors
);
1132
var result = new BoundTypeOrValueExpression(this.Syntax, data, type, this.
HasErrors
);
1173
var result = new BoundNamespaceExpression(this.Syntax, namespaceSymbol, aliasOpt, this.
HasErrors
);
1215
var result = new BoundUnaryOperator(this.Syntax, operatorKind, operand, constantValueOpt, methodOpt, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1263
var result = new BoundIncrementOperator(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1295
var result = new BoundAddressOfOperator(this.Syntax, operand, isManaged, type, this.
HasErrors
);
1324
var result = new BoundUnconvertedAddressOfOperator(this.Syntax, operand, this.
HasErrors
);
1367
var result = new BoundFunctionPointerLoad(this.Syntax, targetMethod, constrainedToTypeOpt, type, this.
HasErrors
);
1399
var result = new BoundPointerIndirectionOperator(this.Syntax, operand, refersToLocation, type, this.
HasErrors
);
1436
var result = new BoundPointerElementAccess(this.Syntax, expression, index, @checked, refersToLocation, type, this.
HasErrors
);
1473
var result = new BoundFunctionPointerInvocation(this.Syntax, invokedExpression, arguments, argumentRefKindsOpt, resultKind, type, this.
HasErrors
);
1505
var result = new BoundRefTypeOperator(this.Syntax, operand, getTypeFromHandle, type, this.
HasErrors
);
1535
var result = new BoundMakeRefOperator(this.Syntax, operand, type, this.
HasErrors
);
1567
var result = new BoundRefValueOperator(this.Syntax, nullableAnnotation, operand, type, this.
HasErrors
);
1599
var result = new BoundFromEndIndexExpression(this.Syntax, operand, methodOpt, type, this.
HasErrors
);
1632
var result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.
HasErrors
);
1685
var result = new BoundBinaryOperator(this.Syntax, operatorKind, data, resultKind, left, right, type, this.
HasErrors
);
1723
var result = new BoundTupleBinaryOperator(this.Syntax, left, right, operatorKind, operators, type, this.
HasErrors
);
1768
var result = new BoundUserDefinedConditionalLogicalOperator(this.Syntax, operatorKind, logicalOperator, trueOperator, falseOperator, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, left, right, type, this.
HasErrors
);
1815
var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1849
var result = new BoundAssignmentOperator(this.Syntax, left, right, isRef, type, this.
HasErrors
);
1884
var result = new BoundDeconstructionAssignmentOperator(this.Syntax, left, right, isUsed, type, this.
HasErrors
);
1925
var result = new BoundNullCoalescingOperator(this.Syntax, leftOperand, rightOperand, leftPlaceholder, leftConversion, operatorResultKind, @checked, type, this.
HasErrors
);
1956
var result = new BoundNullCoalescingAssignmentOperator(this.Syntax, leftOperand, rightOperand, type, this.
HasErrors
);
1995
var result = new BoundUnconvertedConditionalOperator(this.Syntax, condition, consequence, alternative, constantValueOpt, noCommonTypeError, this.
HasErrors
);
2039
var result = new BoundConditionalOperator(this.Syntax, isRef, condition, consequence, alternative, constantValueOpt, naturalTypeOpt, wasTargetTyped, type, this.
HasErrors
);
2072
var result = new BoundArrayAccess(this.Syntax, expression, indices, type, this.
HasErrors
);
2101
var result = new BoundRefArrayAccess(this.Syntax, arrayAccess, this.
HasErrors
);
2131
var result = new BoundArrayLength(this.Syntax, expression, type, this.
HasErrors
);
2164
var result = new BoundAwaitableInfo(this.Syntax, awaitableInstancePlaceholder, isDynamic, getAwaiter, isCompleted, getResult, this.
HasErrors
);
2199
var result = new BoundAwaitExpression(this.Syntax, expression, awaitableInfo, debugInfo, type, this.
HasErrors
);
2252
var result = new BoundTypeOfOperator(this.Syntax, sourceType, getTypeFromHandle, type, this.
HasErrors
);
2284
var result = new BoundBlockInstrumentation(this.Syntax, locals, prologue, epilogue, this.
HasErrors
);
2324
var result = new BoundMethodDefIndex(this.Syntax, method, type, this.
HasErrors
);
2367
var result = new BoundLocalId(this.Syntax, local, hoistedField, type, this.
HasErrors
);
2410
var result = new BoundParameterId(this.Syntax, parameter, hoistedField, type, this.
HasErrors
);
2445
var result = new BoundStateMachineInstanceId(this.Syntax, type, this.
HasErrors
);
2480
var result = new BoundMaximumMethodDefIndex(this.Syntax, type, this.
HasErrors
);
2518
var result = new BoundInstrumentationPayloadRoot(this.Syntax, analysisKind, type, this.
HasErrors
);
2553
var result = new BoundThrowIfModuleCancellationRequested(this.Syntax, type, this.
HasErrors
);
2588
var result = new ModuleCancellationTokenExpression(this.Syntax, type, this.
HasErrors
);
2623
var result = new BoundModuleVersionId(this.Syntax, type, this.
HasErrors
);
2658
var result = new BoundModuleVersionIdString(this.Syntax, type, this.
HasErrors
);
2698
var result = new BoundSourceDocumentIndex(this.Syntax, document, type, this.
HasErrors
);
2741
var result = new BoundMethodInfo(this.Syntax, method, getMethodFromHandle, type, this.
HasErrors
);
2784
var result = new BoundFieldInfo(this.Syntax, field, getFieldFromHandle, type, this.
HasErrors
);
2838
var result = new BoundDefaultExpression(this.Syntax, targetType, constantValueOpt, type, this.
HasErrors
);
2873
var result = new BoundIsOperator(this.Syntax, operand, targetType, conversionKind, type, this.
HasErrors
);
2910
var result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.
HasErrors
);
2942
var result = new BoundSizeOfOperator(this.Syntax, sourceType, constantValueOpt, type, this.
HasErrors
);
2984
var result = new BoundConversion(this.Syntax, operand, conversion, isBaseConversion, @checked, explicitCastInCode, constantValueOpt, conversionGroupOpt, type, this.
HasErrors
);
3017
var result = new BoundReadOnlySpanFromArray(this.Syntax, operand, conversionMethod, type, this.
HasErrors
);
3052
var result = new BoundArgList(this.Syntax, type, this.
HasErrors
);
3083
var result = new BoundArgListOperator(this.Syntax, arguments, argumentRefKindsOpt, type, this.
HasErrors
);
3122
var result = new BoundFixedLocalCollectionInitializer(this.Syntax, elementPointerType, elementPointerPlaceholder, elementPointerConversion, expression, getPinnableOpt, type, this.
HasErrors
);
3161
var result = new BoundSequencePoint(this.Syntax, statementOpt, this.
HasErrors
);
3188
var result = new BoundSequencePointWithSpan(this.Syntax, statementOpt, span, this.
HasErrors
);
3225
var result = new BoundSavePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3262
var result = new BoundRestorePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3293
var result = new BoundStepThroughSequencePoint(this.Syntax, span, this.
HasErrors
);
3329
var result = new BoundBlock(this.Syntax, locals, localFunctions, hasUnsafeModifier, instrumentation, statements, this.
HasErrors
);
3358
var result = new BoundScope(this.Syntax, locals, statements, this.
HasErrors
);
3389
var result = new BoundStateMachineScope(this.Syntax, fields, statement, this.
HasErrors
);
3425
var result = new BoundLocalDeclaration(this.Syntax, localSymbol, declaredTypeOpt, initializerOpt, argumentsOpt, inferredType, this.
HasErrors
);
3465
var result = new BoundMultipleLocalDeclarations(this.Syntax, localDeclarations, this.
HasErrors
);
3495
var result = new BoundUsingLocalDeclarations(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.
HasErrors
);
3527
var result = new BoundLocalFunctionStatement(this.Syntax, symbol, blockBody, expressionBody, this.
HasErrors
);
3558
var result = new BoundNoOpStatement(this.Syntax, flavor, this.
HasErrors
);
3587
var result = new BoundReturnStatement(this.Syntax, refKind, expressionOpt, @checked, this.
HasErrors
);
3615
var result = new BoundYieldReturnStatement(this.Syntax, expression, this.
HasErrors
);
3657
var result = new BoundThrowStatement(this.Syntax, expressionOpt, this.
HasErrors
);
3685
var result = new BoundExpressionStatement(this.Syntax, expression, this.
HasErrors
);
3722
var result = new BoundBreakStatement(this.Syntax, label, this.
HasErrors
);
3759
var result = new BoundContinueStatement(this.Syntax, label, this.
HasErrors
);
3804
var result = new BoundSwitchStatement(this.Syntax, expression, innerLocals, innerLocalFunctions, switchSections, reachabilityDecisionDag, defaultLabel, breakLabel, this.
HasErrors
);
3840
var result = new BoundSwitchDispatch(this.Syntax, expression, cases, defaultLabel, lengthBasedStringSwitchDataOpt, this.
HasErrors
);
3873
var result = new BoundIfStatement(this.Syntax, condition, consequence, alternativeOpt, this.
HasErrors
);
3953
var result = new BoundDoStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
3983
var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
4025
var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.
HasErrors
);
4076
var result = new BoundForEachStatement(this.Syntax, enumeratorInfoOpt, elementPlaceholder, elementConversion, iterationVariableType, iterationVariables, iterationErrorExpressionOpt, expression, deconstructionOpt, awaitOpt, body, breakLabel, continueLabel, this.
HasErrors
);
4107
var result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.
HasErrors
);
4146
var result = new BoundUsingStatement(this.Syntax, locals, declarationsOpt, expressionOpt, body, awaitOpt, patternDisposeInfoOpt, this.
HasErrors
);
4180
var result = new BoundFixedStatement(this.Syntax, locals, declarations, body, this.
HasErrors
);
4211
var result = new BoundLockStatement(this.Syntax, argument, body, this.
HasErrors
);
4248
var result = new BoundTryStatement(this.Syntax, tryBlock, catchBlocks, finallyBlockOpt, finallyLabelOpt, preferFaultHandler, this.
HasErrors
);
4289
var result = new BoundCatchBlock(this.Syntax, locals, exceptionSourceOpt, exceptionTypeOpt, exceptionFilterPrologueOpt, exceptionFilterOpt, body, isSynthesizedAsyncCatchAll, this.
HasErrors
);
4320
var result = new BoundLiteral(this.Syntax, constantValueOpt, type, this.
HasErrors
);
4360
var result = new BoundUtf8String(this.Syntax, value, type, this.
HasErrors
);
4395
var result = new BoundThisReference(this.Syntax, type, this.
HasErrors
);
4430
var result = new BoundPreviousSubmissionReference(this.Syntax, type, this.
HasErrors
);
4465
var result = new BoundHostObjectMemberReference(this.Syntax, type, this.
HasErrors
);
4494
var result = new BoundBaseReference(this.Syntax, type, this.
HasErrors
);
4543
var result = new BoundLocal(this.Syntax, localSymbol, declarationKind, constantValueOpt, isNullableUnknown, type, this.
HasErrors
);
4588
var result = new BoundPseudoVariable(this.Syntax, localSymbol, emitExpressions, type, this.
HasErrors
);
4621
var result = new BoundRangeVariable(this.Syntax, rangeVariableSymbol, value, type, this.
HasErrors
);
4661
var result = new BoundParameter(this.Syntax, parameterSymbol, type, this.
HasErrors
);
4698
var result = new BoundLabelStatement(this.Syntax, label, this.
HasErrors
);
4730
var result = new BoundGotoStatement(this.Syntax, label, caseExpressionOpt, labelExpressionOpt, this.
HasErrors
);
4761
var result = new BoundLabeledStatement(this.Syntax, label, body, this.
HasErrors
);
4798
var result = new BoundLabel(this.Syntax, label, type, this.
HasErrors
);
4835
var result = new BoundStatementList(this.Syntax, statements, this.
HasErrors
);
4868
var result = new BoundConditionalGoto(this.Syntax, condition, jumpIfTrue, label, this.
HasErrors
);
4931
var result = new BoundSwitchExpressionArm(this.Syntax, locals, pattern, whenClause, value, label, this.
HasErrors
);
4959
var result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
4993
var result = new BoundConvertedSwitchExpression(this.Syntax, naturalTypeOpt, wasTargetTyped, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
5021
var result = new BoundDecisionDag(this.Syntax, rootNode, this.
HasErrors
);
5066
var result = new BoundEvaluationDecisionDagNode(this.Syntax, evaluation, next, this.
HasErrors
);
5100
var result = new BoundTestDecisionDagNode(this.Syntax, test, whenTrue, whenFalse, this.
HasErrors
);
5135
var result = new BoundWhenDecisionDagNode(this.Syntax, bindings, whenExpression, whenTrue, whenFalse, this.
HasErrors
);
5172
var result = new BoundLeafDecisionDagNode(this.Syntax, label, this.
HasErrors
);
5218
var result = new BoundDagTemp(this.Syntax, type, source, index, this.
HasErrors
);
5247
var result = new BoundDagTypeTest(this.Syntax, type, input, this.
HasErrors
);
5275
var result = new BoundDagNonNullTest(this.Syntax, isExplicitTest, input, this.
HasErrors
);
5301
var result = new BoundDagExplicitNullTest(this.Syntax, input, this.
HasErrors
);
5330
var result = new BoundDagValueTest(this.Syntax, value, input, this.
HasErrors
);
5361
var result = new BoundDagRelationalTest(this.Syntax, operatorKind, value, input, this.
HasErrors
);
5402
var result = new BoundDagDeconstructEvaluation(this.Syntax, deconstructMethod, input, this.
HasErrors
);
5431
var result = new BoundDagTypeEvaluation(this.Syntax, type, input, this.
HasErrors
);
5460
var result = new BoundDagFieldEvaluation(this.Syntax, field, input, this.
HasErrors
);
5491
var result = new BoundDagPropertyEvaluation(this.Syntax, property, isLengthOrCount, input, this.
HasErrors
);
5522
var result = new BoundDagIndexEvaluation(this.Syntax, property, index, input, this.
HasErrors
);
5569
var result = new BoundDagIndexerEvaluation(this.Syntax, indexerType, lengthTemp, index, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5618
var result = new BoundDagSliceEvaluation(this.Syntax, sliceType, lengthTemp, startIndex, endIndex, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5647
var result = new BoundDagAssignmentEvaluation(this.Syntax, target, input, this.
HasErrors
);
5679
var result = new BoundSwitchSection(this.Syntax, locals, switchLabels, statements, this.
HasErrors
);
5712
var result = new BoundSwitchLabel(this.Syntax, label, pattern, whenClause, this.
HasErrors
);
5754
var result = new BoundSequencePointExpression(this.Syntax, expression, type, this.
HasErrors
);
5790
var result = new BoundSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5826
var result = new BoundSpillSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5865
var result = new BoundDynamicMemberAccess(this.Syntax, receiver, typeArgumentsOpt, name, invoked, indexed, type, this.
HasErrors
);
5918
var result = new BoundDynamicInvocation(this.Syntax, argumentNamesOpt, argumentRefKindsOpt, applicableMethods, expression, arguments, type, this.
HasErrors
);
5951
var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.
HasErrors
);
5992
var result = new BoundLoweredConditionalAccess(this.Syntax, receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, id, forceCopyOfNullableValueType, type, this.
HasErrors
);
6030
var result = new BoundConditionalReceiver(this.Syntax, id, type, this.
HasErrors
);
6063
var result = new BoundComplexConditionalReceiver(this.Syntax, valueTypeReceiver, referenceTypeReceiver, type, this.
HasErrors
);
6104
var result = new BoundMethodGroup(this.Syntax, typeArgumentsOpt, name, methods, lookupSymbolOpt, lookupError, flags, functionType, receiverOpt, resultKind, this.
HasErrors
);
6132
var result = new BoundPropertyGroup(this.Syntax, properties, receiverOpt, resultKind, this.
HasErrors
);
6187
var result = new BoundCall(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, method, arguments, argumentNamesOpt, argumentRefKindsOpt, isDelegateCall, expanded, invokedAsExtensionMethod, argsToParamsOpt, defaultArguments, resultKind, originalMethodsOpt, type, this.
HasErrors
);
6226
var result = new BoundEventAssignmentOperator(this.Syntax, @event, isAddition, isDynamic, receiverOpt, argument, type, this.
HasErrors
);
6271
var result = new BoundAttribute(this.Syntax, constructor, constructorArguments, constructorArgumentNamesOpt, constructorArgumentsToParamsOpt, constructorExpanded, constructorDefaultArguments, namedArguments, resultKind, type, this.
HasErrors
);
6309
var result = new BoundUnconvertedObjectCreationExpression(this.Syntax, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerOpt, binder, this.
HasErrors
);
6381
var result = new BoundObjectCreationExpression(this.Syntax, constructor, constructorsGroup, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, constantValueOpt, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6422
var result = new BoundUnconvertedCollectionExpression(this.Syntax, elements, this.
HasErrors
);
6467
var result = new BoundCollectionExpression(this.Syntax, collectionTypeKind, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, wasTargetTyped, unconvertedCollectionExpression, elements, type, this.
HasErrors
);
6495
var result = new BoundCollectionExpressionSpreadExpressionPlaceholder(this.Syntax, type, this.
HasErrors
);
6535
var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.
HasErrors
);
6580
var result = new BoundTupleLiteral(this.Syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6610
var result = new BoundConvertedTupleLiteral(this.Syntax, sourceTuple, wasTargetTyped, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6653
var result = new BoundDynamicObjectCreationExpression(this.Syntax, name, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerExpressionOpt, applicableMethods, wasTargetTyped, type, this.
HasErrors
);
6685
var result = new BoundNoPiaObjectCreationExpression(this.Syntax, guidString, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6732
var result = new BoundObjectInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
6781
var result = new BoundObjectInitializerMember(this.Syntax, memberSymbol, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, resultKind, accessorKind, receiverType, type, this.
HasErrors
);
6826
var result = new BoundDynamicObjectInitializerMember(this.Syntax, memberName, receiverType, type, this.
HasErrors
);
6854
var result = new BoundCollectionInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
6899
var result = new BoundCollectionElementInitializer(this.Syntax, addMethod, arguments, implicitReceiverOpt, expanded, argsToParamsOpt, defaultArguments, invokedAsExtensionMethod, resultKind, type, this.
HasErrors
);
6931
var result = new BoundDynamicCollectionElementInitializer(this.Syntax, applicableMethods, expression, arguments, type, this.
HasErrors
);
6966
var result = new BoundImplicitReceiver(this.Syntax, type, this.
HasErrors
);
7002
var result = new BoundAnonymousObjectCreationExpression(this.Syntax, constructor, arguments, declarations, type, this.
HasErrors
);
7042
var result = new BoundAnonymousPropertyDeclaration(this.Syntax, property, type, this.
HasErrors
);
7072
var result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
7108
var result = new BoundDelegateCreationExpression(this.Syntax, argument, methodOpt, isExtensionMethod, wasTargetTyped, type, this.
HasErrors
);
7140
var result = new BoundArrayCreation(this.Syntax, bounds, initializerOpt, type, this.
HasErrors
);
7171
var result = new BoundArrayInitialization(this.Syntax, isInferred, initializers, this.
HasErrors
);
7217
var result = new BoundStackAllocArrayCreation(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7246
var result = new BoundConvertedStackAllocExpression(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7286
var result = new BoundFieldAccess(this.Syntax, receiverOpt, fieldSymbol, constantValueOpt, resultKind, isByValue, isDeclaration, type, this.
HasErrors
);
7326
var result = new BoundHoistedFieldAccess(this.Syntax, fieldSymbol, type, this.
HasErrors
);
7364
var result = new BoundPropertyAccess(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, propertySymbol, autoPropertyAccessorKind, resultKind, type, this.
HasErrors
);
7400
var result = new BoundEventAccess(this.Syntax, receiverOpt, eventSymbol, isUsableAsField, resultKind, type, this.
HasErrors
);
7451
var result = new BoundIndexerAccess(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, indexer, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, accessorKind, argsToParamsOpt, defaultArguments, originalIndexersOpt, type, this.
HasErrors
);
7500
var result = new BoundImplicitIndexerAccess(this.Syntax, receiver, argument, lengthOrCountAccess, receiverPlaceholder, indexerOrSliceAccess, argumentPlaceholders, type, this.
HasErrors
);
7541
var result = new BoundInlineArrayAccess(this.Syntax, expression, argument, isValue, getItemOrSliceHelper, type, this.
HasErrors
);
7581
var result = new BoundDynamicIndexerAccess(this.Syntax, receiver, arguments, argumentNamesOpt, argumentRefKindsOpt, applicableIndexers, type, this.
HasErrors
);
7621
var result = new BoundLambda(this.Syntax, unboundLambda, symbol, body, diagnostics, binder, type, this.
HasErrors
);
7665
var result = new UnboundLambda(this.Syntax, data, functionType, withDependencies, this.
HasErrors
);
7706
var result = new BoundQueryClause(this.Syntax, value, definedSymbol, operation, cast, binder, unoptimizedForm, type, this.
HasErrors
);
7732
var result = new BoundTypeOrInstanceInitializers(this.Syntax, statements, this.
HasErrors
);
7765
var result = new BoundNameOfOperator(this.Syntax, argument, constantValueOpt, type, this.
HasErrors
);
7807
var result = new BoundUnconvertedInterpolatedString(this.Syntax, parts, constantValueOpt, type, this.
HasErrors
);
7835
var result = new BoundInterpolatedString(this.Syntax, interpolationData, parts, constantValueOpt, type, this.
HasErrors
);
7863
var result = new BoundInterpolatedStringHandlerPlaceholder(this.Syntax, type, this.
HasErrors
);
7901
var result = new BoundInterpolatedStringArgumentPlaceholder(this.Syntax, argumentIndex, type, this.
HasErrors
);
7936
var result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.
HasErrors
);
7978
var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.
HasErrors
);
8043
var result = new BoundConstantPattern(this.Syntax, value, constantValue, inputType, narrowedType, this.
HasErrors
);
8083
var result = new BoundDiscardPattern(this.Syntax, inputType, narrowedType, this.
HasErrors
);
8136
var result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8177
var result = new BoundRecursivePattern(this.Syntax, declaredType, deconstructMethod, deconstruction, properties, isExplicitNotNullTest, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8221
var result = new BoundListPattern(this.Syntax, subpatterns, hasSlice, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8260
var result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.
HasErrors
);
8300
var result = new BoundITuplePattern(this.Syntax, getLengthMethod, getItemMethod, subpatterns, inputType, narrowedType, this.
HasErrors
);
8342
var result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.
HasErrors
);
8372
var result = new BoundPropertySubpattern(this.Syntax, member, isLengthOrCount, pattern, this.
HasErrors
);
8404
var result = new BoundPropertySubpatternMember(this.Syntax, receiver, symbol, type, this.
HasErrors
);
8440
var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.
HasErrors
);
8479
var result = new BoundBinaryPattern(this.Syntax, disjunction, left, right, inputType, narrowedType, this.
HasErrors
);
8513
var result = new BoundNegatedPattern(this.Syntax, negated, inputType, narrowedType, this.
HasErrors
);
8552
var result = new BoundRelationalPattern(this.Syntax, relation, value, constantValue, inputType, narrowedType, this.
HasErrors
);
8587
var result = new BoundDiscardExpression(this.Syntax, nullableAnnotation, isInferred, type, this.
HasErrors
);
8615
var result = new BoundThrowExpression(this.Syntax, expression, type, this.
HasErrors
);
8658
var result = new OutVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8684
var result = new DeconstructionVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8719
var result = new OutDeconstructVarPendingInference(this.Syntax, variableSymbol, isDiscardExpression, this.
HasErrors
);
8755
var result = new BoundNonConstructorMethodBody(this.Syntax, blockBody, expressionBody, this.
HasErrors
);
8785
var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.
HasErrors
);
8816
var result = new BoundExpressionWithNullability(this.Syntax, expression, nullableAnnotation, type, this.
HasErrors
);
8851
var result = new BoundWithExpression(this.Syntax, receiver, cloneMethod, initializerExpression, type, this.
HasErrors
);
15149
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15157
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15165
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15171
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15178
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15187
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15196
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15203
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15210
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15217
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15225
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15232
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15240
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15247
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15254
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15261
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15268
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15276
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15284
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15294
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15300
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15306
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15317
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15325
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15334
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15348
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15365
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15374
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15382
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15391
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15400
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15411
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15422
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15431
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15439
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15448
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15457
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15467
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15479
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15490
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15506
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15522
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15532
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15542
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15555
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15564
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15576
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15590
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15599
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15607
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15615
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15625
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15635
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15644
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15652
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15660
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15669
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15678
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15685
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15692
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15700
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15707
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15714
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15721
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15728
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15736
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15745
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15754
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15761
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15770
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15780
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15791
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15800
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15814
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15823
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15830
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15839
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15851
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15857
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15864
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15870
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15876
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15882
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15892
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15899
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15906
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15916
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15922
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15930
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15938
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15944
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15952
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15958
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15966
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15972
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15978
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15984
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15996
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16005
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16013
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16023
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16033
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16046
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16063
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16070
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16081
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16089
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16096
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16106
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16118
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16126
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16134
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16141
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16148
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16155
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16162
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16173
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16182
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16191
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16199
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16205
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16213
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16220
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16228
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16234
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16242
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16252
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16264
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16278
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16284
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16291
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16299
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16308
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16314
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16322
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16329
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16336
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16342
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16349
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16357
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16364
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16371
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16378
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16386
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16394
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16406
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16419
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16426
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16434
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16442
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16450
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16460
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16470
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16482
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16494
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16503
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16516
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16524
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16533
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16549
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16559
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16579
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16591
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16606
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16618
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16636
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16644
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16660
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16667
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16679
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16689
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16701
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16715
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16725
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16734
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16751
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16760
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16769
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16784
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16794
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16801
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16811
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16819
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16828
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16839
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16848
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16857
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16867
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16877
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16890
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16898
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16910
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16921
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16939
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16952
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16963
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16975
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16987
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16997
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17010
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17016
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17025
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17034
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17044
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17051
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17059
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17070
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17083
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17092
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17099
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17110
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17124
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17139
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17150
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17160
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17167
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17175
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17183
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17192
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17202
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17210
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17220
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17229
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17237
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17246
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17255
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17264
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17271
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17280
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17289
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17299
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
Lowering\ClosureConversion\ClosureConversion.cs (2)
824
return new BoundParameter(node.Syntax, replacementParameter, node.
HasErrors
);
1318
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)
1023
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)
36
if (node.
HasErrors
)
700
hasErrors: node.
HasErrors
);
996
hasErrors: node.
HasErrors
);
1204
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
)
Symbols\Source\SourceComplexParameterSymbol.cs (1)
385
if (valueBeforeConversion.
HasErrors
)